/* KOMORO LOTTERY / NATIVE MODULAR FRONTEND V1. All data labels and number slots are HTML. */
:root{--km-teal:#078f8a;--km-deep:#075557;--km-gold:#e7b847;--km-sun:#fbdc7e;--km-ink:#103f45;--km-paper:#f6ffff;--km-line:#b4e2df}
body[data-theme=komoro]{font-family:Arial,Helvetica,sans-serif;background:linear-gradient(180deg,#e1f9f7,#d4f1f0 70%,#e9fffb);color:var(--km-ink)}
body[data-theme=komoro] .container{width:min(1460px,calc(100% - 64px))}
body[data-theme=komoro] .topbar{background:#ffffff;border-bottom:0;box-shadow:0 2px 18px #0d797421;z-index:10}
body[data-theme=komoro] .navwrap{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:105px}
body[data-theme=komoro] .brand{width:min(350px,35%);flex-shrink:0}
body[data-theme=komoro] .brand img{width:100%;height:auto;display:block}
body[data-theme=komoro] .nav{display:flex;gap:10px;align-items:center;white-space:nowrap}
body[data-theme=komoro] .nav a{color:#142f33;border-radius:32px;padding:13px 21px;font-size:16px;font-weight:700;letter-spacing:0;box-shadow:none}
body[data-theme=komoro] .nav a.active{background:linear-gradient(#10bcb0,#007c76);color:white;box-shadow:0 6px 12px #209b8b33}
body[data-theme=komoro] .header-clock{display:flex;align-items:center;gap:10px;flex-direction:column;text-align:right;color:#0d6a64;border:0;padding:0;white-space:nowrap}
body[data-theme=komoro] .header-clock strong{font-size:20px;font-variant-numeric:tabular-nums}
body[data-theme=komoro] .header-clock small{display:block;color:#3b7974;font-size:10px}
body[data-theme=komoro] .km-head-identity{display:flex;align-items:center;gap:8px;font-size:12px}
body[data-theme=komoro] .pilot-ribbon{background:#daf4e0;border-top:1px solid #61b0a6;border-bottom:1px solid #61b0a6;color:#12695a;font-size:12px;padding:8px 0}
body[data-theme=komoro] .km-hero{position:relative;background:linear-gradient(90deg,rgba(0,129,143,.42) 0%,transparent 65%),url('/assets/komoro-landscape-desktop.svg') center center/cover no-repeat;isolation:isolate;min-height:372px;overflow:hidden}
body[data-theme=komoro] .km-hero-grid{display:grid;grid-template-columns:1.1fr .85fr;gap:8%;position:relative;z-index:2;align-items:center;min-height:350px;padding-block:25px 34px}
body[data-theme=komoro] .km-hero-copy{position:relative;z-index:3;color:white;text-shadow:0 3px 9px #0064678f}
body[data-theme=komoro] .km-hero-overline{font-size:12px;font-weight:900;letter-spacing:.22em;color:#e1ffff}
body[data-theme=komoro] .km-hero-copy h1{font-size:clamp(38px,4vw,63px);line-height:1.02;color:#fff;font-weight:950;margin:14px 0 8px;white-space:nowrap;text-transform:uppercase}
body[data-theme=komoro] .km-hero-copy h1 em{font-style:normal;color:#ffdc83;text-shadow:0 3px 7px #0f576c80}
body[data-theme=komoro] .km-hero-kicker{font-weight:900;font-size:20px;letter-spacing:.37em;color:#e5ffff;margin:10px 0}
body[data-theme=komoro] .km-hero-copy p{font-size:16px;color:white;font-style:italic;margin:15px 0 20px}
body[data-theme=komoro] .km-hero-actions{display:flex;gap:12px;align-items:center}
body[data-theme=komoro] .btn-main{background:linear-gradient(#11b8ac,#058b82);border:1px solid #0c9e91;color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;font-size:12px;letter-spacing:.02em;font-weight:900;box-shadow:0 5px 13px #086b6333}
body[data-theme=komoro] .btn-ghost{border:1px solid #eff;display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:30px;font-weight:800;font-size:12px;color:white}
body[data-theme=komoro] .km-decorative-ball{position:absolute;z-index:2;width:86px;height:86px;filter:drop-shadow(4px 9px 12px #005d6a77);pointer-events:none}
body[data-theme=komoro] .ball-one{left:43%;top:18px;transform:rotate(-12deg)}
body[data-theme=komoro] .ball-two{left:49%;top:158px;width:52px;height:52px;transform:rotate(15deg)}
body[data-theme=komoro] .km-next{position:relative;z-index:3;width:min(455px,100%);margin-left:auto;padding:22px 24px;background:linear-gradient(125deg,#fffffff2,#d0f4f2f2);border:3px solid #f1d487;border-radius:24px;box-shadow:0 10px 30px #005a5966;color:var(--km-ink);text-align:center}
body[data-theme=komoro] .km-next .countdown-label{display:block;font-size:20px;font-weight:900;color:#036969;letter-spacing:-.02em;margin-bottom:5px}
body[data-theme=komoro] .km-next .km-countdown-prompt{display:block;font-size:15px;font-weight:700;color:#2a6e6b}
body[data-theme=komoro] .km-next .countdown{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:8px}
body[data-theme=komoro] .km-next .countdown strong{min-width:82px;padding:12px 7px;font-size:41px;background:linear-gradient(155deg,#066e6e,#034747);color:white;border-radius:14px;line-height:1.2;font-variant-numeric:tabular-nums;text-shadow:0 3px 5px #001e1b55}
body[data-theme=komoro] .km-next .countdown b{font-size:35px;color:#055b5b}
body[data-theme=komoro] .km-cd-labels{display:flex;justify-content:center;gap:23px;margin-top:5px;color:#1f6769}
body[data-theme=komoro] .km-cd-labels small{width:80px;font-size:11px}
body[data-theme=komoro] .km-next .local-schedule{display:block;font-size:18px;color:#087069;margin:10px 0 2px}
body[data-theme=komoro] .km-next .clock-date{display:block;color:#438582;font-size:11px}
body[data-theme=komoro] .km-next .countdown-sub{display:block;color:#438582;font-size:10px;margin-top:3px}
body[data-theme=komoro] .km-wave{position:absolute;z-index:1;bottom:-2px;left:-5%;width:110%;height:60px;background:#e6fbfa;clip-path:ellipse(70% 55% at 50% 100%)}
body[data-theme=komoro] .km-content{position:relative;z-index:3;margin-top:-11px;padding-bottom:36px}
body[data-theme=komoro] .km-board{background:linear-gradient(#fff,#f5ffff);border:1px solid #b9e8e4;border-radius:25px;box-shadow:0 14px 32px #048e8928;overflow:hidden}
body[data-theme=komoro] .km-board-bar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(100deg,#098c87,#04abb0 56%,#007f7b);color:#fff;min-height:60px;padding:0 25px;gap:16px}
body[data-theme=komoro] .km-board-bar>strong{font-weight:950;font-size:23px;text-shadow:0 1px 3px #073a3f70;white-space:nowrap}
body[data-theme=komoro] .km-live-icon{background:#fff;border-radius:50%;color:#138c87;padding:6px 8px;font-size:15px;margin-right:7px}
body[data-theme=komoro] .km-board-bar span{font-size:13px;font-weight:700;white-space:nowrap}
body[data-theme=komoro] .km-board-inner{display:grid !important;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:18px;padding:24px 23px 13px;background:linear-gradient(125deg,#fffefa,#f2ffff)}
body[data-theme=komoro] .km-prize-wrap{display:grid;grid-template-columns:minmax(0,1.26fr) minmax(0,.9fr) minmax(0,.9fr);align-items:stretch;gap:16px;min-width:0}
body[data-theme=komoro] .km-score{position:relative;border-radius:22px;background:linear-gradient(145deg,#adf0ee,#25bcb9);border:2px solid #c3ffff;box-shadow:inset 0 -7px 0 #0364672c,0 6px 11px #089c9630;min-width:0;min-height:170px;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:25px 12px 13px}
body[data-theme=komoro] .km-score-first{background:linear-gradient(135deg,#f9efbf,#18a5a0 40%,#00786e);border:3px solid #f1c466;box-shadow:inset 0 -9px 0 #00635a30,0 5px 14px #d3ad5d66}
body[data-theme=komoro] .km-ribbon{position:absolute;left:50%;top:-16px;transform:translateX(-50%);white-space:nowrap;color:#08383a;font-size:16px;font-weight:900;padding:7px 18px;border-radius:50px;background:linear-gradient(#fffef6,#a4ecea);box-shadow:0 2px 8px #108d7d34}
body[data-theme=komoro] .km-score-first .km-ribbon{background:linear-gradient(#fff7ad,#e8ac42);font-size:18px;box-shadow:0 2px 9px #d7aa41a1}
body[data-theme=komoro] .km-score>strong{font-size:clamp(29px,2.8vw,44px);color:#074f52;font-weight:1000;letter-spacing:.1em}
body[data-theme=komoro] .km-score .first-digits{display:flex;gap:6px;justify-content:center}
body[data-theme=komoro] .km-score .first-digits span{display:grid;place-items:center;min-width:49px;width:clamp(28px,3.3vw,57px);height:58px;font-size:37px;border-radius:10px;background:linear-gradient(#fff,#e8fefa);color:#034f4e;font-weight:950;box-shadow:0 4px 7px #00595442}
body[data-theme=komoro] .km-minor-prizes{min-width:0}
body[data-theme=komoro] .km-minor-prizes .number-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px;height:100%;background:transparent}
body[data-theme=komoro] .km-minor-prizes .number-panel{padding:0;border:1px solid #a8d9d6;border-radius:16px;overflow:hidden;background:#effbfa}
body[data-theme=komoro] .km-minor-prizes .number-head{display:flex;align-items:center;justify-content:center;min-height:36px;background:linear-gradient(#aaf0e9,#c7f5f0);color:#0f6161;font-size:13px;font-weight:900;text-align:center;white-space:nowrap;padding:6px}
body[data-theme=komoro] .km-minor-prizes .number-head small{display:none}
body[data-theme=komoro] .km-minor-prizes .number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:9px}
body[data-theme=komoro] .km-minor-prizes .number-grid span{background:#fff;border:0;border-bottom:1px solid #cfebe8;border-radius:6px;min-width:0;font-size:14px;font-weight:900;padding:5px 1px;text-align:center;color:#07474f}
body[data-theme=komoro] .km-stage-meta{padding:1px 23px 15px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#287b77}
body[data-theme=komoro] .km-stage-meta .stage-head{display:flex;align-items:center;gap:12px;margin:0}
body[data-theme=komoro] .km-stage-meta .stage-head h2{font-size:15px;font-weight:850;margin:0;color:#0b7272}
body[data-theme=komoro] .km-stage-meta .section-eyebrow{display:none}
body[data-theme=komoro] .km-stage-meta .stage-date{font-size:12px;margin:0}
body[data-theme=komoro] .km-stage-meta .pill{background:#e2faf2;color:#096955;font-size:11px;border-radius:30px;padding:5px 12px}
body[data-theme=komoro] .km-stage-meta .engine-indicator{font-size:11px;margin-left:auto;color:#0a7a72}
body[data-theme=komoro] .km-lower{display:grid;grid-template-columns:1fr .92fr;gap:22px;margin-top:24px}
body[data-theme=komoro] .km-lower .recent-module,.km-history-teaser{background:#fff;border:1px solid #cff0ec;border-radius:24px;min-height:250px;padding:22px 25px;box-shadow:0 13px 25px #138b8b1e;overflow:hidden}
body[data-theme=komoro] .km-lower .side-title{display:flex;justify-content:space-between;align-items:center;border:0;margin-bottom:10px}
body[data-theme=komoro] .km-lower .side-title h3{font-size:25px;color:#095b5d;margin:0}
body[data-theme=komoro] .km-lower .side-title a{font-size:11px;color:#318a81;font-weight:800}
body[data-theme=komoro] .km-lower .recent-list{display:grid;gap:5px}
body[data-theme=komoro] .km-lower .recent-row{display:block;color:#17464d;background:#f0faf9;border-radius:10px;padding:5px 12px;text-decoration:none}
body[data-theme=komoro] .km-lower .recent-row:nth-child(even){background:#dff4f3}
body[data-theme=komoro] .km-lower .recent-row-top{display:flex;justify-content:space-between;gap:10px;font-size:12px}
body[data-theme=komoro] .km-lower .recent-prizes{display:flex;justify-content:space-between;gap:8px;margin-top:3px;font-size:13px;font-weight:700}
body[data-theme=komoro] .km-lower .recent-prizes b{color:#0a9b8a}
body[data-theme=komoro] .km-history-teaser{position:relative;display:flex;align-items:center;background:linear-gradient(90deg,#fafffff5,#e5ffff8c),url('/assets/komoro-landscape-desktop.svg') center 55%/cover}
body[data-theme=komoro] .km-history-copy{position:relative;z-index:1}
body[data-theme=komoro] .km-history-copy h3{font-size:30px;color:#0b5a5a;margin:13px 0 10px}
body[data-theme=komoro] .km-history-copy p{color:#286f70;margin-bottom:18px;max-width:350px}
body[data-theme=komoro] .km-history-copy .section-eyebrow{font-size:11px;font-weight:900;color:#299c99;letter-spacing:.1em}
body[data-theme=komoro] .footer{background:#e9faf7;border-top:1px solid #b7e3dc;color:#386e6b}
body[data-theme=komoro] .inner-banner{background:linear-gradient(115deg,#007e86,#49c4bf);border-bottom:2px solid #d4ebce}
body[data-theme=komoro] .inner-banner h1{color:white}
body[data-theme=komoro] .inner-banner p{color:#e9fffa}
body[data-theme=komoro] .results-page-card,body[data-theme=komoro] .history-card,body[data-theme=komoro] .detail-card{background:white;color:#145252;border:1px solid #c9e9e4}
body[data-theme=komoro] .history-table th{color:#0a8583}
body[data-theme=komoro] .history-table td{color:#134e52}
body[data-theme=komoro] .btn-clear{color:#085a5e}
@media(max-width:1200px){body[data-theme=komoro] .navwrap{gap:10px}body[data-theme=komoro] .brand{max-width:260px}body[data-theme=komoro] .nav a{padding:12px 14px;font-size:13px}body[data-theme=komoro] .km-board-inner{grid-template-columns:1fr}body[data-theme=komoro] .km-minor-prizes .number-grid{grid-template-columns:repeat(4,1fr)}body[data-theme=komoro] .km-prize-wrap{min-height:172px}}
@media(max-width:800px){body[data-theme=komoro] .container{width:min(100% - 28px,600px)}body[data-theme=komoro] .navwrap{flex-wrap:wrap;gap:2px;min-height:unset;padding-block:10px}body[data-theme=komoro] .brand{width:215px;max-width:none}body[data-theme=komoro] .header-clock{margin-left:auto}body[data-theme=komoro] .km-head-identity{display:none}body[data-theme=komoro] .header-clock strong{font-size:16px}body[data-theme=komoro] .nav{order:3;width:100%;overflow:auto;justify-content:space-around;gap:3px;padding-top:10px}body[data-theme=komoro] .nav a{font-size:12px;padding:10px 11px}body[data-theme=komoro] .km-hero{background-image:linear-gradient(#00778970,#057f7888),url('/assets/komoro-landscape-mobile.svg');background-position:center 35%;background-size:cover}body[data-theme=komoro] .km-hero-grid{display:flex;flex-direction:column;gap:22px;padding-block:42px 58px;min-height:630px}body[data-theme=komoro] .km-hero-copy{text-align:center}body[data-theme=komoro] .km-hero-copy h1{font-size:38px;white-space:normal}body[data-theme=komoro] .km-hero-kicker{font-size:14px;letter-spacing:.18em}body[data-theme=komoro] .km-hero-copy p{font-size:14px}body[data-theme=komoro] .km-hero-actions{justify-content:center}body[data-theme=komoro] .km-decorative-ball{display:none}body[data-theme=komoro] .km-next{margin:0 auto;width:100%;max-width:405px}body[data-theme=komoro] .km-content{margin-top:-10px}body[data-theme=komoro] .km-board-bar{flex-wrap:wrap;padding:12px 17px;gap:7px}body[data-theme=komoro] .km-board-bar>strong{font-size:19px}body[data-theme=komoro] .km-board-bar span:last-child{display:none}body[data-theme=komoro] .km-board-inner{padding:28px 15px 10px}body[data-theme=komoro] .km-prize-wrap{grid-template-columns:1fr 1fr;row-gap:26px}body[data-theme=komoro] .km-score-first{grid-column:1/-1}body[data-theme=komoro] .km-score{min-height:115px}body[data-theme=komoro] .km-score-first{min-height:148px}body[data-theme=komoro] .km-score .first-digits span{width:54px;height:58px}body[data-theme=komoro] .km-minor-prizes .number-panels{grid-template-columns:1fr 1fr}body[data-theme=komoro] .km-minor-prizes .number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-theme=komoro] .km-minor-prizes .number-grid span{font-size:14px}body[data-theme=komoro] .km-stage-meta{flex-wrap:wrap}body[data-theme=komoro] .km-lower{grid-template-columns:1fr}body[data-theme=komoro] .km-lower .recent-prizes{flex-wrap:wrap}body[data-theme=komoro] .km-history-teaser{min-height:240px}}
@media(max-width:390px){body[data-theme=komoro] .brand{width:185px}body[data-theme=komoro] .km-next .countdown strong{min-width:62px;font-size:32px}body[data-theme=komoro] .km-hero-copy h1{font-size:32px}body[data-theme=komoro] .km-board-bar>strong{font-size:17px}body[data-theme=komoro] .km-score .first-digits span{width:45px;font-size:31px}body[data-theme=komoro] .km-minor-prizes .number-head{font-size:11px}}

/* V2 polish: improved no-overlap states, separate image assets and accessible focus states */
body[data-theme=komoro] .km-hero{background-image:linear-gradient(94deg,rgba(1,101,118,.48),rgba(1,141,148,.04) 58%,rgba(1,90,104,.12)),url('/assets/komoro-landscape-desktop.svg')}
body[data-theme=komoro] .km-prize-wrap .km-score{overflow:visible}
body[data-theme=komoro] .km-score .first-digits{max-width:100%}
body[data-theme=komoro] .km-board .number-panels{max-width:100%}
body[data-theme=komoro] a:focus-visible,body[data-theme=komoro] button:focus-visible,body[data-theme=komoro] input:focus-visible{outline:3px solid #dbb75d;outline-offset:3px}
body[data-theme=komoro] .km-next{backdrop-filter:blur(3px)}
body[data-theme=komoro] .km-next .countdown strong{font-variant-numeric:tabular-nums}
body[data-theme=komoro] .km-history-teaser{background-image:linear-gradient(90deg,#fafffff3 5%,#e5ffff8c 70%),url('/assets/komoro-landscape-desktop.svg')}
@media (max-width:800px){body[data-theme=komoro] .km-hero{background-image:linear-gradient(180deg,rgba(1,102,118,.4),rgba(0,100,115,.13) 55%,rgba(3,111,124,.32)),url('/assets/komoro-landscape-mobile.svg')}body[data-theme=komoro] .km-score .first-digits{max-width:100%}}
@media (max-width:360px){body[data-theme=komoro] .km-score .first-digits span{min-width:0;width:42px;height:53px;font-size:27px}body[data-theme=komoro] .km-score{padding-inline:7px}body[data-theme=komoro] .km-next .countdown strong{min-width:55px;font-size:29px}}


/* KOMORO VISUAL V3 — REAL IMAGE ASSETS / HTML PANELS, NO SCREENSHOT OVERLAYS */
body[data-theme=komoro]{background:linear-gradient(180deg,#efffff 0%,#ddf9f5 62%,#f9ffff 100%)}
body[data-theme=komoro] .topbar{box-shadow:0 2px 14px #035c5a23}
body[data-theme=komoro] .navwrap{min-height:83px;gap:14px}
body[data-theme=komoro] .brand{width:302px;max-width:33%}
body[data-theme=komoro] .nav a{font-size:15px;padding:11px 17px}
body[data-theme=komoro] .km-head-identity{font-weight:700}
body[data-theme=komoro] .km-hero{min-height:386px;background-image:linear-gradient(91deg,rgba(0,66,73,.59) 0%,rgba(0,71,76,.24) 37%,rgba(0,80,82,.04) 67%,rgba(0,0,0,0) 100%),url('/assets/komoro-scene-desktop.webp');background-position:center 55%;background-size:cover;background-repeat:no-repeat}
body[data-theme=komoro] .km-hero-grid{min-height:375px;padding-block:28px 44px;grid-template-columns:1.12fr .88fr;gap:5%}
body[data-theme=komoro] .km-hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(49px,5.1vw,83px);letter-spacing:-.055em;line-height:1.0;font-weight:800;text-shadow:0 4px 6px #00383e7a}
body[data-theme=komoro] .km-hero-copy h1 em{display:block;margin-left:32px;font-style:italic;letter-spacing:.06em;font-size:.78em;color:#ffdf7e}
body[data-theme=komoro] .km-hero-overline{font-size:12px;color:#f3f5dd}
body[data-theme=komoro] .km-hero-kicker{display:none}
body[data-theme=komoro] .km-hero-copy p{font-size:15px;max-width:440px;color:#f4ffff;text-shadow:0 2px 6px #00414b}
body[data-theme=komoro] .km-hero-actions{margin-top:12px}
body[data-theme=komoro] .km-decorative-ball{width:82px;height:82px;filter:drop-shadow(0 7px 11px #003d4c8c)}
body[data-theme=komoro] .ball-one{left:41%;top:14px}
body[data-theme=komoro] .ball-two{left:3%;top:34px;width:75px;height:75px}
body[data-theme=komoro] .ball-three{left:61%;top:50px;width:68px;height:68px}
body[data-theme=komoro] .ball-four{left:64%;top:214px;width:59px;height:59px}
body[data-theme=komoro] .km-next{width:min(410px,100%);background:linear-gradient(140deg,rgba(255,255,255,.98),rgba(226,252,250,.96));border:2px solid #ffffff;border-radius:22px;box-shadow:0 14px 28px #00485090,0 0 0 1px #0db4b1;padding:18px 23px}
body[data-theme=komoro] .km-next .countdown-label{background:linear-gradient(90deg,#006e70,#0bafad);color:white;padding:10px 14px;border-radius:12px;margin:-12px -17px 12px;font-size:19px}
body[data-theme=komoro] .km-next .countdown strong{background:linear-gradient(#fff,#c8eceb);color:#074e58;border:1px solid #bad3d7;box-shadow:inset 0 0 11px #ddffff;min-width:75px;font-size:36px}
body[data-theme=komoro] .km-next .countdown b{font-size:30px}
body[data-theme=komoro] .km-next .local-schedule{background:linear-gradient(90deg,#fff0ac,#f0c253);border-radius:12px;padding:7px;font-size:16px;color:#173a32}
body[data-theme=komoro] .km-wave{height:25px;background:#e8fffd;clip-path:polygon(0 100%,0 70%,8% 82%,18% 60%,28% 72%,36% 40%,48% 68%,62% 40%,80% 65%,100% 55%,100% 100%)}
body[data-theme=komoro] .km-content{margin-top:-12px}
body[data-theme=komoro] .km-board{border:4px solid #f7fffa;border-radius:23px;box-shadow:0 8px 0 #24b9bb,0 12px 27px #007e8d48}
body[data-theme=komoro] .km-board-bar{min-height:53px;background:linear-gradient(95deg,#008b89 0%,#0eb3af 56%,#026e72 100%);border-bottom:2px solid #6be7e0}
body[data-theme=komoro] .km-board-inner{grid-template-columns:minmax(0,1.06fr) minmax(0,1.35fr);gap:17px;padding:19px 19px 10px;align-items:stretch}
body[data-theme=komoro] .km-prize-wrap{grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,.85fr));gap:11px;min-height:144px}
body[data-theme=komoro] .km-score{min-height:137px;padding:23px 6px 11px;border-radius:16px;box-shadow:0 4px 9px #0c8f8c37;background:linear-gradient(#e8ffff,#8ce5e3)}
body[data-theme=komoro] .km-score-first{background:linear-gradient(#ffef9f,#ffd164 54%,#e9b73e);border:2px solid #ffeaa7;box-shadow:0 3px 12px #d6a12d7a}
body[data-theme=komoro] .km-score .first-digits{gap:2px}
body[data-theme=komoro] .km-score .first-digits span{height:50px;min-width:0;width:clamp(24px,2.55vw,49px);font-size:clamp(25px,2.35vw,38px);background:linear-gradient(#fff9d5,#f6cd58);border-radius:6px;box-shadow:0 3px 3px #bd952e33;color:#25332b}
body[data-theme=komoro] .km-minor-prizes .number-panels{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));height:100%;gap:8px}
body[data-theme=komoro] .km-minor-prizes .number-panel{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:stretch;background:linear-gradient(#fcffff,#e7faf9);border-radius:11px;min-width:0}
body[data-theme=komoro] .km-minor-prizes .number-head{background:linear-gradient(105deg,#01afaa,#007c79);color:white;min-height:unset;height:100%;font-size:12px;white-space:normal;justify-content:flex-start;text-align:left;padding:8px 11px}
body[data-theme=komoro] .km-minor-prizes .number-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-content:center;gap:3px;padding:5px}
body[data-theme=komoro] .km-minor-prizes .number-grid span{display:grid;place-items:center;padding:7px 0;border:1px solid #b7d4d7;border-radius:7px;font-size:clamp(11px,1vw,14px);white-space:nowrap;background:linear-gradient(#fff,#e8f2f3)}
body[data-theme=komoro] .km-stage-meta{padding:0 18px 7px}
body[data-theme=komoro] .km-lower{grid-template-columns:1fr 1.22fr;gap:20px;margin-top:27px}
body[data-theme=komoro] .km-lower .recent-module,body[data-theme=komoro] .km-history-teaser{border:1px solid #abdcd8;background:#fff;padding:0 18px 14px;border-radius:18px;box-shadow:0 7px 16px #086d6c1f}
body[data-theme=komoro] .km-lower .side-title{background:linear-gradient(100deg,#007a7a,#2cb7ad);color:white;margin:0 -18px 8px;padding:11px 19px}
body[data-theme=komoro] .km-lower .side-title h3{color:white;font-size:20px}
body[data-theme=komoro] .km-lower .side-title a{color:#effffb}
body[data-theme=komoro] .km-lower .recent-row{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:7px;background:#fff;border-bottom:1px solid #ddeaea;border-radius:0;padding:8px 3px}
body[data-theme=komoro] .km-lower .recent-row:nth-child(even){background:#f3fbfb}
body[data-theme=komoro] .km-lower .recent-row-top{font-size:11px;gap:5px;flex-direction:column}
body[data-theme=komoro] .km-lower .recent-row-top small{opacity:.65}
body[data-theme=komoro] .km-lower .recent-prizes{margin-top:0;font-size:12px}
body[data-theme=komoro] .km-lower .recent-prizes span{background:linear-gradient(#e9fbf6,#abeee8);border-radius:20px;padding:5px 7px;white-space:nowrap}
body[data-theme=komoro] .km-lower .recent-prizes span:first-child{background:linear-gradient(#fff5bb,#efc252)}
body[data-theme=komoro] .km-history-teaser{position:relative;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(247,255,255,.94) 36%,rgba(210,253,249,.20)),url('/assets/komoro-scene-desktop.webp');background-size:cover;background-position:center 62%}
body[data-theme=komoro] .km-history-teaser:before{content:'DRAW HISTORY';position:absolute;left:0;top:0;right:0;background:linear-gradient(90deg,#007a7a,#2cb7ad);color:#fff;font-size:20px;font-weight:900;padding:11px 18px}
body[data-theme=komoro] .km-history-copy{padding-top:40px}
body[data-theme=komoro] .km-history-copy h3{font-size:26px}
body[data-theme=komoro] .footer{background:linear-gradient(90deg,#006266,#018b8e);color:#f8ffff}
body[data-theme=komoro] .foot-inner{color:#f8ffff}
@media(max-width:1200px){body[data-theme=komoro] .km-board-inner{grid-template-columns:1fr}body[data-theme=komoro] .km-minor-prizes .number-grid{grid-template-columns:repeat(8,minmax(0,1fr))}body[data-theme=komoro] .km-prize-wrap{min-height:145px}body[data-theme=komoro] .km-score .first-digits span{width:43px}}
@media(max-width:800px){body[data-theme=komoro] .container{width:min(100% - 26px,600px)}body[data-theme=komoro] .navwrap{min-height:unset;padding:10px 0 5px}body[data-theme=komoro] .brand{max-width:none;width:205px}body[data-theme=komoro] .km-hero{background-image:linear-gradient(180deg,rgba(0,54,68,.3),rgba(0,96,104,.17) 52%,rgba(0,57,63,.3)),url('/assets/komoro-scene-mobile.webp');background-position:center 56%;background-size:cover;min-height:610px}body[data-theme=komoro] .km-hero-grid{min-height:600px;gap:18px;padding-block:30px 45px}body[data-theme=komoro] .km-hero-copy h1{font-size:47px}body[data-theme=komoro] .km-hero-copy h1 em{font-size:.8em;margin-left:12px}body[data-theme=komoro] .km-hero-copy p{font-size:13px}body[data-theme=komoro] .km-decorative-ball{display:block}body[data-theme=komoro] .ball-one{width:50px;height:50px;left:79%;top:20px}body[data-theme=komoro] .ball-two{width:52px;height:52px;left:4%;top:14px}body[data-theme=komoro] .ball-three,body[data-theme=komoro] .ball-four{display:none}body[data-theme=komoro] .km-next{max-width:370px;padding:19px 22px}body[data-theme=komoro] .km-next .countdown strong{min-width:70px;font-size:33px}body[data-theme=komoro] .km-content{margin-top:-8px}body[data-theme=komoro] .km-board-inner{padding:20px 10px 11px}body[data-theme=komoro] .km-prize-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 8px}body[data-theme=komoro] .km-score-first{grid-column:1/-1}body[data-theme=komoro] .km-score{min-height:112px}body[data-theme=komoro] .km-score-first{min-height:146px}body[data-theme=komoro] .km-score .first-digits span{width:50px}body[data-theme=komoro] .km-minor-prizes .number-panels{grid-template-columns:1fr;gap:8px}body[data-theme=komoro] .km-minor-prizes .number-panel{grid-template-columns:92px minmax(0,1fr)}body[data-theme=komoro] .km-minor-prizes .number-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-theme=komoro] .km-lower{grid-template-columns:1fr}body[data-theme=komoro] .km-lower .recent-row{grid-template-columns:1fr}body[data-theme=komoro] .km-history-teaser{min-height:250px}}
@media(max-width:390px){body[data-theme=komoro] .km-next .countdown strong{min-width:62px;font-size:30px}body[data-theme=komoro] .km-score .first-digits span{width:44px}body[data-theme=komoro] .km-hero-copy h1{font-size:40px}body[data-theme=komoro] .km-minor-prizes .number-grid span{font-size:12px}}
/* V3 last-pass legibility */
body[data-theme=komoro] .footer .foot-brand b,body[data-theme=komoro] .footer .foot-brand small,body[data-theme=komoro] .footer p,body[data-theme=komoro] .footer span{color:#edfffc}
@media(max-width:800px){body[data-theme=komoro] .km-hero-overline{display:none}body[data-theme=komoro] .ball-two{left:6%;top:34px;opacity:.9}body[data-theme=komoro] .km-hero-copy h1{margin-top:30px}}
/* ==================================
   KOMORO - MOBILE HEADER FIX
   ================================== */

@media (max-width: 740px) {

    .topbar .navwrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand clock"
            "nav nav";
        align-items: center;
        column-gap: 10px;
        row-gap: 7px;
        padding: 8px 12px 7px;
    }

    /* Logo kiri */
    .topbar .brand {
        grid-area: brand;
        justify-self: start;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        margin-left: -6px;
    }

    .topbar .brand img {
        width: 205px !important;
        max-width: 100%;
        max-height: none !important;
        height: auto !important;
        display: block;
        object-fit: contain;
    }

    /* Jam kanan */
    .topbar .header-clock {
        grid-area: clock;
        justify-self: end;
        margin: 0;
        text-align: right;
    }

    .topbar .km-head-identity {
        display: none;
    }

    .topbar #clock-time {
        font-size: 18px;
        line-height: 1.2;
    }

    .topbar .header-clock small {
        font-size: 9px;
    }

    /* Navigasi baris kedua */
    .topbar .nav {
        grid-area: nav;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 4px;
        margin: 0;
        padding: 0;
    }

    .topbar .nav a {
        font-size: 13px;
        padding: 8px 10px;
        white-space: nowrap;
    }
}

/* Penyesuaian HP kecil */
@media (max-width: 380px) {

    .topbar .brand img {
        width: 165px !important;
    }

    .topbar .nav a {
        font-size: 12px;
        padding: 8px 6px;
    }
}
/* ======================================
   KOMORO - RESULTS NEON PRIZE NUMBERS
   ====================================== */

body[data-page="results"][data-theme="komoro"]
#full-result .full-podium .prize-card strong {

    color: #73ffe4 !important;
    -webkit-text-fill-color: #73ffe4 !important;

    opacity: 1 !important;

    text-shadow:
        0 0 6px rgba(50, 255, 210, 0.70),
        0 0 14px rgba(50, 255, 210, 0.40),
        0 0 24px rgba(50, 255, 210, 0.18);
}