/* Adopted storybook-ui-v1; see production/ui-reference/reference-manifest.json. */
.btn{background:linear-gradient(#a04b2a,#783c27);border:4px double #cba65f;color:#fff0bd;border-radius:11px;box-shadow:0 4px 0 #3c2d1c,0 1px 8px #0003;min-height:55px}.btn:hover{background:#b45c32}.btn.secondary,.text-button,.cancel-selection{background:linear-gradient(#5d4028,#3c2d20);color:#efd6a1;border:2px solid #997849;border-radius:9px}.btn.secondary:hover,.text-button:hover{background:#705035}.icon-button{background:#493621;border:3px double #b08d4d;border-radius:10px}.text-button{text-decoration:none;padding:10px 18px;font-size:17px}.home-start{flex-direction:column;gap:12px!important}.home-start>.btn{width:355px}.home-start .secondary{width:235px;font-size:17px}.home-heading{top:107px!important}.home-heading .eyebrow{letter-spacing:2px}.home-heading h1{font-size:81px;letter-spacing:3px}.home-heading p{margin-top:16px}.home-caption{left:76px;top:638px;font-size:14px}.footer-note{display:none}.chapter-card{background:#183b31eb;border:3px double #927647;border-radius:12px}.chapter-card:not(:disabled):hover{background:#274e3a;border-color:#eac881}.chapter-card:disabled{opacity:.73}.chapter-card strong{color:#f4e1b6}.chapter-card small{color:#bfcbae}
.sidebar,.detail,.bottom-bar,.modal{background:radial-gradient(ellipse at 30% 15%,#fae9c4,#e6c68d);color:#342d20;border:6px double #8d6237;border-radius:15px;box-shadow:0 5px 15px #0005}.sidebar h2{background:#503923;color:#f7dfab;margin:-5px -4px 12px;padding:10px;text-align:center;border:2px solid #b69759;border-radius:7px;letter-spacing:2px}.tower-card{background:linear-gradient(#f9e8bd,#eac993);border:2px solid #a88448;border-radius:9px;box-shadow:0 3px 0 #a7824744}.tower-card strong{color:#392d1a}.tower-card small{color:#5b6047}.tower-card .price{color:#765025}.tower-card .key{color:#6c6448}.tower-card:hover,.tower-card.active{background:#f8e5b2;border-color:#ad6f25;box-shadow:0 0 0 2px #dfb03e,0 0 12px #e5c47199}.sidebar .hint{color:#52604b;border-top-color:#ac945b}.cancel-selection{min-height:44px;width:100%;margin:0 0 8px}.goal-button{max-width:100%}.detail h2,.modal h1{color:#3d2a1b}.detail .back{color:#5a5a3d}.detail .desc,.detail .small,.modal p,.modal .small,.intro .note,.result-stats{color:#4f5a42}.detail dl{border-color:#a88b57}.detail dd{color:#75441f}.detail .sell-btn{color:#553e27;background:#dcc28d;border:2px solid #a1844d;border-radius:7px;margin-top:7px}.detail .btn{font-size:15px}.detail .btn img{flex:0 0 26px}.detail .btn span{font-size:14px}.modal .eyebrow{color:#6b7150;letter-spacing:3px}.modal .gold{color:#895329}.modal .close{color:#684725;min-width:48px;min-height:48px;border:2px solid #a88751;border-radius:50%;right:14px;top:12px}.modal .row .btn{white-space:normal}.result-stats b{color:#884c1d}.result-stats span{flex:1;padding:10px;border:2px solid #bb9c62;border-radius:9px}.modal-result{text-align:center;width:790px}.modal-result .result-art{float:none;display:block;margin:0 auto;width:180px;height:105px}.modal-result .row{margin-top:18px}.modal-pause{width:700px}.modal-journal{width:930px}.journal-tabs{display:flex;gap:16px;margin:0 0 17px}.journal-tabs .btn{min-width:190px}.journal-grid{max-height:420px;scrollbar-color:#ad834c #dfc99c}.journal-item{background:#f5e2b5;border:2px solid #bb985f}.journal-item h3{color:#493621;font-size:21px}.journal-item p{font-size:16px;color:#4b5841}.journal-item img{width:83px;height:94px}.intro{width:970px;grid-template-columns:1fr 410px;gap:25px}.intro .map-preview{width:410px;height:210px;background:#173d35;border:5px double #8a693c;border-radius:9px}.intro .note{font-size:17px}.intro h1{font-size:35px}.modal .settings-row output{min-width:55px;color:#785125;font-size:18px}.modal .settings-row input[type=range]{height:48px;accent-color:#607a3c}.modal .settings-row input[type=checkbox]{width:35px;height:35px}.wave-info strong,.wave-info .gold{color:#4a3b21}.wave-info small{color:#4c6049}.progress-line{background:#c7b47c}.progress-line i{background:#6b854b}.bell-action{background:#2d5e70;color:#e4f2d9;border:3px double #80a1a0;border-radius:10px;width:127px;justify-content:center}.bell-action.active{box-shadow:0 0 0 3px #a2d6dc;background:#3f7f8c}.wave-action{min-height:65px}.runtime-badge{display:none}.low-life{color:#ffbe8f!important;text-shadow:0 0 7px #a10000}.compact .header{top:8px}.compact #hud .header .logo,.compact #hud .header .chapter{visibility:hidden}.compact #hud .toolbar [data-action=settings],.compact #hud .toolbar [data-action=journal],.compact #hud .toolbar [data-action=fullscreen]{display:none}.compact .icon-button{width:80px;height:80px}.compact .icon-button img{width:64px;height:64px}.compact .toolbar .text-button{font-size:24px;min-height:80px}.compact .sidebar,.compact .detail{left:12px;width:214px!important;height:539px!important;padding:10px}.compact .sidebar h2{font-size:24px;padding:7px;margin:0 0 10px}.compact .tower-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.compact .tower-card{height:146px;margin:0;padding:5px;display:flex;flex-direction:column;gap:0;text-align:center}.compact .tower-card img{width:78px;height:70px}.compact .tower-card strong{font-size:24px}.compact .tower-card .price{font-size:24px;margin:0}.compact .tower-card .price small{font-size:15px}.compact .tower-card .card-text>small,.compact .tower-card .key{display:none}.compact .sidebar .hint{font-size:21px;line-height:1.35;padding-top:8px;margin:10px 0;max-height:91px;overflow:auto}.compact .cancel-selection{font-size:22px;min-height:54px;margin:0 0 3px}.compact .goal-button{height:60px;width:180px}.compact .goal-button span{font-size:22px}.compact .detail{overflow-y:auto}.compact .detail .back{min-height:60px;font-size:23px}.compact .detail .tower-portrait{height:80px}.compact .detail .desc{font-size:22px;min-height:0}.compact .detail dl{font-size:21px}.compact .detail .btn,.compact .detail .sell-btn{min-height:84px;font-size:24px}.compact .detail .btn span{font-size:22px}.compact .detail .small{font-size:20px!important}.compact .bottom-bar{top:535px!important;height:100px!important;gap:12px;padding:7px 13px}.compact .wave-action{min-height:82px;width:190px;font-size:27px}.compact .bell-action{min-height:82px;width:169px;font-size:25px}.compact .wave-previews{max-width:82px;overflow:hidden}.compact .wave-info strong{font-size:25px}.compact .wave-info small{font-size:22px}.compact .modal{width:1080px;max-height:620px;padding:30px 40px;overflow-y:auto}.compact .modal h1{font-size:43px}.compact .modal p{font-size:26px;line-height:1.65}.compact .modal .small,.compact .intro .note{font-size:23px}.compact .modal .row .btn,.compact .journal-tabs .btn{min-height:84px;font-size:27px}.compact .modal .close{min-width:80px;min-height:80px;font-size:38px;right:10px;top:8px}.compact .modal-journal h1{margin-top:0}.compact .journal-item p{font-size:23px;line-height:1.5}.compact .journal-item h3{font-size:27px}.compact .journal-grid{max-height:345px}.compact .journal-tabs{margin-bottom:15px}.compact .journal-item img{width:75px;height:86px}.compact .settings-row{font-size:28px}.compact .settings-row input[type=range]{height:80px;width:370px}.compact .settings-row input[type=checkbox]{width:58px;height:58px}.compact .settings-row output{font-size:25px}.compact #home .home-heading{top:70px!important}.compact #home .home-heading h1{font-size:65px;margin-top:10px}.compact #home .english{margin:8px 0 12px}.compact #home .home-heading p{font-size:24px;line-height:1.5}.compact #home .home-start{top:335px!important;height:170px!important}.compact #home .home-start .btn{min-height:78px;font-size:27px}.compact #home .home-caption{display:none}.compact #home .chapter-strip{top:525px!important;height:108px!important}.compact #home .chapter-card{padding:7px;gap:7px}.compact #home .chapter-card img{width:53px;height:68px}.compact #home .chapter-card strong{font-size:23px;letter-spacing:0}.compact #home .chapter-card small{font-size:19px}.compact #home .chapter-card .number{font-size:16px}.compact .modal-shade{align-items:center}.compact #toast{top:473px;left:250px;max-width:990px;font-size:24px}
.stats .stat{background-image:none!important;background-color:#47351fe8;border:2px solid #a3834e;border-radius:9px;padding-left:43px;text-shadow:0 1px 2px #1a180f;color:#f3e6bb}.stat .stat-art{position:absolute;left:4px;top:1px;width:42px;height:39px;object-fit:contain}.stats .stat small{color:#dbcba1;font-size:11px}.home-caption{top:640px}.compact .stats .stat{height:50px}.compact .stat .stat-art{height:44px;top:1px}.compact .stats .stat small{font-size:17px}.compact .stats .stat{font-size:26px}.compact #hud .stage-title{font-size:27px!important}.compact #hud .stage-title .chapter-label{font-size:18px}.compact .sidebar .hint{max-height:76px}.compact .goal-button{height:61px}.compact .sidebar:has(.cancel-selection) .hint{max-height:45px}
.compact .sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a7824e #e7cb97}.compact .goal-button{height:84px}.compact .cancel-selection{min-height:84px;font-size:26px}
.tower-profile{position:relative;width:156px;height:170px;margin:0 auto}.tower-profile .profile-frame{position:absolute;inset:5px 0;width:156px;height:156px;object-fit:contain}.tower-profile .tower-portrait{position:absolute;left:24px;top:23px;width:108px;height:124px;object-fit:contain}.modal-help{width:850px;max-height:730px;overflow-y:auto}.help-economy{position:relative;display:flex;align-items:center;min-height:150px;gap:20px}.help-economy .economy-frame{width:250px;height:150px;object-fit:contain;flex:0 0 250px}.help-economy .economy-icon{position:absolute;left:85px;top:48px;width:80px;height:73px;object-fit:contain}.help-economy p{font-size:17px;line-height:1.8}.compact .tower-profile{height:140px;width:150px}.compact .tower-profile .profile-frame{height:140px;width:150px;top:0}.compact .tower-profile .tower-portrait{height:100px;left:28px;top:20px;width:95px}.compact .help-economy p{font-size:25px}.compact .help-economy{min-height:160px}.compact .modal-help{max-height:610px}

.modal-shade{z-index:20}#toast{z-index:30}.detail .btn span{font-size:13px;letter-spacing:0;white-space:nowrap}.compact .detail .btn span{font-size:21px;white-space:normal}.compact .detail .btn img,.compact .detail .sell-btn img{display:none}.compact .detail .sell-btn{font-size:22px;letter-spacing:0}
.sidebar,.detail,.bottom-bar,.modal{background-color:#efd7a3;background-image:linear-gradient(100deg,#fff4d02e,#a26e2312),url('../assets/images/dialog.png');background-size:100% 100%,auto 1800px;background-position:0 0,center 70%;background-repeat:no-repeat}
