/* Shared presentation for game dialogs, the discovery book and the data gallery. */
.text-red{color:#ff858b!important;text-shadow:0 0 16px #ff334644;font-weight:900!important}
.text-gold{color:#ffe097!important;text-shadow:0 0 15px #efb42b33;font-weight:900!important}
.text-blue{color:#b4d8ff!important}
.text-rainbow{color:#f4b6ff!important;background-image:linear-gradient(105deg,#ff879c 0%,#ffd976 18%,#b8ef81 36%,#70e6e5 54%,#8eb4ff 72%,#da99ff 88%,#ff879c 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-weight:900!important}
.rarity-red{--rarity-edge:#ff6974;--rarity-glow:#ff334632}
.rarity-gold{--rarity-edge:#eac568;--rarity-glow:#efb42b33}
.rarity-rainbow{--rarity-edge:#c3a5ff;--rarity-glow:#b895ff44;border-image:linear-gradient(105deg,#ff879c,#ffd976,#b8ef81,#70e6e5,#8eb4ff,#da99ff) 1!important}
.rarity-red,.rarity-gold,.rarity-rainbow{border-color:var(--rarity-edge);box-shadow:0 0 22px var(--rarity-glow)}
#gallery-dialog:is(.rarity-red,.rarity-gold,.rarity-rainbow){border-color:var(--rarity-edge);box-shadow:0 0 30px var(--rarity-glow)}
#events td>.rarity-badge{display:block;margin-top:5px}
#effect-dialog:is(.rarity-red,.rarity-gold,.rarity-rainbow),#incident-dialog:is(.rarity-red,.rarity-gold,.rarity-rainbow){border-width:2px;border-style:solid;border-color:var(--rarity-edge)!important;box-shadow:0 0 38px var(--rarity-glow)}
.rarity-badge{display:inline-block;width:max-content;max-width:100%;font:900 14px/1.7 'Noto Sans JP',sans-serif;letter-spacing:.08em}
.native-effect-head .rarity-badge{font-size:16px}
.collection-card-copy .rarity-badge{margin:8px 0 0}
.day-log .rarity-badge{margin-right:8px;font-size:14px}
.gallery-card .rarity-badge{padding-block:4px}
.draw-ticket .text-gold,.result-card .text-gold{color:#946000!important;text-shadow:none}
.draw-ticket .text-rainbow,.result-card .text-rainbow{background-image:linear-gradient(105deg,#bc283d,#9a6200,#24712d,#056e8c,#4946b6,#a32993)}
@media(forced-colors:active){.text-rainbow{-webkit-text-fill-color:currentColor;background:none;color:Highlight!important}.rarity-rainbow{border-image:none!important}}
