/* Traffic Tycoon Homepage Fun v1.0.0 — scoped to the public homepage story. */
.tth{--tth-ink:#144f43;--tth-muted:#4d7167;--tth-green:#087d62;--tth-gold:#f7c85b;color:var(--tth-ink);background:radial-gradient(ellipse at 100% 0,#fff3c7,transparent 35%),#eef8ed;font:16px/1.65 Arial,sans-serif;overflow:hidden}
.tth *{box-sizing:border-box}.tth img{display:block;max-width:100%;height:auto}.tth p{color:var(--tth-muted);margin:0 0 20px;font-size:16px;line-height:1.7}.tth a{text-decoration:none}.tth h2,.tth h3{color:var(--tth-ink);margin:0;letter-spacing:-.035em;text-transform:none}.tth h2{font:clamp(32px,3.5vw,49px)/1.09 Georgia,serif;letter-spacing:-.035em}.tth h2 em{color:var(--tth-green);font-weight:normal}.tth h3{font:700 23px/1.25 Arial,sans-serif;letter-spacing:-.035em}.tth button{font-family:Arial,sans-serif;cursor:pointer}.tth a:focus-visible,.tth button:focus-visible,.tth summary:focus-visible{outline:3px solid #ec9f1c;outline-offset:5px}.tth-section{max-width:1280px;padding:70px 36px;margin:0 auto;scroll-margin-top:30px}.tth-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}.tth-heading>p{max-width:360px;margin:0 0 4px}.tth-kicker{display:block;color:#08765e;font-size:11px;font-weight:800;letter-spacing:2px;line-height:1.6;margin-bottom:14px}.tth-steps,.tth-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tth-step{border:1px solid #c8dec7;border-radius:24px;background:#fffef8;box-shadow:0 7px 0 #d4e9da,0 20px 35px #1254370a;overflow:hidden;transition:transform .25s,box-shadow .25s}.tth-picture{position:relative;aspect-ratio:1.22;overflow:hidden}.tth-picture img{width:100%;height:100%;object-fit:cover;object-position:50% 36%;transition:transform .6s}.tth-number{position:absolute;top:16px;left:16px;border:1px solid #fff8d2;background:#fff6d3;color:#13644c;box-shadow:0 3px 0 #c59738;border-radius:14px;width:45px;height:45px;display:grid;place-items:center;font-size:18px;font-weight:800;transform:rotate(-6deg)}.tth-sticker{position:absolute;bottom:15px;right:14px;max-width:85%;padding:6px 13px;border:1px solid #fff4b2;border-radius:9px;color:#fff7d1;background:#08634bea;font-size:11px;font-weight:800;letter-spacing:.4px;transform:rotate(-3deg);box-shadow:0 3px 12px #063a3655}.tth-card-copy{padding:25px}.tth-card-copy h3{margin-bottom:12px}.tth-card-copy p{font-size:14px;margin-bottom:19px}.tth-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;color:#08765e;font-size:14px;font-weight:700;line-height:1.5}.tth-link span{transition:transform .2s;font-size:22px}.tth-link:hover{color:#714f08}.tth-link:hover span{transform:translateX(4px)}
.tth-arcade{background:radial-gradient(ellipse at 80% 20%,#15957d55,transparent 55%),linear-gradient(125deg,#07624e,#064d43);position:relative;scroll-margin-top:0}.tth-arcade:before{content:"✦";position:absolute;right:3%;top:-12px;font-size:190px;line-height:1;color:#f6d57b0c;pointer-events:none}.tth-arcade h2{color:#fff9e8}.tth-arcade h2 em{color:#ffda79}.tth-arcade .tth-kicker{color:#a5ead3}.tth-arcade .tth-heading>p,.tth-arcade .tth-game-note{color:#cfebdf}.tth-game{display:block;border:1px solid #c4ddc3;border-radius:22px;overflow:hidden;background:#fffdf4;color:var(--tth-ink);box-shadow:0 8px 0 #002d2b55;transition:transform .25s,box-shadow .25s}.tth-game-scene{aspect-ratio:1.53;position:relative;overflow:hidden;background-color:#065749}.tth-game-scene img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.tth-game-scene>span{position:absolute;top:14px;left:14px;font-size:9px;font-weight:800;letter-spacing:1.3px;background:#fff7ddec;color:#235747;border:1px solid #ebc967;padding:6px 10px;border-radius:8px}.tth-race-scene{background-image:url('../../images/tt-home-games-v1.webp');background-size:300% auto;background-position:center 50%}.tth-game-go{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:14px;border-top:1px solid #d6e3ca;font-size:12px;font-weight:700;color:#08765e}.tth-game-go b{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#ffe29a;font-size:22px;transition:transform .25s}.tth-game-note{text-align:center;font-size:12px!important;margin:28px 0 0!important}.tth-studio{display:grid;grid-template-columns:1.05fr 1fr;background:#fffdf4;border:1px solid #d2dec7;box-shadow:0 9px 0 #e0eacf;overflow:hidden;border-radius:28px}.tth-studio-art{position:relative;min-width:0;min-height:600px}.tth-studio-art>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;object-position:58% 50%}.tth-studio-label{position:absolute;left:22px;right:22px;bottom:22px;padding:15px 20px;border:1px solid #f1d785;border-radius:13px;background:#075b48ec;color:#fff5c2;font-size:11px;font-weight:800;letter-spacing:1.8px;display:flex;align-items:center;justify-content:space-between}.tth-studio-label b{font-size:24px;line-height:1}.tth-studio-copy{padding:38px;min-width:0}.tth-studio-copy h2{font-size:clamp(30px,3vw,41px);margin-bottom:18px}.tth-studio-copy>p{font-size:14px}.tth-format-intro{font-size:12px!important;font-weight:700;margin-bottom:9px!important;color:#1d6753!important}.tth-format-buttons{display:flex;gap:7px}.tth-format-buttons button{flex:1;min-width:0;border:1px solid #bad8be;background:#eff8eb;color:#185a47;border-radius:10px;padding:10px 5px;font-size:12px;line-height:1.3;font-weight:700;box-shadow:0 3px 0 #d5e2c9;transition:transform .2s,background .2s}.tth-format-buttons small{display:block;font-size:10px;margin-top:3px;white-space:nowrap}.tth-format-buttons button[aria-pressed=true]{background:#ffdc80;border-color:#cca347;box-shadow:0 3px 0 #c39939}.tth-format-stage{height:164px;margin-top:15px;background:repeating-linear-gradient(-45deg,#fffdf4,#fffdf4 10px,#f5f4e7 10px,#f5f4e7 11px);border:1px dashed #cbd6b5;border-radius:12px;display:flex;justify-content:center;align-items:center;padding:17px;overflow:hidden}.tth-sample{flex-shrink:0;background:linear-gradient(100deg,#046449,#0b7869cc),url('../../images/tt-home-studio-v1.webp') center/cover;border:2px solid #e1b64f;box-shadow:0 5px 10px #194b3326;color:#fff2ba;border-radius:3px;display:grid;place-items:center;max-width:100%;text-align:center}.tth-sample span{font-size:12px;line-height:1.2;font-weight:800;letter-spacing:1px;position:relative}.tth-sample b{font-size:17px;margin-left:12px;display:inline-block;color:#ffdc72}.tth-sample br{display:none}.tth-sample-long{width:100%;aspect-ratio:728/90}.tth-sample-classic{width:79%;aspect-ratio:468/60}.tth-sample-tower{height:130px;aspect-ratio:125/375}.tth-sample-tower span{font-size:8px;letter-spacing:0}.tth-sample-tower br{display:initial}.tth-sample-tower b{display:block;margin:12px 0 0;font-size:22px}.tth-format-caption{font-size:12px!important;min-height:41px;margin:9px 0 0!important;line-height:1.5!important}.tth-scale-note{font-size:10px;color:#617760;display:block;margin:0 0 16px}.tth-help{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;padding-top:8px}.tth-help-intro>img{width:110px;height:auto;margin-bottom:15px}.tth-help-intro h2{margin-bottom:18px}.tth-help-intro>p{font-size:14px;max-width:340px}.tth-questions{align-self:center;min-width:0}.tth-questions details{border:1px solid #c8dfc5;border-radius:14px;background:#fffef8;margin:0 0 12px;overflow:hidden;box-shadow:0 4px 0 #dfecd8}.tth-questions summary{position:relative;list-style:none;padding:20px 52px 20px 22px;cursor:pointer;color:#194f42;font-size:15px;font-weight:700;line-height:1.5}.tth-questions summary::-webkit-details-marker{display:none}.tth-questions summary:after{content:"+";position:absolute;right:17px;top:17px;width:28px;height:28px;border-radius:50%;background:#dcf0d9;color:#0d6f53;text-align:center;font-size:22px;line-height:27px;font-weight:400}.tth-questions details[open] summary:after{content:"−";background:#ffe29a}.tth-questions details[open]{border-color:#89bba0}.tth-questions details p{padding:0 22px 19px;margin:0;font-size:14px;color:#4d7167}.tth-finale-section{padding-top:0;padding-bottom:55px}.tth-finale{border-radius:28px;overflow:hidden;border:1px solid #bbd8ac;background:#fff9e7;box-shadow:0 9px 0 #d9e5c7}.tth-crew-art{position:relative;aspect-ratio:2.8;overflow:hidden;background:#099479}.tth-crew-art>img{width:100%;height:100%;object-fit:cover;object-position:50% 39%}.tth-crew-sign{position:absolute;left:50%;bottom:18px;transform:translateX(-50%) rotate(-2deg);text-align:center;width:max-content;max-width:90%;padding:10px 22px;border:1px solid #ffe9a1;border-radius:10px;background:#075b48f5;box-shadow:0 4px 0 #033f3d77;color:#fff2bb;font-size:11px;letter-spacing:1.5px;font-weight:800}.tth-finale-copy{padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:35px}.tth-finale-copy h2{font-size:clamp(29px,3.2vw,42px);margin-bottom:15px}.tth-finale-copy p{font-size:14px;margin:0}.tth-finale-actions{display:flex;align-items:center;flex-direction:column;gap:12px;min-width:260px}.tth-finale .btn{font-size:14px;padding:16px 20px;min-height:52px;white-space:normal;text-align:center;line-height:1.4}.tth-hello{padding:9px 14px;background:#e2f2dd;border:1px solid #bbd9b2;box-shadow:0 3px 0 #c8dbbd;border-radius:12px;color:#176343;font-size:12px;font-weight:700;transition:transform .2s}.tth-hello span{color:#a47c13;margin-left:10px}.tth .tth-greeting{font-size:11px;min-height:34px;max-width:285px;text-align:center;line-height:1.5}.tth-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.tth-confetti i{position:absolute;top:0;left:var(--x);width:9px;height:15px;background:var(--color);border-radius:2px;animation:tth-confetti 1.6s ease-out both;animation-delay:var(--delay)}@keyframes tth-confetti{from{transform:translateY(-30px) rotate(0);opacity:1}to{transform:translateY(460px) rotate(500deg);opacity:0}}@keyframes tth-arrive{from{transform:translateY(16px);opacity:.65}to{transform:translateY(0);opacity:1}}.tth-reveal.tth-arrived{animation:tth-arrive .65s ease-out both}@media(hover:hover){.tth-step:hover,.tth-game:hover{transform:translateY(-6px);box-shadow:0 12px 0 #a4cbb355,0 24px 30px #073b2814}.tth-step:hover img,.tth-game:hover img{transform:scale(1.035)}.tth-game:hover .tth-game-go b{transform:rotate(12deg)}.tth-format-buttons button:hover,.tth-hello:hover{transform:translateY(-2px)}}
@media(max-width:1050px){.tth-section{padding:55px 28px}.tth-steps,.tth-games{gap:16px}.tth-card-copy{padding:20px}.tth h3{font-size:20px}.tth-studio-copy{padding:28px}.tth-help{gap:35px;padding-top:0}.tth-finale-section{padding-top:0}.tth-finale-copy{padding:28px}.tth-finale-actions{min-width:240px}.tth-heading>p{font-size:14px;max-width:290px}}
@media(max-width:760px){.tth-section{padding:44px 20px}.tth-heading{align-items:start;flex-direction:column;gap:16px;margin-bottom:25px}.tth-heading>p{max-width:none}.tth-steps,.tth-games{grid-template-columns:1fr;gap:24px}.tth-step{display:grid;grid-template-columns:42% 1fr}.tth-picture{aspect-ratio:auto;min-height:235px}.tth-card-copy{padding:22px}.tth-sticker{font-size:9px;right:9px;bottom:12px;padding:5px 8px}.tth-number{top:10px;left:10px;width:34px;height:34px;font-size:14px}.tth-game{display:grid;grid-template-columns:42% 1fr}.tth-game-scene{height:100%;aspect-ratio:auto;min-height:245px}.tth-game-scene>span{font-size:8px;letter-spacing:.6px;top:10px;left:10px}.tth-race-scene{background-size:auto 110%}.tth-studio{grid-template-columns:1fr}.tth-studio-art{min-height:0;aspect-ratio:1.5}.tth-studio-copy{padding:28px}.tth-studio-copy h2{font-size:34px}.tth-help{grid-template-columns:1fr;gap:24px;padding-top:0}.tth-help-intro>img{float:right;margin:15px 0 10px 12px;width:95px}.tth-help-intro>p{max-width:400px}.tth-finale-section{padding-top:0}.tth-crew-art{aspect-ratio:1.8}.tth-crew-art>img{object-position:50% 38%}.tth-finale-copy{flex-direction:column;align-items:start;gap:24px}.tth-finale-actions{align-items:start;width:100%}.tth .tth-greeting{text-align:left;min-height:18px}.tth-crew-sign{font-size:9px;letter-spacing:1px;padding:8px 12px;bottom:14px}}
@media(max-width:480px){.tth-section{padding:37px 16px}.tth-step,.tth-game{display:block}.tth-picture{aspect-ratio:1.18;min-height:0}.tth-game-scene{aspect-ratio:1.55;min-height:0}.tth-race-scene{background-size:300% auto}.tth h2{font-size:33px}.tth h3{font-size:23px}.tth-kicker{font-size:9px;letter-spacing:1.6px}.tth-card-copy{padding:24px}.tth-studio-copy{padding:23px}.tth-studio-copy h2{font-size:31px}.tth-studio-art{aspect-ratio:1.1}.tth-studio-label{left:14px;right:14px;bottom:14px;font-size:9px;padding:12px}.tth-help{padding-top:0}.tth-help-intro>img{width:80px}.tth-questions summary{font-size:14px;padding:18px 48px 18px 18px}.tth-questions details p{padding:0 18px 18px}.tth-finale-section{padding-top:0}.tth-finale-copy{padding:24px}.tth-finale-copy h2{font-size:30px}.tth-finale-actions{min-width:0}.tth-finale .btn{width:100%;font-size:12px;padding:14px}.tth-crew-art{aspect-ratio:1.4}.tth-crew-art>img{object-position:50% 42%}.tth-crew-sign{font-size:8px;letter-spacing:.65px;padding:8px 9px}}
@media(prefers-reduced-motion:reduce){.tth *,.tth *:before,.tth *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tth-confetti{display:none}}
