@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
:root{--ink:#343b36;--muted:#85877d;--cream:#f9f6ef;--orange:#cd714b;--green:#557b68;--line:#e6e5d9}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px 'DM Sans',system-ui}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;transition:background .15s,transform .15s}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #cd714b;outline-offset:3px}[hidden]{display:none!important}header{max-width:1500px;margin:auto;padding:25px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:27px;text-decoration:none;color:var(--ink);display:flex;gap:10px;align-items:center}.brand span{font:500 27px Fraunces,Georgia}.brand i{color:var(--orange)}.header-note,.label,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;color:var(--muted)}.quiet{border:0;background:none;color:var(--muted);font-size:12px;padding:8px}.quiet span{display:inline-grid;place-items:center;border:1px solid var(--line);width:20px;height:20px;border-radius:50%;margin-left:7px}main{max-width:1400px;padding:35px 5% 0;margin:auto}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px}h1{font:400 39px/1.17 Fraunces,Georgia;margin:12px 0 0;letter-spacing:-1px}h1 em{font-weight:400;color:var(--orange)}.save-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.dot{height:6px;width:6px;border-radius:50%;background:#84a18c}.dashboard{display:grid;grid-template-columns:minmax(350px,1fr) minmax(400px,1fr);gap:27px;align-items:start}.cat-room{position:relative;border:1px solid #e5decf;background:#f3eddf;border-radius:18px;padding:23px 24px 20px;overflow:hidden}.room-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.chip{font-size:10px;padding:6px 9px;border-radius:20px;background:#e7e9da;color:#67715a}.balance{text-align:center;margin-top:20px}.balance strong{display:block;font:500 60px Fraunces,Georgia;letter-spacing:-2px}.balance>span{color:#8f8879;font-size:12px;letter-spacing:1px}.rates{display:flex;align-items:center;justify-content:center;gap:15px;color:#8e897d;font-size:11px;margin:12px 0}.rates b{color:var(--green);font-weight:700}.divider{height:13px;width:1px;background:#d8d4c7}.scene{position:relative;height:285px;max-width:430px;margin:0 auto}.window{position:absolute;width:120px;height:142px;left:17px;top:17px;background:#dbe4df;border:8px solid #fff9eb;border-radius:60px 60px 2px 2px;box-shadow:0 2px 0 #ded9ca;overflow:hidden}.window:before,.window:after{content:'';position:absolute;background:#fff9eb;z-index:1}.window:before{width:5px;height:100%;left:50%}.window:after{height:5px;width:100%;top:55%}.sun{width:32px;height:32px;border-radius:50%;background:#efcd80;position:absolute;top:25px;left:19px}.cloud{position:absolute;background:#f3f4e9;width:65px;height:18px;border-radius:50%;right:-10px;top:70px}.plant{position:absolute;right:8px;top:85px;font-size:57px;opacity:.7}.rug{position:absolute;bottom:7px;left:7%;width:86%;height:57px;border-radius:50%;background:#e2c7a9;box-shadow:inset 0 0 0 7px #e9d6bb,inset 0 0 0 9px #d9b995;transform:rotate(-4deg)}.cat-shadow{position:absolute;bottom:23px;left:21%;width:61%;height:26px;background:#946f4a25;border-radius:50%;filter:blur(5px)}#pet{position:absolute;left:50%;bottom:15px;width:245px;height:245px;transform:translateX(-50%);background:none;border:0;padding:0;touch-action:manipulation;user-select:none;z-index:2}#pet svg{width:100%;height:100%;filter:drop-shadow(0 7px 0 #b98b5720)}#pet:hover{transform:translateX(-50%) rotate(-2deg) scale(1.025)}#pet:active,#pet.petted{transform:translateX(-50%) scale(.94)}.pet-caption{text-align:center;color:#988e7c;font-size:12px;margin-top:2px}.pet-caption>span{color:var(--orange)}.pet-caption small{display:block;font-size:10px;margin-top:5px;opacity:.7}.combo{margin:20px auto 18px;max-width:310px;font-size:10px;text-align:center;color:#8a8779}.meter{height:4px;margin-top:8px;background:#e4dece;border-radius:4px;overflow:hidden}.meter div{height:100%;background:#d39b6c;transition:width .1s}.abilities{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.abilities button{position:relative;padding:12px 6px;border:1px solid #dfd8c7;border-radius:9px;background:#faf7ee;color:var(--ink)}.abilities button:disabled{opacity:.48}.abilities button>span{font-size:20px;display:block;margin-bottom:6px}.abilities b{font-size:10px;display:block}.abilities small{font-size:9px;display:block;line-height:1.5;margin-top:5px;color:#918b7a}.abilities button.ready{border-color:#adc0a6;background:#f3f6e9}.abilities button.running{background:#f7ddaf;border-color:#ce9955}.management{border:1px solid var(--line);background:#fefcf7;border-radius:16px;overflow:hidden;min-height:696px}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 18px}.tabs button{flex:1;border:0;background:none;padding:20px 0 16px;color:#919285;font-size:12px;border-bottom:2px solid transparent}.tabs button.selected{color:var(--green);border-color:var(--green);font-weight:700}.tabs span{font-size:10px;background:#efeee5;border-radius:5px;padding:2px 5px;margin-left:3px}.management>[role=tabpanel]{padding:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:7px}h2{font:400 21px Fraunces,Georgia;margin:0}.section-heading p{font-size:11px;color:var(--muted);margin:7px 0 0}.bulk{display:flex;background:#efeee6;border-radius:5px;padding:3px}.bulk button{padding:5px 7px;background:transparent;border:0;font-size:10px;color:#999b8c;border-radius:4px}.bulk button.selected{background:#fffcf5;color:var(--green);box-shadow:0 1px 2px #0001}.worker{display:grid;grid-template-columns:49px 1fr 88px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #edece3}.worker-art{width:49px;height:53px;background:#eeeadf;display:grid;place-items:center;font-size:29px;border-radius:10px}.worker:nth-child(2) .worker-art{background:#e5e9de}.worker:nth-child(3) .worker-art{background:#eee4dc}.worker:nth-child(4) .worker-art{background:#e3e9e8}.worker:nth-child(5) .worker-art{background:#ebe2ed}.worker h3{font-size:12px;margin:0 0 5px;font-weight:700}.worker h3 span{font-weight:400;font-size:10px;color:#a0a092;margin-left:5px}.worker p{font-size:10px;line-height:1.5;color:#929486;margin:0}.worker .production{font-size:10px;color:var(--green);display:block;margin-top:5px}.buy{background:#557b68;border:0;color:#fffdf6;border-radius:6px;padding:9px 4px;font-size:11px;min-height:39px}.buy small{font-size:8px;display:block;margin-top:2px;opacity:.7}.buy:disabled{background:#f0eee4;color:#b3b0a1}.buy:hover:not(:disabled),.primary:hover{background:#3b6050}.milestone{height:3px;background:#eeece2;border-radius:4px;margin-top:7px;max-width:145px}.milestone div{height:100%;background:#b2bd9d}.tip{color:#9b998b;font-size:10px;line-height:1.8;margin-top:18px}.bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:27px;margin-top:27px}.goals,.journal{padding:22px;border:1px solid var(--line);border-radius:12px}.row{display:flex;align-items:center;justify-content:space-between}.goals h2{font-size:17px}#goals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:17px}.goal{border:1px dashed #deded2;border-radius:7px;padding:10px 7px;color:#aaa99a;font-size:9px;line-height:1.5}.goal strong{display:block;color:#8a8e80;font-weight:500}.goal.earned{background:#eef0e4;color:#648267;border-style:solid;border-color:#d7dfc8}.journal{background:#eeeee2;border-color:#e3e4d5;display:flex;flex-direction:column}.journal p{font:400 17px/1.5 Fraunces,Georgia;margin:14px 0;flex:1}.journal>div{font-size:10px;color:#8e9786}footer{display:flex;align-items:center;justify-content:space-between;color:#8e9185;font-size:12px;margin:30px 0 0;padding:22px 0;border-top:1px solid var(--line)}footer i{font-style:normal;font-size:10px;margin-left:14px;color:#aba99b}.floater{position:absolute;left:48%;top:100px;color:#a76b43;font:bold 25px Fraunces,Georgia;pointer-events:none;z-index:4;animation:float 1s ease-out forwards}.floater.critical{color:#55866c;font-size:31px}@keyframes float{to{transform:translateY(-90px) rotate(8deg);opacity:0}}#floaters{pointer-events:none}#golden{position:absolute;right:12px;top:27px;z-index:5;border:2px solid #d7ab49;background:#fff1ba;padding:9px;border-radius:50%;box-shadow:0 0 20px #dbb75560;font-size:27px;animation:bob 1s infinite alternate}#golden small{display:block;font-size:8px;color:#9b7c32}@keyframes bob{to{transform:translateY(-12px) rotate(9deg)}}.upgrade{display:grid;grid-template-columns:34px 1fr 85px;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.upgrade .emoji{font-size:23px}.upgrade h3{font-size:12px;margin:0 0 5px}.upgrade p{font-size:10px;color:#929486;line-height:1.5;margin:0}.upgrade .requirement{color:#a77e51;margin-top:5px}.upgrade.owned{opacity:.6}.prestige-art{text-align:center;font-size:30px;color:#c39a49;padding:25px 0}.prestige-art span{font-size:70px;margin:0 14px}.copy{font-size:12px;color:#8c8e7e;line-height:1.9}.prestige-stats{display:flex;gap:16px;margin:24px 0}.prestige-stats>div{flex:1;padding:20px 8px;border:1px solid var(--line);border-radius:10px;text-align:center}.prestige-stats b{display:block;font:500 30px Fraunces,Georgia;color:var(--green)}.prestige-stats small{display:block;font-size:10px;color:#929486;margin-top:6px}.primary{background:var(--green);color:#fffdf5;padding:13px 20px;border:0;border-radius:7px;font-weight:600;font-size:12px}.primary:disabled{opacity:.4}dialog{max-width:480px;width:calc(100% - 35px);background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 20px 100px #29362c44}dialog::backdrop{background:#273a3090;backdrop-filter:blur(3px)}dialog h2{margin:12px 0 20px;font-size:27px}dialog p{font-size:12px;color:#898e7c;line-height:1.9}.close{position:absolute;right:16px;top:10px;border:0;background:none;color:#889482;font-size:27px}.dialog-actions{display:flex;justify-content:flex-end;gap:18px;margin-top:25px} @media(min-width:1400px){main{padding-left:70px;padding-right:70px}}@media(max-width:950px){main{padding:28px 4% 0}.dashboard{gap:18px;grid-template-columns:1fr 1fr}.cat-room{padding:20px 16px}.management>[role=tabpanel]{padding:19px 15px}.worker{grid-template-columns:39px 1fr 75px;gap:8px}.worker-art{width:39px;height:47px}.header-note{display:none}.room-top{flex-direction:column;align-items:flex-start}.bottom{grid-template-columns:1fr 1fr}h1{font-size:34px}.abilities b{font-size:9px}}@media(max-width:700px){header{padding:18px 5%}.brand span{font-size:24px}.intro{align-items:flex-start;gap:10px}.intro .save-label{font-size:9px;max-width:90px;line-height:1.5;margin-top:6px}h1{font-size:31px}.dashboard{grid-template-columns:1fr}.room-top{flex-direction:row}.cat-room{padding:20px}.balance{margin-top:12px}.balance strong{font-size:53px}.scene{height:250px;max-width:380px}#pet{width:225px;height:225px}.window{height:125px;width:105px}.abilities b{font-size:11px}.management{min-height:0}.worker{grid-template-columns:49px 1fr 90px;gap:12px;padding:17px 0}.worker-art{width:49px;height:53px}.bottom{grid-template-columns:1fr;gap:16px}.management>[role=tabpanel]{padding:23px}.goals h2{font-size:17px}footer i{display:none}#goals{gap:7px}.tabs button{font-size:11px}.abilities small{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.floater{opacity:.8}}

/* Noite de ronrons */
:root{color-scheme:dark;--ink:#ede9df;--muted:#abaeaa;--cream:#171b20;--orange:#e8a079;--green:#a4c6ad;--line:#363d44}
body{background:radial-gradient(ellipse at 15% 20%,#29302f44,transparent 55%),var(--cream)}
.cat-room{background:#242a2e;border-color:#3c4347}.chip{background:#364139;color:#c0d6ba}.balance>span,.rates{color:#b1b5ad}.rates b{color:#b0d7b9}.divider{background:#4c5557}.window{background:#273b50;border-color:#565d62;box-shadow:0 2px 0 #14191e}.window:before,.window:after{background:#565d62}.sun{background:#e4d6ad;box-shadow:0 0 20px #e4d6ad22}.cloud{background:#465568}.plant{opacity:.8}.rug{background:#50534b;box-shadow:inset 0 0 0 7px #63665a,inset 0 0 0 9px #777664}.cat-shadow{background:#090e1370}.pet-caption{color:#c4b7a5}.pet-caption small{opacity:1;color:#a9aea8}.combo{color:#b7b6aa}.meter{background:#41494b}.meter div{background:#dda175}.abilities button{background:#2c3338;border-color:#4b5356;color:var(--ink)}.abilities small{color:#bec2b7}.abilities button:disabled{opacity:1;background:#252c31;border-color:#3c4448;color:#a6aba7}.abilities button:disabled small{color:#a3aaa5}.abilities button.ready{background:#33483e;border-color:#749680}.abilities button.running{background:#614c32;border-color:#c39457}.management{background:#20262c}.tabs span{background:#353d43;color:#c7cfc5}.tabs button{color:#b4bbb5}.tabs button.selected{color:#c1dfc5}.bulk{background:#30383e}.bulk button{color:#aeb6af}.bulk button.selected{background:#4b5c50;color:#e0eddc;box-shadow:0 1px 2px #0004}.worker{border-color:#363d44}.worker-art{background:#464339}.worker:nth-child(2) .worker-art{background:#34463b}.worker:nth-child(3) .worker-art{background:#493d36}.worker:nth-child(4) .worker-art{background:#32454d}.worker:nth-child(5) .worker-art{background:#463b4e}.worker h3 span{color:#a9b0a6}.worker p{color:#b4bab0}.worker .production{color:#b1d1b6}.buy{background:#658d73;color:#111d17}.buy:disabled{background:#30383d;color:#a8b1a7}.buy:hover:not(:disabled),.primary:hover:not(:disabled){background:#9abea1}.milestone{background:#3b4446}.milestone div{background:#8caa83}.tip{color:#b2b5a7}.goal{border-color:#50594f;color:#b0b7a8}.goal strong{color:#c0c8b7}.goal.earned{background:#344334;color:#bed8b4;border-color:#627a52}.journal{background:#2b352e;border-color:#435044}.journal>div{color:#b7c6ad}footer{color:#b5bcb0}footer i{color:#a5ad9f}.floater{color:#ffd0a0;text-shadow:0 2px 6px #171b20}.floater.critical{color:#c2f4cc}.upgrade p{color:#b5bbae}.upgrade .requirement{color:#e0b784}.upgrade.owned{opacity:.85}.prestige-art{color:#e3bd70}.copy{color:#b6beb0}.prestige-stats small{color:#b0baa9}.primary{background:#8ab097;color:#12241a}.primary:disabled{opacity:1;background:#35423b;color:#a7b6a6}dialog{background:#242b30;border-color:#4a534e;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#090e13b0}dialog p{color:#bbc4b4}.close{color:#c4d1ba}.quiet{color:#bcc3b8}
/* Bairro dos bigodes: detalhes e evolução da turma */
.cat-room{position:sticky;top:18px}.management{min-height:780px}.scene{isolation:isolate}.starscape{position:absolute;right:20px;top:8px;color:#dec994;font-size:18px;letter-spacing:11px;opacity:.75}.starscape span{font-size:27px}.wall-shelf{position:absolute;right:6px;top:54px;border-bottom:5px solid #687062;display:flex;gap:5px;padding:0 5px 3px;font-size:24px;transform:rotate(-2deg)}.wall-shelf span:last-child{font-size:20px}.cat-toy{position:absolute;bottom:14px;left:22px;font-size:27px;z-index:3;transform:rotate(-15deg)}.cat-toy:after{content:'';position:absolute;left:14px;top:26px;width:35px;height:12px;border:2px solid #c8926f;border-top:0;border-radius:0 0 70% 30%;transform:rotate(-12deg)}.food-bowl{position:absolute;bottom:12px;right:24px;font-size:32px;z-index:3}.wall-shelf,.cat-toy,.food-bowl{pointer-events:none}.scene[data-stage="0"] .wall-shelf span:last-child{opacity:.35}.scene[data-stage="2"] .starscape,.scene[data-stage="3"] .starscape{color:#edd49b;text-shadow:0 0 13px #eed29160}.room-description{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;line-height:1.6;color:#c7bda7;margin:4px 0 13px;text-align:center}.pet-caption small{font-size:10px}.empire-insights{border-top:1px solid #46504f;margin-top:20px;padding-top:18px}.empire-insights .chip{font-size:9px}.insight-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:14px;gap:15px}.insight-grid>div{padding:12px;background:#1d2428;border:1px solid #384443;border-radius:8px}.insight-grid b{display:block;font:400 24px Fraunces,Georgia;color:#d4debf}.insight-grid small{display:block;font-size:9px;margin-top:5px;color:#aab8a7}.empire-insights p{font-size:10px;line-height:1.8;color:#c3c9b7;margin:14px 0 0}.room-collection{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:14px}.room-collection span{font-size:8px;padding:7px;border:1px dashed #47514a;color:#9fa99d;border-radius:5px}.room-collection .unlocked{border-style:solid;background:#354036;color:#c9d7ba}.team-guide{display:flex;justify-content:space-between;gap:8px;margin:16px 0 5px;padding:10px 0;border-block:1px solid #39413e;font-size:9px;color:#aebba8}.team-guide b{font-weight:500;color:#d1d8c7}#workers{max-height:710px;overflow:auto;scrollbar-width:thin;scrollbar-color:#586752 #252d30;padding-right:8px}.worker{padding:17px 0;column-gap:10px;row-gap:10px}.worker-info{min-width:0}.worker h3{font-size:12px}.worker .production{font-size:9px}.worker .tier{color:#d1b781;margin-left:4px}.worker-detail{background:none;border:0;color:#b4c7ab;font-size:9px;padding:6px 0 0;text-align:left}.worker-detail:hover{color:#e6d7b6;text-decoration:underline}.worker-evolution{grid-column:1/-1;margin-left:61px;background:#2a3431;border:1px solid #425047;padding:10px;border-radius:6px;display:flex;justify-content:space-between;align-items:center;gap:8px}.worker-evolution>span{font-size:10px;color:#dadcc8}.worker-evolution small{display:block;margin-top:4px;font-size:8px;color:#adb7a6}.worker-evolution>button{background:#57765e;color:#eff2df;border:1px solid #698a69;padding:7px 9px;border-radius:4px;font-size:9px;white-space:nowrap}.worker-evolution>button:disabled{background:#28332c;color:#a6b29f;border-color:#465343}.worker-evolution.completed{font-size:9px;color:#c2ceaa}.worker:nth-child(n+6) .worker-art{background:#35443a}.worker:nth-child(7) .worker-art{background:#4c483b}.worker:nth-child(8) .worker-art{background:#43384f}.worker:nth-child(9) .worker-art{background:#4d3b3b}.worker:nth-child(10) .worker-art{background:#493d2e}.upgrade-filters{display:flex;gap:6px;margin:18px 0 8px}.upgrade-filters button{padding:7px 12px;border:1px solid #4b574c;border-radius:20px;background:none;color:#b2bda9;font-size:10px}.upgrade-filters button.selected{background:#425441;color:#e2ead6}.upgradeList{max-height:730px;overflow:auto}#upgradeList{max-height:730px;overflow:auto;scrollbar-width:thin;scrollbar-color:#586752 #252d30;padding-right:7px}#workerDialog{max-width:560px;max-height:85vh}.detail-hero{font-size:49px;background:#35463a;border:1px solid #59684e;border-radius:16px;width:85px;height:85px;display:grid;place-items:center;margin-bottom:19px}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.detail-stats>div{padding:13px 7px;background:#1e2926;border:1px solid #445548;border-radius:7px;text-align:center}.detail-stats b{font:400 22px Fraunces,Georgia;color:#d7e3c7}.detail-stats small{display:block;font-size:8px;color:#adbaa5;margin-top:5px}.detail-milestones{display:flex;gap:5px;flex-wrap:wrap;margin:18px 0}.detail-milestones span{font-size:9px;border:1px solid #4c5748;padding:7px;border-radius:5px;color:#aebba4}.detail-milestones .reached{color:#d6e7bf;background:#3c533b}.detail-upgrade{display:grid;grid-template-columns:1fr 80px;gap:10px;align-items:center;padding:16px 0;border-top:1px solid #465143}.detail-upgrade strong{font-size:12px}.detail-upgrade p{margin:6px 0}.detail-upgrade small{font-size:9px;color:#c2b58e}#workerDialog h3{font:400 20px Fraunces,Georgia;color:#d8dfc6}.journal{min-height:180px}@media(max-width:950px){.worker-evolution{margin-left:47px}.worker-evolution>span{font-size:9px}.worker h3{font-size:11px}.worker h3 span{font-size:9px}.team-guide{font-size:8px}.cat-room{top:10px}}@media(max-width:700px){.cat-room{position:relative;top:0}.management{min-height:0}#workers{max-height:none;padding-right:0}.worker-evolution{margin-left:61px}.team-guide{font-size:9px}.worker h3{font-size:12px}#upgradeList{max-height:none;overflow:visible}.scene .wall-shelf{right:0}.room-description{font-size:9px}.detail-stats b{font-size:20px}}

/* Leitura confortável: tipografia e áreas de toque maiores. */
body{font-size:16px;line-height:1.6}main{max-width:1560px;padding-inline:3.5%}header{max-width:1560px;padding-inline:3.5%}.dashboard{grid-template-columns:minmax(420px,.95fr) minmax(500px,1.05fr);gap:28px}.cat-room{position:relative;top:auto}.management{min-width:0}.intro{align-items:center}h1{font-size:44px}h2,.section-heading h2{font-size:26px;line-height:1.3}.header-note,.label,.eyebrow{font-size:13px;letter-spacing:1px}.save-label,.quiet,footer,footer i{font-size:14px}.quiet{padding:12px}.chip,.empire-insights .chip{font-size:13px;padding:7px 11px}.balance>span{font-size:16px}.rates{font-size:15px;gap:16px;margin:16px 0}.room-top{flex-wrap:wrap}.room-description{font-size:14px;line-height:1.65;gap:8px;margin:12px 0}.pet-caption{font-size:16px}.pet-caption small{font-size:14px;line-height:1.65}.combo{font-size:14px;max-width:400px;margin:22px auto}.meter{height:6px}.abilities{gap:10px}.abilities button{padding:16px 10px;min-height:130px}.abilities button>span{font-size:25px}.abilities b{font-size:15px;line-height:1.4}.abilities small{font-size:13px;line-height:1.65;margin-top:7px;color:#c4cdc1}.tabs{padding-inline:12px}.tabs button{font-size:16px;padding:22px 5px;line-height:1.5}.tabs span{font-size:13px;padding:3px 6px}.management>[role=tabpanel]{padding:24px}.section-heading{align-items:flex-start;flex-wrap:wrap;row-gap:16px}.section-heading p{font-size:15px;line-height:1.6}.bulk button{font-size:14px;padding:10px 13px;min-height:42px}.team-guide{font-size:13px;line-height:1.7;flex-wrap:wrap;gap:10px;padding:13px 0}.worker{grid-template-columns:52px minmax(0,1fr) 108px;gap:14px;padding:23px 0}.worker-art{width:52px;height:60px;font-size:32px}.worker h3{font-size:17px;line-height:1.5;margin-bottom:7px}.worker h3 span{font-size:14px;white-space:nowrap;display:inline-block}.worker p{font-size:14px;line-height:1.7;color:#c3cbbd}.worker .production{font-size:14px;line-height:1.6;margin-top:8px}.worker .tier{font-size:14px}.worker-detail{font-size:14px;padding-top:10px;line-height:1.6;min-height:36px}.milestone{height:5px;margin-top:9px;max-width:none}.buy{font-size:15px;line-height:1.4;min-height:48px;padding:11px 7px}.buy small{font-size:13px;margin-top:4px;opacity:1}.buy:disabled{color:#bec6ba}.worker-evolution{margin-left:66px;padding:13px;gap:12px;flex-wrap:wrap}.worker-evolution>span{font-size:14px;line-height:1.6;flex:1;min-width:140px}.worker-evolution small{font-size:13px;line-height:1.6;margin-top:5px;color:#bdc9b3}.worker-evolution>button{font-size:14px;padding:10px 12px;min-height:43px;white-space:normal}.worker-evolution.completed{font-size:14px}#workers,#upgradeList{max-height:820px;padding-right:10px}.upgrade{grid-template-columns:36px minmax(0,1fr) 105px;padding:20px 0;gap:13px}.upgrade h3{font-size:17px;line-height:1.5;margin-bottom:7px}.upgrade p{font-size:14px;line-height:1.7;color:#c4cbbb}.upgrade .requirement{font-size:14px;line-height:1.6}.upgrade-filters{gap:8px;flex-wrap:wrap;margin:20px 0 12px}.upgrade-filters button{font-size:14px;padding:10px 15px;min-height:43px}.tip{font-size:14px;line-height:1.8;color:#bdc4b4}.copy{font-size:16px;line-height:1.8}.primary{font-size:16px;padding:15px 22px;line-height:1.5}.prestige-stats small{font-size:14px;line-height:1.6}.prestige-stats b{font-size:34px}.insight-grid b{font-size:28px}.insight-grid small{font-size:14px;line-height:1.5;color:#bfcbb8}.empire-insights p{font-size:14px;line-height:1.8}.room-collection{gap:10px}.room-collection span{font-size:13px;line-height:1.6;padding:10px}.empire-insights .row{flex-wrap:wrap;gap:12px}.goals h2{font-size:22px}.goal{font-size:14px;line-height:1.6;padding:14px 10px}.goal strong{font-size:15px;line-height:1.5;margin-bottom:6px}.journal p{font-size:22px;line-height:1.65}.journal>div{font-size:14px;line-height:1.7}dialog{max-width:560px;font-size:16px;padding:30px}dialog p{font-size:16px;line-height:1.8}dialog .tip{font-size:14px}.detail-stats small{font-size:13px;line-height:1.6}.detail-stats b{font-size:26px}.detail-milestones{gap:8px}.detail-milestones span{font-size:13px;line-height:1.5;padding:10px}.detail-upgrade{grid-template-columns:minmax(0,1fr) 105px;gap:15px;padding:20px 0}.detail-upgrade strong{font-size:16px;line-height:1.5}.detail-upgrade p{font-size:15px;line-height:1.7}.detail-upgrade small{font-size:14px;line-height:1.6}#workerDialog{max-width:650px}#workerDialog h3{font-size:24px}.close{min-width:44px;min-height:44px;font-size:30px}#golden small{font-size:13px}footer{gap:20px;flex-wrap:wrap}.bottom{grid-template-columns:1.35fr 1fr}
@media(max-width:1150px){.dashboard{grid-template-columns:1fr}.cat-room{max-width:none}.scene{height:300px}.cat-room .abilities{max-width:700px;margin:auto}.balance strong{font-size:66px}.scene #pet{width:265px;height:265px}.empire-insights{margin-top:25px}.room-collection{grid-template-columns:repeat(4,1fr)}#workers{max-height:none;padding-right:0}.worker{grid-template-columns:60px minmax(0,1fr) 140px}.worker-evolution{margin-left:74px}.management{min-height:0}.header-note{display:none}.bottom{grid-template-columns:1fr}.goal{font-size:14px}.room-top{flex-direction:row}.worker-art{width:60px;height:64px}.worker h3{font-size:18px}.worker p{font-size:15px}.worker .production{font-size:15px}.worker-detail{font-size:15px}}
@media(max-width:700px){main{padding:25px 16px 0}header{padding:16px}.intro{display:block}.intro .save-label{max-width:none;font-size:13px;margin:18px 0 0}.header-note{display:none}h1{font-size:35px}.eyebrow,.label{font-size:12px}.cat-room{padding:20px 16px}.room-top{gap:10px}.room-top .chip{font-size:13px}.rates{font-size:14px;gap:12px;flex-wrap:wrap}.abilities{grid-template-columns:1fr}.abilities button{min-height:0;padding:15px;display:grid;grid-template-columns:36px 1fr;column-gap:10px;text-align:left;align-items:center}.abilities button>span{grid-row:1/3;margin:0}.abilities b{font-size:16px}.abilities small{font-size:14px;margin-top:4px}.management>[role=tabpanel]{padding:20px 16px}.tabs{padding-inline:4px}.tabs button{font-size:14px;padding:18px 5px}.tabs span{font-size:12px}.section-heading h2{font-size:25px}.section-heading p{font-size:15px}.worker{grid-template-columns:42px minmax(0,1fr);column-gap:12px;row-gap:14px;padding:23px 0}.worker-art{width:42px;height:50px;font-size:28px;align-self:start}.worker-info{grid-column:2}.worker>.buy{grid-column:2;width:100%;font-size:16px;display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px}.worker>.buy small{font-size:14px;margin:0}.worker h3{font-size:18px}.worker h3 span{font-size:15px}.worker p,.worker .production,.worker-detail{font-size:15px}.worker-evolution{grid-column:1/-1;margin-left:0;padding:14px;gap:12px}.worker-evolution>span{font-size:15px}.worker-evolution small{font-size:14px}.worker-evolution>button{font-size:15px}.team-guide{font-size:14px}.room-description{font-size:14px}.room-collection{grid-template-columns:1fr 1fr}.room-collection span{font-size:13px}.insight-grid small{font-size:13px}.empire-insights p{font-size:15px}.upgrade{grid-template-columns:30px minmax(0,1fr);gap:12px}.upgrade h3{font-size:18px}.upgrade p,.upgrade .requirement{font-size:15px}.upgrade>.buy{grid-column:2;min-height:44px;font-size:16px}.upgrade-filters button{font-size:14px}#upgradeList{max-height:none;padding-right:0;overflow:visible}.goal{font-size:13px;padding:12px}.goal strong{font-size:14px}#goals{grid-template-columns:1fr 1fr;gap:10px}.goals h2{font-size:22px}.goals .row{flex-wrap:wrap;gap:10px}.journal p{font-size:21px}dialog{padding:26px 20px;width:calc(100% - 24px)}dialog h2{font-size:27px;margin-top:18px}.detail-stats{grid-template-columns:1fr;gap:10px}.detail-stats>div{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;gap:10px;text-align:left}.detail-stats b{font-size:25px}.detail-stats small{font-size:14px}.detail-upgrade{grid-template-columns:1fr}.detail-upgrade strong{font-size:17px}.detail-upgrade p{font-size:15px}.detail-upgrade .buy{font-size:16px;min-height:46px}.detail-milestones span{font-size:14px}.prestige-stats{flex-wrap:wrap}.prestige-stats>div{min-width:120px}footer .quiet{font-size:14px}.scene{max-width:370px}.scene #pet{width:245px;height:245px}.room-collection span{overflow-wrap:anywhere}}
.worker p,.worker .production,.worker-detail,.upgrade p,.upgrade .requirement{font-size:16px}.worker-evolution>span{font-size:16px}.worker h3,.upgrade h3{font-size:18px}.buy{font-size:16px}.worker-evolution small,.worker-evolution>button{font-size:14px}.section-heading p{font-size:16px}.empire-insights p,.copy{font-size:16px}

/* Reserved ad placements. Replace only .ad-surface contents when integrating a provider.
   Slots stay in document flow, separated from gameplay and purchase controls. */
.ad-placement{min-width:0;color:#b7c1ba}.ad-label{display:block;font-size:12px;line-height:1.5;font-weight:600;letter-spacing:1.5px;text-align:center;margin-bottom:8px;color:#aebbb2}.ad-surface{border:1px dashed #54605c;background:repeating-linear-gradient(135deg,#24302a18 0,#24302a18 12px,#17201c18 12px,#17201c18 24px),#1c2428;border-radius:10px;display:flex;justify-content:center;align-items:center;gap:16px;box-sizing:content-box;max-width:100%;padding:0;overflow:hidden}.ad-surface p{font-size:16px;line-height:1.6;margin:0;color:#c0ccc2}.ad-symbol{font-size:29px;color:#7f9a88;line-height:1}.ad-demo{font-size:13px;line-height:1.5;color:#aebbb1}.ad-banner{width:100%;padding-block:8px}.ad-banner .ad-surface{width:728px;height:90px;margin-inline:auto}.ad-top{margin:0 0 28px}.ad-between{margin:32px 0}.sidebar-stack{min-width:0;display:flex;flex-direction:column;gap:26px}.sidebar-stack .journal{flex:none}.ad-sidebar{padding:4px 0 0}.ad-sidebar .ad-surface{width:300px;height:250px;margin-inline:auto;flex-direction:column;gap:10px;text-align:center}.ad-sidebar .ad-surface p{font-size:17px}.ad-sidebar .ad-symbol{font-size:35px}.ad-placement iframe,.ad-placement ins{max-width:100%}
@media(max-width:1150px){.ad-sidebar{display:none}.sidebar-stack{gap:0}.ad-top{margin-bottom:24px}}
@media(max-width:800px){.ad-banner .ad-surface{width:320px;height:100px;flex-direction:column;gap:3px}.ad-top .ad-surface{height:50px;gap:1px}.ad-surface p{font-size:14px;line-height:1.5}.ad-demo{font-size:12px;line-height:1.5}.ad-top .ad-symbol{display:none}.ad-between .ad-symbol{font-size:22px}.ad-label{font-size:12px;margin-bottom:7px}.ad-top{margin-bottom:26px}.ad-between{margin-block:26px}.ad-surface{border-radius:7px}}
.ad-surface{max-width:calc(100% - 2px)}

/* Version 1.0: menus, saves and accessible reading preferences. */
.header-actions,.footer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.header-actions .quiet{color:#d2d9ca;min-height:44px}.skip-link{position:fixed;top:-80px;left:12px;z-index:100;background:#c9dfbb;color:#15231a;padding:12px 20px;border-radius:6px;font-size:16px}.skip-link:focus{top:12px}.noscript{padding:20px;background:#654d2c;color:#fff3d6;text-align:center}.secondary-button{font:inherit;font-size:16px;line-height:1.5;color:#d7e5cd;background:#34473a;border:1px solid #6b8467;border-radius:7px;padding:12px 16px;min-height:46px}.secondary-button:hover{background:#475e45}.settings-actions{display:flex;gap:12px;flex-wrap:wrap}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}.setting-row strong{font-size:17px;display:block;line-height:1.5}.setting-row small{display:block;font-size:14px;line-height:1.7;margin-top:5px;color:#c0cbb6}.setting-row input{accent-color:#a8ce9b;width:25px;height:25px;flex-shrink:0;cursor:pointer}.backup-section{margin-top:24px}.backup-section h3,dialog h3{font:400 24px Fraunces,Georgia;margin:25px 0 12px}.backup-section label{display:block;margin:15px 0 10px;font-size:15px;color:#dce7cc}.backup-section textarea{display:block;width:100%;min-height:105px;resize:vertical;box-sizing:border-box;font:14px/1.6 ui-monospace,monospace;background:#17231e;color:#d9e6cf;border:1px solid #718164;border-radius:7px;padding:12px;margin-bottom:12px;overflow-wrap:anywhere}.backup-section details{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.backup-section summary{font-size:16px;cursor:pointer;line-height:1.7;color:#d6e5c7;padding:8px 0}.setting-status{font-size:15px!important;color:#c2d7ac!important;min-height:24px}.statistics{margin:0 0 28px}.statistics>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px}.statistics dt{color:#bdc9b4}.statistics dd{margin:0;text-align:right;color:#ebeddc;font-weight:600}.production-share{padding:12px 0;font-size:15px;line-height:1.7}.production-share .row{gap:12px;flex-wrap:wrap}.production-share b{font-size:15px;color:#c8ddb5}.production-share .meter{margin:10px 0 0}.production-share .meter div{background:#91b07d}dialog{max-height:88vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#759067 #242b30}#settingsDialog,#statsDialog,#privacyDialog{max-width:650px}#confirmDialog{z-index:30}.footer-actions .quiet{min-height:44px}.reduced-effects *, .reduced-effects *:before,.reduced-effects *:after{animation:none!important;transition:none!important}.reduced-effects .floater{display:none}.reduced-effects #pet:hover,.reduced-effects #pet:active,.reduced-effects #pet.petted{transform:translateX(-50%)}
.large-text .worker p,.large-text .worker .production,.large-text .worker-detail,.large-text .upgrade p,.large-text .upgrade .requirement,.large-text .copy,.large-text .section-heading p,.large-text .pet-caption,.large-text .empire-insights p,.large-text dialog p{font-size:18px}.large-text .worker h3,.large-text .upgrade h3{font-size:20px}.large-text .worker-evolution>span,.large-text .buy,.large-text .tabs button,.large-text .primary,.large-text .secondary-button{font-size:18px}.large-text .worker-evolution small,.large-text .worker-evolution>button,.large-text .tip,.large-text .worker h3 span,.large-text .pet-caption small,.large-text .room-description{font-size:16px}.large-text .abilities b{font-size:18px}.large-text .abilities small{font-size:15px}.large-text .upgrade{grid-template-columns:36px minmax(0,1fr) 115px}.large-text .worker{grid-template-columns:52px minmax(0,1fr) 120px}.large-text .tabs button{padding-inline:3px}.large-text .header-actions .quiet,.large-text .footer-actions .quiet{font-size:16px}.large-text .setting-row small,.large-text .statistics>div{font-size:16px}
@media(max-width:1150px){header{flex-wrap:wrap;gap:15px}.large-text .worker{grid-template-columns:60px minmax(0,1fr) 145px}.header-actions{margin-left:auto}}
@media(max-width:700px){header{gap:10px}.header-actions{width:100%;justify-content:space-between;margin:0;border-top:1px solid var(--line);padding-top:10px}.header-actions .quiet{font-size:15px;padding:7px}.large-text .worker{grid-template-columns:42px minmax(0,1fr)}.large-text .upgrade{grid-template-columns:30px minmax(0,1fr)}.large-text .tabs button{font-size:16px}.footer-actions{gap:2px;align-items:flex-start;flex-direction:column}.footer-actions .quiet{padding-left:0;text-align:left}.setting-row{gap:12px}.setting-row strong{font-size:17px}.setting-row small{font-size:15px}.statistics>div{align-items:flex-start}.statistics dd{overflow-wrap:anywhere}.large-text .worker-evolution>span{min-width:120px}.large-text .worker>.buy{font-size:18px}.settings-actions{flex-direction:column}.settings-actions button{width:100%}}
.statistics>div{display:grid;grid-template-columns:minmax(0,1fr) max-content}.statistics dd{white-space:nowrap;overflow-wrap:normal}.statistics dt{min-width:0}dialog>.eyebrow{display:block;padding-right:32px;line-height:1.7}
#privacyDialog a{color:#c8e7af;text-underline-offset:3px}
