/* AI Video Chat Battle - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01', 'cv01';
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 30px 0 20px;
}

header h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #888;
    margin-top: 8px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    margin: 20px 0;
}

.hidden {
    display: none !important;
}

/* Status bar */
.status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#status-text {
    color: #aaa;
    font-size: 0.95rem;
}

/* Camera preview */
.camera-preview-container {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin: 0;
}

#camera-preview {
    display: block;
    width: 210px;
    aspect-ratio: 44 / 75;
    border-radius: 16px;
    background: #000;
    border: 1px solid #2a2a3e;
    /* 44:75 (~0.59) is the AI's *actual* view: the apps crop the 16:9 v4l2 feed
       to its center ~33% width (full height), so object-fit:cover here shows
       exactly that center strip — the preview no longer over-promises the
       vertical extent the AI never receives. The .mirrored class (toggled by
       JS for the FRONT camera only) flips it selfie-style to match the native
       camera app — display-only, does NOT change the video sent to the AI. */
    object-fit: cover;
    box-shadow: 0 24px 60px -22px rgba(102, 126, 234, 0.45);
}

/* Flip-camera icon button, overlaid at top-left of the preview */
.flip-icon-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 16, 28, 0.55);
    color: #e8e8f0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.flip-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.flip-icon-btn:hover:not(:disabled) {
    background: rgba(102, 126, 234, 0.9);
    color: #fff;
}

.flip-icon-btn:active:not(:disabled) {
    transform: scale(0.92);
}

.flip-icon-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.camera-row {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.battle-timer {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(26, 26, 46, 0.85);
    color: #e0e0e0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    border: 1px solid #333;
    backdrop-filter: blur(4px);
}

.battle-timer.warning {
    color: #ff9800;
    border-color: #ff9800;
}

.battle-timer.critical {
    color: #f44336;
    border-color: #f44336;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

#camera-active {
    width: 140px;
    aspect-ratio: 44 / 75;
    border-radius: 8px;
    background: #000;
    border: 1px solid #333;
    object-fit: cover;
}

/* Front camera = selfie mirror (matches the native camera app); back camera =
   no mirror. Toggled in JS by updateMirror() based on currentFacing. This is
   display-only and does NOT affect the video sent to the backend/AI. */
#camera-preview.mirrored,
#camera-active.mirrored {
    transform: scaleX(-1);
}

/* Buttons */
.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #2a2a3e;
    color: #aaa;
    border: 1px solid #444;
}

.btn-ghost {
    background: transparent;
    color: #aaa;
    border: 1px solid #333;
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-ghost:hover:not(:disabled) {
    background: #2a2a3e;
    color: #e0e0e0;
    border-color: #555;
}

.btn-ghost:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Flip button anchored to top-left of the active-session camera, paired
   with the countdown timer at top-right. */
.flip-camera-btn-active {
    top: 8px;
    left: 12px;
    width: 30px;
    height: 30px;
}

.flip-camera-btn-active svg {
    width: 16px;
    height: 16px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.2rem;
    display: inline-block;
    margin: 0;
}

.btn-primary:disabled {
    background: #2a2a3e;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-rate {
    background: #1e3a5f;
    color: #7db8ff;
    padding: 14px 28px;
    min-width: 140px;
}

.btn-rate:hover {
    background: #264d7a;
}

.btn-rate.btn-tie {
    background: #2a2a3e;
    color: #aaa;
}

.btn-rate.btn-tie:hover {
    background: #353550;
}

.hint {
    text-align: center;
    color: #666;
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pre-session two-column layout */
.pre-session {
    margin-top: 8px;
}

.pre-session-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: center;
    max-width: 960px;
    margin: 48px auto 36px;
    padding: 0 8px;
}

.pre-session-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    min-width: 0;
}

.pre-session-headline {
    margin: 0;
    color: #ececf3;
    font-size: 1.85rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.018em;
}

.pre-session-headline .accent {
    font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.15em;
    line-height: 1;
    background: linear-gradient(135deg, #8a9cf0 0%, #b48be0 65%, #d4a7e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-right: 2px;
}

/* Judge-by: editorial kicker + numbered 3-column grid */
.judge-by {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.judge-by-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #6b6b85;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.judge-by-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.25), rgba(102, 126, 234, 0));
    min-width: 80px;
}

.judge-by-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 440px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 12px;
}

.judge-by-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px 12px;
    border-left: 1px solid rgba(102, 126, 234, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.judge-by-list li:hover {
    border-left-color: rgba(168, 178, 236, 0.7);
    transform: translateY(-1px);
}

.judge-by-num {
    font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    background: linear-gradient(135deg, #8a9cf0 0%, #b48be0 65%, #d4a7e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.judge-by-text {
    color: #c8cee8;
    font-size: 0.88rem;
    line-height: 1.35;
    letter-spacing: -0.005em;
    font-weight: 500;
}

/* Privacy note — quieter than the hero but with deliberate emphasis */
.privacy-note {
    max-width: 680px;
    margin: 8px auto 12px;
    padding: 0 16px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.75;
}

.privacy-note strong {
    color: #d4d8e8;
    font-weight: 600;
}

.privacy-note em {
    font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1em;
    color: #c8a5e0;
    letter-spacing: 0.005em;
}

/* Collapsed fine-print under the hero */
.fine-print {
    max-width: 680px;
    margin: 16px auto 0;
    padding: 0 16px;
    color: #888;
    font-size: 0.83rem;
    line-height: 1.65;
    text-align: center;
}

.fine-print[open] {
    text-align: left;
}

.fine-print summary {
    display: inline-block;
    cursor: pointer;
    color: #888;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 0;
    user-select: none;
    list-style: none;
}

.fine-print summary::-webkit-details-marker { display: none; }

.fine-print summary::before {
    content: '+';
    display: inline-block;
    width: 14px;
    color: #555;
    font-weight: 700;
}

.fine-print[open] summary::before { content: '\2212'; }

.fine-print summary:hover { color: #b8b8c8; }

.notes-list {
    margin: 12px 0 0;
    padding-left: 18px;
}

.notes-list li {
    margin-bottom: 8px;
}

.notes-list li:last-child {
    margin-bottom: 0;
}

.notes-list strong {
    color: #c8c8d8;
    font-weight: 600;
}

@media (max-width: 720px) {
    .pre-session-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 24px auto;
        justify-items: center;
    }
    .pre-session-content {
        align-items: center;
        text-align: center;
    }
    .pre-session-headline {
        font-size: 1.4rem;
    }
    .judge-by {
        justify-content: center;
    }
    #camera-preview {
        width: 220px;
    }
}

/* Battle arena */
.battle-arena {
    display: flex;
    gap: 16px;
    align-items: stretch;
    min-height: 320px;
}

.ai-panel {
    flex: 1;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

#panel-a {
    border-color: rgba(102, 126, 234, 0.3);
}

#panel-b {
    border-color: rgba(118, 75, 162, 0.3);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #16162a;
    border-bottom: 1px solid #252540;
}

.panel-label {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#panel-a .panel-label {
    color: #667eea;
}

#panel-b .panel-label {
    color: #9d7ac2;
}

.panel-status {
    font-size: 0.75rem;
    color: #666;
}

.panel-body {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    max-height: 400px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.panel-body .placeholder {
    color: #444;
    font-style: italic;
}

.panel-body .transcript-line {
    margin-bottom: 10px;
    padding: 6px 0;
    color: #e0e0e0;
    animation: fadeIn 0.3s ease;
}

.panel-body .transcript-interim {
    color: #888;
    font-style: italic;
    padding: 4px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.vs-divider {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #444;
    padding: 0 8px;
    letter-spacing: 0.1em;
}

/* Rating section */
.rating-section {
    text-align: center;
    margin: 24px 0 16px;
}

.rating-section h3 {
    margin-bottom: 6px;
    color: #aaa;
    font-weight: 500;
}

.rating-criteria {
    margin: 0 auto 16px;
    color: #777;
    font-size: 0.85rem;
    max-width: 520px;
    line-height: 1.5;
}

.rating-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

#end-btn {
    display: block;
    margin: 16px auto 0;
}

/* Reveal */
.reveal-title {
    text-align: center;
    color: #aaa;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.reveal-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 24px;
}

.reveal-card {
    flex: 1;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: revealFadeIn 0.5s ease;
}

@keyframes revealFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-card.winner {
    border-color: #4CAF50;
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.25);
}

.reveal-card.loser {
    opacity: 0.55;
}

.reveal-label {
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.reveal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}

.reveal-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.reveal-badge {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.reveal-verdict {
    text-align: center;
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 24px;
}

#new-battle-btn {
    display: block;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .reveal-cards {
        flex-direction: column;
    }
}

/* Leaderboard */
.leaderboard-title {
    text-align: center;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 2rem;
    font-weight: 700;
}

.leaderboard-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.leaderboard {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 4px 20px;
}

.leaderboard-header,
.leaderboard-row {
    display: grid;
    grid-template-columns: 40px 1fr 100px 110px 60px 60px 70px 70px 100px;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
}

.leaderboard-header {
    color: #666;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #2a2a3e;
}

.leaderboard-row {
    border-bottom: 1px solid #222;
    transition: background 0.15s ease;
    font-size: 0.95rem;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: rgba(102, 126, 234, 0.05);
}

.lb-rank {
    color: #888;
    font-weight: 600;
    text-align: center;
}

.lb-app {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
    min-width: 0;
}

.lb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lb-app-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lb-app-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.lb-company {
    font-size: 0.7rem;
    color: #888;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lb-elo {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.lb-winrate,
.lb-stat,
.lb-matches {
    font-variant-numeric: tabular-nums;
    text-align: center;
    font-weight: 500;
}

.lb-winrate,
.lb-matches {
    color: #aaa;
}

.lb-stat {
    color: #666;
}

.lb-stat.lb-wins {
    color: #4CAF50;
    font-weight: 600;
}

.lb-stat.lb-losses {
    color: #f44336;
    font-weight: 600;
}

.leaderboard-empty {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .leaderboard {
        padding: 4px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 32px 160px 70px 80px 44px 44px 50px 50px 70px;
        gap: 12px;
        width: max-content;
    }
}

/* Tab navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tab-btn {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px 8px 0 0;
    padding: 10px 24px;
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #bbb;
    background: #1e1e32;
}

.tab-btn.active {
    background: #1a1a2e;
    color: #667eea;
    border-bottom-color: #1a1a2e;
}

.tab-content.hidden {
    display: none !important;
}

/* Under construction */
.construction-card {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.construction-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.construction-card h2 {
    color: #e0e0e0;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.construction-card p {
    color: #888;
    line-height: 1.7;
    font-size: 0.95rem;
}

.construction-hint {
    margin-top: 12px;
    color: #667eea !important;
    font-size: 0.9rem !important;
}

/* Online Evaluation */
.eval-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.eval-info h2 {
    color: #e0e0e0;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.eval-info p {
    color: #888;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.eval-steps {
    list-style: none;
    padding: 0;
}

.eval-steps li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.eval-steps li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

.eval-form {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: #12121e;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.or-divider {
    text-align: center;
    margin: 12px 0;
    position: relative;
}

.or-divider span {
    background: #1a1a2e;
    color: #555;
    padding: 0 12px;
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.eval-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Toast */
.eval-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    z-index: 1000;
    transition: opacity 0.3s;
}

.eval-toast.success {
    background: #1a3a2a;
    color: #4CAF50;
    border: 1px solid #2a5a3a;
}

.eval-toast.error {
    background: #3a1a1a;
    color: #f44336;
    border: 1px solid #5a2a2a;
}

/* Responsive */
@media (max-width: 768px) {
    .battle-arena {
        flex-direction: column;
    }
    .vs-divider {
        justify-content: center;
        padding: 8px 0;
    }
    .rating-buttons {
        flex-direction: column;
        align-items: center;
    }
    .eval-grid {
        grid-template-columns: 1fr;
    }
}

/* About */
.about-section {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 8px;
}

.about-figure {
    margin: 0 0 36px;
    padding: 28px 32px;
    background: #f5f6fb;
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 80px -40px rgba(102, 126, 234, 0.5);
}

.about-framework {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    margin: 0 auto;
}

.about-lead {
    max-width: 720px;
    margin: 0 auto 18px;
    color: #b8b8c8;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.about-link-wrap {
    text-align: center;
    margin: 0;
    word-break: break-all;
}

.about-link {
    color: #a8b2ec;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.4);
    transition: color 150ms ease, border-color 150ms ease;
}

.about-link:hover,
.about-link:focus-visible {
    color: #c8cee8;
    border-bottom-color: rgba(102, 126, 234, 0.85);
}
