/* ========================================
   CSS Variables & Design Tokens
======================================== */
:root {
    /* Colors */
    --color-bg: #0a0a0b;
    --color-bg-elevated: #111113;
    --color-bg-card: #18181b;
    --color-bg-input: #1f1f23;

    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;

    --color-accent: #6366f1;
    --color-accent-light: #818cf8;
    --color-accent-glow: rgba(99, 102, 241, 0.4);

    --color-success: #10b981;
    --color-success-glow: rgba(16, 185, 129, 0.4);

    --color-error: #ef4444;

    --color-border: #27272a;
    --color-border-focus: #6366f1;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px var(--color-accent-glow);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   Background Effects
======================================== */
.background-effects {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ========================================
   Container & Layout
======================================== */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Header
======================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo-accent {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-accent-light);
}

.event-badge {
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================
   Form Wrapper
======================================== */
.form-wrapper {
    flex: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.form-title {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.title-accent {
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-accent-light);
    text-transform: uppercase;
}

.title-main {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   Progress Bar
======================================== */
.progress-container {
    margin-bottom: var(--space-2xl);
    position: relative;
}

.progress-bar {
    height: 4px;
    background: var(--color-bg-input);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    width: 33.33%;
    transition: width var(--transition-slow);
    box-shadow: var(--shadow-glow);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-input);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.progress-step.completed .step-circle {
    background: var(--color-success);
    box-shadow: 0 0 20px var(--color-success-glow);
}

.step-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.progress-step.active .step-label {
    color: var(--color-text-primary);
}

/* ========================================
   Form Steps
======================================== */
.form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn var(--transition-slow);
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    margin-bottom: var(--space-xl);
}

.step-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.step-number {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}

/* ========================================
   Form Elements
======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.label-text {
    color: var(--color-text-primary);
}

.label-required {
    background: var(--color-accent);
    color: white;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.label-optional {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--color-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.form-error {
    display: none;
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-error);
}

.form-input.error {
    border-color: var(--color-error);
}

.form-input.error+.form-hint+.form-error {
    display: block;
}

/* Input with Prefix (TK) */
.input-with-prefix {
    display: flex;
    align-items: center;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.input-with-prefix:hover {
    border-color: var(--color-text-muted);
}

.input-with-prefix:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.input-prefix {
    padding: var(--space-md);
    background: var(--color-bg-elevated);
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: var(--font-size-base);
    border-right: 1px solid var(--color-border);
    user-select: none;
}

.input-with-prefix .form-input {
    border: none;
    border-radius: 0;
    background: transparent;
}

.input-with-prefix .form-input:focus {
    box-shadow: none;
}

/* Duplicate Warning */
.duplicate-warning {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--color-error);
    border-radius: var(--radius-md);
    color: var(--color-error);
    font-size: var(--font-size-sm);
    font-weight: 500;
    animation: fadeIn var(--transition-base);
}

.duplicate-warning.active {
    display: flex;
}

.duplicate-warning svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper .form-select {
    appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    pointer-events: none;
}

/* ========================================
   Radio Cards
======================================== */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-content {
    background: var(--color-bg-input);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.radio-card:hover .radio-content {
    border-color: var(--color-text-muted);
    transform: translateY(-2px);
}

.radio-card input:checked+.radio-content {
    border-color: var(--color-accent);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow-glow);
}

.radio-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.radio-icon svg {
    width: 100%;
    height: 100%;
}

.radio-card input:checked+.radio-content .radio-icon {
    color: var(--color-accent-light);
}

.radio-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-title {
    font-size: var(--font-size-lg);
    font-weight: 900;
    color: var(--color-text-primary);
}

.radio-abbr {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.radio-card input:checked+.radio-content .radio-abbr {
    color: var(--color-accent-light);
}

/* ========================================
   Checkbox Card
======================================== */
.checkbox-card {
    cursor: pointer;
    display: block;
}

.checkbox-card input {
    display: none;
}

.checkbox-content {
    background: var(--color-bg-input);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.checkbox-card:hover .checkbox-content {
    border-color: var(--color-text-muted);
}

.checkbox-card input:checked+.checkbox-content {
    border-color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
}

.checkbox-box {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.checkbox-box svg {
    width: 14px;
    height: 14px;
    color: transparent;
    transition: color var(--transition-base);
}

.checkbox-card input:checked+.checkbox-content .checkbox-box {
    background: var(--color-success);
    border-color: var(--color-success);
}

.checkbox-card input:checked+.checkbox-content .checkbox-box svg {
    color: white;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
}

.checkbox-desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* ========================================
   Buttons
======================================== */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    margin-left: auto;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--color-bg-input);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
}

.btn-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    margin-left: auto;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--color-success-glow);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========================================
   Success State
======================================== */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
    animation: scaleIn var(--transition-slow);
}

.form-success.active {
    display: block;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px var(--color-success-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 40px var(--color-success-glow);
    }

    50% {
        box-shadow: 0 0 60px var(--color-success-glow);
    }
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    margin-bottom: var(--space-md);
}

.success-message {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.success-summary {
    background: var(--color-bg-input);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: left;
}

.success-summary p {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

.success-summary p:last-child {
    border-bottom: none;
}

.success-summary .summary-label {
    color: var(--color-text-muted);
}

.success-summary .summary-value {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* ========================================
   Footer
======================================== */
.footer {
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 640px) {
    .container {
        padding: var(--space-md);
    }

    .form-wrapper {
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .title-main {
        font-size: var(--font-size-2xl);
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step-label {
        display: none;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .btn-primary,
    .btn-submit {
        margin-left: 0;
    }
}

/* ========================================
   Admin Mode Styles
======================================== */
.admin-btn {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 50;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.admin-btn svg {
    width: 22px;
    height: 22px;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text-primary);
    transform: scale(1.05);
}

.admin-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--color-accent);
    color: var(--color-accent-light);
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.admin-modal.show {
    display: flex;
    opacity: 1;
}

.admin-modal-content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 90%;
    width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-slow);
}

.admin-modal.show .admin-modal-content {
    transform: scale(1);
}

.admin-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.admin-modal-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.admin-modal-content>p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.admin-input-wrapper {
    margin-bottom: var(--space-md);
}

.admin-input-wrapper input {
    width: 100%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    text-align: center;
    letter-spacing: 0.1em;
    transition: all var(--transition-fast);
}

.admin-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.admin-input-wrapper input.error {
    border-color: var(--color-error);
    animation: shake 0.5s ease;
}

.admin-input-wrapper input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.attempt-warning {
    font-size: var(--font-size-sm);
    color: #fbbf24;
    min-height: 1.5em;
    margin-bottom: var(--space-md);
}

.attempt-warning.error {
    color: var(--color-error);
}

.admin-btn-group {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.admin-btn-group .btn {
    flex: 1;
    margin: 0;
}

/* Admin Mode Banner */
.admin-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.admin-mode-banner svg {
    width: 16px;
    height: 16px;
}

body.admin-mode .container {
    padding-top: calc(var(--space-lg) + 40px);
}

/* Spreadsheet Link Button */
.spreadsheet-link-btn {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: none;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 20px var(--color-success-glow);
    transition: all var(--transition-base);
    z-index: 90;
}

.spreadsheet-link-btn svg {
    width: 20px;
    height: 20px;
}

.spreadsheet-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-success-glow);
}

body.admin-mode .spreadsheet-link-btn {
    display: flex;
}

@media (max-width: 640px) {
    .admin-btn {
        top: var(--space-md);
        right: var(--space-md);
        width: 40px;
        height: 40px;
    }

    .admin-btn svg {
        width: 18px;
        height: 18px;
    }

    .admin-btn-group {
        flex-direction: column;
    }

    .spreadsheet-link-btn {
        bottom: var(--space-lg);
        right: var(--space-lg);
        padding: var(--space-sm) var(--space-md);
    }
}