#treasure-panel strong{display:block;font:600 18px/1.3 Georgia;color:var(--ink)}#treasure-panel output{display:block;color:var(--purple);font-weight:700;margin:9px 0}#treasure-panel p{font-size:14px;line-height:1.5}.royal-actions{display:flex;gap:12px;flex-wrap:wrap}.royal-actions button{background:transparent;color:var(--ink);border:0;border-bottom:1px solid currentColor;padding:6px 0;cursor:pointer}.royal-dialog{width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #c7b38b;border-radius:20px;background:var(--paper);color:var(--ink);overflow:hidden}.royal-dialog::backdrop{background:#152c3566}.royal-dialog[open]{display:flex;flex-direction:column}.royal-dialog header{position:static;display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #d7c7a5;background:var(--paper);flex:none;height:auto}.royal-dialog h2{margin:0;font-size:23px}.royal-close{margin-left:auto;border:0;background:transparent;font-size:29px;width:40px;height:40px;flex:none}.royal-dialog-body{padding:20px;overflow:auto;overscroll-behavior:contain}.royal-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.royal-collection article{border:1px solid #d5c5a4;border-radius:14px;background:#fff9ed;padding:12px}.royal-collection h3{margin:5px 0;font-size:18px}.royal-collection p{font-size:13px}.royal-collection canvas{width:100%;height:96px;object-fit:contain}.royal-collection button,.royal-dialog-body>button{padding:10px;border:1px solid #a57da9;border-radius:8px;background:#f2e4f4;color:#56376e}.royal-unknown canvas{filter:grayscale(1);opacity:.16}.royal-seal{border:3px double #c1a05f;border-radius:50%;width:150px;height:150px;display:grid;place-items:center;font:700 32px Georgia;margin:16px auto;color:#805d1b;background:#f7e4a9}.royal-kicker{color:var(--purple);font-size:13px;font-weight:700}#treasure-info>canvas{display:block;width:100%;height:110px;object-fit:contain}#treasure-info h2{font:600 25px Georgia}#treasure-info p{line-height:1.5}#treasure-panel[hidden],#treasure-info[hidden]{display:none!important}

@media(max-width:600px){.royal-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.royal-collection article{padding:10px}.royal-collection h3{font-size:16px}.royal-dialog header{padding:12px}.royal-dialog h2{font-size:20px}}
