/* Ceylon maroon — generated by tools/design (theme "srilanka"). Do not edit by hand; edit tools/design/themes.json and re-run apply.js. No external requests. */

:root {
  --ink: #1b1613;
  --ink-soft: #5c5347;
  --ground: #f6f4ee;
  --paper: #fffef8;
  --rule: #e5dcc6;
  --accent: #7d2a35;
  --accent-2: #8a6b16;
  --ok: #2f6b3a;
  --mid: #9a6b12;
  --low: #9a3412;
  --na: #8c8780;
  --font-body: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;
  --font-ui: 'Century Gothic', 'Apple Gothic', 'URW Gothic', 'Avant Garde', Futura, sans-serif;
  --radius: 7px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ground); background-image: none; line-height: 1.55; }
a { color: #7d2a35; } a:hover { text-decoration: none; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.05rem; margin: 2rem 0 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: #5c5347; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.taha { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.mapeni { color: var(--ink-soft); font-size: 0.92rem; }
.veko { font-size: 1.1rem; max-width: 62ch; }
.movexe { white-space: nowrap; }
.visually-hidden { position: absolute !important; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem; }
.skip-link:focus { left: 0.5rem; z-index: 10; }

.raka-header { background: #fffef8; border-bottom: 1px solid #e5dcc6; font-family: var(--font-ui); text-align: center; }
.raka-header > .taha:first-child { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-top: 1.3rem; padding-bottom: 0.6rem; }
@media (max-width: 700px) { .raka-header > .taha:first-child { align-items: center; } .raka-nav { justify-content: center; } }
.zupe { text-decoration: none; color: #1b1613; display: flex; flex-direction: column; align-items: center; }
.nonomo-name { font-family: var(--font-body); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; }
.nonomo-tagline { font-size: 0.78rem; color: #5c5347; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 0.15rem; }
.raka-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.4rem; border-top: 1px solid #e5dcc6; padding-top: 0.5rem; margin-top: 0.3rem; width: 100%; }
.raka-nav a { white-space: nowrap; color: #1b1613; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0; }
.raka-nav a[aria-current] { color: #7d2a35; border-bottom: 2px solid #7d2a35; }
.seka-switcher { font-size: 0.82rem; }
.raka-header > .juha-nav { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; font-size: 0.8rem; text-align: left; margin: 0 auto; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.raka-header > .juha-nav { justify-content: center; padding: 0.15rem 1.2rem 0.7rem; }
.juha-nav-label { color: #5c5347; }
.juha-nav a { color: #1b1613; }
.zupe { min-width: 0; flex: 0 1 auto; }
.nonomo-tagline { max-width: 60ch; }
@media (max-width: 700px) { .raka-header > .taha:first-child { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .zupe { margin-right: 0; } .raka-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; } .raka-nav a { margin-right: 0; } .seka-switcher { padding-bottom: 0; } .lihaha-head { flex-direction: column; } .lihaha-score-big { text-align: left; } }

main, #main { padding: 2rem 1.2rem 3rem; }
main > h1:first-child, main > .kaha + h1 { margin-top: 0; }
html, body { overflow-x: clip; }
img, svg { max-width: 100%; }
h1 { overflow-wrap: anywhere; }

.tagesu { margin: 0.6rem calc(50% - 50vw) 2rem; padding: 2.4rem calc(50vw - 50%) 2rem; background: #1b1613; color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6q10-8 20 0t20 0' fill='none' stroke='%23ffffff' stroke-opacity='0.140'/%3E%3C/svg%3E"); }
.tagesu h1 { color: inherit; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.3rem); max-width: 24ch; }
.tagesu .veko { opacity: 0.9; }
.tagesu .mapeni { color: inherit; opacity: 0.65; }
.tagesu a { color: #8a6b16; }
#main > .tagesu:first-child { margin-top: -2rem; }
.madi-links { font-family: var(--font-ui); }

.beliro-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; }
.makowa { text-align: right; font-variant-numeric: tabular-nums; }
.rovi-table .lutory-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.rovi-table .dalura-cell a { color: #1b1613; font-weight: 600; text-decoration: none; }
.rovi-table .dalura-cell a:hover { text-decoration: underline; text-decoration-color: #7d2a35; }
.rovi-table .lika-cell, .rovi-table .ceko-cell { white-space: nowrap; }
.ceko-head { font-variant-numeric: tabular-nums; }
.very-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.beliro-note, .beliro-legend { max-width: 80ch; }
.beliro-filter { margin: 0.6rem 0; }
.beliro-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #e5dcc6; border-radius: var(--radius); width: min(100%, 22rem); background: #fffef8; color: #1b1613; }
.beliro-filter input:focus { outline: 2px solid #7d2a35; outline-offset: 1px; }
tr[hidden] { display: none; }
table { border: 1px solid #e5dcc6; background: #fffef8; }
th, td { border: 1px solid #e5dcc6; }
thead th { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700; color: #1b1613; background: rgba(27, 22, 19, 0.05); }
tbody tr:hover { background: rgba(125, 42, 53, 0.06); }
.lika-badge { display: inline-block; min-width: 2.7rem; text-align: center; padding: 0.12rem 0.5rem; font-family: var(--font-ui); font-weight: 700; font-variant-numeric: tabular-nums; border: 2px solid currentColor; border-radius: var(--radius); background: #fffef8; }
.lika-high { color: #2f6b3a; } .lika-mid { color: #9a6b12; } .lika-low { color: #9a3412; }
.lika-na { color: #8c8780; font-weight: 500; font-size: 0.8rem; border-width: 1px; }
.status-pill { display: inline-block; padding: 0.1rem 0.55rem; font-family: var(--font-ui); font-size: 0.8rem; border: 1px solid #e5dcc6; border-radius: var(--radius); color: #5c5347; background: #fffef8; }
.pewaha-mark { margin-left: 0.3rem; color: #9a3412; }
.urto { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #e5dcc6; border-radius: var(--radius); }
.hamota-official { border-color: #2f6b3a; color: #2f6b3a; }
.hamota-secondary { color: #5c5347; }
.hamota-unverified, .hamota-na { color: #8c8780; }
.lukaka { margin-top: 0.15rem; }
.raha { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #2f6b3a; background: transparent; border: 1px solid #2f6b3a; border-radius: var(--radius); padding: 0 0.4rem; margin-right: 0.3rem; }
.kaurwa-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.kaurwa-list .raha { font-size: 0.8rem; }

.cedary { display: inline-flex; gap: 3px; vertical-align: middle; }
.cedary i { display: inline-block; width: 7px; height: 7px; border: 1px solid #1b1613; transform: rotate(45deg); }
.cedary i.on { background: #1b1613; }
.kahadi-null, .kahadi-na { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); display: inline-block; min-width: 1.2rem; text-align: center; }

.juha-list { columns: 2; padding-left: 1.2rem; }
.seni-table th { width: 30%; font-weight: 600; }
.rora { background: var(--paper); border: 1px solid var(--rule);  padding: 1rem 1.2rem; margin-top: 2rem; border-radius: var(--radius); }
.rora h2 { border: 0; margin-top: 0; padding-top: 0; }
.rora h2::before { content: none; }

.kaha { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.lihaha-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.lihaha-headline { max-width: 62ch; }
.lihaha-score-big { text-align: center; }
.lihaha-score-big .lika-badge { font-size: 2rem; padding: 0.3rem 0.8rem; line-height: 1.2; }
.lika-of { font-family: var(--font-ui); color: var(--ink-soft); margin-left: 0.2rem; }
.rymage-line { margin-top: 0.3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } .juha-list { columns: 1; } }

.sexeli-table .ceko-id { width: 3rem; font-family: var(--font-ui); font-weight: 700;  }
.sexeli-table .ceko-rubric { font-size: 0.9rem; }
.sexeli-table .ceko-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.sexeli-table .ceko-val, .sexeli-table .ceko-flag, .sexeli-table .ceko-w, .sexeli-table .ceko-date { white-space: nowrap; }
.ceko-null .ceko-rubric { color: var(--ink-soft); font-style: italic; }
.ceko-na .ceko-rubric { color: var(--na); }
.nemo { margin: 0.5rem 0 0; padding: 0.45rem 0.85rem; border-left: 3px solid var(--rule); background: rgba(125, 42, 53, 0.05); font-size: 0.9rem; border-radius: 0 var(--radius) var(--radius) 0; }
.nemo footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.pewaha-list, .neli-list, .vira-list, .juha-status, .olmaur-checks { padding-left: 1.2rem; }
.pewaha-text { font-size: 0.9rem; color: var(--ink-soft); }
.neli-H3 { color: var(--ink-soft); }
.ryhawa-yes { color: var(--ok); }
.ryhawa-no { color: var(--low); }
.ryhawa-unverified { color: var(--ink-soft); }
.rohawa-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.rohawa-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.rohawa-manual { color: var(--ink-soft); font-size: 0.8rem; }
.kodi-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: rgba(125, 42, 53, 0.07); border: 1px solid rgba(125, 42, 53, 0.3); border-radius: var(--radius); }
.kodi-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.kodi-cta h2::before { content: none; }
.kodi-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kodi-cta .ravera { margin: 0; }
.ravera { display: inline-block; line-height: 1.3; margin: 0.2rem 0.5rem 0.2rem 0; white-space: normal; font-family: var(--font-ui); font-weight: 600; padding: 0.5rem 1.1rem; border: 2px solid #7d2a35; color: #7d2a35; background: #fffef8; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .ravera:hover { background: #7d2a35; color: #ffffff; } .btn-secondary { border-color: #e5dcc6; color: #1b1613; } .btn-secondary:hover { background: #f6f4ee; color: #1b1613; }

.kodi-form { max-width: 44rem; }
.cemo-row { margin: 0.8rem 0; }
.cemo-row label { display: block; font-family: var(--font-ui); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.25rem; }
.cemo-row input, .cemo-row select, .cemo-row textarea { font: inherit; width: 100%; padding: 0.5rem 0.65rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.cemo-row input:focus, .cemo-row select:focus, .cemo-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.rowa-fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.6rem 1rem 0.8rem; margin: 1rem 0; }
.rowa-fieldset legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; padding: 0 0.3rem; }
.zufi-hint { margin-top: 0; }
.ravizu { color: var(--low); }
.urda-label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
.urda-label input { width: auto; margin-top: 0.25rem; }
.viurko-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cemo-error { color: var(--low); font-size: 0.9rem; }
.cemo-status { font-family: var(--font-ui); font-size: 0.92rem; }
.cemo-status[data-state="ok"] { color: var(--ok); }
.cemo-status[data-state="error"] { color: var(--low); }

.gese-table td, .lurozu-table td, .racesu-table td, .ryta-table td { font-size: 0.9rem; }
.racesu-table td:last-child, .lurozu-table td:first-child, .sexeli-table .ceko-date { white-space: nowrap; }
.racesu-table a { overflow-wrap: anywhere; }
.pene { font-family: 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 0.85rem; background: var(--paper); border: 1px solid var(--rule); padding: 0.6rem 0.8rem; overflow-x: auto; border-radius: var(--radius); }
.ryne-section .juha-list a { font-weight: 600; }
.gero-note { font-size: 0.9rem; }
.raka-footer { background: #1b1613; color: #ffffff; margin-top: 3rem; padding: 1.8rem 0 2.2rem; font-size: 0.88rem; } .raka-footer a { color: #8a6b16; } .raka-footer p { max-width: 80ch; opacity: 0.85; }
