/* Flat, daylight game studio. Board layers stay below every interactive overlay. */
:root{--studio-green:#123f32;--studio-muted:#60776c;--studio-line:#dae5df;--studio-paper:#f5f8f5}
.profile-chip{border:1px solid #d3e2ce;border-radius:13px;background:#f4f8ee;padding:5px 10px 5px 5px;display:flex;align-items:center;gap:9px;min-height:48px;color:#244d32;font-size:13px;max-width:190px}.profile-chip>img{width:36px;height:36px;border-radius:10px}.profile-chip>svg{width:14px;height:14px;flex-shrink:0}.profile-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;gap:6px;align-items:center}.country-flag{width:23px;height:16px;object-fit:cover;border-radius:3px;border:1px solid #d6e0d3;flex-shrink:0}.player-row strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.player-row strong [data-user-text]{display:inline-flex;align-items:center;gap:7px;max-width:190px;overflow-wrap:anywhere}.avatar{overflow:visible;flex-shrink:0}.avatar .sticker-avatar{height:100%;width:100%;border-radius:14px;object-fit:cover}.profile-field{display:flex;flex-direction:column;gap:10px;margin-top:22px;color:#31583c;font-size:14px;font-weight:600}.profile-field input,.profile-field select{font:inherit;color:#284d34;background:#f8fbf3;border:1px solid #cbdcc6;border-radius:12px;min-height:52px;padding:12px 15px;width:100%;box-sizing:border-box}.profile-field input{font-size:17px}.sticker-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.sticker-choice{padding:5px;background:#f3f7ed;border:2px solid transparent;border-radius:14px;min-width:0;aspect-ratio:1}.sticker-choice img{width:100%;height:100%;border-radius:10px;object-fit:cover}.sticker-choice[aria-pressed=true]{border-color:#387646;background:#e4efd9}.country-tools{margin-top:12px}.country-tools p{font-size:12px;line-height:1.9}.profile-error{color:#923b30!important;font-size:13px!important;min-height:20px}.profile-error:empty{display:none}#profile-save{width:100%;margin-top:20px;min-height:52px}.victory-sticker{background:#f2e7bd;color:#8a6a1d}.victory-sticker svg{height:34px;width:34px}
@media(max-width:600px){.topbar #install-app{display:none}.top-actions{gap:8px}.profile-chip{width:44px;min-width:44px;height:44px;min-height:44px;padding:3px;border-radius:12px}.profile-chip>span,.profile-chip>svg{display:none}.profile-chip>img{height:36px;width:36px}.language-picker{gap:3px}.language-link{min-width:33px;padding:0 3px;min-height:42px;font-size:11px}.wordmark{font-size:30px}.topbar{padding-inline:4%}.player-row strong [data-user-text]{max-width:140px}.player-row .country-flag{width:21px;height:15px}.sticker-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sticker-choice{min-height:52px}.profile-field{font-size:14px;margin-top:19px}#profile-dialog{padding:22px!important}}
.language-picker{display:flex;gap:5px}.language-link[aria-current=page]{background:#e7f0e2;border-color:#a8c19b;font-weight:700}
.dialog-close svg{width:21px;height:21px}
.welcome-symbol.victory-sticker{position:relative;width:65px;height:65px;border-radius:18px}.victory-sticker>.sticker-avatar{height:100%;width:100%;border-radius:18px}.victory-sticker>svg{position:absolute;bottom:-8px;inset-inline-end:-9px;width:25px;height:25px;padding:4px;border-radius:10px;background:#f2e4a7;border:2px solid #fff;color:#886512}
html[dir=ltr] body,html[dir=ltr] button,html[dir=ltr] input,html[dir=ltr] h1,html[dir=ltr] h2,html[dir=ltr] h3{font-family:'DM Sans',Arial,sans-serif}
html[dir=ltr] .hero-copy h1{letter-spacing:-2px;line-height:1.12}html[dir=ltr] .hero-copy p{line-height:1.8}html[dir=ltr] .hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px}
html[dir=ltr] .dialog-close{float:right}html[dir=ltr] .seo-information{line-height:1.9}html[dir=ltr] .card-title-row>span{font-size:10px}
html{scrollbar-gutter:stable}body{background:var(--studio-paper);color:var(--studio-green)}
button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #4c916e;outline-offset:4px}
.topbar{background:#fff;border-bottom:1px solid var(--studio-line);height:86px}.wordmark{font-size:35px}.wordmark>span{color:#60776c;font-size:12px}.main-nav button{font-weight:600}.rail{background:#fff;border-color:var(--studio-line)}.rail-item.active{border-radius:14px}
.language-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--studio-line);border-radius:12px;text-decoration:none;color:#214f3e;font:600 13px 'DM Sans',sans-serif}
main{max-width:1500px;margin-inline:auto}.install-nudge{background:#edf4ef;border-color:#d4e2d8;border-radius:16px;margin-top:22px}.install-copy p{color:#536e5c}.install-copy strong{color:#204e39}
.lobby-hero{border-radius:24px;background:#fff;border-color:var(--studio-line);min-height:420px}.hero-copy{padding:44px 42px}.hero-copy h1{font-size:clamp(36px,4vw,57px);line-height:1.7;letter-spacing:-1.5px}.hero-copy h1 span{color:#57866a}.hero-copy .eyebrow{color:#4e745f;letter-spacing:0}.hero-copy p{color:#536e5e!important;font-size:16px!important}.hero-copy .primary-button{min-height:56px;border-radius:13px}.hero-benefits{gap:20px;color:#526e5c}.hero-table{background:#edf3eb;border-inline-start:1px solid #dce5d8}.table-label{color:#4b6c52;font-weight:600}.hero-ticket{border-radius:12px;font-size:13px}.hero-chess img{height:100%;width:100%;object-fit:contain}.hero-chess{font-size:0;width:195px;height:230px;display:block}.hero-ticket{transform:rotate(-3deg)}
.catalog-section{margin-top:38px}.catalog-heading{align-items:center}.catalog-heading h2{font-size:30px;line-height:1.9}.catalog-heading .eyebrow{font-size:13px;color:#557160}.game-search{border-radius:13px;border-color:#cdded2;min-width:270px}.filter-bar{gap:12px;margin-block:24px}.filter-bar button{border-radius:12px;font-weight:500}.filter-note{color:#5d7665}
.game-card{border-radius:19px;overflow:hidden;border-color:var(--studio-line);text-align:start}.game-card:hover{transform:translateY(-3px);border-color:#46815f}.card-art{height:235px;background-color:#edf3e9;border-bottom:1px solid var(--studio-line)}.card-badge{border-radius:9px;padding:8px 12px;color:#355a3f}.card-index{letter-spacing:1px;color:#5f7a64}.card-body{padding:25px}.card-title-row{gap:12px;flex-wrap:wrap}.card-title-row h3{font-size:22px;color:#174b36}.card-title-row>span{font-size:10px;color:#6e7b71;letter-spacing:1px}.card-body p{font-size:14px;color:#526b58!important;line-height:2;min-height:58px}.card-bottom{border-top:1px solid #e5ece6}.card-play{display:inline-flex;align-items:center;gap:9px;color:#174c35;font-weight:600}.card-play svg{width:21px;height:21px}.card-bottom>div{color:#647b68}.mini-grid{border:1px solid #ced9c9}.mini-cell{background:#edf1df}.mini-cell:nth-child(12n+2),.mini-cell:nth-child(12n+4),.mini-cell:nth-child(12n+6),.mini-cell:nth-child(12n+7),.mini-cell:nth-child(12n+9),.mini-cell:nth-child(12n+11){background:#b4c8a6}.mini-chess{display:grid;place-items:center}.mini-chess img{width:75%;height:75%}.mini-chess.pale img{filter:invert(1)}
.page-heading{margin-bottom:28px}.page-heading h1{font-size:31px}.arena,.chat-card{border-color:#d7e3dc;border-radius:20px}.arena{padding:26px 28px 0}.game-title{padding-bottom:20px;border-bottom:1px solid #e5ece7}.game-title h2{font-size:20px}.board-border{background:#e5eddf;border:1px solid #d1dec8;padding:13px}.board-wrap{isolation:isolate}.board-wrap>.board-border{position:relative;z-index:0}.board-wrap>.board-overlay{z-index:2}.board-wrap:has(>.board-overlay:not([hidden])){min-height:380px}.board-tools{padding-block:16px}.board-tool{border-radius:11px}.clock{border-radius:10px;font-variant-numeric:tabular-nums}.avatar{border-radius:13px}.player-row strong{font-size:15px}.player-row small{color:#617567!important}
.board.chess-board .piece{display:grid;place-items:center;width:82%;height:82%;padding:9%;border-radius:10px;-webkit-text-stroke:0;box-sizing:border-box}.board.chess-board .piece.white{background:#fffdf1!important;border:1px solid #778269}.board.chess-board .piece.black{background:#194c38!important;border:1px solid #123c2d}.chess-asset{height:100%;width:100%;object-fit:contain;pointer-events:none}.piece.black .chess-asset{filter:invert(1)}
.board-overlay{padding:18px;background:#193e3038;border:1px solid #b6cbb6;border-radius:13px;backdrop-filter:blur(4px)}.welcome-card{box-sizing:border-box!important;display:block;width:min(460px,100%)!important;max-width:100%;max-height:calc(100% - 8px)!important;padding:30px!important;border-radius:20px;background:#fff!important;border:1px solid #d4e3d4;overflow:auto;overscroll-behavior:contain}.welcome-symbol{width:48px;height:48px;font-size:26px;line-height:1;display:inline-grid;place-items:center;border-radius:14px;background:#eef4e8;color:#527447}.welcome-card h2{font-size:24px;line-height:1.8;margin:18px 0 12px}.welcome-card p{font-size:14px;line-height:2.1;color:#536c59;margin:0 0 22px}.welcome-card button{min-height:52px;max-width:100%;white-space:normal;line-height:1.8}.welcome-card small{margin-top:16px}
.social-panel .chat-card{overflow:hidden}.chat-heading{border-bottom:1px solid #e5ece5}.chat-empty p{color:#687c69}.chat-composer input{border-radius:12px;min-height:50px}.chat-composer button{border-radius:11px}.voice-card{background:#eaf2e8;border-color:#d4e2cf;border-radius:16px}.voice-card p{color:#5d775d}.bubble{border:1px solid #dce6d8;border-radius:14px;background:#edf3e7}.bubble.theirs{background:#fff}.quick-messages button{border-radius:10px}.share-panel{border:1px solid #cbdcc9;border-radius:15px;background:#f1f6ec}.share-link-row input{min-width:0}.share-link-row>button{border-radius:11px}
body:has(dialog[open]){overflow:hidden}dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;padding:30px!important;border:1px solid #cbdacf;border-radius:22px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#193f30}dialog::backdrop{background:#102f256b;backdrop-filter:blur(5px)}dialog h2{font-size:25px;line-height:1.8;padding-inline-end:45px;margin:12px 0 18px}dialog p,dialog li{font-size:15px;line-height:2.1;color:#526e5a;overflow-wrap:anywhere}dialog li{margin-bottom:16px}dialog ol{padding-inline-start:25px}.dialog-close{position:sticky;inset:0;float:left;margin-inline-start:12px;margin-bottom:8px;width:44px;height:44px;min-height:44px;z-index:1;background:#f1f6ee;border:1px solid #d9e5d4;border-radius:12px}.dialog-symbol{border-radius:15px;width:54px;height:54px}.dialog-actions{gap:12px;margin-top:25px}.dialog-actions>button{min-height:52px;border-radius:12px}.install-platform-tabs{gap:8px}.install-platform-tabs button{min-height:50px;border-radius:11px}.install-platform-tabs button[aria-selected=true]{background:#e7f1df;border-color:#81a36e;color:#284b28}.install-instructions,#install-instructions{border-radius:15px;border-color:#d9e5d2;background:#f6f9f1}.promotion-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.promotion-options button{min-height:120px;border:1px solid #d3e2d2;border-radius:14px;background:#f1f6eb;font-size:56px;color:#214d34;display:grid;place-items:center;padding:14px}.promotion-options button:hover{background:#e1eed7;border-color:#7e9c6c}.promotion-options button span{font-size:15px}.toast{background:#f4f9ee;border-color:#b9ceac;color:#234c34;border-radius:14px}.toast-message,.toast p{font-size:14px;line-height:1.9}.toast>button{flex-shrink:0}.seo-information{background:#fff;border-color:var(--studio-line);border-radius:20px}.seo-information p{color:#566f5c}
.fr-page{max-width:1120px;padding:34px 24px 70px;margin:auto;font-family:'DM Sans',sans-serif}.fr-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border:1px solid var(--studio-line);border-radius:18px;background:#fff}.fr-brand{font-size:27px;font-weight:700;text-decoration:none;color:#163f31}.fr-hero,.fr-section{background:#fff;border:1px solid var(--studio-line);border-radius:22px;padding:38px;margin-top:25px}.fr-hero h1{font-size:clamp(30px,5vw,48px);line-height:1.2;margin:15px 0 24px}.fr-hero p,.fr-section p,.fr-section li{font-size:17px;line-height:1.9;color:#526e5b}.fr-kicker{font-size:13px;letter-spacing:1.5px;color:#557c5e;text-transform:uppercase}.fr-button{display:inline-flex;padding:16px 22px;border-radius:12px;background:#174c35;color:#fff;text-decoration:none;font-weight:600;margin-top:12px;min-height:50px;align-items:center}.fr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.fr-game{display:block;background:#fff;padding:25px;border:1px solid var(--studio-line);border-radius:18px;text-decoration:none;color:#183e2e}.fr-game h2{font-size:22px}.fr-game p{color:#5a745e;line-height:1.8}.fr-section h2{font-size:26px}.fr-note{color:#677d69;font-size:14px;line-height:1.8}.fr-links{display:flex;flex-wrap:wrap;gap:12px}.fr-links a{color:#315f3f;min-height:44px;padding:12px;border:1px solid #dbe5d6;border-radius:10px;text-decoration:none}
@media(max-width:900px){.topbar{height:76px}.top-actions{gap:10px}.language-link{min-width:40px;min-height:42px}.hero-copy{padding:28px!important}.hero-copy h1{font-size:39px}.hero-chess{width:150px;height:175px}.card-art{height:210px}.card-body{padding:21px}.card-title-row h3{font-size:21px}.card-body p{min-height:56px}.catalog-heading h2{font-size:27px}.page-heading h1{font-size:27px}.arena{padding:22px 20px 0}.board-wrap:has(>.board-overlay:not([hidden])){min-height:350px}.welcome-card{padding:24px 20px!important}.welcome-card h2{font-size:21px}.welcome-card p{font-size:13px}.welcome-card button{font-size:14px;min-height:52px}.board-overlay{padding:12px}.game-title h2{font-size:18px}.chat-composer input{font-size:16px}.mobile-navigation{background:#fff;border-top:1px solid #d7e3d4;padding-block:10px calc(10px + env(safe-area-inset-bottom))}.mobile-navigation button{min-height:48px;border-radius:12px}.toast{bottom:calc(100px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}dialog{padding:24px!important;border-radius:19px}dialog h2{font-size:23px}dialog p,dialog li{font-size:14px}.dialog-close{margin-bottom:7px}.fr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fr-hero,.fr-section{padding:25px}.fr-page{padding:16px}}
@media(max-width:600px){.hero-copy h1{font-size:34px!important;line-height:1.8!important}.hero-copy p{font-size:13px!important;max-width:240px}.hero-benefits{font-size:10px!important;gap:12px}.hero-table{border:0}.hero-chess{width:140px;height:175px}.lobby-hero{min-height:390px}.card-art{height:220px}.game-cards{grid-template-columns:1fr}.card-title-row h3{font-size:23px}.card-body p{font-size:14px;min-height:0}.card-title-row>span{font-size:11px}.card-badge{font-size:12px}.card-bottom{font-size:13px}.card-play{font-size:15px}.mini-grid{width:225px;height:225px}.mini-connect{width:220px}.mini-tic{width:190px}.mini-gomoku{width:220px}.game-search{min-width:0;width:100%}.catalog-heading{gap:18px}.catalog-heading h2{font-size:26px}.filter-bar{gap:8px}.filter-bar button{font-size:12px}.connection{display:none}.install-nudge{margin-top:16px}.install-nudge-actions .primary-button{min-height:50px}.board-overlay{padding:10px}.welcome-card{padding:22px 17px!important}.welcome-card h2{font-size:20px}.welcome-symbol{height:42px;width:42px;font-size:23px}.welcome-card p{margin-bottom:18px}.board.chess-board .piece{border-radius:5px;padding:8%}.share-link-row{flex-wrap:wrap}.share-link-row input{flex:1 1 100%;width:100%}.share-link-row>button{flex:1;min-height:48px}.install-platform-tabs button{font-size:12px}.dialog-actions>button{min-height:52px}.promotion-options button{min-height:100px;font-size:46px}.fr-grid{grid-template-columns:1fr}.fr-hero h1{font-size:32px}.fr-header{padding:18px}.fr-hero,.fr-section{padding:23px}.fr-hero p,.fr-section p,.fr-section li{font-size:16px}}
@media(max-width:600px){.topbar{gap:8px;padding-inline:12px}.top-actions{gap:6px;flex-shrink:0}.wordmark{font-size:27px;gap:0;min-width:0;flex-shrink:1}.language-picker{gap:3px}.language-link{box-sizing:border-box;min-width:38px;width:38px;min-height:44px;padding:0;font-size:11px}.profile-chip{min-width:44px;width:44px}.topbar #install-app{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
