/* Explicit Chinese coverage for the summon names, including cold-cache reveals. */
@font-face{font-family:"YobuRaritySerif";src:url("../assets/fonts/YobuRaritySerif53.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+4E34,U+5149,U+5BBF,U+661F,U+6781,U+8F89,U+8FB0,U+91D1,U+938F,U+964D}
.rarity-name,.lottery-tier-heading strong,.rarity-preview h3{font-family:"YobuRaritySerif",var(--serif,"Noto Serif SC"),"Noto Sans SC","Microsoft YaHei",sans-serif;font-synthesis:weight}
#lottery-dialog .rarity-announcement,#lottery-dialog.is-revealing .rarity-announcement{font-family:"YobuRaritySerif",var(--serif,"Noto Serif SC"),"Noto Sans SC","Microsoft YaHei",sans-serif;font-synthesis:weight;color:var(--rare-bright,#fff1d9)}
/* One row per tier: the probability stays prominent, contents remain secondary. */
#lottery-prizes>.lottery-public-tier{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 20px;align-items:start;padding:13px 0}
#lottery-prizes .lottery-public-tier-head{display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.8}
#lottery-prizes .lottery-public-tier-head>span{display:inline-flex;align-items:center;white-space:nowrap}
#lottery-prizes .lottery-public-tier-head>strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--deep)}
#lottery-prizes .lottery-tier-outcomes{display:block;margin:0;padding-top:2px;font-size:11px;line-height:2;color:var(--muted);opacity:1;overflow-wrap:anywhere}
.lottery-outcome-type{font-size:10px}.gift-delete-fulfilled{color:#9b5960!important}.gift-admin-tools #gift-admin-feedback{grid-column:1/-1}
/* Layer effects explicitly; no negative stack underneath the dialog surface. */
#lottery-dialog .draw-cosmos{z-index:0}
#lottery-dialog .rarity-ceremony-art{z-index:2}
#lottery-dialog:not(.is-conjuring) #draw-ceremony{display:none}
#lottery-dialog.is-conjuring #draw-ceremony:not([hidden]){display:block}
#lottery-dialog:not([open]) #draw-ceremony *,#lottery-dialog:not([open]) #draw-ceremony::before,#lottery-dialog:not([open]) #draw-ceremony::after{animation:none!important}
@media(max-width:600px){#lottery-prizes>.lottery-public-tier{grid-template-columns:135px minmax(0,1fr);gap:10px}#lottery-prizes .lottery-public-tier-head{gap:4px}#lottery-prizes .lottery-public-tier-head>strong{font-size:14px}#lottery-prizes .lottery-tier-outcomes{font-size:10px}.lottery-public-tier .rarity-name{font-size:12px}}
