/* ──────────────────────────────────────────────
   Guru Battle — CSS (Group Chat Style)
   ────────────────────────────────────────────── */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --text-primary: #f0ece2;
    --text-secondary: #9a9ab0;
    --text-muted: #55556a;
    --border: #1e1e30;
    --primary: #c9a84c;
    --primary-dark: #8a6d2f;
    --primary-glow: rgba(201, 168, 76, 0.15);
    --code-bg: #0d0d15;

    --guru-left: #4a9eff;
    --guru-left-bg: rgba(74, 158, 255, 0.08);
    --guru-right: #ff6b8a;
    --guru-right-bg: rgba(255, 107, 138, 0.08);
}

:root.light-mode {
    --bg-dark: #f5f3ef;
    --bg-card: #ffffff;
    --bg-card-hover: #f0ede6;
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --text-muted: #888899;
    --border: #e0ddd4;
    --primary: #9a7b2d;
    --primary-dark: #7d6424;
    --primary-glow: rgba(154, 123, 45, 0.1);
    --code-bg: #f0ede6;

    --guru-left: #2a7ae0;
    --guru-left-bg: rgba(42, 122, 224, 0.06);
    --guru-right: #d94a6a;
    --guru-right-bg: rgba(217, 74, 106, 0.06);
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
}

/* ──────────────────────────────────────────────
   Header
   ────────────────────────────────────────────── */

.battle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    transition: all 0.2s;
}

.header-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    line-height: 1;
}

.theme-icon-dark, .theme-icon-light { display: none; }
:root:not(.light-mode) .theme-icon-dark { display: inline; }
:root.light-mode .theme-icon-light { display: inline; }

/* ──────────────────────────────────────────────
   Setup Phase
   ────────────────────────────────────────────── */

.battle-setup {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    padding: 24px;
}

.setup-inner {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

.setup-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), #e8d5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.setup-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Guru Selectors */
.guru-selectors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.guru-selector {
    flex: 1;
    max-width: 200px;
}

.selector-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.selector-btn {
    width: 100%;
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.selector-btn:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.selector-btn.selected {
    border-style: solid;
    border-color: var(--primary);
    background: var(--primary-glow);
}

.selector-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
    overflow: hidden;
}

.selector-avatar.has-image {
    background: none;
}

.selector-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.selector-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.vs-badge {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    flex-shrink: 0;
}

/* Topic Input */
.topic-input-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}

.topic-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.topic-input:focus {
    border-color: var(--primary);
}

.topic-input::placeholder {
    color: var(--text-muted);
}

.battle-start-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.battle-start-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

:root.light-mode .battle-start-btn {
    color: #fff;
}

/* Quick Topics */
.quick-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.quick-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quick-topic {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-topic:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ──────────────────────────────────────────────
   Battle Arena
   ────────────────────────────────────────────── */

.battle-arena {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
}

/* Arena Header */
.arena-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-shrink: 0;
}

.arena-back {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.2s;
}

.arena-back:hover {
    color: var(--primary);
}

.arena-topic-wrap {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.arena-topic {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arena-status {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.arena-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.arena-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: opacity 0.2s;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arena-btn:hover { opacity: 0.7; }

.arena-stop {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    animation: stopPulse 1.5s infinite;
}

@keyframes stopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
}

/* ──────────────────────────────────────────────
   Chat Thread (Group Chat)
   ────────────────────────────────────────────── */

.chat-thread {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 24px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-x: none;
}

.chat-thread::-webkit-scrollbar {
    width: 5px;
}

.chat-thread::-webkit-scrollbar-track {
    background: transparent;
}

.chat-thread::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ──────────────────────────────────────────────
   Chat Messages
   ────────────────────────────────────────────── */

.chat-msg {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 85%;
    animation: msgSlideIn 0.3s ease;
}

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

/* Left guru (Guru A) */
.chat-left {
    align-self: flex-start;
    margin-right: auto;
}

/* Right guru (Guru B) */
.chat-right {
    align-self: flex-end;
    margin-left: auto;
    flex-direction: row-reverse;
}

/* Avatar */
.chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.chat-left .chat-avatar {
    border-color: var(--guru-left);
}

.chat-right .chat-avatar {
    border-color: var(--guru-right);
}

/* Message Body */
.chat-body {
    min-width: 0;
    flex: 1;
}

.chat-name {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding: 0 4px;
}

.chat-left .chat-name {
    color: var(--guru-left);
}

.chat-right .chat-name {
    color: var(--guru-right);
    text-align: right;
}

.chat-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    line-height: 1.7;
    font-size: 0.95rem;
    word-break: break-word;
}

.chat-left .chat-bubble {
    background: var(--guru-left-bg);
    border-color: rgba(74, 158, 255, 0.15);
    border-top-left-radius: 4px;
}

.chat-right .chat-bubble {
    background: var(--guru-right-bg);
    border-color: rgba(255, 107, 138, 0.15);
    border-top-right-radius: 4px;
}

/* Chat text inside bubble */
.chat-text {
    /* Content container inside bubble */
}

.chat-text p {
    margin-bottom: 0.5em;
}

.chat-text p:last-child {
    margin-bottom: 0;
}

/* Error & Stopped text inside messages */
.stopped-text {
    color: var(--text-muted);
    font-style: italic;
}

.error-text {
    color: #e74c3c;
}

/* ──────────────────────────────────────────────
   Thinking Block (inside message)
   ────────────────────────────────────────────── */

.chat-thinking {
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.chat-thinking-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-card-hover);
    cursor: pointer;
    font-size: 0.78rem;
    user-select: none;
}

.chat-thinking-header .thinking-label {
    color: var(--primary);
    font-weight: 600;
}

.chat-thinking-header .thinking-status {
    color: var(--text-muted);
    flex: 1;
}

.chat-thinking-header .thinking-toggle {
    color: var(--text-muted);
    transition: transform 0.2s;
    font-size: 0.65rem;
}

.chat-thinking:not(.collapsed) .thinking-toggle {
    transform: rotate(90deg);
}

.chat-thinking-body {
    padding: 10px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.5;
    border-top: 1px solid var(--border);
}

.chat-thinking.collapsed .chat-thinking-body {
    display: none;
}

/* ──────────────────────────────────────────────
   Typing Dots
   ────────────────────────────────────────────── */

.typing-dots {
    display: flex;
    gap: 5px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.chat-left .typing-dots span {
    background: var(--guru-left);
}

.chat-right .typing-dots span {
    background: var(--guru-right);
}

@keyframes typingDot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

/* ──────────────────────────────────────────────
   System Message (chat room style)
   ────────────────────────────────────────────── */

.chat-system {
    text-align: center;
    margin: 16px 0;
    animation: msgSlideIn 0.3s ease;
}

.chat-system span {
    display: inline-block;
    background: var(--primary-glow);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────
   Arena Bottom Bar (Continue + Follow-up)
   ────────────────────────────────────────────── */

.arena-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Continue Button */
.continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary-glow);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--primary);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.continue-btn:hover {
    background: rgba(201, 168, 76, 0.25);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Follow-up wrap */
.followup-wrap {
    display: flex;
    gap: 10px;
}

.followup-input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.followup-input:focus {
    border-color: var(--primary);
}

.followup-input::placeholder {
    color: var(--text-muted);
}

.followup-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.followup-btn:hover {
    transform: translateY(-1px);
}

:root.light-mode .followup-btn {
    color: #fff;
}

/* ──────────────────────────────────────────────
   Guru Picker Modal
   ────────────────────────────────────────────── */

.guru-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.guru-picker-overlay.active {
    display: flex;
}

.guru-picker {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: pickerSlideIn 0.2s ease;
}

@keyframes pickerSlideIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.picker-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.picker-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px;
    overflow-y: auto;
}

.picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    color: var(--text-primary);
}

.picker-item:hover:not(.disabled) {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.picker-item.selected {
    border-color: var(--primary);
    background: var(--primary-glow);
    box-shadow: 0 0 0 2px var(--primary);
}

.picker-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.picker-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.picker-name {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.picker-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.55rem;
    background: var(--primary);
    color: #0a0a0f;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
}

/* ──────────────────────────────────────────────
   Toast
   ────────────────────────────────────────────── */

.battle-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.battle-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Share URL Popup (iOS fallback) */
.share-url-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.share-url-popup {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
}
.share-url-popup p {
    color: var(--text-primary);
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 500;
}
.share-url-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    text-align: center;
    box-sizing: border-box;
    -webkit-user-select: all;
    user-select: all;
}
.share-url-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}
.share-url-close-btn {
    margin-top: 16px;
    padding: 10px 32px;
    background: var(--primary);
    color: #0a0a0f;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* ──────────────────────────────────────────────
   Responsive — Tablet (768px)
   ────────────────────────────────────────────── */

@media (max-width: 768px) {
    .battle-header {
        padding: 10px 12px;
    }

    .header-title {
        font-size: 0.95rem;
    }

    .header-link {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .battle-setup {
        padding: 16px;
        min-height: auto;
    }

    .setup-title {
        font-size: 1.5rem;
    }

    .setup-desc {
        font-size: 0.85rem;
        margin-bottom: 28px;
    }

    .guru-selectors {
        gap: 12px;
    }

    .selector-btn {
        padding: 16px 12px;
    }

    .selector-avatar {
        width: 56px;
        height: 56px;
    }

    .vs-badge {
        font-size: 1.2rem;
    }

    .topic-input-wrap {
        flex-direction: column;
    }

    /* Chat Thread */
    .chat-thread {
        padding: 16px;
    }

    .chat-msg {
        max-width: 92%;
    }

    .chat-avatar {
        width: 38px;
        height: 38px;
    }

    .chat-bubble {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .chat-name {
        font-size: 0.72rem;
    }

    .picker-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-topics {
        gap: 6px;
    }

    .quick-topic {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* ──────────────────────────────────────────────
   Responsive — Phone (480px)
   ────────────────────────────────────────────── */

@media (max-width: 480px) {
    .battle-header {
        padding: 8px 10px;
    }

    .header-logo {
        font-size: 0.8rem;
    }

    .header-title {
        font-size: 0.85rem;
    }

    .setup-title {
        font-size: 1.3rem;
    }

    .setup-desc {
        font-size: 0.8rem;
    }

    .guru-selectors {
        gap: 8px;
    }

    .selector-btn {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .selector-avatar {
        width: 48px;
        height: 48px;
    }

    .selector-name {
        font-size: 0.78rem;
    }

    .vs-badge {
        font-size: 1rem;
    }

    .topic-input {
        font-size: 0.9rem;
        padding: 12px 14px;
    }

    .battle-start-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
    }

    /* Chat */
    .chat-thread {
        padding: 12px 10px;
    }

    .chat-msg {
        gap: 8px;
        max-width: 95%;
        margin-bottom: 16px;
    }

    .chat-avatar {
        width: 32px;
        height: 32px;
    }

    .chat-bubble {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .chat-left .chat-bubble {
        border-top-left-radius: 4px;
    }

    .chat-right .chat-bubble {
        border-top-right-radius: 4px;
    }

    .chat-name {
        font-size: 0.7rem;
    }

    .chat-system span {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .arena-bottom {
        padding: 10px 12px;
    }

    .continue-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .followup-input {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .followup-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .picker-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 12px;
    }

    .picker-item {
        padding: 8px 4px;
    }

    .picker-img {
        width: 40px;
        height: 40px;
    }

    .picker-name {
        font-size: 0.65rem;
    }

    .arena-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .arena-topic {
        font-size: 0.85rem;
    }

    .arena-status {
        font-size: 0.65rem;
    }
}
