:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #f472b6;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --bg-dark: #0c0a1d;
    --bg-card: #1a1830;
    --bg-card-light: #2a2650;
    --text-primary: #f8fafc;
    --text-secondary: #a5b4fc;
    --text-muted: #6b7280;
    --border: #3730a3;
    --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #f472b6 0%, #f59e0b 100%);
    --shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
    --glow: 0 0 40px rgba(139, 92, 246, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
}

.auth-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.auth-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.passcode-input-container {
    position: relative;
    margin-bottom: 24px;
}

.passcode-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 1.25rem;
    letter-spacing: 8px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-dark);
    color: var(--text-primary);
    transition: all 0.3s;
}

.passcode-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.toggle-passcode-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: var(--gradient-1);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.auth-hint {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(26, 24, 48, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 1.75rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg-dark);
    padding: 4px;
    border-radius: 12px;
}

.nav-tab {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-tab.active {
    background: var(--primary);
    color: white;
}

.logout-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
}

.tab-content {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.issue-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.issue-form-card,
.ticket-preview-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border);
}

.issue-form-card h2,
.ticket-preview-card h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.issue-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-1);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.issue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.ticket {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    color: #78350f;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.ticket::before,
.ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.ticket::before {
    left: -10px;
}

.ticket::after {
    right: -10px;
}

.ticket.large {
    padding: 32px 40px;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dashed rgba(120, 53, 15, 0.3);
}

.ticket-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
}

.ticket-serial {
    font-size: 0.8rem;
    font-family: monospace;
    background: rgba(120, 53, 15, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.ticket-body {
    margin-bottom: 20px;
}

.ticket-body>div {
    margin-bottom: 12px;
}

.ticket-body .label {
    font-weight: 500;
    color: #92400e;
}

.ticket-message {
    background: rgba(255, 255, 255, 0.5);
    padding: 12px;
    border-radius: 8px;
    font-style: italic;
    min-height: 40px;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 16px;
    border-top: 2px dashed rgba(120, 53, 15, 0.3);
    font-size: 0.85rem;
}

.ticket-dates>div {
    margin-bottom: 4px;
}

.ticket-issuer {
    font-weight: 700;
    text-align: right;
}

.ticket-decoration {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.2;
}

.manage-container {
    max-width: 1400px;
    margin: 0 auto;
}

.manage-header {
    margin-bottom: 24px;
}

.manage-header h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.manage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* シリアルナンバーチェック */
.check-serial-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.check-serial-bar input {
    flex: 1;
    max-width: 400px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.check-serial-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.check-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: var(--success);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.check-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.check-result {
    margin-bottom: 20px;
}

.check-result-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--danger);
}

.check-result-success {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.check-result-success.status-active {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.check-result-success.status-used {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.1);
}

.check-result-success.status-expired {
    border-color: rgba(100, 116, 139, 0.5);
    background: rgba(100, 116, 139, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.result-icon {
    font-size: 1.5rem;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.result-details strong {
    color: var(--text-primary);
}

/* 回数券表示 */
.ticket-uses {
    background: rgba(99, 102, 241, 0.2);
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 12px;
}

.uses-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-bar select,
.filter-bar input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
}

.filter-bar select {
    min-width: 150px;
}

.filter-bar input {
    flex: 1;
    max-width: 300px;
}

.filter-bar select:focus,
.filter-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.tickets-table-container {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
}

.tickets-table th,
.tickets-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tickets-table th {
    background: var(--bg-card-light);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.tickets-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-used {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.status-expired {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
}

.no-tickets {
    padding: 60px;
    text-align: center;
    color: var(--text-muted);
}

.no-tickets-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* 使用画面 */
.use-container {
    max-width: 800px;
    margin: 0 auto;
}

.use-container h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.use-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border);
}

.use-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.use-input-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.use-input-bar input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.use-input-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.use-search-btn {
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    background: var(--success);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.use-search-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.use-ticket-display {
    margin-top: 24px;
}

.use-result-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: var(--danger);
}

.use-result-error .result-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.use-result-success {
    background: var(--bg-card-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.use-result-success.status-active {
    border-color: rgba(16, 185, 129, 0.6);
}

.use-result-success.status-used {
    border-color: rgba(99, 102, 241, 0.6);
}

.use-result-success.status-expired {
    border-color: rgba(100, 116, 139, 0.6);
}

.use-ticket-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.use-ticket-info h3 {
    font-size: 1.5rem;
    margin: 0;
}

.use-status-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
}

.status-active .use-status-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-used .use-status-badge {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.status-expired .use-status-badge {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}

.use-ticket-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.detail-value code {
    background: rgba(99, 102, 241, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
}

.use-ticket-action-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-1);
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.use-ticket-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.settings-container {
    max-width: 600px;
    margin: 0 auto;
}

.settings-container h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.settings-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.settings-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.settings-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.settings-description.warning {
    color: var(--danger);
}

.crypto-status {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.status-row:last-child {
    border-bottom: none;
}

.status-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.status-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: monospace;
}

.settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.settings-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.settings-btn.secondary {
    background: var(--bg-card-light);
    color: var(--text-primary);
}

.settings-btn.danger {
    background: var(--danger);
}

.settings-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.settings-card.danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-dark);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.ticket-detail-modal {
    max-width: 550px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.modal-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.modal-btn.use {
    background: var(--success);
    color: white;
}

.modal-btn.print {
    background: var(--primary);
    color: white;
}

.modal-btn.delete {
    background: var(--danger);
    color: white;
}

.modal-btn:hover {
    transform: translateY(-2px);
}

.success-modal {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.success-modal h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.success-modal .ticket {
    margin-bottom: 24px;
}

.close-success {
    background: var(--primary);
    color: white;
    width: 100%;
}

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .issue-container {
        grid-template-columns: 1fr;
    }

    .manage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .nav-tabs {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .tab-content {
        padding: 16px;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar input {
        max-width: 100%;
    }

    .modal-actions {
        flex-direction: column;
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    #modal-ticket,
    #modal-ticket * {
        visibility: visible;
    }

    #modal-ticket {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
    }
}

/* フッター */
.app-footer {
    text-align: center;
    padding: 32px 20px;
    margin-top: 48px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(26, 24, 48, 0.5);
}

.footer-links {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-divider {
    color: var(--text-muted);
    margin: 0 12px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}