/* TimeKora screens, on top of the Majles/Codex design (styles.css): same palette, cards, buttons and tabs. */
.tk-lead{color:#d6cfdd;font-size:15px;margin:-10px 0 18px}
.tk-sub{font-size:18px;margin:26px 0 10px}
.tk-fine{color:#a9a2b0;font-size:12.5px;line-height:1.5;margin:22px 0 8px}.tk-fine a{color:#d4a5ff}
.tk-mini{color:#c8c1cf;font-size:13px;margin:8px 0 0}
.tk-empty{text-align:center;display:grid;justify-items:center;gap:6px}.tk-empty svg{width:40px;height:40px;color:var(--gold)}.tk-empty h2{margin:4px 0 0;font-size:19px}.tk-empty p{margin:0;color:#d0c8d7;font-size:14px}
.tk-fanmap-link{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 12px;border-radius:999px;border:1px solid #4c6b66;background:#1d2a29;color:#bff2ea;font-size:13px}.tk-fanmap-link svg{width:20px;height:20px}

/* Competition list */
.tk-comps{display:grid;gap:12px}
.tk-comp{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border-radius:20px;border:1px solid #6f5a99;background:linear-gradient(110deg,#2f2442,#1f1b29);box-shadow:0 4px 0 #120f18;text-align:start;white-space:normal}
.tk-comp-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;background:linear-gradient(#ffdf73,#e3a51d);color:#3b2a00;box-shadow:0 3px 0 #6b4a0e}.tk-comp-icon svg{width:28px;height:28px}
.tk-comp-copy{display:grid;gap:3px;flex:1;min-width:0}.tk-comp-copy strong{font-size:17px;line-height:1.3}.tk-comp-copy small{font-size:12.5px;color:#ddd3ec;font-weight:400}
.tk-comp-side{display:grid;justify-items:end;gap:6px;flex:none}
.tk-chip{display:inline-block;padding:3px 10px;border-radius:999px;border:1px solid #6b6573;font-size:11.5px;color:#d6cfdd;white-space:nowrap}
.tk-chip.open{border-color:#3fbf66;color:#8ff0ad}.tk-chip.in{border-color:var(--gold);color:var(--gold)}.tk-chip.done{border-color:#7f7a88;color:#bdb6c5}
.tk-entry{font-weight:800;color:var(--gold);font-size:14px}

/* Competition page */
.tk-enter,.tk-entered{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-radius:18px;border:1px solid #59504a;background:linear-gradient(#29272a,#19181b);margin-bottom:12px}
.tk-enter div{display:grid;gap:2px}.tk-enter small,.tk-entered small{color:#d0c8d7;font-size:12.5px;font-weight:400}.tk-enter.closed{justify-content:center;color:#d0c8d7}
.tk-entered{justify-content:flex-start;border-color:#3d6e4c;background:linear-gradient(#20302a,#17201b)}.tk-entered>svg{width:26px;height:26px;color:#8ff0ad}.tk-entered>span{display:grid;gap:2px;flex:1}
.tk-star-hint{display:flex;align-items:center;gap:4px;width:100%}.tk-star-hint svg{width:16px;height:16px;color:var(--gold)}
.tk-need{width:100%;text-align:end}
.tk-rules{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0 0 14px;font-size:12.5px;color:#d0c8d7}.tk-rules b{color:var(--gold)}
.tk-matches{display:grid;gap:12px}
.tk-match{padding:12px 14px 14px;border-radius:20px;border:1px solid #48434f;background:linear-gradient(#2c2a31,#1f1e23);box-shadow:0 3px 0 #111}
.tk-match.is-live{border-color:#c2374a}.tk-match.is-double{border-color:var(--gold)}
.tk-match header{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#bdb6c5;margin-bottom:10px}.tk-match header svg{width:13px;height:13px;vertical-align:-2px}
.tk-league{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-live{display:inline-flex;align-items:center;gap:5px;color:#ff8a96;font-weight:800}.tk-live i{width:8px;height:8px;border-radius:50%;background:#ff4d5e;animation:tk-blink 1.2s infinite}
@keyframes tk-blink{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.tk-live i,.tk-pulse{animation:none}}
.tk-ft{display:inline-flex;align-items:center;gap:4px}
.tk-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.tk-team{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;min-width:0}.tk-team strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.tk-dot{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--c,#9aa3b2);border:2px solid #0006;flex:none}
.tk-score{display:flex;align-items:center;gap:6px}
.tk-colon{font-size:26px;font-weight:800;color:#8d8794}
.tk-stepper{display:flex;flex-direction:column;align-items:center;gap:4px}
.tk-step{width:44px;height:36px;min-height:0;padding:0;border-radius:12px;font-size:22px;line-height:1;background:#3a3640;border:1px solid #57515f;box-shadow:0 2px 0 #111}
.tk-step:disabled{opacity:.35}
.tk-goal{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#141316;border:1px solid #514b58;font-size:28px;font-weight:800;font-variant-numeric:tabular-nums}.tk-goal.empty{color:#6c6672}
.tk-scorer{display:grid;gap:4px;margin-top:12px;font-size:13px;color:#d0c8d7}.tk-scorer small{color:var(--gold)}
.tk-actions{display:flex;gap:8px;margin-top:12px}.tk-save{flex:1}.tk-save svg{width:16px;height:16px;vertical-align:-3px}
.tk-star{display:flex;align-items:center;gap:4px;min-width:72px;justify-content:center;border-radius:14px;background:#2a2730;border:1px solid #5b5463;color:#d6cfdd}.tk-star svg{width:20px;height:20px}
.tk-star.on{background:#4a3a0c;border-color:var(--gold);color:var(--gold)}.tk-star.on svg{fill:currentColor}
.tk-real{margin:12px 0 0;font-size:13.5px;color:#d6cfdd;text-align:center}
.tk-ifends{margin:10px 0 0;text-align:center;font-size:14px;color:#ffd9de}.tk-ifends b{color:#fff;font-size:17px}
.tk-earned{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:10px 0 0}.tk-earned span{padding:2px 9px;border-radius:999px;font-size:12px;border:1px solid}
.tk-earned .yes{border-color:#3fbf66;color:#8ff0ad}.tk-earned .no{border-color:#5c5663;color:#8f8996;text-decoration:line-through}.tk-earned b{color:var(--gold);font-size:18px}
.tk-split{display:flex;margin-top:12px;border-radius:10px;overflow:hidden;font-size:11px;min-height:22px}
.tk-split span{flex:var(--w,1) 1 0;min-width:fit-content;padding:3px 6px;white-space:nowrap;background:#3a3640;color:#e6e0ec}.tk-split span:nth-child(2){background:#2b2930}.tk-split span:nth-child(3){background:#45404c}
.tk-table{margin-top:22px}.tk-table h2{font-size:19px;margin:0 0 8px}
.tk-table ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tk-table li{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;padding:8px 12px;border-radius:14px;background:#26252b;border:1px solid #3d3a42}
.tk-table li.you{border-color:var(--gold);background:#2f2a1b}.tk-table li.sep{margin-top:6px}
.tk-table .rank{font-weight:800;color:#bdb6c5}.tk-table .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-table .pts{font-weight:800;color:var(--gold)}

/* Trophies */
.tk-trophies{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tk-trophy{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;border:1px solid #4c4852;background:linear-gradient(#2c2a31,#1f1e23)}
.tk-trophy>span:last-child{display:grid;gap:2px}.tk-trophy small{color:#d0c8d7;font-size:12.5px}
.tk-cup{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;flex:none}.tk-cup svg{width:28px;height:28px}
.place-1 .tk-cup{background:linear-gradient(#ffe07a,#d9a21b);color:#3b2a00}.place-2 .tk-cup{background:linear-gradient(#eef0f5,#a8adb8);color:#2b2e35}.place-3 .tk-cup{background:linear-gradient(#f2b88a,#a7643a);color:#3a1d08}

/* Fan Map */
.tk-setup{margin-bottom:14px}.tk-setup summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}.tk-setup summary small{color:#d0c8d7;font-weight:400}
.tk-setup label{display:grid;gap:4px;margin-top:12px;font-size:13.5px;color:#d6cfdd}.tk-setup label small{color:#a9a2b0;font-size:12px}
.tk-consent{display:flex!important;grid-template-columns:none;align-items:flex-start;gap:10px!important}.tk-consent input{width:22px;height:22px;flex:none;margin-top:2px}
.tk-map{display:block;width:100%;height:auto;margin:12px 0 6px}.tk-map-bg{fill:#17181c;stroke:#3a3a42}
.tk-map.empty{display:grid;place-items:center;min-height:140px;border-radius:18px;background:#17181c;border:1px dashed #4a4752;text-align:center;padding:16px}.tk-map.empty p{margin:0;color:#c8c1cf;font-size:13.5px}
.tk-city{cursor:pointer}.tk-city text{fill:#e6e0ec;font-size:11px;paint-order:stroke;stroke:#111;stroke-width:3px}.tk-city.on circle:not(.tk-pulse){stroke:#fff;stroke-width:3}
.tk-pulse{opacity:.35;animation:tk-ring 1.6s ease-out infinite;transform-box:fill-box;transform-origin:center}@keyframes tk-ring{from{transform:scale(.8);opacity:.5}to{transform:scale(1.4);opacity:0}}
.tk-cities{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.tk-cities button{display:grid;gap:5px;width:100%;padding:10px 12px;border-radius:14px;background:#26252b;border:1px solid #3d3a42;text-align:start;min-height:0;box-shadow:none}
.tk-cities li.on button{border-color:#7fd9d0}.tk-cities small{color:#c8c1cf;font-size:12px;font-weight:400}
.tk-bars{display:flex;height:8px;border-radius:6px;overflow:hidden;background:#1a191d}.tk-bar{flex:var(--w,1) 1 0;background:var(--c,#6c6672)}.tk-bar.other{background:#55505c}
.tk-shares{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 4px 2px;font-size:13px;color:#d6cfdd}.tk-shares span{display:inline-flex;align-items:center;gap:5px}.tk-shares .tk-dot{width:10px;height:10px}
.tk-match-pick{display:grid;gap:4px;margin:12px 0;font-size:13.5px;color:#d6cfdd}
.tk-sides{padding:12px 14px;border-radius:18px;border:1px solid #48434f;background:#1f1e23;margin-bottom:8px}.tk-sides>p{margin:0 0 10px;font-size:14px}.tk-sides svg{width:15px;height:15px;vertical-align:-2px}
.tk-sides>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tk-side{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;background:#2c2a31;border:1px solid #57515f;white-space:normal}.tk-side.on{border-color:var(--gold);background:#3a3218;color:var(--gold)}
.tk-react{display:grid!important;grid-template-columns:repeat(4,1fr)}.tk-react button{font-size:28px;min-height:56px;border-radius:16px;background:#2c2a31;border:1px solid #57515f}
.tk-react button.pop{transform:scale(1.15);transition:transform .15s}
/* Sign-in sheet scene */
.tk-scene-score{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:64px;font-weight:800;color:#fff;direction:ltr}.tk-scene-score i{color:var(--gold);font-style:normal}
@media(max-width:380px){.tk-goal{width:46px;height:46px;font-size:24px}.tk-step{width:40px}.tk-team strong{font-size:13.5px}}
