/* Web-only host theme. Embedded app and game tile semantics keep their own palette. */
body:not(.native-embedded){--web-game-ink:#24201d;--web-game-dark:#24201d;--web-game-paper:#fff9f3;--web-game-action:#bd4310;--web-game-orange:#fe7b01;--web-game-line:#dfd2c4;--web-game-tint:#ffedd5;--web-game-muted:#6e625a;--web-game-on-dark:#ffd6b5;--web-game-arch:#bd4310;--web-game-arch-muted:#644331;--web-game-radius:6px;color:var(--web-game-ink);background:var(--web-game-paper)}
:root:has(body:not(.native-embedded)){background:#fff9f3}
:root{font-family:Inter,Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--web-game-ink,#153942);background:var(--web-game-paper,#f5f4ec);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}body:not(.native-embedded) :is(button,input,select){min-height:44px}body:not(.native-embedded) .hand .tile{min-width:44px}body:not(.native-embedded) :is(button,input,select,a):focus-visible{outline:3px solid #bd4310;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.app{min-height:100dvh;background:linear-gradient(180deg,var(--web-game-dark,#073f48) 0,var(--web-game-dark,#073f48) 292px,var(--web-game-paper,#f5f4ec) 292px)}.topbar{height:74px;max-width:1240px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;color:#fff1da}.brand{display:flex;align-items:center;gap:11px;font-size:15px;letter-spacing:.01em}.brand strong{font-weight:800}.brand-mark{width:36px;height:36px;border-radius:var(--web-game-radius,11px);background:#fff1da;color:var(--web-game-action,#035e6c);display:grid;place-items:center;font-weight:900;font-size:25px;position:relative;box-shadow:0 5px 15px #012b3370}.brand-mark span{position:absolute;color:var(--web-game-orange,#ef7656);font-size:11px;right:5px;top:3px}.connection{font-size:12px;color:var(--web-game-on-dark,#c8e7e5);display:flex;align-items:center;gap:8px}.connection i{width:8px;height:8px;border-radius:50%;background:#ffb474;box-shadow:0 0 0 4px #ffb47424}.connection.online i{background:#69d5b4;box-shadow:0 0 0 4px #69d5b424}main{max-width:1200px;margin:auto;padding:0 22px 70px}.hero{min-height:220px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;color:#fff1da}.hero-copy{max-width:640px;position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.19em;color:var(--web-game-on-dark,#9dd2ca)}.eyebrow.dark{color:var(--web-game-action,#b34a31)}.hero h1{font-size:clamp(37px,5vw,62px);line-height:1.02;letter-spacing:-.055em;margin:13px 0 11px;font-weight:850}.hero h1 em{font-style:normal;color:var(--web-game-orange,#ef7656)}.hero p{font-size:15px;line-height:1.55;color:var(--web-game-on-dark,#cfdfd8);max-width:560px;margin:0}.hero-art{width:290px;height:214px;position:relative;flex-shrink:0}.art-arch{position:absolute;border:17px solid var(--web-game-arch,#0f7180);border-bottom:0;border-radius:135px 135px 0 0;width:175px;height:205px;bottom:-70px}.arch-one{left:10px;transform:rotate(-12deg)}.arch-two{right:-34px;border-color:var(--web-game-arch-muted,#0c5360);transform:rotate(18deg)}.art-tile{position:absolute;width:64px;height:86px;border-radius:var(--web-game-radius,11px);background:#fff1da;box-shadow:0 10px 0 #ccbfa5,0 18px 30px #0029308c;display:grid;place-items:center;color:var(--web-game-action,#b34a31);font-size:35px;font-weight:850;border:3px solid #f9dfba}.tile-one{top:60px;left:40px;transform:rotate(-15deg)}.tile-two{top:49px;left:110px;transform:rotate(4deg);color:#035e6c}.tile-three{top:65px;left:180px;transform:rotate(17deg)}.card{background:#fff;border:1px solid var(--web-game-line,#dce6df);border-radius:var(--web-game-radius,24px);box-shadow:0 14px 40px #163f3710}.gate{text-align:center;padding:40px 24px;max-width:560px;margin:34px auto}.gate-icon{width:62px;height:62px;border-radius:var(--web-game-radius,18px);background:var(--web-game-tint,#e7f2ed);color:var(--web-game-action,#035e6c);display:grid;place-items:center;margin:auto;font-size:32px}.gate h2{font-size:27px;letter-spacing:-.03em;margin:18px 0 5px}.gate p{color:var(--web-game-muted,#4c6468);margin:0 auto 22px;max-width:360px;line-height:1.5}.spinner{height:22px;width:22px;border:3px solid var(--web-game-line,#cbdcda);border-top-color:var(--web-game-orange,#ef7656);border-radius:50%;animation:spin .9s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:25px 0 18px}.section-heading h2,.table-heading h2{margin:5px 0 0;font-size:26px;letter-spacing:-.035em}.free-badge{background:var(--web-game-tint,#e9f4ef);color:var(--web-game-action,#035e6c);font-size:12px;font-weight:800;border-radius:100px;padding:9px 13px}.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.action-card{text-align:left;display:flex;align-items:center;gap:16px;min-height:115px;border:1px solid var(--web-game-line,#d5e3dd);border-radius:var(--web-game-radius,22px);padding:19px 21px;background:#fff;color:var(--web-game-ink,#153942);box-shadow:0 12px 30px #123a320d;transition:transform .15s,box-shadow .15s}.action-card:hover{transform:translateY(-2px);box-shadow:0 18px 32px #123a3220}.action-card.primary{background:var(--web-game-action,#035e6c);color:#fff1da;border-color:var(--web-game-action,#035e6c)}.action-icon{width:58px;height:58px;flex-shrink:0;border-radius:17px;background:var(--web-game-tint,#e9f5ef);color:var(--web-game-action,#035e6c);display:grid;place-items:center;font-size:30px}.primary .action-icon{background:#ffffff24;color:#fff1da}.action-card strong{display:block;font-size:18px;margin-bottom:5px}.action-card small,.join-code small{display:block;font-size:13px;color:var(--web-game-muted,#68817f)}.primary small{color:var(--web-game-on-dark,#cbe3df)}.action-card b{margin-left:auto;font-size:32px;font-weight:300}.rooms-heading{margin-top:39px}.text-button{border:0;background:transparent;color:var(--web-game-action,#035e6c);font-weight:800;font-size:13px;padding:8px}.rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.room{border:1px solid var(--web-game-line,#dce6df);background:white;text-align:left;border-radius:var(--web-game-radius,16px);padding:17px 19px;display:flex;justify-content:space-between;align-items:center;color:var(--web-game-ink,#153942)}.room strong,.room small{display:block}.room strong{font-size:15px}.room small{color:var(--web-game-muted,#6c817e);margin-top:5px}.room span{font-size:22px;color:var(--web-game-action,#b34a31)}.empty{color:var(--web-game-muted,#647b79);font-size:14px}.join-code{padding:21px 24px;margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.join-code strong{display:block;margin-bottom:5px}.join-fields{display:flex;gap:7px}.join-fields input{min-width:0;width:145px;border:1px solid var(--web-game-line,#cbdcda);border-radius:var(--web-game-radius,11px);padding:11px;background:var(--web-game-paper,#f9fbf8)}.join-fields button,.move-primary{border:0;border-radius:var(--web-game-radius,11px);background:var(--web-game-action,#b34a31);color:white;font-weight:800;padding:11px 19px}.table-heading{display:flex;align-items:center;gap:20px;margin:18px 0 17px}.table-heading h2{font-size:23px}.back{background:#fff;border:1px solid var(--web-game-line,#dce6df);border-radius:var(--web-game-radius,11px);padding:10px 13px;color:var(--web-game-action,#035e6c);font-weight:750}.invite{margin-left:auto;font-size:12px;color:var(--web-game-muted,#56706b)}.waiting{text-align:center;padding:36px}.waiting h3{font-size:25px;margin:12px 0 4px}.waiting p{color:var(--web-game-muted,#607875);line-height:1.5}.wait-illustration{width:84px;height:84px;border-radius:var(--web-game-radius,24px);background:var(--web-game-tint,#e5f2ed);margin:auto;color:var(--web-game-action,#035e6c);font-size:63px;line-height:74px}.subtle-button{border:1px solid var(--web-game-line,#b7d2cc);background:var(--web-game-tint,#f4f9f5);color:var(--web-game-action,#035e6c);border-radius:var(--web-game-radius,11px);font-size:13px;font-weight:800;padding:10px 13px}.board{display:grid;gap:13px}.opponents{display:flex;justify-content:space-around;gap:10px}.opponent{background:#fff;border:1px solid var(--web-game-line,#dce6df);border-radius:var(--web-game-radius,15px);padding:9px 14px;min-width:0;text-align:center;font-size:12px;color:var(--web-game-muted,#536e6a)}.opponent.active{border-color:var(--web-game-orange,#ef7656);box-shadow:0 0 0 2px #ef765625}.opponent strong{display:block;color:var(--web-game-ink,#153942);font-size:13px;margin-bottom:2px}.felt{background:radial-gradient(ellipse at 50% 40%,#157985 0,#035e6c 65%,#064b55 100%);border:8px solid #164e50;box-shadow:inset 0 0 0 2px #75ada3,0 18px 30px #24463f2a;border-radius:44px;min-height:310px;color:#fff1da;padding:17px 23px 24px}.felt-top{display:flex;justify-content:space-between;font-size:12px;font-weight:750;color:#c7e5df}.meld-area{min-height:170px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:12px}.meld-empty{opacity:.7;font-size:14px}.meld{display:flex;align-items:end;gap:2px;background:#01475155;border-radius:11px;padding:8px}.meld-label{font-size:10px;margin-right:7px;writing-mode:vertical-rl;transform:rotate(180deg);color:#c6e9de}.deck-row{display:flex;align-items:end;justify-content:space-between;gap:8px}.pile{background:#ffffff1d;border:1px solid #b6dfd483;color:#fff1da;border-radius:12px;min-width:106px;height:56px;font-size:10px;font-weight:800;letter-spacing:.06em}.pile span{display:block;font-size:23px;line-height:24px}.indicator-area{text-align:center;font-size:10px;letter-spacing:.1em;color:#c9e4dd}.indicator-area small{display:block;margin-bottom:4px}.indicator-area .tile{margin:auto}.hand-panel{background:#fff;border:1px solid var(--web-game-line,#dce6df);border-radius:var(--web-game-radius,24px);padding:17px 20px 18px;box-shadow:0 10px 30px #123a3210}.hand-top{display:flex;justify-content:space-between;align-items:center}.hand-count{margin-left:11px;color:var(--web-game-muted,#71847d);font-size:12px}.hand{display:flex;align-items:end;gap:3px;overflow-x:auto;padding:24px 3px 15px;min-height:94px;scrollbar-width:thin}.tile{height:63px;min-width:43px;border-radius:7px;background:linear-gradient(145deg,#fffcf2,#e8dbc4);border:2px solid #fff5de;box-shadow:0 4px 0 #b9a78e,0 5px 9px #0003;display:grid;place-items:center;font-size:23px;font-weight:850;flex-shrink:0;user-select:none}.hand .tile{cursor:pointer;transition:transform .12s}.hand .tile.selected{transform:translateY(-13px);outline:3px solid #ef7656}.tile.red{color:#d95247}.tile.blue{color:#2778b7}.tile.black{color:#283a3f}.tile.yellow{color:#b68516}.tile.fake{color:#b34a31;font-size:22px}.tile.wild{background:#fff1da}.meld .tile{height:42px;min-width:30px;font-size:16px;border-width:1px}.move-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.move-bar #selection-count{font-size:12px;color:var(--web-game-muted,#607875);margin-right:auto}.planned{margin-top:10px;font-size:12px;color:var(--web-game-muted,#607875)}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--web-game-ink,#153942);color:#fff1da;padding:12px 19px;border-radius:12px;box-shadow:0 10px 30px #0004;z-index:10;max-width:calc(100vw - 30px);text-align:center;font-size:13px}footer{max-width:1200px;margin:auto;padding:0 23px 25px;color:var(--web-game-muted,#7c9187);font-size:11px;display:flex;justify-content:space-between}@media(max-width:720px){.app{background:linear-gradient(180deg,var(--web-game-dark,#073f48) 0,var(--web-game-dark,#073f48) 265px,var(--web-game-paper,#f5f4ec) 265px)}.topbar{height:62px;padding:0 17px}.brand{font-size:12px}.brand-mark{width:31px;height:31px;font-size:21px}.connection{font-size:0}.connection i{display:block}main{padding:0 12px 56px}.hero{min-height:195px}.hero-copy{max-width:73%}.hero h1{font-size:37px}.hero p{font-size:12px;line-height:1.45}.hero-art{width:118px;transform:scale(.66);transform-origin:left center;margin-right:-38px}.section-heading{margin-top:18px}.section-heading h2{font-size:22px}.actions{grid-template-columns:1fr;gap:10px}.action-card{min-height:84px;padding:13px 15px}.action-icon{width:48px;height:48px}.action-card strong{font-size:16px}.rooms{grid-template-columns:1fr}.join-code{display:block;padding:16px}.join-fields{margin-top:14px;flex-wrap:wrap}.join-fields input{flex:1 1 120px}.join-fields button{flex:1}.table-heading{gap:11px}.table-heading h2{font-size:18px}.invite{max-width:120px;overflow-wrap:anywhere;text-align:right}.felt{border-radius:28px;min-height:255px;padding:12px 10px 14px;border-width:6px}.meld-area{min-height:136px;gap:5px}.meld{gap:1px;padding:5px}.meld .tile{height:32px;min-width:23px;font-size:12px}.meld-label{display:none}.pile{min-width:76px;height:49px;font-size:9px}.pile span{font-size:18px}.tile{height:58px;min-width:40px;font-size:21px}.hand-panel{padding:13px 10px}.hand{padding-top:25px}.opponent{font-size:10px;padding:8px 9px}.opponent strong{font-size:11px}.move-bar{gap:5px}.move-bar button{font-size:11px;padding:9px}.move-bar #selection-count{width:100%;margin-bottom:3px}footer{display:block;padding:0 14px 18px}footer span{display:block;margin-top:4px}}

.islek-row{display:flex;align-items:center;justify-content:center;gap:10px;min-height:28px;margin-top:10px;color:#e9f5e9;font-size:12px;text-align:center;flex-wrap:wrap}.islek-row button{padding:7px 12px;background:#fff1da;color:#073f48;border-color:#fff1da}
