/* Small activities share a text baseline and retain the menu's intro fade. */
.home .last-call-side{width:64px;height:61px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;color:#d9c596;text-align:center}
.home .last-call-side .last-call-mark{display:block;width:39px;height:49px;margin:0 auto;animation:call-menu-mug 5s ease-in-out infinite;filter:drop-shadow(0 2px 2px #0009)}
.home .last-call-side>span{display:block;margin-top:-2px;font:5px 'Knightle Quill',Georgia;letter-spacing:.4px;white-space:nowrap}
.home .currency-detail summary{gap:3px;padding-inline:3px;min-width:0}
.home .currency-detail summary b{font-size:11px;min-width:0;white-space:nowrap;overflow-wrap:normal;letter-spacing:0;flex:1}
.home .currency-detail summary .ruby-icon,.home .currency-detail summary .dragon-tooth-icon{width:21px;height:23px}
@media(max-width:350px){.home .last-call-side>span{font-size:4.5px}.home .currency-detail summary b{font-size:10px}.home .currency-detail summary .ruby-icon,.home .currency-detail summary .dragon-tooth-icon{width:18px;height:21px}.home .last-call-side{width:58px}}

/* Gate textures share the bridge's wet iron, moonlight and lantern reflections. */
.crimson-gate-leaves{left:12.4%;width:75.2%;top:36.8%;height:47.2%;perspective:950px;perspective-origin:50% 48%;filter:drop-shadow(2px 6px 4px #02090eb3)}
.iron-leaf.left{transform-origin:14% 50%}.iron-leaf.right{transform-origin:86% 50%}.iron-leaf:after{display:none}
.gate-leaf-texture{display:block;position:absolute;inset:0;background-image:url('assets/quest/crimson-gate-leaves-v119.png');background-repeat:no-repeat;background-size:200% 100%;image-rendering:auto;backface-visibility:visible}
.iron-leaf.left .gate-leaf-texture{background-position:left center}.iron-leaf.right .gate-leaf-texture{background-position:right center}
.gate-stone-anchor{width:9px;filter:drop-shadow(1px 1px 2px #000)}.gate-stone-anchor.left{left:5.8%}.gate-stone-anchor.right{right:5.8%}
.gate-stone-anchor i{left:0;width:9px;height:15px;background:linear-gradient(90deg,#191b16,#877448 35%,#413d2c 58%,#0b1519);border-color:#575b4670;box-shadow:0 2px 2px #0008}
.gate-stone-anchor i:first-child{top:43%}.gate-stone-anchor i:last-child{top:72%}.gate-stone-anchor i:before{left:3px;top:-3px;width:3px;height:20px;background:linear-gradient(90deg,#142027,#aea17b,#283339)}
.crimson-socket{top:54.7%;width:30px;height:34px;background:linear-gradient(135deg,#bbae80,#4e4b36 26%,#1a2426 60%,#8a7447);filter:drop-shadow(0 2px 2px #000)}
.gate-ground-shadow{position:absolute;left:16%;top:81.1%;width:68%;height:6%;background:repeating-linear-gradient(90deg,transparent 0 7%,#03080d99 7% 9%),linear-gradient(#03090d88,transparent);transform:perspective(110px) rotateX(63deg) skewX(-12deg);transform-origin:50% 0;filter:blur(1.4px);opacity:.65;transition:opacity 1.6s;pointer-events:none}
.gate-opening .gate-ground-shadow{opacity:.12}

/* The statue is part of the room artwork, with shared shadows and reflections. */
.crimson-hall .crimson-heading h1{font-size:clamp(27px,7.6vw,34px);letter-spacing:.8px}
.crimson-hall .crimson-heading>p:last-child:empty{display:none}
.crimson-hall .crimson-heading:before{background:linear-gradient(#071218bd,#07121865 64%,transparent)}
.castle-door{top:38%;height:29%;width:34%}.forge-door{left:.5%}.treasure-door{right:.5%}
.castle-door-label{width:auto;min-width:90%;padding:9px 6px 11px;background:radial-gradient(ellipse,#061015bd,transparent 72%);filter:none;transition:color .2s,translate .2s}
.castle-door-label:before{margin:0 18% 8px;background:linear-gradient(90deg,transparent,#ba9c6677,transparent)}
.castle-door-label>strong{font-size:clamp(11px,3.4vw,14px);font-weight:700;letter-spacing:.15px;color:#e9d4ad}
.castle-door:hover .castle-door-label{translate:0 -2px}.castle-door:hover .castle-door-label>strong{color:#fff0ca}
.castle-statue{left:35.5%;top:38.8%;width:32%;height:39%;transform:none;filter:none}
.statue-figure{animation:none!important}.statue-ground-glow{position:absolute;inset:auto 5% -1%;height:9%;border-radius:50%;background:radial-gradient(ellipse,#efb65522,transparent 65%);opacity:0;transition:opacity .3s}
.castle-statue:hover .statue-ground-glow,.castle-statue:focus-visible .statue-ground-glow{opacity:1}
.statue-hand-ruby{left:81%;top:5%;width:14%;filter:drop-shadow(0 0 4px #e36c8d);animation:statue-ruby-glint 3.5s ease-in-out infinite}
.statue-caption{top:101%;padding:6px 0;background:radial-gradient(ellipse,#081217a3,transparent 75%)}
.statue-caption small{font-size:5.5px;letter-spacing:1.2px;color:#ad9d7d}.statue-caption strong{font-size:15px;letter-spacing:1.5px}.statue-caption b{font-size:9px}
.castle-hall-footer .crimson-purse{background:#0710148a;border-color:#a3865238;box-shadow:none;backdrop-filter:blur(1px);padding:6px 13px;font-size:14px}

/* Transparent, warm glass lets the furnace remain visible through the menu. */
.forge-backdrop:after{background:linear-gradient(#09131505,#0b14152b 45%,#07121573)}
.forge-catalog{background:linear-gradient(#0a14162b,#0a14164d);border-color:#b99b5b26;border-top-color:#b99b5b55;box-shadow:0 12px 30px #0003;text-shadow:0 1px 3px #000,0 0 8px #0009;backdrop-filter:none}
.crimson-forge .crimson-heading:before{background:linear-gradient(#061114bd,#0611143b 62%,transparent)}
.forge-knight-inspection{background:linear-gradient(90deg,#0b151737,#0b151770);padding:4px 3px 9px;border-bottom-color:#b69c6144}
.forge-portrait-frame{background:linear-gradient(135deg,#78624629,#15202442);box-shadow:inset 0 0 0 2px #07121780;border-color:#a28a5e70}
.forge-portrait-frame>small{background:#08121473}.forge-sword-copy>small{color:#d1bb91}.sword-augment{color:#ddd6bd}.sword-stats span{color:#c4c1aa}.forge-sword-copy>.forge-potential{color:#b9b49a}
.sword-choice{background:linear-gradient(145deg,#2e302e40,#09151a73);border-color:#a78f5b5c;box-shadow:0 3px 7px #0003}
.sword-choice.selected{background:linear-gradient(145deg,#724a324d,#2e202766);border-color:#bba06b;box-shadow:inset 0 0 16px #ca8a2921,0 0 8px #24100633}
.sword-choice:before{border-color:#b89f5c11}.forge-collection-heading{color:#dec49b}.forge-help-toggle{background:#09171c66}
.forge-footnote{color:#ddd0ad}.crimson-forge .crimson-purse{background:#07101491}

/* Fill the anvil scene edge to edge instead of letterboxing its artwork. */
.forge-table-art{object-fit:cover;opacity:1}
.forge-table:after{background:linear-gradient(#0b1215,transparent 8%,transparent 91%,#0b1215)}
.forge-table{border:none;box-shadow:none;background:#251b13}
.treasure-totals{gap:22px}.treasure-totals>span{min-width:0;font-size:clamp(13px,4vw,18px)}
.treasure-space canvas{contain:strict}.treasure-viewport{overflow-x:hidden;overflow-y:auto}
@media(prefers-reduced-motion:reduce){.home .last-call-side .last-call-mark{animation:none}.gate-ground-shadow{transition:none}}

.currency-description .currency-balance{display:block;margin-top:7px;color:#d3b989;font:8px 'Knightle Quill';letter-spacing:.6px}

.home .quest-choices .work-in-progress>span:last-child{font:inherit;letter-spacing:inherit}
