.dt-popup{position:relative;width:min(100%,800px);max-height:calc(100dvh - 152px);overflow-y:auto;overflow-x:hidden;background:#26172e;border:2px solid #a14e83;border-radius:13px;box-shadow:0 0 0 6px #24152c,0 0 0 8px #512b4b,0 28px 100px #08060fcb,inset 0 0 0 2px #3f2644;padding:8px 28px 24px;scrollbar-color:#8e507b transparent;scrollbar-width:thin}.dt-popup-caption{position:relative;flex:0 0 auto;min-height:58px;padding:10px 0;display:flex;justify-content:center;align-items:center;gap:14px}.dt-popup-caption:has(.dt-popup-caption__close){padding-inline:64px}.dt-popup-caption h1{margin:0;font:800 clamp(27px,3vw,42px)/1.1 Georgia,serif;text-align:center;overflow-wrap:anywhere}.dt-popup-caption__dot{flex:0 0 6px;height:6px;border-radius:50%;background:var(--dt-accent)}.dt-popup-caption__close{position:absolute;right:17px;top:50%;transform:translateY(-50%);width:40px;height:39px;padding:0;border:1px solid #aa628e;border-radius:8px;background:#351c3c;color:#ffe5d8;font:700 32px/1 Georgia,serif;cursor:pointer}.dt-popup-caption__close:hover{background:#593253;color:#ffd47c}.dt-popup__body{display:flex;flex-direction:column;align-items:stretch;gap:12px}.dt-popup__footer{display:flex;align-items:stretch;justify-content:center;gap:12px;margin-top:20px;flex-wrap:wrap}.dt-action{min-height:56px;min-width:190px;max-width:100%;border-radius:9px;padding:8px 20px;border:2px solid #b56d58;font-size:23px;font-family:Georgia,serif;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 3px #1f0e1c,inset 0 1px #f8d98a33;transition:filter .14s ease,transform .14s ease}.dt-action:active:not(:disabled){transform:translateY(1px)}.dt-action:hover:not(:disabled){filter:brightness(1.15)}.dt-action--gold{color:#fff3cd;background:linear-gradient(#e7a73e,#bf5f22);border-color:#fbd16f;text-shadow:0 2px 2px #5a2c13}.dt-action--outline{color:#f4d5ef;background:#432440;border-color:#90547c}.dt-action:disabled{filter:grayscale(.5);opacity:.52}.dt-action__icon{font-family:Segoe UI Symbol,sans-serif;font-size:24px}.dt-art{position:relative;overflow:hidden;background:#211326;border-radius:10px;border:1px solid #7b4870}.dt-art img{display:block;width:100%;height:100%;object-fit:cover}.dt-art--week{height:200px;margin-top:0}.dt-art--week img{object-position:center}.dt-art--game-over,.dt-art--victory{height:174px}.dt-art__corner{position:absolute;bottom:10px;color:#f5ca77}.dt-art__corner--left{left:12px}.dt-art__corner--right{right:12px}.dt-eyebrow{text-align:center;color:#d7afd3;font-size:13px;text-transform:uppercase;font-weight:800;letter-spacing:.19em;margin:0}.dt-feature-title{text-align:center;color:#ffe5b7;font-family:Georgia,serif;font-size:clamp(26px,3.2vw,38px);margin:0;text-shadow:0 2px 2px #160d1c}.dt-feature-title--danger{color:#ffb4c1}.dt-feature-title--victory{color:#ffe09b}.dt-stat{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 15px;border-bottom:1px solid #65405c}.dt-stat:last-child{border-bottom:0}.dt-stat__icon{font-size:23px;line-height:1}.dt-stat__label{font-size:17px}.dt-stat__value{font-size:21px;color:#fff0d2;white-space:nowrap}.dt-stat__value--positive{color:#ffd25a}.dt-stat__value--negative{color:#f58a9d}.dt-ending-stats{background:#2e1b37;border:1px solid #734263;border-radius:10px;padding:3px 8px}.dt-ending-message{text-align:center;font-size:17px;line-height:1.44;color:#ebd2e5;max-width:650px;margin:0 auto 2px}.dt-popup--item-use{width:min(90%,480px)}@media (max-width:720px){.dt-popup-caption:has(.dt-popup-caption__close){padding-inline:48px}.dt-popup-caption__close{right:9px;width:37px;height:37px}}@media (max-width:640px){.dt-popup{padding:8px 15px 16px;max-height:calc(100dvh - 112px);width:100%;border-radius:10px}.dt-art--week{height:170px}.dt-art--game-over,.dt-art--victory{height:142px}.dt-popup__footer{margin-top:14px;gap:9px}.dt-action{min-width:0;flex:1 1 130px;font-size:17px;min-height:51px;padding:8px;gap:6px}.dt-action__icon{font-size:18px}.dt-stat{gap:7px;padding:7px 6px;grid-template-columns:27px minmax(0,1fr) auto}.dt-stat__icon{font-size:18px}.dt-stat__label{font-size:14px}.dt-stat__value{font-size:16px}.dt-ending-message{font-size:15px}}.shell-viewport,.shell-stage{position:relative;width:100%;height:100%;overflow:hidden}html,body,#app{width:100%;height:100%;overflow:hidden}.shell-stage{position:absolute;width:1920px;height:1080px;top:50%;left:50%;transform-origin:center center;isolation:isolate;overflow:hidden;background:var(--dt-bg)}.shell-topbar{position:absolute;z-index:4;left:30px;top:30px;height:76px;display:flex;align-items:center;gap:24px}.shell-money{display:flex;align-items:center;flex:none;height:83px;border:6px solid var(--dt-border);border-radius:19px;background:var(--dt-surface);box-shadow:inset 0 0 0 4px var(--dt-stroke),0 6px #230e25;padding:0 18px}.shell-currency{display:flex;align-items:center;gap:7px;min-width:0;font-size:32px;font-weight:800;white-space:nowrap;line-height:1;color:var(--dt-ink)}.shell-currency-icon{width:54px;height:54px;flex:none}.shell-money-divider{width:4px;height:42px;background:var(--dt-border);border-radius:8px;margin:0 20px 0 8px}.shell-currency--coins{position:relative}.shell-upkeep-hint{display:none;position:absolute;top:calc(100% + 14px);left:0;width:max-content;max-width:480px;padding:8px 12px;border:1px solid var(--dt-border);border-radius:7px;background:var(--dt-surface);color:var(--dt-ink);box-shadow:0 4px 14px #100817b3;font:600 20px/1.3 var(--dt-font);white-space:normal;pointer-events:none}.shell-currency--coins:hover .shell-upkeep-hint,.shell-currency--coins:focus-visible .shell-upkeep-hint{display:block}.shell-window-header{position:absolute;z-index:4;left:400px;top:30px;right:36px;height:76px;display:flex;align-items:center;gap:20px}.shell-window-header[hidden]{display:none}.shell-back{flex:none;width:76px;height:76px;display:grid;place-items:center;cursor:pointer;background:var(--dt-surface-raised);border:5px solid var(--dt-border);border-radius:17px;color:var(--dt-ink);box-shadow:inset 0 0 0 4px var(--dt-stroke);transition:background .1s}.shell-back svg{width:40px;height:40px}.shell-back:hover{background:#4c2044}.shell-back:active{background:#762c55}.shell-back:focus-visible{outline:4px solid var(--dt-accent-strong);outline-offset:3px}.shell-caption{flex:1;min-width:0;margin:0;text-align:left;font:bold clamp(28px,2.6vw,38px)/1 Georgia,serif;letter-spacing:.03em;color:var(--dt-ink);text-shadow:0 2px 3px #080411;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell-caption:before,.shell-caption:after{content:"◆";font-size:13px;color:var(--dt-accent);vertical-align:6px;margin:0 16px}.shell-left-stack{position:absolute;z-index:2;left:30px;top:125px;width:300px;bottom:44px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;overflow-y:auto;scrollbar-width:thin}.shell-window{position:absolute;z-index:1;left:400px;top:122px;right:36px;bottom:44px;display:flex;flex-direction:column;min-height:0}.shell-content{flex:1;min-height:0;overflow:hidden}.shell-content>*{height:100%;min-height:0}.shell-content>:is(.dt-storehouse,.dt-quarters,.dt-infirmary,.dt-training-hall,.dt-dungeon,.dt-laboratory,.dt-warroom){padding:0;background:transparent}.shell-content :is(.dt-storehouse__shell,.dt-quarters__shell,.dt-infirmary__shell,.dt-training-hall__shell,.dt-dungeon__shell){height:100%;max-width:1600px;margin:0 auto;padding:0}.shell-content :is(.dt-storehouse__window,.dt-quarters__window,.dt-infirmary__window,.dt-training-hall__window,.dt-dungeon__window,.dt-warroom__window,.lab-window){box-sizing:border-box;position:relative;inset:auto;width:100%;max-width:1600px;height:100%;min-height:0;margin:0 auto;display:flex;flex-direction:column;padding:0 16px 12px;gap:6px;border:2px solid #975377;border-radius:16px;background:linear-gradient(175deg,#26172d,#24162b 58%,#1d1426);box-shadow:0 15px 36px #120b1c66;overflow:hidden}.shell-content :is(.dt-quarters__mountains,.dt-infirmary__mountains,.dt-training-hall__mountains,.dt-dungeon__mountains,.lab-outer-glow),.shell-content>.dt-laboratory:before,.shell-content>.dt-laboratory:after,.shell-content>.dt-warroom:after{display:none}.shell-overlay{position:absolute;z-index:10;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0a050eb8}.shell-overlay[hidden]{display:none}.tw-widget,.tw-widget *{box-sizing:border-box}.tw-widget{width:100%;background:var(--dt-surface-raised);color:var(--dt-ink);border:3px solid var(--dt-border);border-radius:var(--dt-radius);font-family:var(--dt-font);font-size:14px;font-weight:600;line-height:1.2;-webkit-user-select:none;user-select:none}.tw-widget [hidden]{display:none!important}.tw-widget button{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;cursor:pointer;border:0;color:inherit;background:var(--dt-purple-soft);border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.tw-widget button:hover{background:#8e6ba3}.tw-widget button:focus-visible{outline:2px solid var(--dt-accent);outline-offset:3px}.tw-expanded{position:relative;padding:17px 13px 12px}.tw-fold{position:absolute;z-index:2;left:9px;top:8px;width:22px;height:22px;background:transparent!important}.tw-fold svg,.tw-unfold svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.tw-main{display:flex;align-items:center;gap:16px}.tw-clock{position:relative;width:120px;height:120px;flex:none}.tw-clock-svg{display:block;width:120px;height:120px;pointer-events:none}.tw-hour-marker{fill:#fff}.tw-sun,.tw-moon{transform-box:fill-box;transform-origin:center;transition:opacity .45s ease,transform .65s cubic-bezier(.22,1,.36,1)}.tw-sun{opacity:0;transform:translateY(14px) rotate(-25deg) scale(.8)}.tw-moon,.is-daytime .tw-sun{opacity:1;transform:translateY(0) rotate(0) scale(1)}.is-daytime .tw-moon{opacity:0;transform:translateY(14px) rotate(20deg) scale(.8)}@media (prefers-reduced-motion: reduce){.tw-sun,.tw-moon{transition:none}}.tw-clock-time{position:absolute;left:20px;right:20px;top:50%;transform:translateY(-50%);text-align:center;color:#f7e9d4;font-size:22px;font-variant-numeric:tabular-nums}.tw-summary{flex:1;min-width:0;display:flex;flex-direction:column;gap:17px}.tw-heading{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;white-space:nowrap;font-size:18.2px}.tw-heading strong{font-size:32.5px;color:var(--dt-accent)}.tw-day-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:3px;margin-top:5px;border:0;border-radius:2px;overflow:hidden;background:var(--dt-border)}.tw-day-progress::-webkit-progress-bar{background:var(--dt-border)}.tw-day-progress::-webkit-progress-value{background:var(--dt-accent)}.tw-day-progress::-moz-progress-bar{background:var(--dt-accent)}.tw-weekday{font-size:12px;font-weight:500;color:var(--dt-muted)}.tw-weekday:before{content:"("}.tw-weekday:after{content:")"}.tw-weekdays{display:flex;gap:4px;padding-top:3px;padding-bottom:7px}.tw-day-cell{width:20px;height:23px;border-radius:4px;background:var(--dt-purple-soft);color:var(--dt-ink);display:grid;place-items:center;font-size:10px;position:relative}.tw-payday-icon{position:absolute;width:18px;height:15px;bottom:calc(100% + 3px);left:50%;transform:translate(-50%);color:var(--dt-accent)}.tw-day-cell.is-current{background:var(--dt-accent);color:var(--dt-accent-ink);font-weight:800}.tw-day-cell.is-current:after{content:"";position:absolute;bottom:-7px;left:50%;transform:translate(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid var(--dt-accent)}.tw-week-number{display:flex;align-items:center;gap:7px;color:var(--dt-muted)}.tw-week-number strong{color:var(--dt-accent);font-size:21px}.tw-week-number svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.tw-controls{display:flex;gap:5px;margin-top:12px;align-items:center}.tw-speed{flex:1;min-width:0;height:32px;font-size:12px!important}.tw-speed.is-active{background:var(--dt-border);color:var(--dt-ink)}.tw-play{width:40px;height:32px;background:var(--dt-accent)!important;color:var(--dt-accent-ink)!important;flex:none}.tw-play:hover{background:var(--dt-accent-strong)!important}.tw-play svg{width:19px;height:19px;fill:currentColor}.tw-controls .tw-play{order:3}.tw-controls .tw-speed:nth-child(1){order:1}.tw-controls .tw-speed:nth-child(2){order:2}.tw-controls .tw-speed:nth-child(3){order:4}.tw-controls .tw-speed:nth-child(4){order:5}.tw-controls .tw-speed:nth-child(5){order:6}.tw-widget.is-collapsed{width:auto}.tw-collapsed{height:42px;padding:5px 7px;display:flex;align-items:center;gap:8px}.tw-unfold{background:transparent!important;width:20px;height:29px;padding:0;flex:none}.tw-unfold svg{transform:rotate(-90deg)}.tw-small-time{font-variant-numeric:tabular-nums;letter-spacing:.3px;margin-left:2px;flex:1;text-align:center}.tw-collapsed .tw-play{width:38px;height:30px}.tw-current-speed{width:39px;height:28px;font-size:12px!important}.tw-small-day{font-size:13px;white-space:nowrap;margin:0 3px 0 4px}.tw-small-day strong{color:var(--dt-accent);font-size:21px}.dt-room-nav{width:100%;display:flex;flex-direction:column;gap:8px}.dt-room-nav__item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background:var(--dt-surface-raised);border:3px solid var(--dt-stroke);border-radius:var(--dt-radius);color:var(--dt-ink);font:700 18px var(--dt-font);text-align:left}.dt-room-nav__item.is-active{background:var(--dt-accent);border-color:var(--dt-accent-strong);color:var(--dt-accent-ink)}.dt-room-nav__icon{display:block;width:32px;height:32px;object-fit:contain;flex:none}.dt-room-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-payroll-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:92px;height:92px;border-radius:50%;border:4px solid var(--dt-accent);background:radial-gradient(circle at 40% 30%,var(--dt-accent-strong),var(--dt-accent) 70%);color:var(--dt-accent-ink);font:800 13px/1 var(--dt-font);text-transform:uppercase;letter-spacing:.04em;box-shadow:0 0 0 4px var(--dt-stroke),0 6px 14px #0a0610a0;animation:dt-payroll-pulse 1.6s ease-in-out infinite}.dt-payroll-btn:hover{background:radial-gradient(circle at 40% 30%,#ffe6ac,var(--dt-accent-strong) 70%)}.dt-payroll-btn__icon{font-size:28px;line-height:1}@keyframes dt-payroll-pulse{0%,to{box-shadow:0 0 0 4px var(--dt-stroke),0 6px 14px #0a0610a0}50%{box-shadow:0 0 0 9px #f5c85b55,0 6px 14px #0a0610a0}}.dt-debug{width:100%;font-family:var(--dt-font)}.dt-debug__option{display:flex;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;cursor:pointer}.dt-debug__toggle{width:100%;padding:8px 12px;background:var(--dt-surface-raised);border:2px solid var(--dt-stroke);border-radius:var(--dt-radius);color:var(--dt-muted);font:700 13px var(--dt-font);text-align:left}.dt-debug__toggle:hover{color:var(--dt-ink);border-color:var(--dt-border)}.dt-debug__panel{margin-top:8px;padding:10px 12px;background:var(--dt-surface);border:1px solid var(--dt-stroke);border-radius:var(--dt-radius);max-height:220px;overflow-y:auto}.dt-debug__actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.dt-debug__actions button{background:var(--dt-purple-soft);color:var(--dt-ink);border:none;border-radius:6px;padding:6px 10px;font-size:12px}.dt-debug__actions button:disabled{opacity:.55;cursor:default}.dt-debug__row{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1px dashed var(--dt-stroke);font-size:12px;color:var(--dt-muted)}.dt-debug__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-debug__bar{flex:0 0 60px;height:8px;border-radius:4px;background:var(--dt-stroke);overflow:hidden}.dt-debug__bar span{display:block;height:100%;background:var(--dt-accent)}.dt-debug__row button{background:var(--dt-accent);color:var(--dt-accent-ink);border:none;border-radius:6px;padding:2px 8px;font-size:12px}.dt-debug__empty{color:var(--dt-muted);font-size:12px;margin:4px 0}.dt-room-card,.dt-room-card *{box-sizing:border-box}.dt-room-card{position:relative;width:100%;height:100%;min-width:0;overflow:hidden;border:2px solid #fac553;border-radius:13px;background:linear-gradient(145deg,#322038,#171220 82%);box-shadow:0 0 0 3px #24152b,inset 0 0 25px #f6be3520,0 0 18px #edac2855;display:flex;flex-direction:column}.dt-room-card:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #ffc95a55;border-radius:8px;pointer-events:none}.dt-room-card__art{flex:1 1 49%;min-height:0;position:relative;overflow:hidden}.dt-room-card__art:after{content:"";position:absolute;top:55%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#1c1425);pointer-events:none}.dt-room-card__image{width:100%;height:100%;object-fit:cover;display:block;object-position:50% 53%}.dt-room-card__details{position:relative;z-index:1;flex:0 0 auto;padding:0 17px 15px}.dt-room-card__name{margin:-4px 0 7px;text-align:center;font:bold clamp(25px,2.7vw,34px)/1.15 Georgia,serif;color:#fff0d5;text-shadow:0 3px 3px #000b}.dt-room-card__name:before,.dt-room-card__name:after{content:"◆";font:12px Georgia,serif;color:#ffc44d;margin:0 10px;vertical-align:3px}.dt-room-card__stats{border-top:1px solid #87557577;padding-top:8px}.dt-room-card__stat{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;column-gap:7px;padding:3px 0;font-size:15px;font-weight:600}.dt-room-card__stat-icon{color:#dba3d5;font-size:21px;text-align:center}.dt-room-card__stat-value{color:#fff0dc;font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.dt-room-card__stat-value--gold{color:#ffc94e}@media (max-width:650px){.dt-room-card__name{font-size:24px}.dt-room-card__stat{font-size:13px}}.dt-room-card--embedded{border:none;border-radius:0;background:transparent;box-shadow:none}.dt-room-card--embedded:after{display:none}.dt-room-card--embedded .dt-room-card__art{border:1px solid #946b7f;border-radius:9px;flex:1 1 auto}.dt-room-card--embedded .dt-room-card__details{padding:9px 1px 0}.dt-room-card--embedded .dt-room-card__stats{border-top:0;padding-top:0}.dt-upgrade,.dt-upgrade *{box-sizing:border-box}.dt-upgrade{width:100%;height:100%;min-width:0;padding:7px 10px 10px;display:flex;flex-direction:column;align-items:center;border:1px solid #97567e;border-radius:10px;background:linear-gradient(145deg,#372339,#23182c 64%,#1e1528);box-shadow:inset 0 0 0 2px #ffffff08,0 7px 11px #0b051355;text-align:center;font-family:Trebuchet MS,Arial,sans-serif;line-height:1.2}.dt-upgrade__icon{color:#e9b1d4;font-size:25px;line-height:29px;height:29px;filter:drop-shadow(0 2px 2px #0009)}.dt-upgrade__name{color:#f7e7e9;font:700 15px/1.2 Georgia,serif;min-height:35px;display:grid;place-items:center}.dt-upgrade__divider{height:1px;width:100%;background:linear-gradient(90deg,transparent,#935c7d,transparent);margin:3px 0 9px}.dt-upgrade__text{width:100%;font-size:12px;font-weight:800;color:#ffce4d;overflow-wrap:anywhere}.dt-upgrade__bottom{margin-top:auto;width:100%;padding-top:7px}.dt-upgrade__button{width:100%;min-height:32px;padding:5px 4px;color:#fff6df;font:800 12px/1.2 Trebuchet MS,sans-serif;border:1px solid #ffc85c;border-radius:7px;background:linear-gradient(#e7a64a,#bf6825 55%,#8c411d);box-shadow:inset 0 2px #ffe3a05c,0 3px #4e261e;text-shadow:0 1px 2px #31150e;cursor:pointer}.dt-upgrade__button:hover:not(:disabled){filter:brightness(1.18)}.dt-upgrade__button:focus-visible{outline:2px solid #fff2aa;outline-offset:3px}.dt-upgrade__button:disabled{cursor:default;color:#d8c8df;border-color:#8e7a98;background:#786786;box-shadow:none}.dt-upgrade__check{position:absolute;top:7px;right:9px;color:var(--dt-positive);font:800 21px/23px system-ui,sans-serif}.dt-upgrade{position:relative}.dt-upgrade [hidden]{display:none!important}.dt-upgrade__button{display:grid;gap:4px}.dt-upgrade__progress{position:relative;display:block;height:15px;overflow:hidden;border:1px solid #716183;border-radius:999px;background:#59476d}.dt-upgrade__fill{position:absolute;inset:0 auto 0 0;background:#eee0fc}.dt-upgrade__remaining{position:relative;display:block;color:#fff7ff;text-shadow:0 1px 2px #24162d,1px 0 2px #24162d;font:800 10px/13px system-ui}.dt-upgrade:hover,.dt-upgrade:focus-within{z-index:3}.dt-upgrade__info:focus-visible{outline:2px solid #fff2b0;outline-offset:3px}@media (prefers-reduced-motion: reduce){.dt-upgrade__description{transition:none!important}}.dt-upgrade .dt-upgrade__info{position:absolute;z-index:4;top:7px;left:7px;display:grid;place-items:center;width:23px;height:23px;min-width:23px;padding:0;border:1px solid #d4a2c4;border-radius:50%;background:#39263e;color:#e2b7d6;font:800 italic 14px/1 Georgia,serif;cursor:help}.dt-upgrade .dt-upgrade__info:hover{background:#5b3a56}.dt-upgrade__icon img{display:block;width:29px;height:29px;object-fit:contain}.dt-upgrade__description{position:absolute;z-index:10;top:calc(100% + 9px);left:-1px;display:none;width:max-content;max-width:min(218px,78vw);min-width:120px;padding:10px 12px;border:1px solid #9a82aa;border-radius:8px;box-shadow:0 10px 24px #080511ce;background:#1c1529;color:#f4e9ff;text-align:left;font:500 12px/1.5 system-ui,sans-serif;white-space:normal;pointer-events:none}.dt-upgrade__info:hover .dt-upgrade__description,.dt-upgrade__info:focus-visible .dt-upgrade__description{display:block}@media (max-width:720px){.dt-upgrade{padding:8px 5px}.dt-upgrade__icon{height:25px;line-height:25px;font-size:21px}.dt-upgrade__icon img{width:25px;height:25px}.dt-upgrade__name{font-size:13px;min-height:32px}.dt-upgrade__divider{margin:2px 0 4px}.dt-upgrade__text{font-size:11px}.dt-upgrade__button{min-height:30px;padding:3px 1px;font-size:11px}.dt-upgrade__bottom{padding-top:4px}}.dt-room-summary-host{flex:0 0 auto;min-width:0;overflow-x:auto}.dt-room-summary{--room-height:231px;box-sizing:border-box;display:grid;grid-template-columns:431px minmax(265px,1fr);gap:18px;height:calc(var(--room-height) + 13px);min-width:714px;padding:6px 0;border-bottom:1px solid #7e4c6f77;color:#f9ebed;font-family:Trebuchet MS,Arial,sans-serif}.dt-room-summary [hidden]{display:none!important}.dt-room-summary__overview{min-width:0;height:var(--room-height)}.dt-room-summary .dt-room-card--embedded{display:grid;grid-template-columns:var(--room-height) minmax(0,1fr);gap:18px;overflow:visible}.dt-room-summary .dt-room-card__art{height:var(--room-height);width:var(--room-height);border:1px solid #946b7f;border-radius:9px}.dt-room-summary .dt-room-card__art:after{display:none}.dt-room-summary .dt-room-card__details{align-self:center;padding:0}.dt-room-summary .dt-room-card__stat{grid-template-columns:26px minmax(0,1fr);gap:3px 7px;padding:8px 0;font-size:13px}.dt-room-summary .dt-room-card__stat-icon{grid-row:span 2;font-size:22px}.dt-room-summary .dt-room-card__stat-value{grid-column:2;font-size:20px;white-space:normal;overflow-wrap:anywhere}.dt-room-summary__upgrades{display:grid;grid-template-columns:27px minmax(187px,1fr) 27px;align-items:center;gap:6px;min-width:0}.dt-room-summary__cards{grid-column:2;grid-row:1;display:flex;gap:12px;min-width:0;height:var(--room-height)}.dt-room-summary__slot{flex:0 0 187px;width:187px;height:var(--room-height)}.dt-room-summary__arrow{grid-row:1;width:27px;height:56px;padding:0;border:1px solid #76466d;border-radius:6px;background:#38253e;color:#ffc952;cursor:pointer;font:38px/1 Georgia,serif}.dt-room-summary__arrow:first-child{grid-column:1}.dt-room-summary__arrow:last-child{grid-column:3}.dt-room-summary__arrow:disabled{opacity:.33;cursor:default}.dt-room-summary__arrow:focus-visible{outline:2px solid #fff2aa;outline-offset:2px}.dt-room-summary__empty{grid-column:2;grid-row:1;color:#d5afd0;text-align:center;padding:20px;font-size:14px;line-height:1.5}.dt-item{--dt-item-yellow: var(--dt-accent, #f5c85b);--dt-item-ivory: var(--dt-ink, #f6eedc);--dt-item-lilac: var(--dt-lavender, #c6afe7);display:block;width:100%;min-width:0;color:var(--dt-item-ivory);font-family:var(--dt-font, system-ui, sans-serif);-webkit-tap-highlight-color:transparent}.dt-item__tile{position:relative;isolation:isolate;aspect-ratio:1 / 1;width:100%;border:1px solid #6a5573;border-radius:var(--dt-radius, 14px);background:radial-gradient(circle at 50% 40%,#413052,#291d37 52%,#1c1627);box-shadow:inset 0 0 0 3px #ffffff08,0 14px 24px #09050e44;overflow:visible;transition:border-color .16s ease,box-shadow .16s ease}.dt-item:hover .dt-item__tile,.dt-item:focus-within .dt-item__tile{border-color:#a38ab3}.dt-item:focus-within,.dt-item:hover{position:relative;z-index:3}.dt-item__corner{position:absolute;z-index:4;top:11px}.dt-item__top-actions{left:11px;display:flex;gap:5px}.dt-item__info,.dt-item__use{position:relative;display:grid;place-items:center;width:var(--dt-item-corner-button-size, 28px);height:var(--dt-item-corner-button-size, 28px);padding:0;border:1px solid #ffdf82;border-radius:50%;color:#2d2230;background:var(--dt-item-yellow)}.dt-item__info{font:800 italic 17px Georgia,serif;cursor:help}.dt-item__use{font:900 9px/1 var(--dt-font, system-ui, sans-serif);cursor:pointer}.dt-item__use:hover{background:#ffe094}.dt-item__stack{right:11px;display:inline-flex;align-items:center;min-height:28px;padding:3px 8px;border:1px solid #82708b;border-radius:8px;background:#191322e8;color:var(--dt-item-ivory);font-weight:800;font-size:14px;font-variant-numeric:tabular-nums;cursor:help}.dt-item__art{position:absolute;z-index:1;top:20px;right:13px;bottom:47px;left:13px;display:grid;place-items:center;pointer-events:none}.dt-item__emoji{display:block;font-size:clamp(56px,5vw,82px);line-height:1;filter:drop-shadow(0 10px 4px #100b16a6);transform:rotate(-4deg);-webkit-user-select:none;user-select:none}.dt-item__texture{display:block;width:min(78%,124px);height:min(80%,124px);object-fit:contain;filter:drop-shadow(0 9px 5px #100b16a6)}.dt-item__name{position:absolute;z-index:2;right:8px;bottom:10px;left:8px;padding:6px 4px 2px;color:#fff2da;font-weight:800;font-size:15px;line-height:1.25;text-align:center;text-shadow:0 2px 4px #0d0815;overflow-wrap:anywhere}.dt-item__actions{display:flex;flex-direction:column;gap:6px;min-height:0;padding-top:10px}.dt-item__sell{display:grid;place-items:center;width:100%;height:var(--dt-item-sale-control-height, 62px);min-height:0;padding:8px 10px;border:1px solid #fff0b1;border-radius:9px;background:var(--dt-item-yellow);color:var(--dt-accent-ink, #31200e);font:900 14px/1.25 var(--dt-font, system-ui, sans-serif);font-variant-numeric:tabular-nums;text-align:center;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}.dt-item__sell:hover:not(:disabled){background:#ffe094}.dt-item__sell:disabled{background:#bba5d6;border-color:#c9b4e7;color:#34283e;cursor:default}.dt-item--disabled .dt-item__sell{background:#9180a4;color:#30273a;border-color:#a998b9}.dt-item__instant-sell{display:grid;place-items:center;width:100%;height:30px;min-height:0;padding:2px 10px;border:1px solid var(--dt-item-yellow);border-radius:7px;background:transparent;color:var(--dt-item-yellow);font:800 11px/1.1 var(--dt-font, system-ui, sans-serif);text-align:center;cursor:pointer;transition:background .18s ease,color .18s ease}.dt-item__instant-sell:hover:not(:disabled){background:var(--dt-item-yellow);color:var(--dt-accent-ink, #31200e)}.dt-item__instant-sell:disabled{border-color:#8e7da4;color:#8e7da4;cursor:default}.dt-item--selling .dt-item__sell{align-content:center;gap:3px;padding-block:4px;background:#bba5d6;border-color:#dcc5f0;color:#30213f;font-size:12px}.dt-item--selling .dt-item__sell:hover:not(:disabled){background:#ccb6e3}.dt-item__progress{position:relative;isolation:isolate;width:100%;height:15px;overflow:hidden;border:1px solid #716183;border-radius:999px;background:#59476d;font:800 10px/13px var(--dt-font, system-ui, sans-serif);font-variant-numeric:tabular-nums}.dt-item__progress-fill{position:absolute;z-index:0;inset:0 auto 0 0;width:0%;border-radius:inherit;background:#eee0fc;transition:width .3s linear}.dt-item__remaining{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;display:block;color:#fff7ff;text-shadow:0 1px 2px #24162d,0 -1px 2px #24162d,1px 0 2px #24162d;text-align:center;white-space:nowrap}.dt-item__tooltip{position:absolute;z-index:10;display:none;width:max-content;max-width:min(218px,78vw);min-width:120px;padding:10px 12px;border:1px solid #9a82aa;border-radius:8px;box-shadow:0 10px 24px #080511ce;background:#1c1529;color:#f4e9ff;text-align:left;font:500 12px/1.5 var(--dt-font, system-ui, sans-serif);white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.dt-item__tooltip--left{left:-1px;top:calc(100% + 9px)}.dt-item__tooltip--right{right:-1px;top:calc(100% + 9px)}.dt-item__info:hover .dt-item__tooltip,.dt-item__info:focus-visible .dt-item__tooltip,.dt-item__stack:hover .dt-item__tooltip,.dt-item__stack:focus-visible .dt-item__tooltip{display:block;opacity:1;visibility:visible;transform:translateY(0)}.dt-item :is(button,[tabindex="0"]):focus-visible{outline:2px solid #fff2b0;outline-offset:3px}@media (prefers-reduced-motion: reduce){.dt-item *,.dt-item *:before,.dt-item *:after{transition:none!important}}.dt-tags,.dt-tags *{box-sizing:border-box}.dt-tags{display:flex;align-items:stretch;gap:10px;width:100%;overflow-x:auto;scrollbar-width:thin;padding:6px 3px 9px}.dt-tags__option{flex:1 0 145px;min-width:max-content;padding:10px 15px;border:1px solid #805472;border-radius:9px;background:linear-gradient(180deg,#36243b,#25192f);color:#f3e5ed;box-shadow:inset 0 1px #ffffff14;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;white-space:nowrap;font:700 16px/1 Trebuchet MS,sans-serif}.dt-tags__option:hover:not(.dt-tags__option--active){border-color:#e6b1cb;background:#45304d}.dt-tags__option--active{border-color:#ffe277;color:#fff4de;box-shadow:0 0 0 2px #8d592b,0 0 15px #e9a94055,inset 0 0 14px #a66e2944;background:linear-gradient(#4b2a37,#3b2633)}.dt-tags__option:focus-visible{outline:2px solid #fff1a1;outline-offset:3px}.dt-tags__icon{color:#d8a9d2;font-size:23px;line-height:1}.dt-tags__option--active .dt-tags__icon{color:#ffd45e}@media (max-width:680px){.dt-tags__option{flex:0 0 auto;padding:10px 13px;font-size:13px}.dt-tags__icon{font-size:18px}}.dt-storehouse,.dt-storehouse *{box-sizing:border-box}.dt-storehouse{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;color:#f8eff0;font-family:Trebuchet MS,Segoe UI,sans-serif}.dt-storehouse:before{content:"";position:absolute;z-index:-1;width:270px;height:270px;top:-160px;left:3%;border-radius:50%}.dt-storehouse__shell{position:relative;z-index:1;height:100%;max-width:1600px;margin:0 auto}.dt-storehouse__window{display:flex;flex-direction:column;gap:12px;width:100%;height:100%;min-height:0;overflow:hidden;padding:13px 16px 16px;border:2px solid #8d527b;border-radius:16px;background:linear-gradient(155deg,#2b1b33f5,#211729f7 54%,#1a1425f8);box-shadow:inset 0 0 0 4px #aa5e8d12,0 12px 40px #0806119c}.dt-storehouse__topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;flex:0 0 55px;min-height:0;position:relative;border-bottom:1px solid #805372a0;padding:0 0 9px}.dt-storehouse__window-title{grid-column:2;margin:0;justify-self:center;font:bold clamp(25px,2.6vw,36px)/1.15 Georgia,serif;color:#ffefd7;text-align:center;letter-spacing:.055em;text-shadow:0 2px 3px #0c0718,0 0 18px #d68b583b}.dt-storehouse__window-title:before,.dt-storehouse__window-title:after{content:"◆";margin:0 15px;color:#f7c85a;font:13px Georgia,serif;vertical-align:5px}.dt-storehouse__back{grid-column:1;grid-row:1;justify-self:start;display:grid;place-items:center;width:55px;height:47px;padding:0;color:#fff0c8;font:700 36px/1 Georgia,serif;border:2px solid #754166;border-radius:9px;background:linear-gradient(#2c1b31,#1b1628);box-shadow:inset 0 0 0 3px #ffffff0a,0 3px 9px #090612aa;cursor:pointer}.dt-storehouse__back:hover{color:#ffd65d;border-color:#df9fc2}.dt-storehouse button:focus-visible{outline:2px solid #ffde79;outline-offset:3px}.dt-storehouse__inventory{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.dt-storehouse__filters{flex:0 0 auto;min-height:59px;padding:2px 4px;margin-bottom:5px;border-bottom:1px solid #80537285}.dt-storehouse__inventory-frame{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;background:transparent}.dt-storehouse__inventory-topline{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:9px 18px 6px;font-size:12px;color:#ccaece;text-transform:uppercase;letter-spacing:.12em;font-weight:700}.dt-storehouse__inventory-title{color:#e0b8dd}.dt-storehouse__inventory-viewport{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:3px 13px 18px;scroll-behavior:auto;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-storehouse__inventory-viewport::-webkit-scrollbar{width:10px}.dt-storehouse__inventory-viewport::-webkit-scrollbar-track{background:#342039;border-radius:9px}.dt-storehouse__inventory-viewport::-webkit-scrollbar-thumb{background:linear-gradient(#ba62aa,#793970);border-radius:9px;border:2px solid #342039}.dt-storehouse__items{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(165px,100%),1fr));gap:16px 13px;align-items:start}.dt-storehouse__item-slot{min-width:0}.dt-storehouse__item-slot .dt-item{--dt-item-sale-control-height:55px;--dt-item-corner-button-size:23px}.dt-storehouse__item-slot .dt-item__tile{border-color:#975578;border-radius:10px;background:radial-gradient(ellipse at 50% 40%,#42263d,#2d1c32 60%,#23182a)}.dt-storehouse__item-slot .dt-item__info{background:#39263e;color:#e2b7d6;border-color:#d4a2c4}.dt-storehouse__item-slot .dt-item__info:hover{background:#5b3a56}.dt-storehouse__item-slot .dt-item__stack{top:6px;right:7px;min-height:22px;padding:2px 6px;border-color:#744a67;border-radius:999px;background:#1c1220dc;font-size:12px}.dt-storehouse__item-slot .dt-item__top-actions{top:7px;left:7px}.dt-storehouse__item-slot .dt-item__info{font-size:14px}.dt-storehouse__item-slot .dt-item__name{font:700 14px/1.2 Trebuchet MS,sans-serif;bottom:9px}.dt-storehouse__item-slot .dt-item__emoji{font-size:clamp(42px,4.2vw,72px)}.dt-storehouse__item-slot .dt-item__actions{padding-top:7px}.dt-storehouse__item-slot .dt-item__sell{border-color:#ffcc6e;background:linear-gradient(#e9a444,#c77827 65%,#a45124);color:#fff0d6;text-shadow:0 1px 2px #43200ecc;box-shadow:inset 0 1px #ffe49b66,0 3px #673522}.dt-storehouse__item-slot .dt-item__sell:hover:not(:disabled){background:linear-gradient(#f8bb5d,#e49740 60%,#af5b2a)}.dt-storehouse__item-slot .dt-item--selling .dt-item__sell{background:linear-gradient(#8d669a,#6b477b);border-color:#c08ed2;color:#fff0ff;box-shadow:inset 0 1px #e4c0f155,0 3px #482c50}.dt-storehouse__item-slot .dt-item--selling .dt-item__sell:hover:not(:disabled){background:linear-gradient(#a07aac,#79538b)}.dt-storehouse__item-slot .dt-item__remaining{font-size:9px}.dt-storehouse__item-slot .dt-item--selling .dt-item__tile{border-color:#f5ca51;box-shadow:0 0 0 1px #f4c64c,0 0 15px #f2bb3b77}.dt-storehouse__empty{color:#dfc7d8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:280px;padding:38px 10px;text-align:center}.dt-storehouse__empty[hidden]{display:none!important}.dt-storehouse__empty>span{font-size:54px}.dt-storehouse__empty strong{font:700 24px Georgia,serif}.dt-storehouse__empty p{margin:0;max-width:400px;color:#ac92aa;line-height:1.5}.dt-storehouse--busy{cursor:wait}@media (max-width:1050px){.dt-storehouse__items{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr))}}@media (max-width:720px){.dt-storehouse{height:100dvh;min-height:620px}.dt-storehouse__shell{padding:9px 12px 12px;gap:9px}.dt-storehouse__topbar{flex-basis:42px}.dt-storehouse__back{width:47px;height:40px;font-size:30px}.dt-storehouse__filters{min-height:50px;padding:1px 5px;margin-bottom:7px}.dt-storehouse__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 8px}.dt-storehouse__inventory-viewport{padding:4px 9px 14px}.dt-storehouse__inventory-topline{padding:7px 12px 5px;font-size:10px}}@media (max-height:700px) and (min-width:721px){.dt-storehouse__topbar{flex-basis:39px}.dt-storehouse__shell{gap:8px}}@media (prefers-reduced-motion:reduce){.dt-storehouse *,.dt-storehouse *:before,.dt-storehouse *:after{scroll-behavior:auto!important;transition:none!important}}@media (max-width:720px){.dt-storehouse__shell{padding:8px}.dt-storehouse__window{padding:9px 10px 11px;gap:9px;border-radius:12px}.dt-storehouse__topbar{flex-basis:43px;padding-bottom:6px}.dt-storehouse__window-title{font-size:clamp(19px,5vw,28px);letter-spacing:0}.dt-storehouse__window-title:before,.dt-storehouse__window-title:after{margin:0 5px;font-size:8px;vertical-align:3px}.dt-storehouse__filters{min-height:49px;padding:1px 0 0;margin-bottom:4px}.dt-room-card--embedded .dt-room-card__details{padding-top:6px}}@media (max-height:700px) and (min-width:721px){.dt-storehouse__topbar{flex-basis:42px}.dt-storehouse__window{gap:8px}}.dt-storehouse .dt-storehouse__items,.dt-quarters .dt-quarters__beds-grid,.dt-infirmary .dt-infirmary__beds-grid,.dt-training-hall .dt-training-hall__stations-grid,.dt-dungeon .dt-dungeon__cells-grid,.dt-training-hall .dt-training-hall__roster{display:grid;grid-template-columns:repeat(auto-fill,165px);gap:16px 13px;max-width:none;margin:0;align-items:start;justify-content:start}.dt-room-slot,.dt-bed .dt-bed__tile,.dt-training-hall .dt-station__tile,.dt-dungeon .dt-cell__scene{border:1px solid #6a5573;border-radius:14px;box-shadow:inset 0 0 0 3px #ffffff08,0 8px 18px #09050e44}.dt-room-slot{box-sizing:border-box;width:100%;aspect-ratio:1;background:radial-gradient(circle at 50% 40%,#413052,#291d37 52%,#1c1627)}.dt-room-slot--vacant{border-style:dashed}@media (max-width:720px){.dt-storehouse .dt-storehouse__items,.dt-quarters .dt-quarters__beds-grid,.dt-infirmary .dt-infirmary__beds-grid,.dt-training-hall .dt-training-hall__stations-grid,.dt-dungeon .dt-dungeon__cells-grid,.dt-training-hall .dt-training-hall__roster{grid-template-columns:repeat(auto-fill,minmax(130px,165px));gap:13px 8px}}.dt-minion{position:relative;display:block;box-sizing:border-box;width:100%;min-width:0;aspect-ratio:1;isolation:isolate;container-type:inline-size;font-family:var(--dt-font,"Trebuchet MS",sans-serif);color:#fff4df;border:2px solid #9d528b;border-radius:12px;background:#2c1c35;box-shadow:0 3px 10px #08051150}.dt-minion *{box-sizing:border-box}.dt-minion [hidden]{display:none!important}.dt-minion:hover,.dt-minion:focus-within{z-index:12}.dt-minion__portrait{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;overflow:hidden;pointer-events:none}.dt-minion__portrait-texture{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.dt-minion__info{position:absolute;z-index:4;top:4%;left:4%;display:grid;place-items:center;width:17%;aspect-ratio:1;padding:0;border:1px solid #ffe5a0;border-radius:50%;background:#eec25c;color:#312030;font:900 12cqw/1 Georgia,serif;cursor:help}.dt-minion__info:hover{background:#ffe395}.dt-minion__name{position:absolute;z-index:2;bottom:4%;left:5%;right:26%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff4df;font:800 11cqw/1.2 var(--dt-font,sans-serif);text-shadow:0 1px 3px #000,0 0 6px #000}.dt-minion__rank{position:absolute;z-index:3;top:5%;right:5%;font:900 13cqw/1 var(--dt-font,sans-serif);color:#ffe2a0;text-shadow:0 1px 3px #000,0 0 6px #000;cursor:help}.dt-minion__statuses{position:absolute;z-index:3;top:25%;right:3%;bottom:3%;width:23%;display:flex;flex-direction:column;align-items:center;gap:3cqw}.dt-minion__conditions{display:contents}.dt-minion__condition,.dt-minion__status{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;flex:none;cursor:help}.dt-minion__status{order:-1}.dt-minion__condition-icon,.dt-minion__status-icon{font-size:15cqw;line-height:1;filter:drop-shadow(0 1px 2px #150b20)}.dt-minion__status-ring{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:none;stroke-width:2.5;pointer-events:none}.dt-minion__ring-track{stroke:#211329b3}.dt-minion__ring-fill{stroke:#ffe198;stroke-dasharray:1;stroke-linecap:round}.dt-minion__tooltip{position:fixed;inset:auto;margin:0;max-height:calc(100vh - 16px);overflow:auto;display:none;width:max-content;min-width:120px;max-width:min(240px,75vw);padding:8px 10px;border:1px solid #be8cad;border-radius:7px;background:#1d1427;box-shadow:0 5px 18px #0b0715c0;color:#fff0e4;font:500 12px/1.5 var(--dt-font,sans-serif);white-space:normal;text-align:left;text-shadow:none;pointer-events:none}.dt-minion__tooltip:popover-open{display:block}.dt-minion :is(button,[tabindex="0"]):focus-visible{outline:2px solid #ffdf83;outline-offset:2px}.dt-mission-pin{position:absolute;z-index:3;display:grid;place-items:center;width:44px;height:44px;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;color:#fff4d9;cursor:pointer}.dt-mission-pin[hidden],.dt-mission-pin__activity[hidden]{display:none}.dt-mission-pin__marker{display:block;width:44px;height:44px;filter:drop-shadow(0 2px 3px #10071b);transition:transform .16s}.dt-mission-pin__flag{width:40px;height:44px;fill:#e7b652;stroke:#fff1be;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.dt-mission-pin__flag path:first-child{stroke-width:3}.dt-mission-pin[data-state=completed] .dt-mission-pin__flag{fill:#538e62;stroke:#c4e9b2}.dt-mission-pin__activity{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#21162ce8}.dt-mission-pin__activity svg{position:absolute;top:0;right:0;bottom:0;left:0;width:44px;height:44px;fill:none;stroke-width:3}.dt-mission-pin__activity-symbol{font-size:23px;line-height:1}.dt-mission-pin[data-state=reportReady] .dt-mission-pin__activity-symbol{color:#ffd475;font-weight:800}.dt-mission-pin__track{stroke:#6b536b}.dt-mission-pin__progress{stroke:#ffd475;stroke-dasharray:1;stroke-linecap:round}.dt-mission-pin--selected .dt-mission-pin__marker{filter:drop-shadow(0 0 5px #ffd475);transform:scale(1.12)}.dt-mission-pin:hover,.dt-mission-pin:focus-visible{z-index:10}.dt-mission-pin:hover .dt-mission-pin__marker,.dt-mission-pin:focus-visible .dt-mission-pin__marker{transform:scale(1.12)}.dt-mission-pin:focus-visible{outline:2px solid #ffe09b;outline-offset:3px;border-radius:50%}.dt-mission-pin__tooltip{position:absolute;display:none;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);width:250px;padding:10px 12px;color:#fff5d9;font:500 12px/1.4 var(--dt-font);text-align:left;background:#26162ff5;border:1px solid #bd81ac;border-radius:8px;box-shadow:0 4px 16px #0008;pointer-events:none}.dt-mission-pin:hover .dt-mission-pin__tooltip,.dt-mission-pin:focus-visible .dt-mission-pin__tooltip{display:grid;gap:6px}.dt-mission-pin__tooltip>strong{font-size:14px}.dt-mission-pin__status{color:#dfc9b0;font-size:11px}.dt-mission-pin__details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}.dt-mission-pin__loot{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #795374;padding-top:6px}.dt-mission-pin__loot>span{display:inline-flex;align-items:center;gap:3px}.dt-mission-pin__loot img{width:22px;height:22px;object-fit:contain}.dt-mission-pin__defenders{position:absolute;top:42px;left:50%;transform:translate(-50%);min-width:33px;padding:2px 5px;border:1px solid #bb9062;border-radius:6px;background:#201628ed;color:#fff1ce;font:700 12px/1.2 var(--dt-font);white-space:nowrap;box-shadow:0 2px 4px #0008}.dt-mission-pin__completion{position:absolute;top:0;right:-5px;display:grid;place-items:center;width:17px;height:17px;border:1px solid #b8df9a;border-radius:50%;background:#244e37;color:#e3f8c9;font:700 12px/1 sans-serif}.dt-mission-pin__defenders[hidden],.dt-mission-pin__completion[hidden]{display:none}@media (prefers-reduced-motion:reduce){.dt-mission-pin__marker{transition:none}}.dt-warroom,.dt-warroom *,.dt-warroom *:before,.dt-warroom *:after{box-sizing:border-box}.dt-warroom button{font-family:inherit}.dt-warroom [hidden]{display:none!important}.dt-warroom{height:100%;min-height:0;padding:10px 12px 22px;background:radial-gradient(ellipse at 50% 4%,#622653 0,#371b39 29%,#1a1027 68%,#140e1d);position:relative;isolation:isolate;display:flex;flex-direction:column}.dt-warroom:after{content:"";position:fixed;z-index:-1;pointer-events:none;bottom:0;left:0;right:0;height:18%;background:linear-gradient(transparent,#1c1027),linear-gradient(145deg,transparent 15%,#130d1c 15% 24%,transparent 24% 42%,#170e21 42% 54%,transparent 54% 67%,#100b1a 67%);opacity:.55}.dt-warroom__window{width:min(100%,1510px);height:100%;min-height:0;margin:0 auto;display:flex;flex-direction:column;background:linear-gradient(180deg,#29192f,#24172d 54%,#1e1527);border:2px solid #9d527f;border-radius:14px;box-shadow:0 22px 80px #0a06158a,inset 0 0 0 2px #d073ae1e;padding:0 15px 13px;overflow:hidden}.dt-warroom__topbar{height:53px;display:grid;grid-template-columns:68px 1fr 68px;align-items:center;border-bottom:1px solid #8c54704d;position:relative}.dt-warroom__back{width:49px;height:42px;border:1px solid #bf75aa;background:linear-gradient(#472645,#21172a);color:#ffecb7;border-radius:8px;font:700 30px Georgia,serif;line-height:1;box-shadow:inset 0 0 0 2px #1c1122,0 2px #1a0c1f;cursor:pointer}.dt-warroom__back:hover{border-color:#f8cb75;background:#543151}.dt-warroom__title{text-align:center;color:#fff1d5;font:bold clamp(29px,3.2vw,39px)/1 Georgia,serif;letter-spacing:.02em;text-shadow:0 2px 3px #090511;margin:0}.dt-warroom__title:before,.dt-warroom__title:after{content:"◆";font:12px Georgia,serif;vertical-align:6px;color:#f4bc39;margin:0 20px}.dt-warroom__header-diamond{display:none}.dt-warroom__map-area{flex:1;min-height:0;margin-top:11px;border:1px solid #9e5992;border-radius:10px;position:relative;overflow:hidden;box-shadow:0 0 0 3px #24132b,0 8px 20px #0c051d60}.dt-warroom__map-viewport{width:100%;height:100%;min-height:200px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ad628e #2c1a38;cursor:grab;touch-action:pan-x pan-y}.dt-warroom__map-viewport--dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.dt-warroom__map-coordinates{position:absolute;right:16px;bottom:16px;z-index:2;pointer-events:none;padding:6px 9px;border-radius:4px;background:#140c20d9;color:#fff;font:600 14px/1.4 monospace;white-space:pre}.dt-warroom__map-coordinates[hidden]{display:none}.dt-warroom__world-name{position:absolute;top:16px;left:18px;right:18px;z-index:1;pointer-events:none;color:#fff1d5;font:bold clamp(22px,2.4vw,30px)/1.2 Georgia,serif;text-shadow:0 2px 4px #000,0 0 8px #000}.dt-warroom__map-stage{position:relative;width:max(100%,1560px);height:700px;isolation:isolate;background:#271328}.dt-warroom__map-art{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none;filter:saturate(1.09) contrast(1.03)}.dt-warroom__mission-pins{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.dt-warroom__mission-pins>div{display:contents}.dt-warroom__mission-pins button{pointer-events:auto}.dt-warroom__location{border:1px solid #e7bb53;border-radius:9px;position:relative;overflow:hidden;aspect-ratio:1;align-self:start;width:100%;background:#201327;box-shadow:0 0 0 2px #31162c}.dt-warroom__location-art{display:block;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;object-fit:cover}.dt-warroom__location:before{content:"";position:absolute;z-index:1;top:35%;right:0;bottom:0;left:0;background:linear-gradient(transparent 0%,#140c20b8 55%,#120c1f)}.dt-warroom__location-info{position:absolute;z-index:2;top:8px;left:8px;height:27px;width:27px;border-radius:50%;border:1px solid #ffc678;background:#271427c9;color:#ffe1a4;font:800 19px Georgia,serif;cursor:help}.dt-warroom__location-info:hover{background:#6a3b50}.dt-warroom__location-bottom{position:absolute;z-index:2;bottom:8px;left:12px;right:10px}.dt-warroom__location-name{color:#fff1d9;font:700 20px/1.1 Georgia,serif;text-shadow:0 2px 4px #000}.dt-warroom__rewards{display:flex;gap:11px;align-items:center;justify-content:flex-start;flex-wrap:wrap}.dt-warroom__reward{display:flex;min-width:0;align-items:center;flex-direction:column;gap:6px;color:#f1e1dc;font:800 13px/1 sans-serif}.dt-warroom__reward-icon{font-size:29px;white-space:nowrap;filter:drop-shadow(0 3px 3px #0007)}.dt-warroom__raid-active-label{font:800 14px Georgia,serif;color:#f7d47a;margin-bottom:6px}.dt-warroom__raid-active-track{height:12px;border:1px solid #ad729e;border-radius:10px;overflow:hidden;background:#1a0e23}.dt-warroom__raid-active-track span{display:block;height:100%;background:linear-gradient(90deg,#8c65d0,#ffc563)}.dt-warroom__raid-active-remaining{font-size:12px;color:#ddc7df;margin-top:6px}.dt-warroom__raid-button{min-height:120px;width:112px;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px 3px;border-radius:10px;border:2px solid #ffd16b;background:linear-gradient(#fbc34e,#cc8423 51%,#a65d24);color:#fff4d8;text-shadow:0 2px 3px #5b290c;box-shadow:inset 0 2px #fff2b2a3,0 3px #6b311e,0 0 16px #f8a5283f;cursor:pointer;font:900 26px Georgia,serif}.dt-warroom__raid-button:hover:not(:disabled){filter:brightness(1.12)}.dt-warroom__raid-button:disabled{cursor:default;filter:saturate(.43) brightness(.85);border-color:#9c7d9b;background:linear-gradient(#615075,#392d4f)}.dt-warroom__raid-icon{font-size:34px;line-height:1}.dt-warroom__tray-viewport{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#a26495 #26152b;overscroll-behavior-inline:contain;padding:4px 3px 7px}.dt-warroom__minion-track{display:flex;gap:10px;width:max-content;min-width:100%}.dt-warroom__minion-slot{width:112px;height:112px;flex:none;position:relative;border-radius:12px;cursor:pointer;outline:2px solid transparent;outline-offset:2px}.dt-warroom__minion-slot>.dt-minion{height:100%}.dt-warroom__minion-slot--selected{outline-color:#ffd76d;box-shadow:0 0 14px #ffba3e75}.dt-warroom__minion-slot--disabled:not(.dt-warroom__minion-slot--selected){opacity:.65;cursor:not-allowed}.dt-warroom__minion-slot:focus-visible{outline:2px solid #fff0af}.dt-warroom__minion-slot:hover:not(.dt-warroom__minion-slot--disabled){transform:translateY(-2px)}@media (max-width:1150px){.dt-warroom__rewards{gap:5px}}@media (max-width:780px){.dt-warroom{padding:4px}.dt-warroom__window{padding:0 10px 10px;border-radius:10px}.dt-warroom__topbar{height:48px}.dt-warroom__title{font-size:28px}.dt-warroom__title:before,.dt-warroom__title:after{margin:0 8px;font-size:9px}.dt-warroom__map-viewport{height:425px}.dt-warroom__map-stage{width:1450px;height:660px}.dt-warroom__reward-icon{font-size:24px}.dt-warroom__location-name{font-size:19px}}@media (max-width:500px){.dt-warroom__title{font-size:25px}.dt-warroom__map-viewport{height:380px}.dt-warroom__rewards{gap:18px}.dt-warroom__reward-icon{font-size:29px}}.dt-warroom__reward-icon img{display:block;width:40px;height:40px;object-fit:contain}.dt-warroom__parameters{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px}.dt-warroom__parameter{position:relative;display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;color:#f9e3df;font-size:14px;line-height:1.4;cursor:help;border-radius:4px}.dt-warroom__parameter-icon{min-width:30px;text-align:center;font-size:17px}.dt-warroom__parameter[data-parameter-id=success]{color:#ffd76d}.dt-warroom__parameter:focus-visible{outline:2px solid #ffd76d;outline-offset:4px}.dt-warroom__parameter-tooltip{display:none;position:absolute;z-index:30;bottom:calc(100% + 8px);left:0;width:260px;max-width:70vw;padding:10px 12px;border:1px solid #b787a5;border-radius:8px;background:#211429;box-shadow:0 6px 20px #0008;color:#f6e7ee;font:400 13px/1.5 sans-serif;pointer-events:none}.dt-warroom__parameter:hover .dt-warroom__parameter-tooltip,.dt-warroom__parameter:focus .dt-warroom__parameter-tooltip{display:block}.dt-warroom__raid-active{margin-top:10px}@media (max-width:780px){.dt-warroom__window{overflow-y:auto}.dt-warroom__map-area{flex:0 0 280px}.dt-warroom__map-viewport{height:100%;min-height:0}}.dt-warroom__parameter{grid-column:1}.dt-warroom__parameter[data-parameter-id=weather]{grid-column:2;grid-row:1;align-self:start}.dt-warroom__reward,.dt-warroom__reward *{cursor:help}@media (max-width:780px){.dt-warroom__parameters{gap:6px 10px}.dt-warroom__parameter{font-size:12px;gap:5px}}.dt-warroom__planning{--mission-size:128px;position:relative;flex:0 0 auto;margin-top:8px;padding:8px 0 0 1px;border-top:1px solid #a65b91}.dt-warroom__mission-info{display:grid;grid-template-columns:var(--mission-size) max-content max-content minmax(112px,1fr) var(--mission-size);gap:12px;align-items:center;min-height:var(--mission-size)}.dt-warroom__location{width:var(--mission-size);height:var(--mission-size);min-height:0;align-self:center}.dt-warroom__location-name{font-size:18px}.dt-warroom__raid-block{padding-left:10px;border-left:1px solid #795374}.dt-warroom__parameters{grid-template-columns:max-content max-content;gap:6px 12px}.dt-warroom__parameter{font-size:13px;gap:6px;white-space:nowrap}.dt-warroom__parameter-icon{min-width:24px;font-size:16px}.dt-warroom__parameter-tooltip{white-space:normal}.dt-warroom__reward-block{padding-left:10px;border-left:1px solid #795374;max-width:148px;cursor:help}.dt-warroom__rewards{gap:8px;flex-wrap:nowrap}.dt-warroom__reward-icon img{width:32px;height:32px}.dt-warroom__reward-icon{font-size:28px}.dt-warroom__reward{font-size:12px}.dt-warroom__tray{min-width:0;margin:0;padding:0;border:1px solid #795374;border-radius:8px;background:#1c122680;height:var(--mission-size)}.dt-warroom__tray-viewport{height:100%;width:100%;overflow-x:auto;overflow-y:hidden;padding:10px 7px 8px;scrollbar-gutter:stable}.dt-warroom__minion-track{gap:9px;align-items:center}.dt-warroom__minion-slot{width:100px;height:100px}.dt-warroom__raid-button{width:var(--mission-size);height:var(--mission-size);min-height:var(--mission-size);align-self:center;font-size:18px;padding:5px;gap:4px}.dt-warroom__raid-icon{font-size:26px}.dt-warroom__raid-active{margin-top:6px}.dt-warroom__raid-active-label{font-size:12px}.dt-warroom__parameter[data-parameter-id=defenders]{grid-column:2;grid-row:2}.dt-warroom__parameter[data-parameter-id=injuries]{grid-column:2;grid-row:3}.dt-warroom__parameter[data-parameter-id=village-rewards]{grid-column:2;grid-row:4}.dt-warroom__village-status{display:flex;justify-content:space-between;gap:6px 20px;flex-wrap:wrap;padding:8px 1px 0;color:#cbb8ce;font-size:12px;line-height:1.4}.dt-warroom__availability{color:#f5d58f}@media (max-width:1000px){.dt-warroom__mission-info{overflow-x:auto;overflow-y:hidden;grid-template-columns:var(--mission-size) max-content max-content minmax(150px,1fr) var(--mission-size);padding-bottom:5px;scrollbar-width:thin;scrollbar-color:#a26495 #26152b}.dt-warroom__parameter-tooltip{display:none!important}}.dt-bed,.dt-bed *{box-sizing:border-box}.dt-bed{width:100%;color:#f6eedc;background:transparent;overflow:visible}.dt-bed [hidden]{display:none!important}.dt-bed__tile{position:relative;width:100%;aspect-ratio:1;background:#291d37}.dt-bed__image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:inherit;opacity:var(--dt-slot-art-opacity,.25)}.dt-bed__minion{position:absolute;top:8%;right:12%;bottom:16%;left:12%}.dt-bed__minion .dt-minion{background:transparent;border:0;box-shadow:none}.dt-bed__activity{display:grid;gap:5px;margin:10px 0 0;padding:7px;border:1px solid #dcc5f0;border-radius:9px;background:#bba5d6;color:#30213f;text-align:center;font:800 12px var(--dt-font,sans-serif)}.dt-bed__progress{position:relative;isolation:isolate;height:15px;border:1px solid #716183;border-radius:999px;background:#59476d;overflow:hidden}.dt-bed__fill{position:absolute;inset:0 auto 0 0;background:#eee0fc;transition:width .3s linear}.dt-bed__remaining{position:absolute;top:0;right:0;bottom:0;left:0;color:#fff7ff;text-shadow:0 1px 2px #24162d,1px 0 2px #24162d;font:800 10px/13px var(--dt-font,sans-serif)}.dt-bed--treatment .dt-bed__fill{background:#ffe0e7}@media (prefers-reduced-motion:reduce){.dt-bed__fill{transition:none}}.dt-quarters,.dt-quarters *{box-sizing:border-box}.dt-quarters{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;color:#f9ebed;background:radial-gradient(ellipse 44% 32% at 16% 12%,#852c6566 0%,transparent 75%),radial-gradient(ellipse 50% 20% at 48% 90%,#8e2d695b,transparent 90%),linear-gradient(180deg,#1d1428,#2b1833 44%,#1c1429);font-family:Trebuchet MS,Arial,sans-serif}.dt-quarters__mountains{position:absolute;z-index:-1;inset:auto 0 0;height:21%;pointer-events:none;background:linear-gradient(172deg,transparent 48%,#25182f 49%),linear-gradient(186deg,transparent 50%,#311c3c 51%);opacity:.7}.dt-quarters__shell{height:100%;width:100%;margin:auto;padding:13px 22px 18px}.dt-quarters__window{height:100%;width:100%;max-width:1660px;margin:auto;display:flex;flex-direction:column;min-height:0;padding:13px 16px 17px;gap:13px;background:linear-gradient(175deg,#26172d,#24162b 58%,#1d1426);border:2px solid #975377;border-radius:18px;box-shadow:inset 0 0 0 1px #d498b71a,0 15px 36px #120b1c66}.dt-quarters__topbar{flex:0 0 55px;min-height:0;position:relative;display:flex;justify-content:center;align-items:center;padding-bottom:10px;border-bottom:1px solid #7e4c6f77}.dt-quarters__back{position:absolute;left:0;top:0;display:grid;place-items:center;width:53px;height:47px;border:2px solid #985276;border-radius:9px;color:#fff2d6;background:linear-gradient(#36213a,#241a2d);font:39px/1 Georgia,serif;cursor:pointer;box-shadow:inset 0 0 0 2px #3e2941}.dt-quarters__back:hover{color:#ffd36b;border-color:#d49c65}.dt-quarters__window-title{margin:0;color:#fff0d5;text-shadow:0 2px 3px #080411;letter-spacing:.035em;font:bold clamp(25px,2.8vw,41px)/1.15 Georgia,serif}.dt-quarters__window-title:before,.dt-quarters__window-title:after{content:"◆";font:12px Georgia,serif;color:#ffc44d;vertical-align:6px;margin:0 14px}.dt-quarters__beds-section{min-height:0;flex:1.4;display:flex;flex-direction:column;overflow:hidden}.dt-quarters__minions-section{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;border-top:1px solid #805372a0}.dt-quarters__minions-topline{flex:0 0 auto;display:flex;justify-content:space-between;padding:10px 17px;font:700 12px/1.1 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#d5a8cf}.dt-quarters__minions-viewport{flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;padding:4px 16px 14px;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-quarters__minions-track{display:flex;gap:10px;width:max-content;min-width:100%;height:100%}.dt-quarters__minion-slot{width:128px;height:128px;flex:none}.dt-quarters__minion-slot>.dt-minion{height:100%}.dt-quarters__beds-topline{flex:0 0 auto;display:flex;justify-content:space-between;padding:2px 17px 10px;font:700 12px/1.1 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#d5a8cf}.dt-quarters__beds-viewport{position:relative;flex:1;min-height:0;overflow:auto;padding:6px 16px 18px;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-quarters__beds-viewport::-webkit-scrollbar{width:10px}.dt-quarters__beds-viewport::-webkit-scrollbar-track{background:#342039;border-radius:9px}.dt-quarters__beds-viewport::-webkit-scrollbar-thumb{background:#925081;border:2px solid #342039;border-radius:9px}.dt-quarters__beds-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1170px;margin:0 auto;align-items:start}.dt-quarters__bed-slot{min-width:0}.dt-quarters__no-beds{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#d5afd0}.dt-quarters__no-beds[hidden]{display:none}.dt-quarters__no-beds span{font-size:54px}.dt-quarters__no-beds strong{font:700 24px Georgia,serif}.dt-quarters__no-beds p{margin:0}.dt-quarters--busy{cursor:wait}@media (max-width:1000px){.dt-quarters__beds-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.dt-quarters{min-height:630px}.dt-quarters__shell{padding:8px}.dt-quarters__window{padding:8px 9px 10px;gap:8px;border-radius:12px}.dt-quarters__topbar{flex-basis:43px;padding-bottom:6px}.dt-quarters__back{width:45px;height:39px;font-size:30px}.dt-quarters__window-title{font-size:clamp(22px,5vw,28px);letter-spacing:0}.dt-quarters__window-title:before,.dt-quarters__window-title:after{margin:0 5px;vertical-align:3px;font-size:8px}.dt-quarters__beds-viewport{padding:4px 8px 12px}.dt-quarters__beds-topline{font-size:10px;padding:4px 8px 8px}.dt-quarters__beds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}@media (max-height:720px) and (min-width:721px){.dt-quarters__topbar{flex-basis:42px}.dt-quarters__window{gap:8px}}@media (prefers-reduced-motion:reduce){.dt-quarters *,.dt-quarters *:before,.dt-quarters *:after{scroll-behavior:auto!important}}.dt-infirmary,.dt-infirmary *{box-sizing:border-box}.dt-infirmary{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;color:#f9ebed;background:radial-gradient(ellipse 44% 32% at 16% 12%,#852c6566 0%,transparent 75%),radial-gradient(ellipse 50% 20% at 48% 90%,#8e2d695b,transparent 90%),linear-gradient(180deg,#1d1428,#2b1833 44%,#1c1429);font-family:Trebuchet MS,Arial,sans-serif}.dt-infirmary__mountains{position:absolute;z-index:-1;inset:auto 0 0;height:21%;pointer-events:none;background:linear-gradient(172deg,transparent 48%,#25182f 49%),linear-gradient(186deg,transparent 50%,#311c3c 51%);opacity:.7}.dt-infirmary__shell{height:100%;width:100%;margin:auto;padding:13px 22px 18px}.dt-infirmary__window{height:100%;width:100%;max-width:1660px;margin:auto;display:flex;flex-direction:column;min-height:0;padding:13px 16px 17px;gap:13px;background:linear-gradient(175deg,#26172d,#24162b 58%,#1d1426);border:2px solid #975377;border-radius:18px;box-shadow:inset 0 0 0 1px #d498b71a,0 15px 36px #120b1c66}.dt-infirmary__topbar{flex:0 0 55px;min-height:0;position:relative;display:flex;justify-content:center;align-items:center;padding-bottom:10px;border-bottom:1px solid #7e4c6f77}.dt-infirmary__back{position:absolute;left:0;top:0;display:grid;place-items:center;width:53px;height:47px;border:2px solid #985276;border-radius:9px;color:#fff2d6;background:linear-gradient(#36213a,#241a2d);font:39px/1 Georgia,serif;cursor:pointer;box-shadow:inset 0 0 0 2px #3e2941}.dt-infirmary__back:hover{color:#ffd36b;border-color:#d49c65}.dt-infirmary__window-title{margin:0;color:#fff0d5;text-shadow:0 2px 3px #080411;letter-spacing:.035em;font:bold clamp(25px,2.8vw,41px)/1.15 Georgia,serif}.dt-infirmary__window-title:before,.dt-infirmary__window-title:after{content:"◆";font:12px Georgia,serif;color:#ffc44d;vertical-align:6px;margin:0 14px}.dt-infirmary__beds-section{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.dt-infirmary__beds-topline{flex:0 0 auto;display:flex;justify-content:space-between;padding:2px 17px 10px;font:700 12px/1.1 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#d5a8cf}.dt-infirmary__beds-viewport{position:relative;flex:1;min-height:0;overflow:auto;padding:6px 16px 18px;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-infirmary__beds-viewport::-webkit-scrollbar{width:10px}.dt-infirmary__beds-viewport::-webkit-scrollbar-track{background:#342039;border-radius:9px}.dt-infirmary__beds-viewport::-webkit-scrollbar-thumb{background:#925081;border:2px solid #342039;border-radius:9px}.dt-infirmary__beds-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1170px;margin:0 auto;align-items:start}.dt-infirmary__bed-slot{min-width:0}.dt-infirmary__no-beds{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#d5afd0}.dt-infirmary__no-beds[hidden]{display:none}.dt-infirmary__no-beds span{font-size:54px}.dt-infirmary__no-beds strong{font:700 24px Georgia,serif}.dt-infirmary__no-beds p{margin:0}.dt-infirmary--busy{cursor:wait}@media (max-width:1000px){.dt-infirmary__beds-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.dt-infirmary{min-height:630px}.dt-infirmary__shell{padding:8px}.dt-infirmary__window{padding:8px 9px 10px;gap:8px;border-radius:12px}.dt-infirmary__topbar{flex-basis:43px;padding-bottom:6px}.dt-infirmary__back{width:45px;height:39px;font-size:30px}.dt-infirmary__window-title{font-size:clamp(22px,5vw,28px);letter-spacing:0}.dt-infirmary__window-title:before,.dt-infirmary__window-title:after{margin:0 5px;vertical-align:3px;font-size:8px}.dt-infirmary__beds-viewport{padding:4px 8px 12px}.dt-infirmary__beds-topline{font-size:10px;padding:4px 8px 8px}.dt-infirmary__beds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}@media (max-height:720px) and (min-width:721px){.dt-infirmary__topbar{flex-basis:42px}.dt-infirmary__window{gap:8px}}@media (prefers-reduced-motion:reduce){.dt-infirmary *,.dt-infirmary *:before,.dt-infirmary *:after{scroll-behavior:auto!important}}.dt-infirmary .dt-bed__empty-word{display:none}.dt-cell,.dt-cell *{box-sizing:border-box}.dt-cell{width:100%;min-width:0;color:#f6eedc;font-family:var(--dt-font,"Trebuchet MS",sans-serif)}.dt-cell [hidden]{display:none!important}.dt-cell__scene{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border:1px solid #6a5573;border-radius:14px;background:#291d37;isolation:isolate}.dt-cell__art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;opacity:var(--dt-slot-art-opacity,.25)}.dt-cell__scene-image{position:absolute;top:8%;right:12%;bottom:8%;left:12%;display:block;height:84%;width:76%;object-fit:contain;object-position:center}.dt-cell__portrait-emoji{font-size:80px;position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-shadow:0 8px 18px #09050c}.dt-cell__occupied-detail{display:grid;gap:5px;margin-top:10px;padding:7px;border:1px solid #dcc5f0;border-radius:9px;background:#bba5d6;color:#30213f;text-align:center;font:800 12px/1.25 var(--dt-font,sans-serif)}.dt-cell__process-label{overflow-wrap:anywhere}.dt-cell__progress{position:relative;isolation:isolate;width:100%;height:15px;border:1px solid #716183;border-radius:999px;background:#59476d;overflow:hidden;font-variant-numeric:tabular-nums}.dt-cell__progress-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#eee0fc;transition:width .3s linear}.dt-cell__remaining{position:absolute;top:0;right:0;bottom:0;left:0;color:#fff7ff;text-shadow:0 1px 2px #24162d,0 -1px 2px #24162d,1px 0 2px #24162d;font:800 10px/13px var(--dt-font,sans-serif);white-space:nowrap}@media (prefers-reduced-motion:reduce){.dt-cell__progress-fill{transition:none}}.dt-cell__claim{width:100%;padding:9px 12px;border:1px solid #ffe49b;border-radius:7px;background:linear-gradient(#ffd778,#d99b3e);color:#352032;font:800 14px var(--dt-font,sans-serif);cursor:pointer}.dt-cell__claim:hover{filter:brightness(1.1)}.dt-cell__claim:focus-visible{outline:3px solid #fff2aa;outline-offset:3px}.dt-dungeon,.dt-dungeon *{box-sizing:border-box}.dt-dungeon{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;color:#f9ebed;background:radial-gradient(ellipse 44% 32% at 16% 12%,#852c6566 0%,transparent 75%),radial-gradient(ellipse 50% 20% at 48% 90%,#8e2d695b,transparent 90%),linear-gradient(180deg,#1d1428,#2b1833 44%,#1c1429);font-family:Trebuchet MS,Arial,sans-serif}.dt-dungeon__mountains{position:absolute;z-index:-1;inset:auto 0 0;height:21%;pointer-events:none;background:linear-gradient(172deg,transparent 48%,#25182f 49%),linear-gradient(186deg,transparent 50%,#311c3c 51%);opacity:.7}.dt-dungeon__shell{height:100%;width:100%;margin:auto;padding:13px 22px 18px}.dt-dungeon__window{height:100%;width:100%;max-width:1660px;margin:auto;display:flex;flex-direction:column;min-height:0;padding:13px 16px 17px;gap:13px;background:linear-gradient(175deg,#26172d,#24162b 58%,#1d1426);border:2px solid #975377;border-radius:18px;box-shadow:inset 0 0 0 1px #d498b71a,0 15px 36px #120b1c66}.dt-dungeon__topbar{flex:0 0 55px;min-height:0;position:relative;display:flex;justify-content:center;align-items:center;padding-bottom:10px;border-bottom:1px solid #7e4c6f77}.dt-dungeon__back{position:absolute;left:0;top:0;display:grid;place-items:center;width:53px;height:47px;border:2px solid #985276;border-radius:9px;color:#fff2d6;background:linear-gradient(#36213a,#241a2d);font:39px/1 Georgia,serif;cursor:pointer;box-shadow:inset 0 0 0 2px #3e2941}.dt-dungeon__back:hover{color:#ffd36b;border-color:#d49c65}.dt-dungeon__window-title{margin:0;color:#fff0d5;text-shadow:0 2px 3px #080411;letter-spacing:.035em;font:bold clamp(25px,2.8vw,41px)/1.15 Georgia,serif}.dt-dungeon__window-title:before,.dt-dungeon__window-title:after{content:"◆";font:12px Georgia,serif;color:#ffc44d;vertical-align:6px;margin:0 14px}.dt-dungeon__cells-section{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.dt-dungeon__cells-topline{flex:0 0 auto;display:flex;justify-content:space-between;padding:2px 17px 10px;font:700 12px/1.1 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#d5a8cf}.dt-dungeon__cells-viewport{position:relative;flex:1;min-height:0;overflow:auto;padding:6px 16px 18px;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-dungeon__cells-viewport::-webkit-scrollbar{width:10px}.dt-dungeon__cells-viewport::-webkit-scrollbar-track{background:#342039;border-radius:9px}.dt-dungeon__cells-viewport::-webkit-scrollbar-thumb{background:#925081;border:2px solid #342039;border-radius:9px}.dt-dungeon__cells-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;max-width:1210px;margin:0 auto;align-items:start}.dt-dungeon__cell-slot{min-width:0}.dt-dungeon__no-cells{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#d5afd0}.dt-dungeon__no-cells[hidden]{display:none}.dt-dungeon__no-cells span{font-size:54px}.dt-dungeon__no-cells strong{font:700 24px Georgia,serif}.dt-dungeon__no-cells p{margin:0}.dt-dungeon--busy{cursor:wait}@media (max-width:1000px){.dt-dungeon__cells-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.dt-dungeon{min-height:630px}.dt-dungeon__shell{padding:8px}.dt-dungeon__window{padding:8px 9px 10px;gap:8px;border-radius:12px}.dt-dungeon__topbar{flex-basis:43px;padding-bottom:6px}.dt-dungeon__back{width:45px;height:39px;font-size:30px}.dt-dungeon__window-title{font-size:clamp(22px,5vw,28px);letter-spacing:0}.dt-dungeon__window-title:before,.dt-dungeon__window-title:after{margin:0 5px;vertical-align:3px;font-size:8px}.dt-dungeon__cells-viewport{padding:4px 8px 12px}.dt-dungeon__cells-topline{font-size:10px;padding:4px 8px 8px}.dt-dungeon__cells-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}@media (max-height:720px) and (min-width:721px){.dt-dungeon__topbar{flex-basis:42px}.dt-dungeon__window{gap:8px}}@media (prefers-reduced-motion:reduce){.dt-dungeon *,.dt-dungeon *:before,.dt-dungeon *:after{scroll-behavior:auto!important}}.dt-popup.dt-popup--interrogation{width:min(100%,650px);padding:0;border-color:#9b578c;box-shadow:0 24px 64px #08060fb8}.dt-popup--interrogation .dt-popup-caption h1{font-size:29px}.dt-popup--interrogation .dt-popup__body{padding:24px 24px 0}.dt-popup--interrogation .dt-popup__footer{margin:0;padding:20px 24px 24px}.dt-popup--interrogation .dt-action{min-width:152px;min-height:46px;font-size:22px}.dt-interrogation-reward{text-align:center}.dt-interrogation-reward strong{font-size:18px}.dt-interrogation-reward p{margin:8px 0;line-height:1.4}.dt-interrogation-reward small{color:#e3b7dd}.dt-interrogation-gold{color:#ffdc8c;font-size:24px;text-align:center}.dt-station,.dt-station *{box-sizing:border-box}.dt-station{width:100%;min-width:0;color:#f6eedc;font-family:var(--dt-font,"Trebuchet MS",sans-serif)}.dt-station [hidden]{display:none!important}.dt-station__tile{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border:1px solid #6a5573;border-radius:14px;background:#291d37;isolation:isolate}.dt-station__art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:var(--dt-slot-art-opacity,.25)}.dt-station__portrait-wrap{position:absolute;top:8%;right:12%;bottom:8%;left:12%;background:transparent;border:0;box-shadow:none}.dt-station__portrait{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.dt-station__activity{display:grid;gap:5px;margin-top:10px;padding:7px;border:1px solid #dcc5f0;border-radius:9px;background:#bba5d6;color:#30213f;text-align:center;font:800 12px/1.25 var(--dt-font,sans-serif)}.dt-station__process-label{overflow-wrap:anywhere}.dt-station__progress{position:relative;isolation:isolate;width:100%;height:15px;border:1px solid #716183;border-radius:999px;background:#59476d;overflow:hidden;font-variant-numeric:tabular-nums}.dt-station__progress-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#eee0fc;transition:width .3s linear}.dt-station__time{position:absolute;top:0;right:0;bottom:0;left:0;color:#fff7ff;text-shadow:0 1px 2px #24162d,0 -1px 2px #24162d,1px 0 2px #24162d;font:800 10px/13px var(--dt-font,sans-serif);white-space:nowrap}@media (prefers-reduced-motion:reduce){.dt-station__progress-fill{transition:none}}.dt-assign,.dt-assign *{box-sizing:border-box}.dt-assign{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:14px}.dt-assign__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#11091bc9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dt-assign__dialog{position:relative;display:flex;flex-direction:column;width:min(580px,100%);max-height:min(660px,90%);padding:18px;border:2px solid #b17b98;border-radius:13px;background:#2b1b32;box-shadow:0 12px 65px #05040a}.dt-assign__top{display:flex;justify-content:space-between;align-items:start;gap:10px;border-bottom:1px solid #76526b;padding-bottom:10px;margin-bottom:12px}.dt-assign__top h2{font:700 28px Georgia,serif;margin:0;color:#ffeacc}.dt-assign__top p{margin:6px 0 0;font-size:13px;color:#d8b6d0}.dt-assign__close{border:1px solid #a56d92;border-radius:9px;background:#422642;color:#fff1e7;font-size:27px;width:36px;height:36px;cursor:pointer}.dt-assign__list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:2px 5px 3px 0;scrollbar-color:#8e5382 #2b1b32}.dt-assign__candidate{display:flex;align-items:center;gap:10px;width:100%;min-height:66px;border:1px solid #9c627b;border-radius:10px;padding:7px;text-align:left;background:#39243e;color:#f6e6e8;cursor:pointer}.dt-assign__candidate:hover:enabled,.dt-assign__candidate:focus-visible{border-color:#ffcc58;background:#53334b;outline:none}.dt-assign__candidate:disabled{opacity:.43;cursor:not-allowed}.dt-assign__portrait{width:52px;height:52px;border:1px solid #ce9bbb;border-radius:8px;overflow:hidden;display:grid;place-items:center;background:#5a3551;font-size:31px;flex:none}.dt-assign__portrait img{width:100%;height:100%;object-fit:cover}.dt-assign__info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.dt-assign__info strong{font:700 19px Georgia,serif}.dt-assign__info small{font-size:12px;color:#d7afd0}.dt-assign__cost{font-size:12px;color:#ffcf65;font-weight:700;text-align:right;white-space:nowrap}.dt-assign__empty{padding:20px;color:#ccabc6;text-align:center}@media (max-width:620px){.dt-assign__dialog{padding:12px}.dt-assign__top h2{font-size:23px}.dt-assign__candidate{min-height:58px;gap:7px}.dt-assign__portrait{width:41px;height:41px}.dt-assign__info strong{font-size:16px}.dt-assign__cost{font-size:10px}}.dt-training-hall,.dt-training-hall *{box-sizing:border-box}.dt-training-hall{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;color:#f9ebed;background:radial-gradient(ellipse 44% 32% at 16% 12%,#852c6566 0%,transparent 75%),radial-gradient(ellipse 50% 20% at 48% 90%,#8e2d695b,transparent 90%),linear-gradient(180deg,#1d1428,#2b1833 44%,#1c1429);font-family:Trebuchet MS,Arial,sans-serif}.dt-training-hall__mountains{position:absolute;z-index:-1;inset:auto 0 0;height:21%;pointer-events:none;background:linear-gradient(172deg,transparent 48%,#25182f 49%),linear-gradient(186deg,transparent 50%,#311c3c 51%);opacity:.7}.dt-training-hall__shell{height:100%;width:100%;margin:auto;padding:13px 22px 18px}.dt-training-hall__window{height:100%;width:100%;max-width:1660px;margin:auto;display:flex;flex-direction:column;min-height:0;padding:13px 16px 17px;gap:13px;background:linear-gradient(175deg,#26172d,#24162b 58%,#1d1426);border:2px solid #975377;border-radius:18px;box-shadow:inset 0 0 0 1px #d498b71a,0 15px 36px #120b1c66}.dt-training-hall__topbar{flex:0 0 55px;min-height:0;position:relative;display:flex;justify-content:center;align-items:center;padding-bottom:10px;border-bottom:1px solid #7e4c6f77}.dt-training-hall__back{position:absolute;left:0;top:0;display:grid;place-items:center;width:53px;height:47px;border:2px solid #985276;border-radius:9px;color:#fff2d6;background:linear-gradient(#36213a,#241a2d);font:39px/1 Georgia,serif;cursor:pointer;box-shadow:inset 0 0 0 2px #3e2941}.dt-training-hall__back:hover{color:#ffd36b;border-color:#d49c65}.dt-training-hall__window-title{margin:0;color:#fff0d5;text-shadow:0 2px 3px #080411;letter-spacing:.035em;font:bold clamp(25px,2.8vw,41px)/1.15 Georgia,serif}.dt-training-hall__window-title:before,.dt-training-hall__window-title:after{content:"◆";font:12px Georgia,serif;color:#ffc44d;vertical-align:6px;margin:0 14px}.dt-training-hall__stations-section{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.dt-training-hall__stations-topline{flex:0 0 auto;display:flex;justify-content:space-between;padding:2px 17px 10px;font:700 12px/1.1 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#d5a8cf}.dt-training-hall__stations-viewport{position:relative;flex:1;min-height:0;overflow:auto hidden;padding:6px 16px 18px;scrollbar-color:#a25495 #342039;scrollbar-width:thin}.dt-training-hall__stations-viewport::-webkit-scrollbar{width:10px}.dt-training-hall__stations-viewport::-webkit-scrollbar-track{background:#342039;border-radius:9px}.dt-training-hall__stations-viewport::-webkit-scrollbar-thumb{background:#925081;border:2px solid #342039;border-radius:9px}.dt-training-hall__stations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1210px;margin:0 auto;align-items:start}.dt-training-hall__station-slot{min-width:0}.dt-training-hall__no-stations{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#d5afd0}.dt-training-hall__no-stations[hidden]{display:none}.dt-training-hall__no-stations span{font-size:54px}.dt-training-hall__no-stations strong{font:700 24px Georgia,serif}.dt-training-hall__no-stations p{margin:0}.dt-training-hall--busy{cursor:wait}@media (max-width:1000px){.dt-training-hall__stations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.dt-training-hall{min-height:630px}.dt-training-hall__shell{padding:8px}.dt-training-hall__window{padding:8px 9px 10px;gap:8px;border-radius:12px}.dt-training-hall__topbar{flex-basis:43px;padding-bottom:6px}.dt-training-hall__back{width:45px;height:39px;font-size:30px}.dt-training-hall__window-title{font-size:clamp(22px,5vw,28px);letter-spacing:0}.dt-training-hall__window-title:before,.dt-training-hall__window-title:after{margin:0 5px;vertical-align:3px;font-size:8px}.dt-training-hall__stations-viewport{padding:4px 8px 12px}.dt-training-hall__stations-topline{font-size:10px;padding:4px 8px 8px}.dt-training-hall__stations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}@media (max-height:720px) and (min-width:721px){.dt-training-hall__topbar{flex-basis:42px}.dt-training-hall__window{gap:8px}}@media (prefers-reduced-motion:reduce){.dt-training-hall *,.dt-training-hall *:before,.dt-training-hall *:after{scroll-behavior:auto!important}}.dt-training-hall .dt-bed__empty-word{display:none}.dt-training-hall__picker-host:empty{display:none}@media (max-width:720px){.dt-training-hall__stations-grid{gap:9px}}.dt-training-hall__stations-section{flex:0 0 auto;max-height:45%;min-height:190px}.dt-training-hall__stations-viewport{overflow:auto;max-height:290px}.dt-training-hall__roster-section{flex:1;min-height:0;overflow:auto;padding:6px 16px 18px}.dt-training-hall__roster-section h2{font-size:13px;color:#d9b9d0;margin:0 0 12px}.dt-training-hall__train{width:100%;min-height:48px;margin-top:10px;border:1px solid #fff0b1;border-radius:9px;background:#f5c85b;color:#31200e;font:900 14px var(--dt-font,sans-serif);cursor:pointer}.dt-training-hall__train:disabled{background:#9180a4;border-color:#a998b9;color:#30273a;cursor:default}.dt-training-hall__train:focus-visible{outline:2px solid #fff2b0;outline-offset:3px}.dt-laboratory,.dt-laboratory *{box-sizing:border-box}.dt-laboratory{width:100%;height:100%;min-height:0;overflow:hidden;color:#f9ebed;font-family:Trebuchet MS,Arial,sans-serif}.lab-window{height:100%;min-height:0;display:flex;flex-direction:column;padding:0 16px 12px;gap:6px;border:2px solid #975377;border-radius:16px;background:#24162b}.lab-alchemy{flex:1;min-height:0;overflow:auto;padding:14px 12px}.lab-alchemy h2{margin:0;color:#d5a8cf;font:700 14px/1.2 Trebuchet MS,Arial,sans-serif;letter-spacing:.15em}.lab-alchemy__recipe{display:flex;align-items:center;justify-content:center;gap:24px;padding:42px 0 20px;min-width:520px}.lab-alchemy__slot{width:140px;height:140px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed #865c80;border-radius:12px;background:linear-gradient(145deg,#372339,#23182c);color:#d5b7ce;font-size:13px}.lab-alchemy__slot>span:first-child{font-size:38px;color:#a981aa}.lab-alchemy__slot--result{border-style:solid;border-color:#b68c50}.lab-alchemy__slot--result>span:first-child{color:#e6bc68}.lab-alchemy__operator{font:32px Georgia,serif;color:#e6bc68}.lab-alchemy p{color:#bca5bf;font-size:13px;text-align:center}.dt-popup.dt-popup--payroll{width:460px;max-width:100%;max-height:none;padding:0;border-color:#9b578c;box-shadow:0 24px 64px #08060fb8}.dt-popup--payroll .dt-popup__body{gap:0;padding:12px 24px 0}.dt-popup--payroll .dt-stat{grid-template-columns:24px minmax(0,1fr) auto;gap:8px;padding:5px 0;border-bottom:0}.dt-salary-groups{display:grid;gap:5px;margin:8px 0 0;padding:8px 0 0 32px;border-top:1px solid #65405c;list-style:none}.dt-salary-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(64px,auto);gap:10px;align-items:baseline;font-size:16px}.dt-salary-row__count{color:var(--dt-muted)}.dt-salary-row__value{color:var(--dt-ink);text-align:right}.dt-popup--payroll .dt-popup__footer{margin:0;padding:16px 24px 18px}.dt-popup--payroll .dt-action{flex:none;min-width:152px;min-height:46px;font-size:22px}.dt-item{--dt-item-yellow: var(--dt-accent,#f5c85b);--dt-item-ivory:var(--dt-ink,#f6eedc);position:relative;width:100%;min-width:0;color:var(--dt-item-ivory);font-family:var(--dt-font,system-ui,sans-serif);container-type:inline-size}.dt-item *,.dt-item *:before,.dt-item *:after{box-sizing:border-box}.dt-item [hidden]{display:none!important}.dt-item__tile{position:relative;isolation:isolate;aspect-ratio:1/1;width:100%;border:1px solid #795070;border-radius:11px;background:radial-gradient(circle at 48% 41%,#513453,#2e2039 65%,#201629);box-shadow:inset 0 0 0 3px #ffffff07,0 8px 18px #0b071349;overflow:visible}.dt-item__corner{position:absolute;z-index:6;top:6%}.dt-item__info{left:6%;display:grid;place-items:center;width:14%;aspect-ratio:1;min-width:19px;min-height:19px;padding:0;border:1px solid #e6c778;border-radius:50%;background:#eec35b;color:#302132;font:800 italic 9cqw/1 Georgia,serif;cursor:help}.dt-item__info:hover{background:#ffe39d}.dt-item__stack{right:6%;display:flex;align-items:center;min-height:14%;padding:2% 4%;border:1px solid #8d7094;border-radius:7px;background:#1a1325e9;color:#fff7ef;font:800 7.7cqw/1 var(--dt-font);cursor:help}.dt-item__art{position:absolute;z-index:1;top:16%;right:11%;bottom:23%;left:11%;display:grid;place-items:center;pointer-events:none}.dt-item__emoji{display:block;font-size:43cqw;line-height:1;filter:drop-shadow(0 9px 4px #100b16a8);-webkit-user-select:none;user-select:none}.dt-item__texture{display:block;max-width:90%;max-height:94%;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 5px #100b16a5)}.dt-item__name{position:absolute;z-index:2;right:5%;bottom:5%;left:5%;color:#fff1df;font:800 8.1cqw/1.15 var(--dt-font);text-align:center;text-shadow:0 2px 3px #140a1b;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dt-item__tooltip{position:absolute;z-index:50;display:none;width:max-content;max-width:min(220px,76vw);min-width:120px;padding:10px 12px;border:1px solid #aa81ae;border-radius:9px;background:#1b1425;color:#fff1e8;text-align:left;box-shadow:0 11px 30px #0a0612eb;font:500 12px/1.45 var(--dt-font);white-space:normal;pointer-events:none}.dt-item__tooltip--left{top:calc(100% + 8px);left:0}.dt-item__tooltip--right{top:calc(100% + 8px);right:0}.dt-item__info:hover .dt-item__tooltip,.dt-item__info:focus-visible .dt-item__tooltip,.dt-item__stack:hover .dt-item__tooltip,.dt-item__stack:focus-visible .dt-item__tooltip,.dt-item__tooltip--pinned{display:block}.dt-item:hover,.dt-item:focus-within{z-index:9}.dt-item :is(button,[tabindex="0"]):focus-visible{outline:2px solid #ffe2a0;outline-offset:2px}.dt-raid__popup{--rr-size: clamp(148px,12vw,178px);position:relative;display:flex;flex-direction:column;width:min(1360px,100%);max-height:calc(100dvh - 36px);border:2px solid #9b578c;border-radius:15px;background:linear-gradient(155deg,#34213a,#23192f 45%,#27182f);box-shadow:0 0 0 6px #150e20a0,0 32px 90px #07050aaf,inset 0 0 0 4px #ffffff08;isolation:isolate;overflow:visible;color:#f7eddd;font-family:var(--dt-font)}.dt-raid__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 17px 10px;display:flex;flex-direction:column;gap:12px;scrollbar-color:#a95b8e #201527;scrollbar-width:thin}.dt-raid__body>*{flex-shrink:0}.dt-raid__location{display:grid;grid-template-columns:minmax(170px,25%) minmax(0,1fr) minmax(190px,22%);align-items:stretch;gap:16px;min-height:134px;padding:10px;border:1px solid #75446e;border-radius:10px;background:#1b1226ad}.dt-raid__location-art{position:relative;min-width:0;overflow:hidden;border:1px solid #986591;border-radius:8px;background:#30263d}.dt-raid__location-image{display:block;width:100%;height:100%;min-height:110px;max-height:140px;object-fit:cover}.dt-raid__location-info{position:absolute;z-index:3;top:8px;left:8px;width:27px;height:27px;padding:0;border:1px solid #ffe69b;border-radius:50%;background:#f5c85b;color:#28162e;font:900 italic 18px Georgia,serif;cursor:help}.dt-raid__location-meta{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}.dt-raid__location-title{margin:0;font:800 clamp(22px,2.5vw,31px)/1.05 Georgia,serif;color:#fff1d9;overflow-wrap:anywhere}.dt-raid__location-description{margin:0;color:#c4adc8;font-size:12px;line-height:1.3}.dt-raid__location-sub{display:flex;gap:14px;align-items:center;margin-top:4px}.dt-raid__difficulty{color:#ffce62;font-size:20px;letter-spacing:2px;cursor:help}.dt-raid__weather{font-size:25px;cursor:help}.dt-raid__result{display:flex;flex-direction:column;gap:7px;justify-content:center;padding:0 10px;border-left:1px solid #69405c}.dt-raid__result-label{font:900 25px Georgia,serif;color:#ffd36d;margin-bottom:5px}.dt-raid__result-label[data-result=victory]:before{content:"✦ "}.dt-raid__result-label[data-result=defeat]{color:#f2949b}.dt-raid__result-label[data-result=defeat]:before{content:"☠ "}.dt-raid__result-stat{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#baa6c3}.dt-raid__result-stat strong{color:#faeccc;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.dt-raid__village-result{padding:10px 12px;border:1px solid #76516c;border-radius:8px;background:#21172c;color:#efd28f;font-size:13px;line-height:1.45}.dt-raid__recovery{margin:3px 0 0;color:#cfbace;font-size:12px}.dt-raid__injury-summary{margin:0;color:#cfbace;font-size:12px;line-height:1.4}.dt-raid__collection-row{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:12px}.dt-raid__collection,.dt-raid__minions{min-width:0;border:1px solid #71446d;border-radius:10px;padding:11px 11px 8px;background:linear-gradient(155deg,#2c2036,#211729)}.dt-raid__collection{display:flex;flex-direction:column;gap:8px}.dt-raid__collection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:0;min-height:25px}.dt-raid__collection-heading h3{font:800 21px/1.1 Georgia,serif;margin:0;white-space:nowrap}.dt-raid__collection-heading>span{font-size:12px;font-weight:800;color:#edcc88;white-space:nowrap}.dt-raid__currencies{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;min-height:32px}.dt-raid__currency{display:flex;align-items:center;gap:6px;min-width:125px;padding:5px 10px;border:1px solid #74516d;border-radius:7px;background:#3b2a43;white-space:nowrap;font-size:12px}.dt-raid__currency-icon{font-size:20px}.dt-raid__currency strong{color:#f9c963;font-size:14px;margin-left:4px;font-variant-numeric:tabular-nums}.dt-raid__horizontal-scroll{display:flex;align-items:flex-start;gap:9px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:3px 2px 9px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#995786 #251829;scroll-snap-type:x proximity}.dt-raid__horizontal-scroll::-webkit-scrollbar{height:6px}.dt-raid__horizontal-scroll::-webkit-scrollbar-thumb{background:#995786;border-radius:99px}.dt-raid__horizontal-scroll::-webkit-scrollbar-track{background:#291c31}.dt-raid__tile-slot{display:block;position:relative;flex:0 0 var(--rr-size);width:var(--rr-size);height:var(--rr-size);aspect-ratio:1/1;scroll-snap-align:start}.dt-raid__currency{border:2px solid #f6c45e;box-shadow:0 0 0 1px #a97834,0 0 15px #e9b04435,inset 0 0 0 2px #fff4ac0c}.dt-raid__prisoners .dt-raid__horizontal-scroll{margin-top:4px}.dt-raid__character .dt-minion{height:100%;width:100%}.dt-raid__minions{display:flex;flex-direction:column;gap:7px}.dt-raid__minions .dt-raid__horizontal-scroll{padding-top:2px}.dt-raid__empty{font-size:13px;color:#ac96b3;padding:16px 4px}.dt-raid__footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:72px;padding:9px 17px 11px;border-top:1px solid #784765;background:#1b1325;border-radius:0 0 13px 13px}.dt-raid__footer-info{margin-right:auto;min-width:0}.dt-raid__pause-label{font-size:12px;color:#c8a9d2}.dt-raid__footer .dt-raid__battle{min-height:51px;white-space:nowrap}.dt-raid__claim{min-width:210px;height:51px;padding:9px 28px;border:1px solid #ffe2a0;border-radius:9px;background:linear-gradient(#ffe08a,#e7a33f 60%,#b97625);color:#32200f;font:900 27px Georgia,serif;cursor:pointer;box-shadow:0 3px #75421a,0 0 13px #f9c4523c;text-shadow:0 1px #fff5b6}.dt-raid__claim:hover:not(:disabled){filter:brightness(1.12)}.dt-raid__claim:disabled{filter:grayscale(.8);opacity:.58;cursor:default}@media (max-width:1050px){.dt-raid__popup{--rr-size:156px;max-height:calc(100dvh - 24px)}.dt-raid__collection-row{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.dt-raid__location{grid-template-columns:30% 1fr 175px}.dt-raid__collection-heading h3{font-size:19px}.dt-raid__currency{padding:4px 7px;min-width:0}}@media (max-width:720px){.dt-raid__popup{--rr-size:148px;max-height:none;width:100%;border-radius:0;border-left:0;border-right:0}.dt-raid__body{overflow:visible;padding:11px 9px 9px;gap:9px}.dt-raid__location{grid-template-columns:39% 1fr;gap:10px;padding:7px}.dt-raid__location-art{grid-row:span 2}.dt-raid__location-image{min-height:165px;max-height:none;height:100%}.dt-raid__location-meta{align-self:end;gap:5px;padding-top:7px}.dt-raid__location-title{font-size:22px}.dt-raid__location-description{font-size:11px}.dt-raid__result{grid-column:2;border:0;padding:0 0 7px;gap:4px}.dt-raid__result-label{font-size:21px;margin:0}.dt-raid__result-stat{font-size:10px}.dt-raid__collection-row{display:flex;flex-direction:column;gap:9px}.dt-raid__collection,.dt-raid__minions{padding:9px 8px 6px}.dt-raid__currency{font-size:12px;min-width:0}.dt-raid__collection-heading h3{font-size:20px}.dt-raid__footer{flex-wrap:wrap;min-height:64px;padding:8px 12px;background:#1b1325f7}.dt-raid__footer .dt-raid__battle{min-height:47px;flex:none}.dt-raid__pause-label{font-size:10px}.dt-raid__claim{min-width:128px;height:47px;padding:4px 10px;font-size:22px}}@media (prefers-reduced-motion:reduce){.dt-raid__popup *{transition:none!important}}.dt-battle__backdrop{position:absolute;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#100817c4}.dt-popup.dt-popup--battle{width:590px;max-height:calc(100% - 64px);padding:0;border-color:#9b578c;background:#26172e;box-shadow:0 24px 64px #08060fb8}.dt-popup--battle .dt-popup__footer{flex-direction:column;align-items:center;margin:0;padding:14px 16px 18px}.dt-popup--battle .dt-action{flex:none;min-width:152px;min-height:46px;font-size:22px}.dt-battle__field{position:relative;isolation:isolate;width:100%;aspect-ratio:1;align-self:center;overflow:hidden;background:#22152a}.dt-battle__landscape,.dt-battle__formations,.dt-battle__side{position:absolute;top:0;right:0;bottom:0;left:0}.dt-battle__landscape{width:100%;height:100%;object-fit:cover}.dt-battle__line{position:absolute;top:0;bottom:0;left:50%;width:1px;background:#ffe0a589}.dt-battle__unit{position:absolute;width:var(--dt-battle-unit-size);transform:translate(-50%,-50%)}.dt-battle__unit .dt-minion{border-radius:10%;border-color:#c77abb}.dt-battle__unit .dt-minion__rank{font-size:21cqw;cursor:inherit}.dt-battle__unit--defender .dt-minion{border-color:#c6a279;background:#3b292e}.dt-battle__unit--acting{z-index:1}.dt-battle__unit--acting .dt-minion{border-color:#ffe2a0;box-shadow:0 0 14px #edb05cbc}.dt-battle__unit--defeated{opacity:.46;filter:grayscale(1)}.dt-battle__health{overflow:hidden;width:100%;aspect-ratio:14;margin-top:4%;border-radius:20px;background:#1a0e1e;box-shadow:0 0 0 1px #a4708c99}.dt-battle__health>span{display:block;height:100%;background:linear-gradient(#acdf8e,#5a9d5b);transform-origin:left;transition:transform .16s ease-out}.dt-battle__damage{position:absolute;z-index:2;transform:translate(-50%,-100%);color:#ffc183;font:900 24px/1 var(--dt-font);text-shadow:0 1px 3px #150a17,0 0 5px #150a17,0 0 9px #150a17;pointer-events:none}.dt-battle__damage--instant-kill{width:max-content;max-width:5em;color:#ffe2a0;font-size:clamp(12px,3vw,18px);line-height:1.1;text-align:center}.dt-battle__progress{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:37px}.dt-battle__round-label{flex:none;color:var(--dt-muted);font-size:15px}.dt-battle__rounds{display:flex;position:relative;gap:6px;min-width:0;padding:3px;margin:0;overflow-x:auto;list-style:none;scrollbar-width:thin;scrollbar-color:#986084 transparent}.dt-battle__round{flex:none;display:grid;place-items:center;width:29px;aspect-ratio:1;border:1px solid #97648b;border-radius:50%;background:#35203b;color:#e8cde4;font-size:13px;font-weight:800}.dt-battle__round[aria-current]{color:#321d17;border-color:#ffe2a0;background:#f0bb6b;box-shadow:0 0 8px #f0bb6b80}@media (prefers-reduced-motion: reduce){.dt-battle__health>span{transition:none}}.dt-popup--week{max-width:690px}.dt-week-message{text-align:center;font-family:Georgia,serif;color:#efd7e6;font-size:19px;line-height:1.4;max-width:550px;margin:0 auto}.dt-payday-notice{border:1px solid #dd9c46;border-radius:10px;background:#43243e;display:flex;gap:16px;align-items:center;justify-content:center;padding:15px 18px;margin-top:7px;box-shadow:inset 0 0 0 1px #815544}.dt-payday-notice__icon{font-size:44px}.dt-payday-notice__heading{display:block;font-family:Georgia,serif;font-size:29px;color:#ffe298}.dt-payday-notice__text{display:block;color:#f4d8da;font-size:15px;margin-top:4px}.dt-week-recovery{margin:0 auto;max-width:550px;text-align:center;color:#cfbace;font-size:14px;line-height:1.45}.dt-week-reward{margin:0 auto;max-width:550px;text-align:center;color:#ffe298;font-size:16px;font-weight:600;line-height:1.45}@media (max-width:640px){.dt-week-message{font-size:16px}.dt-payday-notice{gap:11px;padding:12px 10px}.dt-payday-notice__heading{font-size:23px}.dt-payday-notice__icon{font-size:33px}.dt-payday-notice__text{font-size:13px}}.dt-popup--game-over{max-width:720px}.dt-popup--game-over .dt-ending-stats{margin-top:8px}.dt-popup--game-over .dt-art img{object-position:center 34%}.dt-popup--victory{max-width:720px}.dt-popup--victory .dt-art{border-color:#bb8b57}.dt-popup--victory .dt-ending-stats{margin-top:8px}.dt-popup--victory .dt-art img{object-position:center 30%}.dt-startup{display:grid;place-items:center;min-height:100%;max-height:100%;overflow:auto;padding:20px;background:radial-gradient(ellipse at center,var(--dt-surface) 0%,var(--dt-bg) 76%)}.dt-startup .dt-popup--startup{width:min(100%,640px);max-height:none}.dt-art--startup{height:clamp(112px,28dvh,220px)}:root{color-scheme:dark;--dt-bg: #170f1d;--dt-surface: #2a1f35;--dt-surface-raised: #362a44;--dt-ink: #f6eedc;--dt-muted: #c3b2c9;--dt-accent: #f5c85b;--dt-accent-strong: #ffd978;--dt-accent-ink: #31200e;--dt-lavender: #c6afe7;--dt-purple-soft: #7a5f8f;--dt-border: #a0528a;--dt-stroke: #4a3a52;--dt-positive: #8fd98f;--dt-negative: #e2787f;--dt-radius: 14px;--dt-radius-lg: 20px;--dt-font: "Trebuchet MS", "Segoe UI", sans-serif;--dt-gold: var(--dt-accent)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:var(--dt-font);background:var(--dt-bg);color:var(--dt-ink)}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--dt-accent-strong);outline-offset:3px}
