/* Classical Islamic Arabesque Scrollwork, Floral Medallions & Soothing Parchment Theme */

:root {
    --bg: #f7f4ee;
    --side: #f1ece2;
    --side-line: #dfd6c5;
    --surface: #fffdf9;
    --ink: #162924;
    --muted: #5c6d66;
    --line: #e3dac9;
    --subtle: #f3eee4;
    --hover: #eae2d3;
    --brand: #0e5a4c;
    --brand-dark: #0a4439;
    --accent: #b8893a;
    --accent-soft: #faf2e1;
    --active-surface: #e4f1ec;
    --active-ink: #0b5144;
    --shadow: 0 3px 12px rgba(22, 41, 36, 0.045), 0 1px 2px rgba(22, 41, 36, 0.035);

    /* Ornate Arabesque Corner Filigree Bracket (top-right / mirrored for corners) */
    --arabesque-corner-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23b5832d' opacity='0.28'%3E%3Cpath d='M10 10h96c-12 5-24 6-38 4-16-2-28 2-36 10-8 8-12 20-10 36 2 14 1 26-4 38V10z' fill='none' stroke='%230e5a4c' stroke-width='2.2'/%3E%3Cpath d='M22 22c10-2 20 2 26 9-9 4-15 10-19 19-7-6-11-16-7-28z'/%3E%3Cpath d='M48 20c8-6 20-5 27 2-5 5-12 6-18 4 5 5 5 12 0 17-7-5-11-15-9-23z' opacity='0.8'/%3E%3Cpath d='M20 48c-6 8-5 20 2 27 5-5 6-12 4-18 5 5 12 5 17 0-5-7-15-11-23-9z' opacity='0.8'/%3E%3Cpath d='M32 32c14 0 24 10 24 24-14 0-24-10-24-24z' fill='none' stroke='%23b5832d' stroke-width='1.5'/%3E%3Ccircle cx='39' cy='39' r='3.2' fill='%230e5a4c'/%3E%3Ccircle cx='64' cy='22' r='2.2'/%3E%3Ccircle cx='22' cy='64' r='2.2'/%3E%3Ccircle cx='84' cy='16' r='1.8' fill='%230e5a4c'/%3E%3Ccircle cx='16' cy='84' r='1.8' fill='%230e5a4c'/%3E%3C/g%3E%3C/svg%3E");
    --arabesque-corner-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23d4a853' opacity='0.28'%3E%3Cpath d='M10 10h96c-12 5-24 6-38 4-16-2-28 2-36 10-8 8-12 20-10 36 2 14 1 26-4 38V10z' fill='none' stroke='%2318a995' stroke-width='2.2'/%3E%3Cpath d='M22 22c10-2 20 2 26 9-9 4-15 10-19 19-7-6-11-16-7-28z'/%3E%3Cpath d='M48 20c8-6 20-5 27 2-5 5-12 6-18 4 5 5 5 12 0 17-7-5-11-15-9-23z' opacity='0.8'/%3E%3Cpath d='M20 48c-6 8-5 20 2 27 5-5 6-12 4-18 5 5 12 5 17 0-5-7-15-11-23-9z' opacity='0.8'/%3E%3Ccircle cx='39' cy='39' r='3.2' fill='%2318a995'/%3E%3C/g%3E%3C/svg%3E");

    /* Scalloped Palmette & Scrolling Vine Horizontal Border Strip */
    --ornamental-strip-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' viewBox='0 0 64 16'%3E%3Cg fill='none' stroke='%23b5832d' stroke-width='1.1' opacity='0.32'%3E%3Cpath d='M0 12c6 0 10-9 16-9s10 9 16 9 10-9 16-9 10 9 16 9'/%3E%3Cpath d='M16 3c-3 3-3 7 0 10 3-3 3-7 0-10zM48 3c-3 3-3 7 0 10 3-3 3-7 0-10z' fill='%23b5832d' opacity='0.45'/%3E%3Cpath d='M8 12c2-4 5-6 8-6s6 2 8 6M40 12c2-4 5-6 8-6s6 2 8 6' stroke='%230e5a4c' opacity='0.6'/%3E%3Ccircle cx='32' cy='11' r='2' fill='%230e5a4c' opacity='0.65'/%3E%3Ccircle cx='0' cy='11' r='2' fill='%230e5a4c' opacity='0.65'/%3E%3Ccircle cx='64' cy='11' r='2' fill='%230e5a4c' opacity='0.65'/%3E%3C/g%3E%3C/svg%3E");
    --ornamental-strip-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' viewBox='0 0 64 16'%3E%3Cg fill='none' stroke='%23d4a853' stroke-width='1.1' opacity='0.28'%3E%3Cpath d='M0 12c6 0 10-9 16-9s10 9 16 9 10-9 16-9 10 9 16 9'/%3E%3Cpath d='M16 3c-3 3-3 7 0 10 3-3 3-7 0-10zM48 3c-3 3-3 7 0 10 3-3 3-7 0-10z' fill='%23d4a853' opacity='0.4'/%3E%3Ccircle cx='32' cy='11' r='2' fill='%2318a995' opacity='0.7'/%3E%3C/g%3E%3C/svg%3E");

    /* Non-aligned Scattered Symmetrical Islamic Floral Rosettes & Quatrefoils (Coprime 280px + 353px) */
    --arabesque-bg-1-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg opacity='0.09'%3E%3Cg transform='translate(54 48) rotate(12)' fill='%23b5832d' stroke='%23b5832d' stroke-width='0.9'%3E%3Cpath d='M0-22c5 7 9 12 0 22-9-10-5-15 0-22zm0 44c-5-7-9-12 0-22 9 10 5 15 0 22zm-22-22c7-5 12-9 22 0-10 9-15 5-22 0zm44 0c-7 5-12 9-22 0 10-9 15-5 22 0z' fill-opacity='0.34'/%3E%3Cpath d='M0-16c4 5 6 9 0 16-6-7-4-11 0-16zm0 32c-4-5-6-9 0-16 6 7 4 11 0 16zm-16-16c5-4 9-6 16 0-7 6-11 4-16 0zm32 0c-5 4-9 6-16 0 7-6 11-4 16 0z' transform='rotate(45)' fill='%230e5a4c' stroke='%230e5a4c' fill-opacity='0.22'/%3E%3Ccircle r='3.8' fill='%230e5a4c'/%3E%3C/g%3E%3Cg transform='translate(208 82) rotate(22)' fill='%230e5a4c' stroke='%230e5a4c' stroke-width='0.85'%3E%3Cpath d='M0-15c4 5 7 9 0 15-7-6-4-10 0-15zm0 30c-4-5-7-9 0-15 7 6 4 10 0 15zm-15-15c5-4 9-7 15 0-6 7-10 4-15 0zm30 0c-5 4-9 7-15 0 6-7 10-4 15 0z' fill-opacity='0.28'/%3E%3Ccircle r='2.8' fill='%23b5832d'/%3E%3C/g%3E%3Cg transform='translate(132 164) rotate(-8)' fill='%23b5832d' stroke='%23b5832d' stroke-width='0.9'%3E%3Cpath d='M0-20c6 6 12 11 12 20s-6 14-12 20c-6-6-12-11-12-20s6-14 12-20z' fill-opacity='0.22'/%3E%3Cpath d='M-20 0c6-6 11-12 20-12s14 6 20 12c-6 6-11 12-20 12s-14-6-20-12z' fill='none' stroke='%230e5a4c' stroke-width='1'/%3E%3Ccircle r='3.4' fill='%23b5832d'/%3E%3C/g%3E%3Cg transform='translate(46 222) rotate(18)' fill='%23b5832d' stroke='%23b5832d' stroke-width='0.85'%3E%3Cpath d='M0-13c3.5 4.5 6 8 0 13-6-5-3.5-8.5 0-13zm0 26c-3.5-4.5-6-8 0-13 6 5 3.5 8.5 0 13zm-13-13c4.5-3.5 8-6 13 0-5 6-8.5 3.5-13 0zm26 0c-4.5 3.5-8 6-13 0 5-6 8.5-3.5 13 0z' fill-opacity='0.3'/%3E%3Ccircle r='2.4' fill='%230e5a4c'/%3E%3C/g%3E%3Cg transform='translate(226 228) rotate(-16)' fill='%230e5a4c' stroke='%230e5a4c' stroke-width='0.9'%3E%3Cpath d='M0-18c4.5 6 8 10 0 18-8-8-4.5-12 0-18zm0 36c-4.5-6-8-10 0-18 8 8 4.5 12 0 18zm-18-18c6-4.5 10-8 18 0-8 8-12 4.5-18 0zm36 0c-6 4.5-10 8-18 0 8-8 12-4.5 18 0z' fill-opacity='0.26'/%3E%3Ccircle r='3' fill='%23b5832d'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --arabesque-bg-2-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='353' height='353' viewBox='0 0 353 353'%3E%3Cg opacity='0.07'%3E%3Cg transform='translate(94 74) rotate(-14)' fill='%230e5a4c' stroke='%230e5a4c' stroke-width='0.9'%3E%3Cpath d='M0-19c5 6 8.5 11 0 19-8.5-8-5-13 0-19zm0 38c-5-6-8.5-11 0-19 8.5 8 5 13 0 19zm-19-19c6-5 11-8.5 19 0-8 8.5-13 5-19 0zm38 0c-6 5-11 8.5-19 0 8-8.5 13-5 19 0z' fill-opacity='0.26'/%3E%3Ccircle r='3.2' fill='%23b5832d'/%3E%3C/g%3E%3Cg transform='translate(274 118) rotate(24)' fill='%23b5832d' stroke='%23b5832d' stroke-width='0.9'%3E%3Cpath d='M0-22c5.5 7 9.5 12 0 22-9.5-10-5.5-15 0-22zm0 44c-5.5-7-9.5-12 0-22 9.5 10 5.5 15 0 22zm-22-22c7-5.5 12-9.5 22 0-10 9.5-15 5.5-22 0zm44 0c-7 5.5-12 9.5-22 0 10-9.5 15-5.5 22 0z' fill-opacity='0.3'/%3E%3Ccircle r='3.5' fill='%230e5a4c'/%3E%3C/g%3E%3Cg transform='translate(182 266) rotate(-10)' fill='%23b5832d' stroke='%23b5832d' stroke-width='0.9'%3E%3Cpath d='M0-16c4 5 7 9 0 16-7-7-4-11 0-16zm0 32c-4-5-7-9 0-16 7 7 4 11 0 16zm-16-16c5-4 9-7 16 0-7 7-11 4-16 0zm32 0c-5 4-9 7-16 0 7-7 11-4 16 0z' fill-opacity='0.28'/%3E%3Cpath d='M0-12c3 4 5 6 0 12-5-6-3-8 0-12zm0 24c-3-4-5-6 0-12 5 6 3 8 0 12zm-12-12c4-3 6-5 12 0-6 5-8 3-12 0zm24 0c-4 3-6 5-12 0 6-5 8-3 12 0z' transform='rotate(45)' fill='%230e5a4c' stroke='%230e5a4c' fill-opacity='0.2'/%3E%3Ccircle r='2.8' fill='%230e5a4c'/%3E%3C/g%3E%3Cg transform='translate(58 294) rotate(30)' fill='%230e5a4c' stroke='%230e5a4c' stroke-width='0.85'%3E%3Cpath d='M0-12c3.5 4 6 7 0 12-6-5-3.5-8 0-12zm0 24c-3.5-4-6-7 0-12 6 5 3.5 8 0 12zm-12-12c4-3.5 7-6 12 0-5 6-8.5 3.5-12 0zm24 0c-4 3.5-7 6-12 0 5-6 8.5-3.5 12 0z' fill-opacity='0.26'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    --arabesque-bg-1-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg opacity='0.08'%3E%3Cg transform='translate(54 48) rotate(12)' fill='%23d4a853' stroke='%23d4a853' stroke-width='0.9'%3E%3Cpath d='M0-22c5 7 9 12 0 22-9-10-5-15 0-22zm0 44c-5-7-9-12 0-22 9 10 5 15 0 22zm-22-22c7-5 12-9 22 0-10 9-15 5-22 0zm44 0c-7 5-12 9-22 0 10-9 15-5 22 0z' fill-opacity='0.3'/%3E%3Ccircle r='3.5' fill='%2318a995'/%3E%3C/g%3E%3Cg transform='translate(208 82) rotate(22)' fill='%2318a995' stroke='%2318a995' stroke-width='0.85'%3E%3Cpath d='M0-15c4 5 7 9 0 15-7-6-4-10 0-15zm0 30c-4-5-7-9 0-15 7 6 4 10 0 15zm-15-15c5-4 9-7 15 0-6 7-10 4-15 0zm30 0c-5 4-9 7-15 0 6-7 10-4 15 0z' fill-opacity='0.26'/%3E%3Ccircle r='2.8' fill='%23d4a853'/%3E%3C/g%3E%3Cg transform='translate(132 164) rotate(-8)' fill='%23d4a853' stroke='%23d4a853' stroke-width='0.9'%3E%3Cpath d='M0-20c6 6 12 11 12 20s-6 14-12 20c-6-6-12-11-12-20s6-14 12-20z' fill-opacity='0.22'/%3E%3Ccircle r='3.2'/%3E%3C/g%3E%3Cg transform='translate(226 228) rotate(-16)' fill='%2318a995' stroke='%2318a995' stroke-width='0.9'%3E%3Cpath d='M0-18c4.5 6 8 10 0 18-8-8-4.5-12 0-18zm0 36c-4.5-6-8-10 0-18 8 8 4.5 12 0 18zm-18-18c6-4.5 10-8 18 0-8 8-12 4.5-18 0zm36 0c-6 4.5-10 8-18 0 8-8 12-4.5 18 0z' fill-opacity='0.26'/%3E%3Ccircle r='3' fill='%23d4a853'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --arabesque-bg-2-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='353' height='353' viewBox='0 0 353 353'%3E%3Cg opacity='0.06'%3E%3Cg transform='translate(94 74) rotate(-14)' fill='%2318a995' stroke='%2318a995' stroke-width='0.9'%3E%3Cpath d='M0-19c5 6 8.5 11 0 19-8.5-8-5-13 0-19zm0 38c-5-6-8.5-11 0-19 8.5 8 5 13 0 19zm-19-19c6-5 11-8.5 19 0-8 8.5-13 5-19 0zm38 0c-6 5-11 8.5-19 0 8-8.5 13-5 19 0z' fill-opacity='0.26'/%3E%3Ccircle r='3.2' fill='%23d4a853'/%3E%3C/g%3E%3Cg transform='translate(274 118) rotate(24)' fill='%23d4a853' stroke='%23d4a853' stroke-width='0.9'%3E%3Cpath d='M0-22c5.5 7 9.5 12 0 22-9.5-10-5.5-15 0-22zm0 44c-5.5-7-9.5-12 0-22 9.5 10 5.5 15 0 22zm-22-22c7-5.5 12-9.5 22 0-10 9.5-15 5.5-22 0zm44 0c-7 5.5-12 9.5-22 0 10-9.5 15-5.5 22 0z' fill-opacity='0.28'/%3E%3Ccircle r='3.5' fill='%2318a995'/%3E%3C/g%3E%3Cg transform='translate(182 266) rotate(-10)' fill='%23d4a853' stroke='%23d4a853' stroke-width='0.9'%3E%3Cpath d='M0-16c4 5 7 9 0 16-7-7-4-11 0-16zm0 32c-4-5-7-9 0-16 7 7 4 11 0 16zm-16-16c5-4 9-7 16 0-7 7-11 4-16 0zm32 0c-5 4-9 7-16 0 7-7 11-4 16 0z' fill-opacity='0.26'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

html[data-theme="dark"] {
    --bg: #081210;
    --side: #0b1714;
    --side-line: #1d342e;
    --surface: #0f1f1b;
    --ink: #efeae0;
    --muted: #93aba3;
    --line: #213a33;
    --subtle: #152924;
    --hover: #1d3730;
    --brand: #18a995;
    --brand-dark: #2dd4bf;
    --accent: #d4a853;
    --active-surface: #14362e;
    --active-ink: #6ee7d4;
}

/* 1. Soothing Parchment Canvas with Scattered Floral Arabesque Medallions */
body {
    background-color: var(--bg);
    background-image:
        var(--arabesque-bg-1-light),
        var(--arabesque-bg-2-light),
        radial-gradient(ellipse at 50% 0%, rgba(184, 137, 58, 0.06) 0%, transparent 58%);
    background-size: 280px 280px, 353px 353px, 100% 420px;
    background-position: 17px 23px, 131px 79px, 0 0;
    background-attachment: fixed;
}

html[data-theme="dark"] body {
    background-image:
        var(--arabesque-bg-1-dark),
        var(--arabesque-bg-2-dark),
        radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, 0.07) 0%, transparent 55%);
}

/* 2. Warm Frosted Headers with Ornamental Gold-Emerald Accent */
.topbar,
.public-top {
    background: rgba(255, 253, 249, 0.92);
    border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .topbar,
html[data-theme="dark"] .public-top {
    background: rgba(15, 31, 27, 0.92);
}

.topbar::before,
.public-top::before {
    height: 3.5px;
    background: linear-gradient(90deg, #0e5a4c 0%, #b8893a 35%, #d6ad5e 50%, #b8893a 65%, #0e5a4c 100%);
    background-size: 220% 100%;
}

/* 3. Illuminated Hero Banner with Ornate Arabesque Corner Filigree & Palmette Strip */
.event-heading,
.public-heading {
    background-color: #fbf7ee;
    background-image:
        var(--ornamental-strip-light),
        var(--arabesque-bg-1-light),
        linear-gradient(135deg, rgba(255, 253, 248, 0.92) 0%, rgba(242, 234, 218, 0.88) 100%);
    background-repeat: repeat-x, repeat, no-repeat;
    background-size: 64px 14px, 280px 280px, cover;
    background-position: left bottom, 41px -17px, 0 0;
    border: 1.5px solid #d7c5a1;
    box-shadow:
        inset 0 0 0 1px rgba(184, 137, 58, 0.25),
        var(--shadow);
    border-radius: 18px;
    padding-bottom: 26px;
}

.event-heading::before {
    content: "";
    position: absolute;
    inset-block-start: 4px;
    inset-inline-end: 4px;
    width: 96px;
    height: 96px;
    background: var(--arabesque-corner-light) no-repeat center / contain;
    transform: scaleX(-1);
    pointer-events: none;
}

html[dir="rtl"] .event-heading::before {
    transform: none;
}

html[data-theme="dark"] .event-heading,
html[data-theme="dark"] .public-heading {
    background-color: #10221d;
    background-image:
        var(--ornamental-strip-dark),
        var(--arabesque-bg-1-dark),
        linear-gradient(135deg, rgba(16, 35, 30, 0.92) 0%, rgba(10, 24, 20, 0.94) 100%);
    border-color: rgba(212, 168, 83, 0.38);
    box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.16), var(--shadow);
}

html[data-theme="dark"] .event-heading::before {
    background-image: var(--arabesque-corner-dark);
}

/* 4. Sidebar with Scattered Organic Arabesque Flourishes */
.sidebar {
    background-color: #f0eadc;
    background-image:
        var(--arabesque-bg-1-light),
        var(--arabesque-bg-2-light),
        linear-gradient(180deg, rgba(244, 238, 226, 0.9) 0%, rgba(235, 227, 211, 0.92) 100%);
    background-size: 260px 260px, 347px 347px, cover;
    background-position: -19px 37px, 89px 141px, 0 0;
}

html[data-theme="dark"] .sidebar {
    background-color: #0b1815;
    background-image:
        var(--arabesque-bg-1-dark),
        var(--arabesque-bg-2-dark),
        linear-gradient(180deg, rgba(12, 26, 22, 0.92) 0%, rgba(8, 18, 15, 0.95) 100%);
}

.sidebar .brand {
    border-color: #ddd2be;
    box-shadow: inset 0 0 0 1px rgba(184, 137, 58, 0.12), 0 1px 4px rgba(22, 41, 36, 0.04);
}

html[data-theme="dark"] .sidebar .brand {
    border-color: rgba(212, 168, 83, 0.22);
}

/* 5. Serene Manuscript Panels with Scalloped Vine & Palmette Header Borders */
.panel,
.stat,
.highlight-card,
.backstage-strip {
    background: var(--surface);
    border-color: var(--line);
    border-radius: 16px;
}

.panel-head {
    position: relative;
    background:
        var(--ornamental-strip-light) repeat-x left bottom / 64px 13px,
        linear-gradient(180deg, rgba(247, 241, 229, 0.85) 0%, rgba(255, 253, 249, 0.4) 100%);
    border-bottom-color: var(--line);
    padding-bottom: 18px;
}

html[data-theme="dark"] .panel-head {
    background:
        var(--ornamental-strip-dark) repeat-x left bottom / 64px 13px,
        linear-gradient(180deg, rgba(212, 168, 83, 0.06) 0%, transparent 100%);
}

th {
    background: #f4efe5;
    color: #465750;
}

tbody tr:hover {
    background: #faf6ee;
}

/* 6. Live Performance Banner with Arabesque Filigree */
.performance-banner-live {
    background:
        var(--arabesque-bg-1-light),
        linear-gradient(135deg, var(--surface) 0%, #f5f0e4 100%);
    background-size: 260px 260px, cover;
    border: 1px solid #d9c8a5;
    box-shadow: inset 0 0 0 1px rgba(184, 137, 58, 0.18), var(--shadow);
}

html[data-theme="dark"] .performance-banner-live {
    background:
        var(--arabesque-bg-1-dark),
        linear-gradient(135deg, #112520 0%, #162f28 100%);
    border-color: rgba(212, 168, 83, 0.32);
}

/* 7. Ornamental Podium & Certificate Double-Line Arabesque Framing */
.podium-card {
    box-shadow: inset 0 0 0 1px rgba(184, 137, 58, 0.14), var(--shadow);
}

.podium-card.rank-1 {
    background:
        var(--arabesque-bg-1-light),
        linear-gradient(180deg, #fcf6e6 0%, var(--surface) 100%);
    background-size: 240px 240px, cover;
    border-color: #d4a443;
}

.cert-sheet {
    background:
        var(--arabesque-corner-light) left 12px top 12px / 92px 92px no-repeat,
        var(--arabesque-bg-1-light) 0 0 / 280px 280px repeat,
        linear-gradient(180deg, #fffdf8 0%, #faf5ea 100%) !important;
    border: 2px solid #0e5a4c !important;
}

.cert-sheet::before {
    border: 1.5px solid #c59845 !important;
}

/* 8. Soothing Calligraphy Typography Touch for Hero & Section Titles */
.event-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

html[lang="dv"] .event-heading h1 {
    color: #0c3d34;
    line-height: 1.62;
    padding-block: 2px;
}

html[data-theme="dark"][lang="dv"] .event-heading h1 {
    color: #f6efe0;
}

.event-subtitle-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbf3df 0%, #f5e6c3 100%);
    border: 1px solid #dec183;
    color: #7c5210;
    font-family: var(--thaana-content);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(184, 137, 58, 0.14);
}

html[data-theme="dark"] .event-subtitle-badge {
    background: rgba(212, 168, 83, 0.18);
    border-color: rgba(212, 168, 83, 0.42);
    color: #f5d48c;
}

.event-meta {
    gap: 8px;
    margin-block-start: 10px;
}

.event-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.86);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
}

.event-meta-pill svg {
    color: var(--accent);
}

html[data-theme="dark"] .event-meta-pill {
    background: rgba(21, 41, 36, 0.82);
    border-color: var(--line);
}

html[lang="dv"] .panel-title h2,
html[lang="dv"] .dialog-head h2 {
    letter-spacing: 0;
    color: var(--ink);
}

@media print {
    body {
        background: #fff !important;
    }
    .event-heading::before {
        display: none;
    }
}
