body.tk-theme{--bg:#101416;--surface:#1b1e20;--line:#343a3d;--text:#f3f1e7;--muted:#b0b9bf;background:var(--bg);color:var(--text)}
.tk-theme .header{background:#101416;border-color:#2a3033;position:relative;z-index:5}
.tk-theme .header-menu-button{display:none}
.tk-theme #tekken{width:100%;max-width:1280px;padding:0;margin:0 auto;flex:1}
#tekken .ui-icon{width:24px;height:24px;object-fit:contain;flex-shrink:0;filter:brightness(0) invert(.94)}
#tekken .tk-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:55% 45%;align-items:center;min-height:680px}
#tekken .hero-art{display:block;position:absolute;left:-15px;top:0;width:57%;height:100%;overflow:visible;z-index:-1;--bottom-fade:150px;--side-fade:65px}
#tekken .hero-art img{display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center top;position:relative;left:0;top:0;mask-image:linear-gradient(to bottom,transparent 0,#000 42px,#000 calc(100% - var(--bottom-fade)),transparent 100%),linear-gradient(to right,transparent,#000 var(--side-fade),#000 calc(100% - var(--side-fade)),transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 42px,#000 calc(100% - var(--bottom-fade)),transparent 100%),linear-gradient(to right,transparent,#000 var(--side-fade),#000 calc(100% - var(--side-fade)),transparent);-webkit-mask-composite:source-in}
#tekken .hero-copy{grid-column:2;padding:50px 28px 66px 0;position:relative}
#tekken .platform{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#b3bdc3;font-size:14px;margin-bottom:22px}
#tekken .platform .ui-icon{margin-right:6px}
#tekken h1{font-size:clamp(42px,4.6vw,64px);font-weight:850;letter-spacing:-1.8px;line-height:1.08;margin:0 0 22px}
#tekken .hero-description{font-size:20px;line-height:1.5;color:#bec6cb;max-width:530px}
#tekken .mode-pills{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 28px}
#tekken .mode-pills>span{font-size:14px;min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #414548;padding:8px 15px;border-radius:6px;background:#15191b}
#tekken .button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:14px 22px;border:1px solid #a5a5a1;border-radius:8px;background:transparent;color:#f4f2e9;font-size:16px;font-weight:700;line-height:1.35;white-space:normal}
#tekken .button.primary{background:#df3024;border-color:#f35346;color:#fff9f2}
#tekken .button:disabled{opacity:.5;cursor:not-allowed}
#tekken .hero-actions>.primary{width:100%;font-size:20px;justify-content:center;position:relative;padding-inline:50px}
#tekken .hero-actions>.primary>.ui-icon{position:absolute;right:20px}
#tekken .secondary-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:12px;margin-top:12px}
#tekken .secondary-actions .button{font-size:14px;padding-inline:12px}
#tekken .button.download-game{width:100%;margin-top:12px;min-height:50px;border-color:#7c725e;background:#1a1d1f;font-size:15px;color:#e8d4a8}
#tekken .download-game .ui-icon{width:18px;height:18px;opacity:.85}
#tekken .build-note{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:24px;color:#c2c6c7}
#tekken .build-note .ui-icon{width:18px;height:18px}
#tekken .section{padding:32px 28px}
#tekken .section h2{font-size:36px;line-height:1.2;letter-spacing:-.9px;font-weight:800;margin:0 0 20px}
#tekken .section-heading{gap:24px;align-items:flex-start;margin-bottom:24px}
#tekken .section-heading h2{margin-bottom:10px}
#tekken .section-heading p{color:#b0bac0;font-size:15px}
#tekken .section-heading>.button{min-width:200px;min-height:54px;font-size:15px}
#tekken .directory{scroll-margin-top:24px;padding-top:22px}
#tekken .room-row{display:grid;grid-template-columns:64px minmax(0,1fr) 120px 180px;gap:22px;align-items:center;border:1px solid #343b3e;background:#14181a;border-radius:8px;padding:20px 22px;min-height:112px;margin-bottom:12px}
#tekken .room-symbol{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:#22272a;border:1px solid #3a4144;border-radius:8px}
#tekken .room-symbol .ui-icon{width:36px;height:36px}
#tekken .room-row h3{font-size:22px;letter-spacing:-.3px;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere}
#tekken .room-row p{font-size:15px;color:#aeb9bf;overflow-wrap:anywhere}
#tekken .room-occupancy{display:flex;align-items:center;gap:14px;color:#c1cbd1;font-size:18px}
#tekken .room-row .button{min-height:48px;border-color:#d7463c;color:#ef5a4c;font-size:16px;font-weight:600}
#tekken .directory-empty{min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:14px;color:#c2c8cb}
#tekken .directory-empty>.ui-icon{width:52px;height:52px;opacity:.35}
#tekken .directory-empty p{font-size:16px;max-width:620px}
#tekken .directory-empty small{font-size:14px;color:#a6b1b8;line-height:1.5}
#tekken .guide{padding-top:28px}
#tekken .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:26px}
#tekken .step{display:flex;align-items:flex-start;gap:22px;padding-right:24px;border-right:1px solid #353b3e}
#tekken .step:last-child{border:0;padding-right:0}
#tekken .step-number{display:block;flex-shrink:0;width:auto;height:auto;padding:0;margin:0;border:0;border-radius:0;background:transparent;font-size:29px;font-weight:800;color:#e6bc69;line-height:1.2}
#tekken .step-content{min-width:0}
#tekken .step-icon{width:68px;height:68px;display:flex;align-items:center;justify-content:center;background:#202528;border:1px solid #373e42;border-radius:8px;margin-bottom:20px;filter:none}
#tekken .step-icon .ui-icon{width:36px;height:36px}
#tekken .step h3{font-size:19px;line-height:1.35;font-weight:750;margin:0 0 8px}
#tekken .step p{font-size:16px;line-height:1.55;color:#b1bbc1}
#tekken .faq{margin:0 28px;padding:24px 0 36px;border-top:1px solid #31383b}
#tekken .faq h2{font-size:30px;margin-bottom:20px}
#tekken .faq details{border:1px solid #3d4345;border-radius:7px;margin:0 0 8px;padding:0;background:#131719}
#tekken .faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;padding:15px 20px;min-height:56px;font-size:16px;font-weight:400;color:#e5e5df}
#tekken .faq summary::-webkit-details-marker{display:none}
#tekken .faq summary .ui-icon{width:20px;height:20px;transform:rotate(90deg)}
#tekken .faq details[open] summary .ui-icon{transform:rotate(-90deg)}
#tekken .faq details>p{padding:0 20px 20px;max-width:960px;color:#b4bec4;font-size:15px}
#tekken #notice:empty{display:none}
#tekken #notice:not(:empty){padding:16px 24px;margin:20px 28px;border:1px solid #9c655c;border-radius:8px;color:#ffd0c7;background:#211c1c}
#tekken .form-page{width:100%;max-width:840px;padding:30px 28px 60px;margin:0 auto;min-height:calc(100dvh - 250px)}
#tekken .back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;min-height:44px;margin-bottom:24px;color:#c2c8cb}
#tekken .back-link .ui-icon{width:18px;height:18px}
#tekken .eyebrow{font-size:12px;font-weight:800;color:#e6bc69;letter-spacing:1.6px;margin:0 0 10px}
#tekken .form-page h1{font-size:38px;line-height:1.15;letter-spacing:-1px;overflow-wrap:anywhere}
#tekken .form-page>p:not(.eyebrow){font-size:16px;color:#b7c0c6}
#tekken form{margin-top:28px;max-width:650px}
#tekken label{display:block;margin:22px 0 10px;font-size:15px;font-weight:600;line-height:1.5}
#tekken input,#tekken select{width:100%;min-height:54px;padding:14px 16px;border:1px solid #576064;border-radius:8px;background:#1b2023;color:#f5f2e8;font:inherit}
#tekken .field-help{font-size:14px;color:#aeb9c0;line-height:1.5;margin:12px 0 22px}
#tekken .check{display:flex;align-items:center;gap:12px;font-size:15px;margin:26px 0}
#tekken .check input{width:22px;height:22px;min-height:22px;flex-shrink:0;padding:0;accent-color:#df3024}
#tekken #room-form>.primary,#tekken #invitation-form>.primary{width:100%;margin-top:24px}
#tekken #invitation-error{color:#ffc5ba;font-size:14px;margin-top:12px}
#tekken .lobby-page{max-width:1280px}
#tekken .lobby-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:40px}
#tekken .lobby-heading h1{font-size:36px;margin-bottom:10px}
#tekken .lobby-heading #rules{color:#b5bfc5;font-size:16px}
#tekken .phase{border:1px solid #626568;padding:10px 15px;border-radius:6px;color:#d0d6d8;font-size:14px;white-space:nowrap}
#tekken .lobby-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}
#tekken .lobby-grid h2{font-size:25px;margin-bottom:22px}
#tekken #players{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0 0 28px}
#tekken #players li{display:flex;flex-direction:column;gap:7px;padding:20px;border:1px solid #3e474c;background:#1a1f22;border-radius:8px;min-width:0;min-height:96px}
#tekken #players li>span:first-child{font-size:17px;font-weight:700;overflow-wrap:anywhere}
#tekken #players li>span:last-child{font-size:14px;color:#b2bdc4}
#tekken #players li.vacant{border-style:dashed;background:transparent;color:#b6bec3}
#tekken #players li.ready>span:last-child{color:#c6ee67}
#tekken .actions{display:flex;flex-wrap:wrap;gap:12px}
#tekken .lobby-actions .button{flex:1 1 160px}
#tekken .lobby-help{font-size:14px;color:#adb8bf;line-height:1.6;margin:22px 0;max-width:620px}
#tekken .invitation-panel{border-left:1px solid #3b4144;padding-left:28px;min-width:0}
#tekken #public-qr{display:block;width:220px;height:220px;max-width:100%;image-rendering:pixelated;background:white;border:12px solid white;border-radius:6px}
#tekken .invitation-panel input{font-size:12px;padding:12px;min-height:48px}
#tekken .invitation-panel .button{width:100%;font-size:14px;margin-top:12px}
#tekken .text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;border:0;background:none;text-decoration:underline;text-underline-offset:5px;font-size:14px;color:#c1c7cb}
#tekken .owned-row{padding:24px 0;border-top:1px solid #3b4245}
#tekken .owned-row h2{font-size:22px;margin:0 0 16px}
#tekken #owned-list{margin:28px 0}
#tekken #notice a{display:inline-flex;align-items:center;min-height:44px;margin-left:12px;text-decoration:underline;font-weight:700}
#tekken dialog{background:#1b2023;border:1px solid #596166;border-radius:12px;color:#f3f1e7;padding:28px;max-width:calc(100vw - 40px);width:480px}
#tekken dialog::backdrop{background:#000b}
#tekken dialog form{margin:0}
#tekken dialog h2{font-size:26px;margin-bottom:14px}
#tekken dialog p{color:#b7c1c7}
#tekken dialog .actions{margin-top:24px}
#tekken :focus-visible{outline-color:#e6bc69}
.tk-theme .tk-footer{width:100%;max-width:none;min-height:150px;margin-top:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:40px;padding:28px max(28px,calc((100vw - 1280px)/2));background:#101416;border-top:1px solid #30373a}
.tk-theme .tk-footer .brand{font-size:26px;font-weight:900;letter-spacing:-.8px;display:inline-block}
.tk-theme .tk-footer .footer-brand p{font-size:16px;color:#aeb7be;margin-top:5px}
.tk-theme .tk-footer .footer-links{display:flex;align-items:center;justify-content:center;gap:28px;height:auto}
.tk-theme .tk-footer .footer-links>a{min-height:44px;border:0;font-size:16px;color:#c4cbd0;white-space:nowrap}
.tk-theme .tk-footer .footer-store,.tk-theme .tk-footer .footer-telegram{font-size:16px;color:#c4cbd0;min-height:44px;max-width:none;display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.tk-theme .tk-footer .ui-icon{width:18px;height:18px;filter:brightness(0) invert(.85)}
@media(min-width:761px) and (max-width:1200px){.tk-theme .tk-footer{gap:12px 24px;grid-template-columns:1fr auto auto}.tk-theme .tk-footer .footer-links{grid-column:2/4;grid-row:1;gap:20px}.tk-theme .tk-footer .footer-store{grid-column:2;grid-row:2}.tk-theme .tk-footer .footer-telegram{grid-column:3;grid-row:2}.tk-theme .tk-footer .footer-brand{grid-row:1/3}}
@media(min-width:761px) and (max-width:1100px){#tekken .tk-hero{display:flex;flex-direction:column;min-height:0;padding-top:560px;align-items:stretch}#tekken .hero-art{width:560px;height:560px;top:0;left:calc(50% - 280px);--bottom-fade:100px;--side-fade:40px}#tekken .hero-art img{width:100%;height:100%;left:0;top:0;object-position:center top}#tekken .hero-copy{padding:0 32px 44px;max-width:740px}#tekken h1{font-size:52px}#tekken .hero-description{max-width:620px}#tekken .hero-actions{max-width:620px}#tekken .room-row{grid-template-columns:54px minmax(0,1fr) 75px 110px;gap:16px;padding:18px}#tekken .room-symbol{width:54px;height:54px}#tekken .room-row h3{font-size:20px}#tekken .room-row .button{padding-inline:14px}#tekken .steps{gap:22px}#tekken .step{gap:14px;padding-right:16px}#tekken .step h3{font-size:17px}#tekken .step p{font-size:14px}#tekken .lobby-grid{grid-template-columns:minmax(0,1fr) 250px;gap:26px}#tekken #players{grid-template-columns:1fr}#tekken .lobby-heading h1{font-size:30px}}
@media(max-width:760px){
 #tekken .tk-hero{display:flex;flex-direction:column;min-height:0;padding-top:340px;align-items:stretch}
 #tekken .hero-art{top:0;left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),360px);height:auto;aspect-ratio:1;--bottom-fade:80px;--side-fade:24px}
 #tekken .hero-art img{width:100%;height:auto;left:0;top:0;object-position:center top}
 #tekken .hero-copy{padding:0 20px 32px;width:100%}
 #tekken .platform{font-size:12px;margin-bottom:16px;gap:5px}
 #tekken .platform .ui-icon{width:20px;height:20px;margin-right:4px}
 #tekken h1{font-size:38px;letter-spacing:-1.2px;margin-bottom:18px}
 #tekken .hero-description{font-size:17px;line-height:1.5}
 #tekken .mode-pills{gap:8px;margin:20px 0 22px}
 #tekken .mode-pills>span{font-size:12px;min-height:36px;padding:7px 10px}
 #tekken .button{font-size:15px;padding:13px 16px;min-height:52px}
 #tekken .hero-actions>.primary{font-size:18px;min-height:56px}
 #tekken .secondary-actions{gap:10px}
 #tekken .secondary-actions .button{font-size:12px;padding:12px 8px;min-height:52px}
 #tekken .build-note{font-size:12px;margin-top:20px}
 #tekken .section{padding:28px 20px}
 #tekken .section h2{font-size:28px;letter-spacing:-.6px;margin-bottom:18px}
 #tekken .section-heading{display:block;margin-bottom:22px}
 #tekken .section-heading h2{margin-bottom:10px}
 #tekken .section-heading p{font-size:14px}
 #tekken .section-heading>.button{margin-top:18px;width:100%;min-height:50px}
 #tekken .directory{padding-top:20px}
 #tekken .room-row{grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:16px;min-height:120px}
 #tekken .room-symbol{width:46px;height:46px;grid-row:1/3}
 #tekken .room-symbol .ui-icon{width:28px;height:28px}
 #tekken .room-row h3{font-size:17px;line-height:1.25}
 #tekken .room-row p{font-size:12px;line-height:1.4}
 #tekken .room-row>div:nth-child(2){grid-column:2/4}
 #tekken .room-occupancy{grid-column:2;font-size:15px;gap:6px}
 #tekken .room-occupancy .ui-icon{width:18px;height:18px}
 #tekken .room-row .button{grid-column:3;min-height:44px;font-size:13px;padding:10px 18px}
 #tekken .directory-empty{min-height:180px}
 #tekken .directory-empty p{font-size:14px}
 #tekken .directory-empty small{font-size:13px}
 #tekken .steps{grid-template-columns:1fr;gap:26px;margin-top:24px}
 #tekken .step{border:0;padding:0;gap:16px}
 #tekken .step-number{font-size:26px;width:34px;flex-shrink:0}
 #tekken .step-content{position:relative;padding-left:66px}
 #tekken .step-icon{position:absolute;left:0;top:0;width:48px;height:48px;margin:0}
 #tekken .step-icon .ui-icon{width:28px;height:28px}
 #tekken .step h3{font-size:17px}
 #tekken .step p{font-size:14px}
 #tekken .faq{margin:0 20px;padding:24px 0 28px}
 #tekken .faq h2{font-size:26px}
 #tekken .faq summary{font-size:14px;padding:14px;min-height:58px}
 #tekken .faq details>p{font-size:14px;padding:0 14px 18px}
 #tekken .form-page{padding:20px 20px 40px;min-height:calc(100dvh - 330px)}
 #tekken .form-page h1{font-size:30px}
 #tekken .back-link{margin-bottom:20px}
 #tekken #notice:not(:empty){margin:16px 20px;padding:14px;font-size:14px}
 #tekken .lobby-heading{display:block;margin-bottom:28px}
 #tekken .lobby-heading .phase{display:inline-flex;margin-top:16px}
 #tekken .lobby-grid{display:block}
 #tekken #players{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tekken #players li{padding:14px;min-height:82px}
 #tekken #players li>span:first-child{font-size:14px}
 #tekken #players li>span:last-child{font-size:12px;line-height:1.4}
 #tekken .lobby-actions .button{flex-basis:100%}
 #tekken .invitation-panel{border-left:0;border-top:1px solid #3b4144;padding:24px 0 0;margin-top:28px}
 #tekken #public-qr{margin:auto}
 .tk-theme .tk-footer{grid-template-columns:1fr 1fr;gap:16px 20px;align-items:start;padding:28px 20px}
 .tk-theme .tk-footer .footer-brand{grid-column:1/-1}
 .tk-theme .tk-footer .brand{font-size:23px}
 .tk-theme .tk-footer .footer-brand p{font-size:14px}
 .tk-theme .tk-footer .footer-links{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap;gap:6px 24px}
 .tk-theme .tk-footer .footer-links>a,.tk-theme .tk-footer .footer-store,.tk-theme .tk-footer .footer-telegram{font-size:14px}
 .tk-theme .tk-footer .footer-store{white-space:normal;max-width:180px}
 .tk-theme .tk-footer .footer-telegram{justify-self:end}
}
@media(max-width:360px){#tekken .tk-hero{padding-top:280px}#tekken .hero-art{height:auto}#tekken h1{font-size:33px}#tekken .hero-description{font-size:16px}#tekken .secondary-actions .button{font-size:11px}#tekken .mode-pills{gap:6px}#tekken .mode-pills>span{font-size:11px;padding-inline:9px}}
