#tower-host{position:fixed;inset:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);z-index:35;overflow:hidden;background:#21121c;display:flex;align-items:center;justify-content:center}#tower-host[hidden]{display:none!important}
.tower-story-tabs{position:absolute;z-index:8;left:730px;top:132px;height:52px;display:flex;gap:12px}.tower-story-tabs button{min-width:180px;height:52px;padding:0 28px;font:23px ArcanaJua;background:transparent url('https://arcana-pony-media.pages.dev/shared/objects/64701ad0ee0c4cb3a985e7d740bf39570ff7f4db1c958f1f06fa4ff69062d7e2.webp') center/100% 100%;color:#f7e5bf;border:0}.tower-story-tabs button[aria-current]{box-shadow:none}.tower-story-tabs button:focus-visible{outline:3px solid #ffdb78}

.tower-battle-rules{position:absolute;left:1250px;top:102px;width:130px;height:46px;background:#173052;border:1px solid #c4a66b;border-radius:12px;color:#ffe8b2;font:22px ArcanaJua;z-index:8}
/* Full-viewport curtain also covers the fixed tower host; no game-state ownership. */
.tower-entry-curtain{position:fixed;inset:0;background:#000;opacity:0;z-index:1000;pointer-events:auto}

/* Only this adventure tab adopts the approved crimson skin. */
.tower-story-tabs button[data-act="tower-open"]{background-image:url('./assets/tower-red/tab-red.png');color:#fff0d4}
.tower-story-tabs button[data-act="tower-open"]{background-size:107% 234%;background-position:50% 47.5%}
/* The separate underline is baked into the plate. Clip only the painted layer,
   retaining the lower frame and its center diamond, not the button/focus ring. */
.tower-story-tabs button[data-act="tower-open"]{position:relative;isolation:isolate;background:none}
.tower-story-tabs button[data-act="tower-open"]:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:transparent url('./assets/tower-red/tab-red.png') 50% 47.5%/107% 234% no-repeat;clip-path:polygon(0 0,100% 0,100% 89%,51.9% 89%,50% 100%,48.1% 89%,0 89%)}
