.treasure-hub-wallet,.treasure-hub-content{margin:0 var(--page-gutter) 20px}.treasure-hub .treasure-wallet{border:1px solid var(--line);box-shadow:none;background:#fffaf2;margin:0;padding:12px 16px}.treasure-hub .treasure-wallet-count p{justify-content:space-between;align-items:center;gap:12px;display:flex}.treasure-hub .treasure-wallet-count strong{color:var(--plum-dark);font-size:24px}.treasure-sections{margin:0 var(--page-gutter) 24px;background:#e9e0eb;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.treasure-sections a{min-height:46px;color:var(--plum-dark);text-align:center;word-break:keep-all;border-radius:12px;justify-content:center;align-items:center;padding:8px 4px;font-size:13px;font-weight:600;text-decoration:none;transition:background-color .16s ease-out,color .16s ease-out;display:flex}.treasure-sections [aria-current]{background:var(--plum-dark);color:#fffaf2;box-shadow:0 2px 5px #57475a14}.treasure-hub-content>h2{font:500 22px/1.5 var(--font-display);color:var(--plum-dark);word-break:keep-all;margin:0 0 8px;scroll-margin-top:20px}.treasure-section-note{color:var(--muted);word-break:keep-all;overflow-wrap:anywhere;margin:0 0 20px;font-size:14px;line-height:1.75}.treasure-owned-shelf{background:linear-gradient(160deg,#fffaf2,#f1e8f3);border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;padding:18px 12px;display:grid}.treasure-owned-item{color:var(--ink);text-align:center;justify-items:center;gap:6px;min-width:0;text-decoration:none;display:grid}.treasure-owned-item img{object-fit:contain;filter:drop-shadow(0 5px 5px #57475a20);width:100%;height:158px}.treasure-owned-item strong{word-break:keep-all;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.treasure-owned-item small{color:var(--muted);font-size:12px}.treasure-first-gift{text-align:center;background:#fffaf2;border-radius:20px;margin:16px 0 20px;padding:24px 18px}.treasure-first-gift>img{object-fit:contain;margin:0 auto 12px}.treasure-first-gift h3{font:500 20px/1.6 var(--font-display);color:var(--plum-dark);margin:0 0 8px}.treasure-first-gift p{word-break:keep-all;margin:0 0 20px;font-size:14px;line-height:1.8}.treasure-catalog{gap:12px;margin:0;padding:0;list-style:none;display:grid}.treasure-catalog a{border:1px solid var(--line);color:var(--ink);background:#fffaf2;border-radius:18px;align-items:center;gap:18px;padding:16px;text-decoration:none;transition:background-color .16s ease-out,transform .16s ease-out;display:flex}.treasure-catalog img{object-fit:contain;filter:drop-shadow(0 4px 5px #57475a20);flex:none;width:64px;height:100px}.treasure-catalog a>span{word-break:keep-all;overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.treasure-catalog strong{color:var(--plum-dark);font-size:16px}.treasure-catalog small{color:var(--muted);font-size:13px}.treasure-catalog b{color:#7a5b22;margin-top:4px;font-size:12px;font-weight:500}.treasure-utility{border-bottom:1px solid var(--line);color:var(--plum-dark);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:20px 0;text-decoration:none;display:flex}.treasure-utility>span:first-child{word-break:keep-all;overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.treasure-utility strong{font-size:15px}.treasure-utility small{color:var(--muted);font-size:13px;line-height:1.6}.treasure-utility>span:last-child{font-size:24px}.treasure-utility.scroll-exchange{background:linear-gradient(#fffdf7 0%,#f9f3e5 100%);border:1px solid #d9c28c;border-radius:18px;flex-direction:column;align-items:stretch;gap:14px;margin:16px 0;padding:20px;display:flex;box-shadow:0 4px 14px #5438600f}.scroll-exchange-head{word-break:keep-all;overflow-wrap:anywhere;gap:6px;min-width:0;display:grid}.scroll-exchange-head strong{color:var(--plum-dark);font-size:16px;line-height:1.4}.scroll-exchange-head small{color:var(--muted);font-size:13px;line-height:1.6}.scroll-exchange form{gap:12px;width:100%;display:grid}.scroll-exchange-confirm{min-height:44px;color:var(--plum-dark);word-break:keep-all;cursor:pointer;background:#ffffffc7;border:1px solid #b4986052;border-radius:12px;align-items:center;gap:10px;margin:0;padding:8px 12px;font-size:14px;line-height:1.45;display:flex}.scroll-exchange-confirm input[type=checkbox]{width:18px;height:18px;accent-color:var(--plum-dark);flex:none;margin:0}.scroll-exchange button{word-break:keep-all;width:100%;min-height:48px}.scroll-exchange-status{word-break:keep-all;color:var(--plum-dark);margin:0;font-size:13px;line-height:1.55}.scroll-exchange-status[role=alert]{color:#9b2c2c}.treasure-hub-content>.game-fineprint{margin:16px 0;padding:12px 0}.treasure-hub-content>.birth-review{margin:24px 0 0}.treasure-hub :is(a,button):focus-visible{outline:2px solid var(--jade-dark);outline-offset:3px}@media (hover:hover) and (pointer:fine){.treasure-catalog a:hover{background:#f5edf7;transform:translateY(-2px)}}.treasure-catalog a:active{transform:scale(.985)}@media (width<=359px){.treasure-catalog a{gap:12px;padding:12px}.treasure-catalog strong{font-size:15px}}@media (prefers-reduced-motion:reduce){.treasure-hub a{transition:none!important;transform:none!important}}@media (forced-colors:active){.treasure-sections [aria-current]{outline:2px solid highlight}.treasure-catalog a{border-color:canvastext}}
