/* =========================================================
   LegalDebug.com — Styles
   Inflated-3D + Horizontal Scroll Courtroom Narrative
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #C2703E;
    --desert-sand: #E8C5A0;
    --burnt-umber: #3D1F0B;
    --oxidized-copper: #4A8C7F;
    --gold: #D4A843;
    --parchment: #F5EDE0;
    --sage: #8BA888;
    --adobe-shadow: #2A1508;
    --terracotta-dark: #A85A2E;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--burnt-umber);
    background: var(--parchment);
    line-height: 1.7;
}

/* --- Typography --- */
.display-title {
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.caveat {
    font-family: 'Caveat', cursive;
}

.fira {
    font-family: 'Fira Code', monospace;
}

h2, h3 {
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* --- Inflated 3D System --- */
.inflated {
    border-radius: 24px;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.5) 0%, transparent 60%),
                linear-gradient(135deg, #C2703E 0%, #A85A2E 100%);
    box-shadow:
        inset 0 2px 8px rgba(245, 237, 224, 0.4),
        0 8px 24px rgba(61, 31, 11, 0.15),
        0 20px 48px rgba(42, 21, 8, 0.25);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.inflated:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow:
        inset 0 2px 12px rgba(245, 237, 224, 0.5),
        0 12px 32px rgba(61, 31, 11, 0.2),
        0 28px 56px rgba(42, 21, 8, 0.3);
}

.inflated:active {
    transform: scale(0.97);
}

/* --- Horizontal Scroll Container --- */
#chambers {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100vh;
    width: 500vw;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#chambers::-webkit-scrollbar {
    display: none;
}

.chamber {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    scroll-snap-align: start;
    overflow: hidden;
}

.chamber-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.panel-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem 4rem;
}

/* --- Wallpaper pattern (subtle) --- */
.chamber-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20px 20px, var(--terracotta) 1px, transparent 1px),
        radial-gradient(circle at 60px 60px, var(--terracotta) 0.5px, transparent 0.5px);
    background-size: 80px 80px;
    opacity: 0.03;
}

/* --- Progress Bar --- */
#progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

#progress-mesa {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
}

#progress-mesa svg {
    width: 100%;
    height: 100%;
}

#progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--terracotta), var(--gold));
    transition: width 0.4s ease;
    border-radius: 2px;
}

#progress-dots {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 12px;
    z-index: 2;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--desert-sand);
    border: 2px solid var(--terracotta);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.progress-dot.active {
    background: var(--terracotta);
    transform: scale(1.3);
}

/* --- Cactus Dividers --- */
.cactus-divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 200px;
    z-index: 5;
}

/* =========================================================
   PANEL 1: THE DOCKET (HERO)
   ========================================================= */
#panel-docket {
    background: linear-gradient(160deg, var(--parchment) 0%, var(--desert-sand) 60%, #E0B88A 100%);
}

#panel-docket .panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.docket-case-file {
    max-width: 700px;
}

.case-number {
    display: block;
    font-size: 1.1rem;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

#panel-docket .display-title {
    font-size: clamp(4rem, 8vw, 8rem);
    color: var(--burnt-umber);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.accent-dot {
    color: var(--terracotta);
}

.docket-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--terracotta-dark);
}

/* Gavel */
.gavel-container {
    position: relative;
    width: 180px;
    height: 140px;
    animation: bob 3s ease-in-out infinite;
}

.gavel-head {
    width: 120px;
    height: 60px;
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.gavel-handle {
    width: 16px;
    height: 90px;
    background: linear-gradient(to bottom, var(--gold), var(--terracotta-dark));
    border-radius: 8px;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(42, 21, 8, 0.2);
}

.gavel-shadow {
    width: 100px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(42, 21, 8, 0.2) 0%, transparent 70%);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
}

/* Code stack */
.code-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.code-page {
    padding: 10px 24px;
    font-size: 0.875rem;
    color: var(--parchment);
    transform: rotate(var(--rot));
    white-space: nowrap;
}

/* Scroll Hint */
.scroll-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1rem;
    opacity: 0.7;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--terracotta);
    animation: pulse-arrow 1.5s ease-in-out infinite;
}

.scroll-arrow:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow:nth-child(3) {
    animation-delay: 0.4s;
}

.scroll-label {
    font-size: 1rem;
    color: var(--terracotta-dark);
    margin-left: 8px;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(6px); }
}

/* =========================================================
   PANEL 2: THE EVIDENCE LOCKER
   ========================================================= */
#panel-evidence {
    background: var(--parchment);
}

.corkboard {
    background-color: #D4A060;
    background-image:
        radial-gradient(circle, rgba(139, 90, 43, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(139, 90, 43, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 33px 33px;
    background-position: 0 0, 10px 10px;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto repeat(8, 1fr);
    gap: 16px;
    padding: 2rem 3rem;
    height: 100%;
}

.section-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    z-index: 10;
}

.inflated-banner {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.inflated-banner span {
    display: inline-block;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.5) 0%, transparent 60%),
                linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--parchment);
    padding: 12px 48px;
    border-radius: 24px;
    font-size: 2.5rem;
    box-shadow:
        inset 0 2px 8px rgba(245, 237, 224, 0.4),
        0 8px 24px rgba(61, 31, 11, 0.15),
        0 20px 48px rgba(42, 21, 8, 0.25);
}

.evidence-item {
    position: relative;
    padding: 20px;
    transform: rotate(var(--rot));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.1s;
    cursor: default;
}

.evidence-item.inflated {
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.6) 0%, transparent 60%),
                linear-gradient(135deg, var(--parchment) 0%, var(--desert-sand) 100%);
    color: var(--burnt-umber);
}

.evidence-item:hover {
    z-index: 20 !important;
    transform: rotate(0deg) scale(1.08);
}

.evidence-tag {
    display: inline-block;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    background: var(--terracotta);
    color: var(--parchment);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.evidence-caption {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--terracotta-dark);
    opacity: 0.8;
}

/* Code snippets */
.code-snippet {
    font-size: 0.8rem;
    line-height: 1.6;
    background: rgba(42, 21, 8, 0.05);
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
    white-space: pre-wrap;
}

.code-kw { color: var(--oxidized-copper); font-weight: 500; }
.code-fn { color: var(--terracotta); }
.code-str { color: var(--sage); }
.code-comment { color: var(--desert-sand); font-style: italic; }

/* Legal fragment */
.legal-fragment {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 8px;
    border-left: 3px solid var(--gold);
    padding-left: 16px;
}

/* Polaroid */
.polaroid-frame {
    background: white;
    padding: 10px 10px 30px 10px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(42, 21, 8, 0.2);
}

.bug-screenshot {
    background: #1a1a2e;
    border-radius: 6px;
    overflow: hidden;
}

.fake-browser {
    padding: 0;
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: #2a2a3e;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--terracotta);
}

.browser-dots span:nth-child(2) { background: var(--gold); }
.browser-dots span:nth-child(3) { background: var(--sage); }

.error-display {
    padding: 16px;
}

.error-text {
    color: #ff6b6b;
    font-size: 0.8rem;
}

/* Rubber Stamps */
.stamp-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rubber-stamp {
    font-family: 'Abril Fatface', serif;
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
    padding: 20px 30px;
    border: 4px solid var(--terracotta);
    border-radius: 8px;
    color: var(--terracotta);
    transform: rotate(var(--rot));
    opacity: 0.85;
    text-transform: uppercase;
}

.stamp-item.in-view .rubber-stamp {
    animation: stamp 0.4s ease-out forwards;
}

@keyframes stamp {
    0% {
        transform: scale(2.5) rotate(15deg);
        opacity: 0;
    }
    60% {
        transform: scale(0.95) rotate(-2deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(var(--rot));
        opacity: 0.85;
    }
}

/* Magnifier */
.magnifier {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magnifier.visible {
    opacity: 1;
}

.magnifier-lens {
    width: 80px;
    height: 80px;
    border: 4px solid var(--oxidized-copper);
    border-radius: 50%;
    background: rgba(245, 237, 224, 0.15);
    box-shadow: 0 0 20px rgba(74, 140, 127, 0.2);
    position: relative;
}

.magnifier-lens::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -8px;
    width: 6px;
    height: 28px;
    background: var(--oxidized-copper);
    border-radius: 4px;
    transform: rotate(45deg);
}

/* =========================================================
   PANEL 3: THE COURTROOM
   ========================================================= */
#panel-courtroom {
    background: linear-gradient(170deg, var(--parchment) 0%, #EDD9C0 100%);
}

.courtroom-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.courtroom-layout .section-heading {
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.courtroom-split {
    display: flex;
    flex: 1;
    gap: 0;
    overflow: hidden;
}

.prosecution-side,
.defense-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}

.side-header {
    padding: 16px 24px;
    margin-bottom: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.side-header h3 {
    font-size: 1.8rem;
    color: var(--parchment);
    margin-bottom: 4px;
}

.side-label {
    font-size: 0.75rem;
    color: rgba(245, 237, 224, 0.7);
}

.prosecution-header {
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.3) 0%, transparent 60%),
                linear-gradient(135deg, #b94a3a 0%, #8a2e20 100%);
}

.defense-header {
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.3) 0%, transparent 60%),
                linear-gradient(135deg, var(--oxidized-copper) 0%, #356b60 100%);
}

.courtroom-divider {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Abril Fatface', serif;
    font-size: 1.2rem;
    color: var(--parchment);
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.4) 0%, transparent 60%),
                linear-gradient(135deg, var(--gold) 0%, #b8912e 100%);
}

.arguments-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--desert-sand) transparent;
}

.argument {
    padding: 16px 20px;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.6) 0%, transparent 60%),
                linear-gradient(135deg, var(--parchment) 0%, var(--desert-sand) 100%);
    color: var(--burnt-umber);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.argument-num {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--terracotta);
    flex-shrink: 0;
    padding-top: 2px;
}

.argument p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.argument code {
    background: rgba(74, 140, 127, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--oxidized-copper);
}

/* =========================================================
   PANEL 4: THE DELIBERATION ROOM
   ========================================================= */
#panel-deliberation {
    background: var(--burnt-umber);
}

.deliberation-bg {
    background: linear-gradient(160deg, #2A1508 0%, var(--burnt-umber) 50%, #4A2A14 100%);
}

.deliberation-bg::before {
    background-image: repeating-conic-gradient(
        rgba(245, 237, 224, 0.03) 0deg 10deg,
        transparent 10deg 20deg
    );
    opacity: 0.5;
}

.deliberation-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.dark-banner span {
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.3) 0%, transparent 60%),
                linear-gradient(135deg, var(--gold) 0%, #b8912e 100%);
}

.deliberation-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    width: 100%;
    flex: 1;
}

.deliberation-card {
    position: relative;
    min-height: 180px;
}

.skeleton-placeholder {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(232, 197, 160, 0.15) 25%, rgba(245, 237, 224, 0.25) 50%, rgba(232, 197, 160, 0.15) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.deliberation-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.deliberation-card.revealed .deliberation-reveal {
    opacity: 1;
    transform: translateY(0);
}

.deliberation-card.revealed .skeleton-placeholder {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, rgba(232, 197, 160, 0.12) 0%, rgba(61, 31, 11, 0.3) 100%);
    color: var(--parchment);
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--gold);
}

.card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(245, 237, 224, 0.85);
}

.verdict-icon {
    flex-shrink: 0;
}

.judge-note {
    font-size: 0.85rem;
    color: var(--terracotta);
    margin-top: auto;
    opacity: 0.9;
}

/* Tumbleweed */
.tumbleweed-track {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    height: 40px;
    overflow: hidden;
}

.tumbleweed {
    animation: roll 8s linear infinite;
    position: absolute;
    bottom: 0;
}

@keyframes roll {
    0% {
        transform: translateX(-100px) rotate(0deg);
    }
    100% {
        transform: translateX(calc(100vw + 100px)) rotate(720deg);
    }
}

/* =========================================================
   PANEL 5: THE VERDICT
   ========================================================= */
#panel-verdict {
    background: linear-gradient(160deg, var(--parchment) 0%, var(--desert-sand) 40%, #E0B88A 100%);
}

.verdict-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.verdict-gavel-drop {
    position: relative;
    height: 120px;
}

.big-gavel {
    position: relative;
    width: 160px;
    height: 120px;
}

.big-gavel-head {
    width: 140px;
    height: 70px;
    border-radius: 35px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.big-gavel-handle {
    width: 18px;
    height: 70px;
    background: linear-gradient(to bottom, var(--gold), var(--terracotta-dark));
    border-radius: 9px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(42, 21, 8, 0.2);
}

.verdict-gavel-drop.dropped .big-gavel {
    animation: gavel-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes gavel-drop {
    0% {
        transform: translateY(-80px) rotate(-30deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

.verdict-title {
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--burnt-umber);
    line-height: 1;
}

.verdict-document {
    max-width: 640px;
    padding: 32px 40px;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.6) 0%, transparent 60%),
                linear-gradient(135deg, var(--parchment) 0%, var(--desert-sand) 100%);
    color: var(--burnt-umber);
    text-align: justify;
}

.verdict-ruling {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.verdict-seal {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.seal-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.4) 0%, transparent 60%),
                linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
}

.seal-text {
    font-size: 0.65rem;
    color: var(--parchment);
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

.verdict-cta {
    display: flex;
    gap: 16px;
    margin-top: 1rem;
}

.cta-button {
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    color: var(--parchment);
}

.cta-button.secondary {
    background: radial-gradient(ellipse at 30% 25%, rgba(245, 237, 224, 0.4) 0%, transparent 60%),
                linear-gradient(135deg, var(--oxidized-copper) 0%, #356b60 100%);
}

.desert-horizon {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
}

.desert-horizon svg {
    width: 100%;
    height: 100%;
}

/* =========================================================
   PANEL ENTER ANIMATIONS
   ========================================================= */
.chamber .panel-content > *:not(.chamber-bg) {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.chamber.in-view .panel-content > * {
    opacity: 1;
    transform: translateX(0);
}

.chamber.in-view .panel-content > *:nth-child(1) { transition-delay: 0s; }
.chamber.in-view .panel-content > *:nth-child(2) { transition-delay: 0.1s; }
.chamber.in-view .panel-content > *:nth-child(3) { transition-delay: 0.2s; }
.chamber.in-view .panel-content > *:nth-child(4) { transition-delay: 0.3s; }
.chamber.in-view .panel-content > *:nth-child(5) { transition-delay: 0.4s; }
.chamber.in-view .panel-content > *:nth-child(6) { transition-delay: 0.5s; }

/* Horizontal rule replacement */
.hr-debug {
    font-family: 'Fira Code', monospace;
    font-size: 0.6rem;
    color: var(--terracotta);
    opacity: 0.2;
    text-align: center;
    letter-spacing: 0.3em;
    user-select: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .panel-content {
        padding: 2rem;
    }

    .evidence-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto repeat(12, 1fr);
        padding: 1.5rem;
    }

    .evidence-item {
        grid-column: span 3 !important;
        grid-row: span 3 !important;
    }

    .courtroom-split {
        flex-direction: column;
        overflow-y: auto;
    }

    .courtroom-divider {
        width: 100%;
        height: 60px;
    }

    .deliberation-items {
        grid-template-columns: 1fr;
    }

    .verdict-cta {
        flex-direction: column;
    }

    #panel-docket .display-title {
        font-size: 3.5rem;
    }

    .inflated-banner span {
        font-size: 1.6rem;
        padding: 10px 28px;
    }
}

/* Sand grain filter on inflated elements */
.inflated {
    filter: url(#grain);
}

/* Override filter on text-heavy inflated elements for readability */
.argument.inflated,
.card-content.inflated,
.verdict-document.inflated {
    filter: none;
}
