/* Traffic Tycoon — Lively City, 1.1.0. Presentation only. */
:root{color-scheme:light;--bg:#edf8f2;--panel:#fffefa;--panel2:#def3ea;--line:#c7ded2;--muted:#506d60;--text:#173e34;--gold:#936008;--mint:#087b63;--red:#ab3545}
body.tt-city{background:radial-gradient(ellipse at 90% 2%,#ffedb6a3,transparent 40%),radial-gradient(ellipse at 5% 35%,#b7f1e170,transparent 48%),#edf8f2!important;color:#173e34!important;--tw-soft:#173e34!important;--tr-soft:#173e34!important;--tws-soft:#173e34!important;--tt-gold:#976210!important;--tw-gold:#f6c75a!important;--tr-gold:#976210!important;--tws-gold:#f6c75a!important}
.tt-city .brand{flex:none;line-height:1;filter:drop-shadow(0 3px 4px #003f3933)}
.tt-city .brand .ttc-logo{display:block;width:226px;height:auto;max-width:100%;aspect-ratio:3/1;object-fit:contain}
.tt-city .sidebar .brand{margin:0 0 23px;padding:0 1px}
.tt-city .sidebar .ttc-logo{width:190px}
.tt-city .sidebar{background:radial-gradient(ellipse at 0 0,#1eaa8b55,transparent 46%),linear-gradient(160deg,#086e60,#075949 75%,#094e47);border-color:#0d7d67;color:#fff8df;box-shadow:4px 0 25px #145f4910;--muted:#d0e7db;--gold:#ffe19a;--mint:#b7f4d8;--line:#ffffff26;scrollbar-color:#58ba95 #075949}
.tt-city .sidebar .nav-label{color:#b3e7d5}
.tt-city .sidebar .nav-link{color:#e0f4e8;transition:background .2s,box-shadow .2s,translate .2s;color-scheme:dark}
.tt-city .sidebar .nav-link.active{background:linear-gradient(100deg,#ffe299,#f6c667);color:#23493a;box-shadow:0 4px 14px #003c432b,inset 3px 0 #fff4bf}
.tt-city .sidebar .nav-link:hover{background:#ffffff24;color:#fff;translate:3px 0}
.tt-city .sidebar .nav-link.active:hover{background:linear-gradient(100deg,#fff0ba,#ffda8a);color:#173e34}
.tt-city .sidebar-user{border-color:#ffffff33}
.tt-city .sidebar-user strong{color:#fffbe9}
.tt-city .sidebar-user small{color:#d0e7db}
.tt-city .avatar{background:linear-gradient(145deg,#fff0b1,#f6c56d);color:#164c40;border-color:#efca7c;box-shadow:0 3px 10px #21644717}
.tt-city .topbar{background:#fffefaed;border-bottom-color:#c7ded2}
.tt-city .topbar .text-link{color:#276c58}
.tt-city .status-pill,.tt-city .pill{color:#086950;background:#daf5e7;border-color:#a5dbc1}
.tt-city .status-pill:before{background:#119f72;box-shadow:0 0 0 3px #0da16f17}
.tt-city .pill.gold{background:#fff0be;color:#80560b;border-color:#efd18e}
.tt-city .pill.red{background:#ffe7e1;color:#ac3546;border-color:#f4b9b0}
.tt-city .hero{border-color:#77b591;box-shadow:0 9px 25px #175f4315;color:#fffbea;--gold:#ffda77;--mint:#b3f9d8;--text:#fffbea}
.tt-city .hero:after{background:linear-gradient(90deg,#075744ed,#075744a1 32%,#07574400 72%)}
.tt-city .hero h2{color:#fffbea;text-shadow:0 2px 10px #003a3426}
.tt-city .hero p{color:#e2f4dd}
.tt-city .hero .eyebrow{color:#f8e7ac}
.tt-city .hero-corner{background:#0b7959b8;color:#fff0bc;border-color:#ecda8c70}
.tt-city .panel,.tt-city .game-card{box-shadow:0 5px 20px #175b4310;border-color:#c4dfd0}
.tt-city .stat{border-width:1px 1px 3px;background:linear-gradient(135deg,#fffefa,#e0f7e9);border-color:#b9dfc8;border-bottom-color:#37b890;box-shadow:0 4px 16px #28664f0b}
.tt-city .stat:nth-child(2){background:linear-gradient(135deg,#fffefa,#dbf2f7);border-bottom-color:#30b0c2}
.tt-city .stat:nth-child(3){background:linear-gradient(135deg,#fffefa,#fff0ce);border-bottom-color:#e3ac3b}
.tt-city .stat:nth-child(4){background:linear-gradient(135deg,#fffefa,#ffe5db);border-bottom-color:#ef9377}
.tt-city .stat-label,.tt-city .stat-note{color:#4b695c}
.tt-city .stat-label .icon{color:#247a62}
.tt-city .stat-value{color:#164f3e}
.tt-city .stat-note span{color:#087258}
.tt-city .game-card:nth-child(1){border-bottom:3px solid #37b890}
.tt-city .game-card:nth-child(2){border-bottom:3px solid #35adbc}
.tt-city .game-card:nth-child(3){border-bottom:3px solid #e6b54c}
.tt-city .game-art:after{background:linear-gradient(0deg,#00705933,transparent 60%)}
.tt-city .game-art .pill{background:#fff8dceb;color:#31582d;border-color:#f7de93}
.tt-city .game-bottom strong{color:#08765b}
.tt-city .game-card:hover{border-color:#31ae87;box-shadow:0 12px 24px #216a4c24}
.tt-city .square-icon{background:#d4f4e2;color:#087c5a}
.tt-city .news-icon{background:#fff0be;color:#926714}
.tt-city .progress{background:#d6e8dc}
.tt-city .progress span{background:linear-gradient(90deg,#e5af32,#ffd775)}
.tt-city .progress .mint-bar{background:linear-gradient(90deg,#0ca784,#7ad9ba)}
.tt-city .ring{background:conic-gradient(#e5b348 calc(var(--progress)*1%),#d5eadd 0)}
.tt-city .ring:before{background:#fffefa}
.tt-city .progress-panel{background:linear-gradient(160deg,#fffefa,#e5f8ee)}
.tt-city .footer{color:#496d5d;border-top-color:#bedbca}
.tt-city .footer a:hover,.tt-city .text-link:hover{color:#087151}
.tt-city .notice{background:#fff4d3;border-color:#e8cf8c;color:#715216}
.tt-city label{color:#254b3a}
.tt-city .public-nav{background:linear-gradient(110deg,#077260,#119679);border-bottom:1px solid #49b598;--muted:#e2f7e6;--text:#fffbea}
.tt-city .public-links{color:#f1fbeb}
.tt-city .public-links a:hover{color:#ffdf91}
.tt-city .public-hero{background-image:linear-gradient(90deg,#075943f0,#075943a8 33%,#0759430a 72%),url('assets/city.png');color:#fffbea;--gold:#ffda77;--mint:#bdffdb;--text:#fffbea}
.tt-city .public-hero h1{color:#fffbea}
.tt-city .public-hero p,.tt-city .public-note{color:#e5f6df}
.tt-city .public-strip{background:#d0f2df;color:#225e48;border-color:#b0ddc3}
.tt-city .public-strip .icon{color:#087c5a}
.tt-city .step-number{color:#0a9471}
.tt-city .step:nth-child(2) .step-number{color:#078b9d}
.tt-city .step:nth-child(3) .step-number{color:#bd801b}
.tt-city .public-cta{background:radial-gradient(ellipse at top right,#ffe5a3a1,transparent 60%),linear-gradient(125deg,#d9f4df,#d6f6ee);border-color:#abd2b8;box-shadow:0 10px 25px #1a654b12}
.tt-city .ttc-auth-form{background:#fffefa}
.tt-city .ttc-auth-art,.tt-city .auth-art{background-image:linear-gradient(#07745f22,#075943e8),url(assets/city.png);--text:#fffbea;--muted:#e1f5df;--gold:#ffda77;--mint:#c7ffdf;color:#fffbea}
.tt-city .ttc-auth-art h1,.tt-city .auth-art h1{color:#fffbea}
.tt-city .ttc-auth-art p{color:#e1f5df}
/* Original member forms and advertising tables share the lighter surfaces. */
.tt-city .ttc-legacy{color:#173e34}
.tt-city .ttc-legacy table{background:#fffefa!important;color:#244b3b!important}
.tt-city .ttc-legacy th{background:#def2e6!important;color:#315c49!important}
.tt-city .ttc-legacy td,.tt-city .ttc-legacy th{border-color:#c5dece!important}
.tt-city .ttc-legacy .bg-white,.tt-city .ttc-legacy .bg-light,.tt-city .ttc-legacy .card,.tt-city .ttc-legacy .card-body,.tt-city .ttc-legacy .panel,.tt-city .ttc-legacy .well,.tt-city .ttc-legacy [bgcolor],.tt-city .ttc-legacy [style*="background-color: white"],.tt-city .ttc-legacy [style*="background:#fff"],.tt-city .ttc-legacy [style*="background: #fff"],.tt-city .ttc-legacy [style*="background-color: #fff"]{background:#fffefa!important;color:#244b3b!important;border-color:#c5dece!important}
.tt-city .ttc-legacy .text-dark,.tt-city .ttc-legacy [color="#000000"],.tt-city .ttc-legacy [color="black"],.tt-city .ttc-legacy [style*="color: black"],.tt-city .ttc-legacy [style*="color:#000"]{color:#244b3b!important}
.tt-city .ttc-legacy a{color:#086e53}
.tt-city .ttc-legacy .form-control,.tt-city .ttc-legacy input:not([type=submit]):not([type=button]),.tt-city .ttc-legacy select,.tt-city .ttc-legacy textarea,.tt-city input,.tt-city select,.tt-city textarea{background:#fff!important;color:#214a38!important;border:1px solid #9ac5ae!important;color-scheme:light}
.tt-city input::placeholder,.tt-city textarea::placeholder{color:#6c8475}
.tt-city .ttc-legacy .alert{background:#e3f6e8!important;color:#285b3b!important;border-color:#9dd3ad!important}
.tt-city .ttc-legacy .alert-danger,.tt-city .ttc-legacy .loginerror{background:#ffe7e1!important;color:#952c3b!important;border-color:#edafa7!important}
.tt-city .ttc-legacy [class*="hero"]{background:linear-gradient(110deg,#087b61,#12998c)!important;border-color:#50b99b!important}
/* Brighter game rooms, with readable prize labels and unchanged board geometry. */
.tt-city .th-hero,.tt-city .tw-hero,.tt-city .tr-hero,.tt-city .tws-hero{background:linear-gradient(90deg,#066e58ee,#087b5b75),url(assets/city.png) center/cover!important;border-color:#6db797!important;color:#fffbea!important}
.tt-city .th-title{-webkit-text-fill-color:#fffbea!important;background:none!important}
.tt-city .th-panel,.tt-city .tw-panel,.tt-city .tr-panel,.tt-city .tws-panel{background:#fffefa!important;border-color:#b9d8c6!important;box-shadow:0 7px 20px #2363430d!important;color:#204d39!important}
.tt-city .th-h2,.tt-city .tw-panel-head h2,.tt-city .tr-panel-head h2,.tt-city .tws-h2{color:#1d583e!important}
.tt-city .th-stat,.tt-city .tw-stat,.tt-city .tr-stat,.tt-city .tws-stat{background:linear-gradient(125deg,#e1f6e6,#fef8df)!important;border-color:#b4d8bf!important;color:#21533a!important}
.tt-city .th-stat .v,.tt-city .tw-stat strong,.tt-city .tr-stat strong,.tt-city .tws-stat strong{color:#185f43!important;text-shadow:none!important}
.tt-city .th-stat .k,.tt-city .th-stat .v small,.tt-city .th-meterrow .lbl,.tt-city .tr-stat span,.tt-city .tw-stat span,.tt-city .tws-stat span{color:#4d715d!important}
.tt-city .th-log,.tt-city .th-mini,.tt-city .tw-history{background:#edf8ee!important;border-color:#b2d4b7!important;color:#325c40!important;box-shadow:none!important}
.tt-city .th-log b,.tt-city .th-mini b{color:#846018;text-shadow:none}
.tt-city .th-note,.tt-city .th-legend{color:#42694e!important}
.tt-city .th-rightTop>div:first-child,.tt-city .th-stat .v span{color:#315d40!important;text-shadow:none!important}
.tt-city .th-meter{background:#e9f5df!important;border-color:#b2cda3!important;box-shadow:none!important}
.tt-city .th-bar,.tt-city .th-clickTrack,.tt-city .tw-progress{background:#c4dfc8!important;box-shadow:inset 0 1px 3px #527b4322!important;border-color:#a2c3a3!important}
.tt-city .tr-track{background:linear-gradient(90deg,#e6f3e2,#fffefa)!important}
.tt-city .tr-lane:before{background:repeating-linear-gradient(90deg,#95b693 0 18px,transparent 18px 34px)}
.tt-city .tws-copy p{color:#e1f3dc!important}
.tt-city .th-rightTop,.tt-city .th-access,.tt-city .tw-status,.tt-city .tw-rule,.tt-city .tr-note,.tt-city .tws-rule,.tt-city .tws-notice{background:#e7f7e5!important;border-color:#aacfa9!important;color:#315c3c!important}
.tt-city .th-accessTitle,.tt-city .tw-status strong{color:#235c3c!important}
.tt-city .th-accessText,.tt-city .tw-status-label,.tt-city .tw-progress-copy,.tt-city .tws-rule span{color:#4b6d50!important}
.tt-city .th-accessRuns{background:#ffefbf!important;color:#76520e!important;border-color:#e6c575!important}
.tt-city .tw-rule strong,.tt-city .tws-rule strong,.tt-city .tws-notice strong{color:#856015!important}
.tt-city .th-chip{background:#e3f3e2!important;color:#345d35!important;border-color:#b4cca5!important}
.tt-city .th-pill{background:#ffffff1a!important;color:#fff6ce!important;border-color:#e5d9a055!important}
.tt-city .th-tile:not(.th-revealed){background:radial-gradient(ellipse at top left,#94e2ac70,transparent 80%),linear-gradient(135deg,#138e68,#07705c)!important;border-color:#79cba3!important;box-shadow:0 5px 12px #186d4030!important}
.tt-city .th-tile.th-revealed{background:linear-gradient(135deg,#276749,#12503e)!important}
.tt-city .th-tile:hover{animation:none!important}
.tt-city .tw-wheel-ring,.tt-city .tws-wheel-ring{background:linear-gradient(145deg,#5bcc9c,#0b8a65)!important;box-shadow:0 0 0 7px #e5f5dc,0 0 0 9px #e5bf63,0 10px 25px #4e935424!important}
.tt-city .tw-wheel{background:conic-gradient(#108665 0deg 30deg,#bc861c 30deg 60deg,#087c89 60deg 90deg,#49855b 90deg 120deg,#ad6425 120deg 150deg,#167153 150deg 180deg,#bc861c 180deg 210deg,#087c89 210deg 240deg,#49855b 240deg 270deg,#ad6425 270deg 300deg,#167153 300deg 330deg,#bc861c 330deg 360deg)!important}
.tt-city .tws-wheel{background:conic-gradient(#108665 0deg 45deg,#bc861c 45deg 90deg,#087c89 90deg 135deg,#49855b 135deg 180deg,#ad6425 180deg 225deg,#167153 225deg 270deg,#bc861c 270deg 315deg,#087c89 315deg 360deg)!important}
.tt-city .tw-hub,.tt-city .tws-wheel-center{background:radial-gradient(circle at 30% 20%,#53cba1,#08785c 65%)!important;box-shadow:0 0 0 5px #167c5b,0 0 22px #e9d16a55!important}
.tt-city .tw-feed-copy strong,.tt-city .tws-feed-copy strong,.tt-city .tr-winner strong,.tt-city .tr-prize strong,.tt-city .tws-reward strong,.tt-city .tr-empty strong{color:#235a3d!important}
.tt-city .tw-feed-copy span,.tt-city .tws-feed-copy span,.tt-city .tw-feed-time,.tt-city .tws-feed-time,.tt-city .tr-winner span,.tt-city .tr-prize span,.tt-city .tws-reward p,.tt-city .tw-empty,.tt-city .tr-empty,.tt-city .tws-empty{color:#4f7159!important}
.tt-city .tr-lane{background:#e2f1de!important;border-color:#aecda4!important}
.tt-city .tw-feed-icon,.tt-city .tws-feed-icon,.tt-city .tr-medal{background:#e1f3d8!important;border-color:#b2cda1!important}
.tt-city .tws-reward{background:#f0f8e9!important;border-color:#c9dbb8!important}
.tt-city .tw-live,.tt-city .tr-live,.tt-city .tws-live{color:#087653!important}
.tt-city .tw-result-card h2{color:#ffdd84!important}
.tt-city .tws-copy h1{color:#fffbea!important}
.tt-city .tr-kicker{color:#b8f2ce!important}
/* Consistent colorful calls to action. Keep danger and disabled states distinct. */
.tt-city .btn,.tt-city .ttc-legacy .btn{background:linear-gradient(135deg,#138b75,#087666);border-color:#087563;color:#fffbe8;box-shadow:0 4px 0 #075542,0 6px 15px #08664a20;text-decoration:none}
.tt-city .btn.primary,.tt-city .ttc-legacy .btn-primary,.tt-city .ttc-legacy input[type=submit],.tt-city .ttc-legacy input[type=button],.tt-city .th-btn-primary,.tt-city .tw-btn,.tt-city .tw-spin-btn,.tt-city .tw-close,.tt-city .tws-btn-primary{background:linear-gradient(120deg,#ffe9a1,#ffd165 65%,#ffbd4b)!important;color:#24482e!important;border:1px solid #efc46a!important;box-shadow:0 4px 0 #c28e29,0 8px 17px #c79b3426!important;text-shadow:none!important}
.tt-city .btn.ghost,.tt-city .th-btn-outline,.tt-city .tws-btn-outline{background:linear-gradient(135deg,#d8f5e4,#b9eddf)!important;color:#185b41!important;border-color:#82c5a7!important;box-shadow:0 3px 0 #80b89b,0 6px 15px #16785618!important}
.tt-city .btn,.tt-city .btn.primary,.tt-city .ttc-legacy .btn-primary,.tt-city .th-btn-primary,.tt-city .tw-btn,.tt-city .tw-spin-btn,.tt-city .tws-btn-primary{background-size:170% 100%!important;background-position:0 0}
.tt-city .ttc-legacy .btn-success{background:linear-gradient(135deg,#16885b,#0a724d)!important;color:#fff!important;border-color:#08734f!important;box-shadow:0 4px 0 #07563c!important}
.tt-city .ttc-legacy .btn-danger,.tt-city .th-btn-danger{background:linear-gradient(135deg,#cf485a,#ae304d)!important;color:#fff!important;border-color:#b1324a!important;box-shadow:0 4px 0 #872a41!important}
.tt-city :where(button,input[type=submit],input[type=button],input[type=reset],.btn,.th-btn,.tws-btn,.cta,.icon-btn,[role=button]){transition:translate .18s ease,filter .18s ease,box-shadow .18s ease,background-position .4s ease;touch-action:manipulation}
.tt-city :where(button,.btn,.th-btn,.tws-btn,.cta,.icon-btn,[role=button]):not(:disabled):not([aria-disabled=true]):not(.disabled){background-blend-mode:normal}
@media(hover:hover) and (pointer:fine){
 .tt-city :where(button,input[type=submit],input[type=button],input[type=reset],.btn,.th-btn,.tws-btn,.cta,.icon-btn,[role=button]):not(:disabled):not([aria-disabled=true]):not(.disabled):hover{translate:0 -3px;filter:brightness(1.06);background-position:100% 0}
 .tt-city .btn:not(.disabled):hover,.tt-city .th-btn:not(:disabled):hover,.tt-city .tws-btn:not(:disabled):hover{box-shadow:0 5px 0 #6a9b6660,0 10px 24px #d2b14755!important}
}
.tt-city :where(button,input[type=submit],input[type=button],input[type=reset],.btn,.th-btn,.tws-btn,.cta,.icon-btn,[role=button]):not(:disabled):not([aria-disabled=true]):not(.disabled):active{translate:0 2px;filter:brightness(1.02);box-shadow:0 1px 0 #366f4433!important}
.tt-city :where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #12b697;outline-offset:4px;box-shadow:0 0 0 6px #fff5cc!important}
.tt-city :where(button,input,.btn,[role=button]):is(:disabled,[aria-disabled=true],.disabled){translate:none!important;transform:none!important;filter:none!important;box-shadow:none!important;cursor:not-allowed;opacity:.58}
.ttc-click-spark{position:fixed;z-index:2147483000;pointer-events:none;width:7px;height:7px;border-radius:2px;background:var(--spark);box-shadow:0 0 6px var(--spark);animation:ttc-spark .5s ease-out forwards}
@keyframes ttc-spark{from{opacity:.95;translate:0 0;rotate:0deg}to{opacity:0;translate:var(--dx) var(--dy);rotate:110deg;scale:.3}}
@media(max-width:800px){.tt-city .public-nav .ttc-logo{width:200px}.tt-city .sidebar .ttc-logo{width:200px}}
@media(max-width:560px){.tt-city .public-nav{gap:10px;flex-wrap:wrap;padding:16px}.tt-city .public-nav .ttc-logo{width:176px}.tt-city .public-nav .btn-row{gap:6px}.tt-city .hero:after{background:linear-gradient(90deg,#075744ed,#075744ad 62%,#07574444)}.tt-city .public-hero{background-image:linear-gradient(90deg,#075943ed,#07594399),url('assets/city.png')}}
@media(prefers-reduced-motion:reduce){.tt-city *,.tt-city *:before,.tt-city *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tt-city :where(button,input,.btn,.th-btn,.tws-btn,.cta,.icon-btn,[role=button],.nav-link){translate:none!important}.ttc-click-spark{display:none!important}}
