.tl-page.segment-page-shell{width:min(1280px,calc(100% - 48px));max-width:1280px;margin:0 auto;padding:.2rem 0 1rem;box-sizing:border-box;color:#1e293b}
.tl-page [hidden],.tl-lobby [hidden]{display:none!important}
.tl-breadcrumb{font-size:.85rem;color:#64748b;margin-bottom:1.5rem}.tl-breadcrumb a{color:inherit}
.tl-landing{min-width:0;max-width:none;margin:0}.tl-landing-head{display:flex;align-items:center;justify-content:space-between;gap:2rem}.tl-landing-copy{min-width:0}.tl-landing h1{font-size:clamp(2rem,7vw,3.2rem);line-height:1.1;margin:.65rem 0}.tl-intro{font-size:1.1rem;line-height:1.5;margin-bottom:1.5rem}
.tl-beta{flex:0 0 auto;margin:0;padding:.35rem .65rem;border-radius:20px;background:#ede9fe;color:#6d28d9;font-size:.78rem;font-weight:650}
.tl-card{padding:1.2rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 6px 22px #0f172a08}
.tl-create{display:block}.tl-create label,.tl-lobby label{display:grid;gap:.35rem;font-size:.9rem;font-weight:600}
.tl-page input,.tl-page select,.tl-lobby select{width:100%;min-height:46px;padding:.6rem .75rem;border:1px solid #cbd5e1;border-radius:10px;background:white;color:#1e293b;font:inherit;box-sizing:border-box}
.tl-page button,.tl-lobby button{min-height:46px;padding:.65rem 1rem;border:1px solid #ddd6fe;border-radius:12px;background:#f5f3ff;color:#5b21b6;font-family:inherit;font-size:.95rem;font-weight:600;line-height:1.3;cursor:pointer;touch-action:manipulation}
.tl-page button:focus-visible,.tl-page select:focus-visible,.tl-page input:focus-visible,.tl-lobby button:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}
.tl-page button:disabled{cursor:default;opacity:.55}.tl-page .tl-primary{background:#7c3aed;color:white;border-color:#7c3aed;font-weight:750}
.tl-help{color:#64748b;font-size:.85rem;line-height:1.6;margin:1rem .25rem}.tl-page details{font-size:.85rem;line-height:1.6}.tl-page summary{cursor:pointer}
.tl-game-header{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-bottom:1rem}.tl-game-header>button{margin-left:auto;font-size:.8rem}
.tl-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;margin-bottom:.8rem}.tl-score{padding:.7rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff;min-width:0}.tl-score.is-active{border-color:#a78bfa;background:#f5f3ff}.tl-score b{display:block;overflow-wrap:anywhere;font-size:.9rem}.tl-score strong{font-size:1.45rem;color:#6d28d9}.tl-score small{display:block;font-size:.68rem;color:#64748b;line-height:1.4}
.tl-potbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem;border:1px solid #ddd6fe;border-radius:12px;background:#faf8fff5;backdrop-filter:blur(8px);box-shadow:0 3px 12px #1e293b0a}.tl-potbar strong{font-size:1.75rem;margin-left:.4rem;color:#6d28d9}.tl-potbar>span:last-child{font-size:.85rem;text-align:right}
.tl-status{min-height:1.5em;margin:.8rem 0;color:#475569;font-size:.9rem;line-height:1.5}.tl-current{font-size:1.2rem;font-weight:650;line-height:1.45;margin:.85rem 0;border-color:#c4b5fd;background:#fff}.tl-current small{display:block;color:#7c3aed;font-weight:600;font-size:.72rem;margin-bottom:.4rem;letter-spacing:.06em;text-transform:uppercase}.tl-current.is-correct{border-color:#34d399;background:#ecfdf5;animation:tl-pop .22s ease-out}.tl-current.is-wrong{border-color:#fda4af;background:#fff1f2}.tl-current a{display:inline-block;font-size:.8rem;margin-top:.5rem;color:#64748b}.tl-current .tl-revealed-year{display:block;font-size:1.6rem;margin:.35rem 0;color:#6d28d9}
.tl-timeline{position:relative;display:grid;gap:0;padding:0 0 1rem 20px;margin:1rem 0}.tl-timeline::before{content:'';position:absolute;left:7px;top:15px;bottom:20px;width:3px;background:#ddd6fe}
.tl-event{position:relative;background:#fff;padding:.8rem 1rem;margin:.45rem 0;border:1px solid #e2e8f0;border-radius:13px;line-height:1.45;font-size:.92rem;overflow-wrap:anywhere}.tl-event::before{content:'';position:absolute;left:-19px;top:1.15rem;width:12px;height:12px;border:3px solid #ede9fe;border-radius:50%;background:#8b5cf6;box-sizing:border-box}.tl-event strong{display:block;font-size:1.15rem;color:#6d28d9;margin-bottom:.2rem}.tl-event.is-reveal{border-color:#fb7185;background:#fff1f2}
.tl-page .tl-slot{min-height:48px;border:2px dashed #c4b5fd;background:#f5f3ff;margin:.35rem 0;font-size:.8rem}.tl-page .tl-slot:hover:not(:disabled){background:#ede9fe;border-color:#8b5cf6}
.tl-decisions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.tl-decisions:empty{display:none}.tl-decisions button{min-height:52px}.tl-page #tl-end{display:block;min-height:46px;margin:1.5rem auto 0;padding:.7rem 1.15rem;border:1px solid #fecdd3;border-radius:12px;background:#fff1f2;color:#be123c;font-size:.85rem;font-weight:600;text-align:center}.tl-page #tl-end:hover{background:#ffe4e6;border-color:#fda4af}.tl-error{min-height:1.5em;color:#b91c1c;font-size:.9rem}
.tl-page .tl-decisions button[data-action="bank"]{background:#f5f3ff;color:#5b21b6;border-color:#ddd6fe}
.tl-page .tl-decisions button[data-action="continue"]{background:#7c3aed;color:#fff;border-color:#7c3aed}
.tl-lobby{display:grid;gap:.75rem;text-align:left;margin:1rem 0;padding:1rem;border:1px solid #ddd6fe;background:#faf8ff;border-radius:12px}.tl-lobby p{font-size:.8rem;line-height:1.5;color:#64748b;margin:0}.tl-team-member{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:.5rem;align-items:center;font-size:.85rem}.tl-team-member>span{overflow-wrap:anywhere}.tl-lobby h4{margin:0;font-weight:650}.tl-lobby select{font-size:.85rem}.tl-lobby-message{color:#6d28d9;font-size:.8rem}.tl-result-actions{display:flex;gap:.6rem;flex-wrap:wrap}
@keyframes tl-pop{from{transform:scale(.98)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.tl-current.is-correct{animation:none}}
@media(min-width:681px){.tl-timeline{max-width:700px;margin:1rem auto}.tl-game-header{margin-top:1rem}}
.tl-page .is-finished .tl-timeline{margin-inline:0}
@media(max-width:760px){.tl-page.segment-page-shell{width:calc(100% - 14px)}}
@media(max-width:760px){.tl-landing-head{display:block}.tl-landing-head>.tl-beta{display:none}}
.tl-setup-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:32px;margin-bottom:.85rem}
.tl-setup-nav span,.tl-mode-progress-slot span{display:inline-flex;align-items:center;gap:.5rem;margin-left:auto;padding:.42rem .75rem;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.82rem;font-weight:600;white-space:nowrap}
.tl-setup-nav span::before,.tl-mode-progress-slot span::before{content:'';width:9px;height:9px;border-radius:50%;background:#7c3aed}
.tl-create.is-mode-stage .tl-setup-nav{min-height:0;margin:0}
.tl-page .tl-setup-nav button{padding:0 .2rem;min-height:32px;border:0;background:transparent;color:#64748b;font-size:.82rem;font-weight:500}
.tl-mode-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:0 0 1.15rem;padding:0 0 1rem;border-bottom:1px solid #e2e8f0}
.tl-setup-stage .tl-mode-heading h2{margin:0;font-size:1.7rem;font-weight:750;line-height:1.2;outline:none}
.tl-mode-heading p{margin:.45rem 0 0;color:#64748b;font-size:.9rem;font-weight:400;line-height:1.5}
.tl-setup-stage h2{margin:0 0 1rem;font-size:1.25rem;font-weight:700;line-height:1.3;outline:none}
.tl-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.tl-choice-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.tl-page .tl-choice-grid .tl-choice-test{grid-column:1/-1;min-height:64px;flex-direction:row;align-items:center;justify-content:space-between}
.tl-choice-test .tl-choice-arrow{margin:0;padding:0}
.tl-page .tl-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.5rem;min-height:100px;padding:1rem;border:1.5px solid #ddd6fe;background:#fff;color:#1e293b;text-align:left;border-radius:15px;transition:background .15s,border-color .15s}
.tl-page .tl-choice:hover,.tl-page .tl-choice.is-selected{border-color:#8b5cf6;background:#f5f3ff}
.tl-choice strong{font-size:1rem;font-weight:650;line-height:1.35}
.tl-choice small{color:#64748b;font-size:.78rem;font-weight:400;line-height:1.4}
.tl-choice-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#ede9fe;font-size:1.25rem}
.tl-page .tl-choice-mode{min-height:290px;justify-content:flex-start;gap:.85rem;padding:1.2rem}
.tl-mode-card-top{display:flex;align-items:center;justify-content:space-between;gap:.55rem;width:100%;min-width:0}
.tl-mode-card-top small{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:.25rem .55rem;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.68rem;font-weight:650;line-height:1.25;text-align:center}
.tl-choice-mode[data-mode="solo"] .tl-mode-card-top small{background:#fdf2f8;color:#be185d}
.tl-choice-mode[data-mode="individual"] .tl-mode-card-top small{background:#f5f3ff;color:#6d28d9}
.tl-choice-mode[data-mode="teams"] .tl-mode-card-top small{background:#eff6ff;color:#1d4ed8}
.tl-choice-mode strong{font-size:1.2rem;font-weight:750}
.tl-mode-description{color:#64748b;font-size:.85rem;font-weight:400;line-height:1.65;overflow-wrap:anywhere}
.tl-mode-footer{display:flex;align-items:center;justify-content:space-between;gap:.65rem;width:100%;margin-top:auto;padding-top:1rem;border-top:1px solid #e2e8f0;color:#6d28d9;font-size:.88rem;font-weight:700;line-height:1.35}
.tl-mode-footer .tl-choice-arrow{flex-shrink:0;margin:0 0 0 auto}
.tl-choice-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f5f3ff;color:#7c3aed;font-size:1.25rem;line-height:1;margin-top:auto}
.tl-setup-help{margin:1rem 0 0;font-size:.82rem;line-height:1.5;color:#64748b}
.tl-setup-summary{margin:0 0 1rem;font-size:.85rem;line-height:1.5;color:#6d28d9}
.tl-home-examples{margin:1.2rem 0 1.5rem}
.tl-home-examples h2{margin:0 0 .65rem;font-size:1rem;font-weight:700;line-height:1.4}
.tl-home-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.tl-home-example{min-width:0;padding:.75rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.tl-home-example>div{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.35rem}
.tl-home-example strong{color:#6d28d9;font-size:.95rem}
.tl-home-example span{overflow:hidden;color:#64748b;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}
.tl-home-example p{margin:0;color:#334155;font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}
.tl-page .tl-create-submit{width:100%;margin-top:1rem;min-height:52px}
.tl-entry-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin-top:1.1rem}
.tl-entry-card{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;min-width:0;padding:1.2rem}
.tl-entry-card-heading{display:flex;align-items:flex-start;gap:.8rem;min-width:0}
.tl-entry-card-heading>div{min-width:0}
.tl-entry-card h2{margin:0 0 .3rem;font-size:1.05rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.tl-entry-card p{margin:0;color:#64748b;font-size:.82rem;line-height:1.55}
.tl-entry-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#f5f3ff;color:#7c3aed;font-size:1.55rem;font-weight:700}
.tl-entry-solo .tl-entry-icon{background:#fffbeb}
.tl-entry-join-form{display:flex;align-items:stretch;flex-wrap:wrap;gap:.55rem}
.tl-page .tl-entry-join-form input{flex:1 1 100px;min-width:0;width:auto;background:#f8fafc;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
.tl-page .tl-entry-card button{padding:.65rem .9rem;font-size:.82rem;font-weight:650}
.tl-page .tl-entry-join-form button{background:#0f172a;border-color:#0f172a;color:#fff}
.tl-page .tl-entry-join-form button:hover{background:#334155}
.tl-entry-card>button{align-self:flex-end;display:inline-flex;align-items:center;justify-content:center;gap:.6rem}
.tl-page #tl-last-solo{padding:1.4rem;background:#f8f7ff;border-color:#e9e5ff;border-radius:20px}
.tl-last-solo-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-bottom:1rem;border-bottom:1px solid #e9e5ff}
.tl-page #tl-last-solo h2{font-size:1.3rem;margin:0 0 .4rem}
.tl-page #tl-last-solo-summary{margin:0;color:#6d28d9;font-size:.95rem;font-weight:600;line-height:1.5}
.tl-last-solo-outcome{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .65rem;border-radius:999px;background:#d1fae5;color:#047857;font-size:.78rem;font-weight:650}
.tl-page #tl-last-solo-stats{gap:.8rem;margin:1.1rem 0}
.tl-page #tl-last-solo-stats>div{padding:1rem;border-color:#ede9fe;border-radius:15px}
.tl-page #tl-last-solo-stats dt{font-size:.73rem;font-weight:550;line-height:1.5;color:#64748b}
.tl-page #tl-last-solo-stats dd{font-size:1.9rem;font-variant-numeric:tabular-nums;margin:.45rem 0 0;line-height:1.2}
.tl-page #tl-last-solo-stats>div:last-child dd{color:#7c3aed}
.tl-page #tl-last-solo-date{font-size:.75rem;color:#64748b}
@media(max-width:760px){.tl-entry-actions{grid-template-columns:1fr}.tl-entry-card{padding:1rem}.tl-page #tl-last-solo{padding:1rem}.tl-page #tl-last-solo-stats{gap:.45rem}.tl-page #tl-last-solo-stats>div{padding:.75rem .5rem}.tl-page #tl-last-solo-stats dd{font-size:1.5rem}.tl-page #tl-last-solo-stats dt{font-size:.68rem}}
@media(max-width:760px){.tl-mode-grid{grid-template-columns:1fr}.tl-setup-stage .tl-mode-heading h2{font-size:1.45rem}.tl-page .tl-choice-mode{min-height:150px}}
@media(max-width:400px){.tl-page .tl-choice{padding:.85rem}.tl-choice-grid{gap:.55rem}.tl-choice-grid-three .tl-choice{padding:.75rem .55rem}.tl-choice-grid-three strong{font-size:.9rem}.tl-mode-card-top small{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){.tl-page .tl-choice{transition:none}}
.tl-setup-categories{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e2e8f0}
.tl-setup-categories h3,.tl-result-next h3{margin:0 0 .75rem;font-size:1rem;font-weight:650}
.tl-category-modes,.tl-category-options{display:flex;flex-wrap:wrap;gap:.5rem}
.tl-category-options{margin-top:.65rem}
.tl-page .tl-category-picker button{min-height:42px;padding:.55rem .8rem;background:#fff;border-color:#ddd6fe;color:#475569;font-size:.83rem;font-weight:550}
.tl-page .tl-category-picker button[aria-pressed="true"]{background:#ede9fe;border-color:#8b5cf6;color:#5b21b6}
.tl-category-count{margin:.65rem 0 0;color:#64748b;font-size:.78rem;line-height:1.5}
.tl-category-warning{margin:.4rem 0 0;color:#b45309;font-size:.8rem;line-height:1.45}
.tl-result{position:relative;isolation:isolate;overflow:hidden;scroll-margin-top:7rem;margin-bottom:1.25rem;padding:1.75rem 1.25rem;border-color:#ddd6fe;background:linear-gradient(145deg,#faf5ff,#eef2ff);outline:none}
.tl-result.has-winner{border-color:#e9d5ff;background:linear-gradient(145deg,#fff8e7 0%,#faf5ff 48%,#eef2ff 100%)}
.tl-result.has-winner::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 8% 9%,#c4b5fd 0 4px,transparent 5px),radial-gradient(circle at 25% 6%,#fbbf24 0 3px,transparent 4px),radial-gradient(circle at 83% 7%,#f9a8d4 0 4px,transparent 5px),radial-gradient(circle at 93% 20%,#a7f3d0 0 4px,transparent 5px),radial-gradient(circle at 14% 28%,#f9a8d4 0 3px,transparent 4px),radial-gradient(circle at 75% 23%,#c4b5fd 0 3px,transparent 4px)}
.tl-result-celebration{text-align:center;padding:.25rem .25rem 1.25rem}
.tl-result-trophy{display:block;font-size:3.5rem;line-height:1.15;margin-bottom:.5rem;animation:tl-trophy .45s ease-out}
.tl-result-eyebrow{margin:.3rem 0;color:#7c3aed;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.tl-result h2{margin:.45rem 0 .65rem;color:#1e293b;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.15;overflow-wrap:anywhere}
.tl-result-description{margin:0;color:#475569;font-size:1rem;line-height:1.5}
.tl-result .tl-result-actions{display:grid;gap:.65rem}
.tl-result-next{padding:1rem;border:1px solid #e9d5ff;border-radius:14px;background:#ffffffc9}
.tl-result-next>button[data-rematch]{display:block;width:100%;margin-top:1rem;min-height:52px}
.tl-page .tl-result-leave{justify-self:center;border:1px solid #fecdd3;background:#fff1f2;color:#be123c;font-size:.88rem;font-weight:650}
.tl-page .tl-result-leave:hover{background:#ffe4e6;border-color:#fda4af}
.tl-rematch-length{min-width:0;margin:.85rem 0 1rem;padding:0;border:0}
.tl-rematch-length legend{padding:0;margin-bottom:.5rem;font-size:.88rem;font-weight:650;color:#334155}
.tl-rematch-targets{display:flex;flex-wrap:wrap;gap:.5rem}
.tl-page .tl-rematch-targets button{flex:1 1 140px;min-height:42px;padding:.5rem .65rem;background:#fff;color:#475569;font-size:.8rem;font-weight:600}
.tl-page .tl-rematch-targets button[aria-pressed="true"]{border-color:#8b5cf6;background:#ede9fe;color:#5b21b6}
.tl-result-waiting{margin:0;text-align:center;color:#64748b;font-size:.9rem;line-height:1.5}
.tl-result .tl-error:empty{display:none}
.tl-score.is-winner{border-color:#fbbf24;background:#fffbeb}
.tl-review>h2{margin:1.75rem 0 .4rem;font-size:1.25rem;font-weight:650;line-height:1.4}
.tl-review>p{margin:0 0 1rem;color:#64748b;font-size:.88rem;line-height:1.5}
@keyframes tl-trophy{from{transform:scale(.7) rotate(-8deg)}to{transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.tl-result-trophy{animation:none}}
.tl-rules{background:#fff;border-color:#ddd6fe;text-align:left}
.tl-rules h2{margin:0 0 .85rem;color:#1e293b;font-size:1.2rem;font-weight:700;line-height:1.4}
.tl-rules ul{margin:0;padding-left:1.3rem;color:#334155;font-size:1rem;line-height:1.65}
.tl-rules li+li{margin-top:.65rem}
.tl-rules li::marker{color:#7c3aed}
.tl-potbar>span:first-child{flex-shrink:0;white-space:nowrap}
.tl-potbar #tl-active{display:flex;align-items:center;justify-content:flex-end;gap:.45rem;min-width:0;color:#475569;font-size:.88rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.tl-potbar #tl-active::before{content:'';width:.6rem;height:.6rem;flex-shrink:0;border-radius:50%;background:#eab308;box-shadow:0 0 0 3px #fef9c3}
.tl-potbar #tl-active.is-your-turn{color:#166534}
.tl-potbar #tl-active.is-your-turn::before{background:#22c55e;box-shadow:0 0 0 3px #dcfce7}
.tl-current.is-decision{padding:0;margin:1.1rem 0 .75rem;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:1.1rem;font-weight:650}
.tl-score.is-active{border-color:#86c99c;background:#f0fdf4}
.tl-identity{display:inline-block;vertical-align:middle;margin:.2rem 0 .2rem .2rem;padding:.16rem .5rem;border:1px solid #c4b5fd;border-radius:6px;background:#ede9fe;color:#5b21b6;font-size:.75rem;font-weight:750;line-height:1.35;white-space:nowrap}
.tl-identity-member{font-size:.65rem;padding:.08rem .35rem}
.tl-page #tl-leave{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.tl-page #tl-leave:hover{background:#ffe4e6;border-color:#fda4af}
.tl-page #tl-sound-toggle{margin-left:auto;min-height:36px;padding:.35rem .6rem;border-color:#cbd5e1;background:#fff;color:#475569;font-size:.78rem;white-space:nowrap}
.tl-game-header>#tl-leave{margin-left:0}
.tl-page #tl-sound-toggle[aria-pressed="true"]{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.tl-event strong{color:inherit}
.tl-share{margin:1.25rem 0;text-align:center;background:#faf8ff;border-color:#ddd6fe}
.tl-share h2{margin:0 0 .45rem;font-size:1.25rem;font-weight:700;line-height:1.4}
.tl-share>p{margin:0 0 1rem;color:#475569;font-size:.9rem;line-height:1.6}
.tl-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.tl-share-actions>a{display:flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;padding:.65rem 1rem;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;color:#166534;font-size:.95rem;font-weight:600;text-decoration:none;line-height:1.3}
.tl-share-actions>a:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}
.tl-page #tl-share-copy{margin-top:.65rem;border:0;background:transparent;color:#475569;text-decoration:underline;text-underline-offset:3px;font-size:.85rem}
.tl-share #tl-share-status{margin:.4rem 0 0;min-height:1.5em;font-size:.8rem}
.tl-share #tl-share-link{margin-top:.5rem;font-size:.8rem}
.tl-review .tl-timeline.is-collapsed{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 110px),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 110px),transparent 100%)}
.tl-page #tl-review-toggle{display:block;margin:.25rem auto 1.25rem;padding:.55rem 1.1rem;min-height:44px;background:#fff;border-color:#ddd6fe;color:#5b21b6;font-size:.88rem;font-weight:650}
.tl-time-options{min-width:0;border:0;padding:0;margin:1.1rem 0 .65rem}
.tl-time-options legend{padding:0;margin-bottom:.5rem;color:#334155;font-size:.9rem;font-weight:650}
.tl-time-buttons{display:flex;flex-wrap:wrap;gap:.5rem}
.tl-page .tl-time-buttons button{flex:1 1 85px;min-height:42px;padding:.5rem .6rem;background:#fff;color:#475569;font-size:.82rem;font-weight:600}
.tl-page .tl-time-buttons button[aria-pressed="true"]{border-color:#8b5cf6;background:#ede9fe;color:#5b21b6}
.tl-page #tl-length-next{display:block;width:100%;margin-top:1rem}
@media(min-width:761px){.tl-page #tl-length-next{width:auto;min-width:140px;margin-inline:auto;padding-inline:1.5rem}}
.tl-time-help{margin:.4rem 0 1rem;color:#64748b;font-size:.8rem;line-height:1.5}
.tl-subtitle{margin:.35rem 0 .65rem;color:#334155;font-size:clamp(1.1rem,2.5vw,1.4rem);font-weight:600;line-height:1.4}
.tl-turn-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.45rem .7rem;min-width:0}
.tl-clock{display:inline-flex;align-items:center;gap:.2rem;flex-shrink:0;padding:.2rem .45rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;font-size:.85rem;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.4}
.tl-clock.is-warning{border-color:#f59e0b;background:#fffbeb;color:#92400e;font-weight:800}
.tl-clock.is-held{border-style:dashed}

.tl-page .tl-source-button{display:flex;align-items:center;gap:.25rem;width:max-content;min-height:30px;margin:.35rem 0 -.15rem;padding:.15rem .1rem;border:0;border-radius:4px;background:transparent;color:#64748b;font-size:.72rem;font-weight:550;line-height:1.4;text-decoration:none}
.tl-page .tl-source-button:hover{color:#5b21b6;text-decoration:underline}
.tl-page .tl-source-button:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
.tl-source-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:1.3rem;border:1px solid #ddd6fe;border-radius:20px;background:#fff;color:#1e293b;box-shadow:0 22px 70px #0f172a30;font-family:inherit;text-align:left}
.tl-source-dialog::backdrop{background:#0f172a70}
.tl-source-heading-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.tl-source-heading-row h2{margin:0;font-size:1.1rem;font-weight:700;line-height:1.3}
.tl-page #tl-source-close{display:grid;place-items:center;flex-shrink:0;width:34px;min-height:34px;padding:0;border-color:#e2e8f0;border-radius:50%;background:#f8fafc;color:#475569;font-size:1.35rem;font-weight:400}
.tl-source-name{margin:.9rem 0 .25rem;color:#334155;font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
.tl-source-article{margin:.3rem 0;color:#475569;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.tl-source-checked{margin:.3rem 0;color:#64748b;font-size:.75rem}
.tl-source-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin-top:1rem}
.tl-page #tl-source-copy{min-height:42px;padding:.55rem .8rem;background:#ede9fe;border-color:#ddd6fe;color:#5b21b6;font-size:.8rem;font-weight:650}
.tl-source-actions a{color:#64748b;font-size:.78rem;text-decoration:underline;text-underline-offset:2px}
.tl-page #tl-source-address{margin-top:.75rem;font-size:.78rem;min-height:40px}
#tl-source-copy-status{margin:.75rem 0 0;color:#475569;font-size:.75rem;line-height:1.5}
#tl-source-copy-status:empty{display:none}

/* Shared Timeline category landing layout. Topic copy and examples live in DB. */
.tl-category-page .tl-category-hero{padding:clamp(1.25rem,3vw,2.25rem);border-radius:24px;border-color:#e9d5ff;background:linear-gradient(145deg,#faf7ff 0%,#fff 58%);box-shadow:0 12px 34px #6d28d908}
.tl-category-eyebrow{display:flex;align-items:center;gap:.5rem;margin:0 0 1.1rem;color:#6d28d9;font-size:.78rem;font-weight:650;letter-spacing:.045em;text-transform:uppercase}
.tl-category-eyebrow>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ede9fe;font-size:1.1rem}
.tl-category-hero h1{margin:0 0 1rem;font-size:clamp(1.75rem,3.1vw,2.6rem);font-weight:800;letter-spacing:-.035em;line-height:1.15;text-wrap:balance}
.tl-category-intro{margin:0;color:#475569;font-size:1.02rem;line-height:1.7;max-width:67ch}
.tl-category-subtitle{margin:-.3rem 0 1rem;color:#475569;font-size:clamp(1.05rem,2vw,1.3rem);font-weight:600;line-height:1.4}
.tl-category-facts{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.2rem 0 0}
.tl-category-facts span{padding:.35rem .65rem;background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#475569;font-size:.75rem;font-weight:550}
.tl-category-examples{margin-top:1.8rem;padding-top:1.5rem;border-top:1px solid #e9e2f2}
.tl-category-examples h2{margin:0 0 1rem;font-size:1rem;font-weight:650;line-height:1.4}
.tl-category-example-list{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.tl-category-example-list li{display:grid;grid-template-columns:66px minmax(0,1fr);gap:.9rem;align-items:center}
.tl-category-year{display:grid;place-items:center;min-height:48px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#1e293b;font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}
.tl-category-example-list p{margin:0;color:#334155;font-size:.92rem;line-height:1.5}
.tl-category-start{margin-top:1.6rem}
.tl-category-cta{display:flex;align-items:center;justify-content:center;gap:.8rem;min-height:56px;padding:.85rem 1.3rem;border-radius:15px;background:linear-gradient(115deg,#7c3aed,#9333ea);box-shadow:0 7px 18px #7c3aed25;color:#fff;text-decoration:none;font-size:1rem;font-weight:750;line-height:1.4;transition:transform .15s,box-shadow .15s}
.tl-category-cta:hover{transform:translateY(-1px);box-shadow:0 9px 22px #7c3aed35;color:#fff}
.tl-category-cta:focus-visible,.tl-category-back:focus-visible,.tl-category-browse-card:focus-visible{outline:3px solid #a78bfa;outline-offset:4px}
.tl-category-start>p{margin:.8rem 0 0;text-align:center;color:#64748b;font-size:.76rem;line-height:1.5}
.tl-category-rules{margin:1.25rem 0 0;padding:1.5rem}
.tl-category-rules>h2,.tl-category-browse>h2{margin:0 0 1.15rem;font-size:1.25rem;font-weight:700;line-height:1.35}
.tl-category-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;list-style:none;counter-reset:timeline-steps;margin:0;padding:0}
.tl-category-steps li{counter-increment:timeline-steps;min-width:0}
.tl-category-steps li::before{content:counter(timeline-steps);display:grid;place-items:center;width:30px;height:30px;margin-bottom:.7rem;border-radius:50%;background:#ede9fe;color:#6d28d9;font-size:.82rem;font-weight:700}
.tl-category-steps h3{margin:0 0 .4rem;font-size:.92rem;font-weight:650;line-height:1.4}
.tl-category-steps p{margin:0;color:#64748b;font-size:.85rem;line-height:1.6}
.tl-category-back{display:inline-block;margin-top:1.3rem;color:#6d28d9;font-size:.88rem;font-weight:600;text-decoration:none}
.tl-category-back:hover{text-decoration:underline}
.tl-category-related{margin-top:1.25rem}
.tl-category-related h2{margin:0 0 .4rem;font-size:1.15rem;font-weight:700;line-height:1.4}
.tl-category-related>p{margin:0;color:#64748b;font-size:.86rem;line-height:1.5}
.tl-category-related-links{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:.9rem 0 0;padding:0}
.tl-category-related-links li{min-width:0;max-width:100%;margin:0;padding:0}
.tl-category-related-links a{display:flex;align-items:center;gap:.45rem;min-height:44px;padding:.45rem .75rem;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;font-size:.82rem;font-weight:600;line-height:1.4;text-decoration:none;overflow-wrap:anywhere;box-sizing:border-box}
.tl-category-related-links a:hover{background:#f5f3ff;border-color:#c4b5fd;color:#6d28d9}
.tl-category-related-links a:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}
.tl-category-related .tl-category-back{margin-top:.9rem;font-size:.83rem}
.tl-category-browse{margin:1.5rem 0}
.tl-category-browse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}
.tl-category-browse-card{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:.3rem .75rem;color:#1e293b;text-decoration:none;transition:border-color .15s,background .15s}
.tl-category-browse-card>span{grid-row:span 3;font-size:1.5rem;text-align:center}
.tl-category-browse-card>strong{font-weight:650}
.tl-category-browse-card>small{color:#6d28d9;font-size:.8rem}
.tl-category-browse-card>.tl-category-browse-count{color:#64748b;font-size:.78rem;font-weight:500}
.tl-category-empty{margin-top:1.5rem;padding-top:1.35rem;border-top:1px solid #e9e2f2}
.tl-category-empty h2{margin:0 0 .5rem;font-size:1.1rem;font-weight:650;line-height:1.4}
.tl-category-empty p{margin:0 0 1rem;color:#64748b;font-size:.92rem;line-height:1.6}
.tl-category-browse-card:hover{border-color:#c4b5fd;background:#faf5ff}
@media(max-width:760px){.tl-category-hero h1{font-size:1.85rem;line-height:1.18}.tl-category-page .tl-category-hero{padding:1.3rem 1.1rem;border-radius:20px}.tl-category-intro{font-size:.95rem;line-height:1.65}.tl-category-facts{gap:.4rem}.tl-category-facts span{font-size:.7rem;padding:.3rem .5rem}.tl-category-example-list li{grid-template-columns:58px minmax(0,1fr);gap:.7rem}.tl-category-example-list p{font-size:.88rem}.tl-category-steps{grid-template-columns:1fr;gap:1.2rem}.tl-category-rules{padding:1.3rem 1.1rem}.tl-category-cta{font-size:.95rem}.tl-category-start>p{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.tl-category-cta,.tl-category-browse-card{transition:none}.tl-category-cta:hover{transform:none}}

/* Readable point choices in every mode, including rematches. */
.tl-solo-targets .tl-choice strong,.tl-choice[data-target] strong,.tl-page .tl-rematch-targets button{font-size:1.125rem}

/* Phosphor icons in mode choices and category browse */
.ph-icon--user { --ph-icon: url("../../../assets/icons/user.svg"); }
.ph-icon--users { --ph-icon: url("../../../assets/icons/users.svg"); }
.ph-icon--users-four { --ph-icon: url("../../../assets/icons/users-four.svg"); }
.ph-icon--cpu { --ph-icon: url("../../../assets/icons/cpu.svg"); }
.ph-icon--atom { --ph-icon: url("../../../assets/icons/atom.svg"); }
.ph-icon--coffee { --ph-icon: url("../../../assets/icons/coffee.svg"); }
.ph-icon--globe-stand { --ph-icon: url("../../../assets/icons/globe-stand.svg"); }
.ph-icon--trophy { --ph-icon: url("../../../assets/icons/trophy.svg"); }
.ph-icon--music-notes { --ph-icon: url("../../../assets/icons/music-notes.svg"); }
.ph-icon--film-slate { --ph-icon: url("../../../assets/icons/film-slate.svg"); }
.ph-icon--game-controller { --ph-icon: url("../../../assets/icons/game-controller.svg"); }

.tl-choice-icon .ph-icon {
    font-size: 1.35rem;
    vertical-align: middle;
}
.tl-choice-mode[data-mode="solo"] .tl-choice-icon {
    background: #fdf2f8;
    color: #be185d;
}
.tl-choice-mode[data-mode="individual"] .tl-choice-icon {
    background: #f5f3ff;
    color: #6d28d9;
}
.tl-choice-mode[data-mode="teams"] .tl-choice-icon {
    background: #eff6ff;
    color: #1d4ed8;
}
.tl-category-browse-icon {
    display: grid;
    place-items: center;
    grid-row: span 3;
}
.tl-category-browse-icon .ph-icon {
    font-size: 1.6rem;
    color: #7c3aed;
}
.tl-category-eyebrow .ph-icon {
    font-size: 1.15em;
    vertical-align: -0.15em;
    color: #7c3aed;
}
.tl-category-related-links .ph-icon {
    font-size: 1.15em;
    vertical-align: -0.15em;
    color: #7c3aed;
}

