/* Approved 01A windows; scoped to the board notice layer. */

#boardNotice{--gold:#cfb574;--muted-gold:#948259;position:fixed;z-index:90;left:calc((100vw + var(--board-safe-left,420px))/2);top:56%;transform:translate(-50%,-50%);width:min(820px,calc(100vw - var(--board-safe-left,420px) - 52px));color:#fbf5e5;pointer-events:none;font-family:var(--font-mincho,serif)}
#boardNotice .messageWindow{position:relative;isolation:isolate;min-height:224px;display:grid;grid-template-columns:200px 1fr;align-items:center;padding:28px 46px 28px 32px;gap:26px;background:rgba(6,7,9,.86);border:1px solid var(--muted-gold);box-shadow:0 20px 44px #0008;backdrop-filter:blur(4px);border-radius:0}
#boardNotice .messageWindow::before{content:"";position:absolute;inset:7px;pointer-events:none;border:1px solid #cfb57445;z-index:-1}
#boardNotice .corner{position:absolute;width:40px;height:40px;border-top:1px solid var(--gold);border-left:1px solid var(--gold);left:13px;top:13px}
#boardNotice .corner::before{content:"";position:absolute;width:18px;height:18px;left:7px;top:7px;border-top:1px solid #cdb16b77;border-left:1px solid #cdb16b77;transform:rotate(0deg)}
#boardNotice .corner::after{content:"";position:absolute;width:5px;height:5px;left:-3px;top:-3px;border:1px solid var(--gold);background:#14130f;transform:rotate(45deg)}
#boardNotice .corner.tr{left:auto;right:13px;transform:rotate(90deg)}
#boardNotice .corner.bl{top:auto;bottom:13px;transform:rotate(-90deg)}
#boardNotice .corner.br{left:auto;right:13px;top:auto;bottom:13px;transform:rotate(180deg)}
#boardNotice .crest{position:absolute;width:8px;height:8px;left:50%;top:-5px;transform:translateX(-50%) rotate(45deg);border:1px solid var(--gold);background:#242016}
#boardNotice .crest::after{content:"";position:absolute;inset:2px;background:#d1b87388}
#boardNotice .crest.bottom{top:auto;bottom:-5px}
#boardNotice .sideRule{display:none}
#boardNotice .waitingDots{display:inline-flex;gap:5px;margin-left:14px;vertical-align:middle}
#boardNotice .waitingDots i{width:4px;height:4px;background:#d5bb78;transform:rotate(45deg);animation:messageDot 1.5s infinite}
#boardNotice .waitingDots i:nth-child(2){animation-delay:.2s}
#boardNotice .waitingDots i:nth-child(3){animation-delay:.4s}
@keyframes messageIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes messageLines{from{opacity:.15;filter:brightness(2)}to{opacity:1;filter:brightness(1)}}@keyframes messageOut{to{opacity:0;transform:translateY(5px)}}@keyframes messageDot{0%,70%,100%{opacity:.25}35%{opacity:1}}
#boardNotice .cornerStroke{display:none}
#boardNotice[data-design=a]:not([data-corner=original]) .corner{width:56px;height:56px;border:0;background:none}
#boardNotice[data-design=a]:not([data-corner=original]) .corner::before{width:29px;height:29px;left:7px;top:7px;border:0}
#boardNotice[data-design=a][data-corner=fade] .corner{background:linear-gradient(90deg,#ecd69e 0%,#cfb574bf 28%,#cfb57450 65%,#cfb57400 100%) left top/100% 1.5px no-repeat,linear-gradient(180deg,#ecd69e 0%,#cfb574bf 28%,#cfb57450 65%,#cfb57400 100%) left top/1.5px 100% no-repeat}
#boardNotice[data-design=a][data-corner=fade] .corner::before{background:linear-gradient(90deg,#cfb574aa,#cfb57400) left top/100% 1px no-repeat,linear-gradient(180deg,#cfb574aa,#cfb57400) left top/1px 100% no-repeat}
#boardNotice[data-design=a][data-corner=taper] .cornerStroke{display:block;position:absolute;inset:0;background:#dbc38b;clip-path:polygon(0 0,100% 0,2.6px 2.6px,0 100%)}
#boardNotice[data-design=a][data-corner=taper] .corner::before{background:#cfb57499;clip-path:polygon(0 0,100% 0,1.6px 1.6px,0 100%)}
#boardNotice.flowDemo{width:min(820px,calc(100vw - var(--board-safe-left,420px) - 40px))}
#boardNotice.flowDemo .messageWindow{display:block;padding:26px 34px;min-height:0;--gold:#cfb574;--muted-gold:#948259;background:#070809e0}
#boardNotice[data-flow=direction]{top:auto;bottom:24px;transform:translateX(-50%)}
#boardNotice .directionBar{display:flex;align-items:center;gap:20px}
#boardNotice .flowPortrait{object-fit:contain;display:block}
#boardNotice .directionBar>.flowPortrait{width:83px;height:88px}
#boardNotice .flowEyebrow{display:flex;align-items:center;gap:8px;color:#d6c799;font-size:16px;margin-bottom:6px}
#boardNotice .flowEyebrow img{width:18px;height:18px}
#boardNotice .directionBar h2{font-size:26px;font-weight:500;letter-spacing:.07em;margin:0}
#boardNotice .phonePrompt{display:flex;align-items:center;gap:12px;margin-left:auto;color:#e7d59f;font-size:16px}
#boardNotice .phonePrompt .waitingDots{margin:0}
#boardNotice .phoneOutline{width:26px;height:16px;border:1.5px solid #d3b777;display:block;position:relative}
#boardNotice .phoneOutline:after{content:'';position:absolute;right:3px;top:6px;width:2px;height:2px;background:#d3b777}
#boardDirectionRoutes{position:fixed;inset:0;width:100%;height:100%;z-index:80;pointer-events:none;overflow:visible}
#boardDirectionRoutes .routeLine{fill:none;stroke:#ffe2a0;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px #edcc79);stroke-dasharray:9 7;animation:routeRun 1.3s linear infinite}
#boardDirectionRoutes .routeShadow{fill:none;stroke:#1c1512b0;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}
#boardDirectionRoutes .routeBranch rect{fill:#0a0a0be8;stroke:#d6bc7a;stroke-width:1}
#boardDirectionRoutes .routeBranch text{fill:#ffe8b1;font:16px var(--font-mincho,serif)}
#boardDirectionRoutes .routeBranch.dim{opacity:.16}
#boardDirectionRoutes .routeBranch.chosen .routeLine{stroke:#fff7d8;stroke-width:7}
#boardDirectionRoutes .startHalo{stroke:#ffe5a2;stroke-width:2;fill:#efd08733}
#boardDirectionRoutes .routeBranch{transition:opacity .3s}
#boardNotice[data-flow=battle]{top:calc(50% + 70px)}
#boardNotice .moneyHeader{text-align:center;margin:0 0 18px}
#boardNotice .moneyHeader>span{font-size:15px;color:#d1bf96}
#boardNotice .moneyHeader h2{font-size:26px;font-weight:500;letter-spacing:.16em;color:#f3dfaa;margin:6px 0 0}
#boardNotice .moneyGrid{display:grid;grid-template-columns:1fr 112px 1fr;align-items:center;gap:10px}
#boardNotice .flowAccount{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:0 10px;text-align:center}
#boardNotice .flowAccount>.flowPortrait{width:90px;height:116px;grid-row:1/3}
#boardNotice .accountName{display:grid;gap:3px}
#boardNotice .accountName small{font-size:13px;color:#bbb09a}
#boardNotice .accountName b{font-size:21px;font-weight:500}
#boardNotice .flowDelta{font-size:36px;line-height:1.5;letter-spacing:.03em;color:#f4d184}
#boardNotice .flowDelta>small{font-size:18px;margin-left:4px}
#boardNotice .payer .flowDelta{color:#efa294}
#boardNotice .flowBalance{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;border-top:1px solid #cfb57433;padding-top:14px;margin-top:9px;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
#boardNotice .flowBalance>small{font-size:12px;color:#b2a78f}
#boardNotice .flowBalance>span{font-size:16px;color:#bdb6a6}
#boardNotice .flowBalance>i{font-style:normal;color:#a99874}
#boardNotice .flowBalance>b{font-size:23px;font-weight:500;min-width:58px}
#boardNotice .settled .receiver .flowBalance>b{color:#ffe5a4}
#boardNotice .settled .payer .flowBalance>b{color:#f0b0a6}
#boardNotice .transferTrack{position:relative;height:56px}
#boardNotice .transferArrow{position:absolute;height:1px;left:0;right:8px;top:50%;background:linear-gradient(90deg,#d3b77744,#e9d5a2)}
#boardNotice .transferArrow:after{content:'';position:absolute;right:0;top:-5px;width:10px;height:10px;border-top:1px solid #e9d5a2;border-right:1px solid #e9d5a2;transform:rotate(45deg)}
#boardNotice .travelCoin{position:absolute;left:0;top:17px;width:22px;height:22px;opacity:0;object-fit:contain}
#boardNotice .moneyMoving .travelCoin{animation:transferCoin 1.15s cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--i)*.12s)}
#boardNotice .moneyMoving .receiver>.flowPortrait{animation:receiveGlow .9s .9s both}
#boardNotice .flowHudPulse{animation:receiveGlow 1.2s ease-out}
#boardNotice .prayerSource{display:grid;justify-items:center;gap:4px;color:#ded4b8;font-size:19px}
#boardNotice .prayerSource img{width:125px;height:145px;object-fit:contain}
#boardNotice .prayerSource b{font-weight:500}
#boardNotice .noTransfer{display:flex;align-items:center;justify-content:center;gap:24px;padding:10px}
#boardNotice .noTransfer .flowPortrait{width:110px;height:130px}
#boardNotice .noTransfer h3{font-size:30px;margin:0;font-weight:500;color:#f5e2af}
#boardNotice .noTransfer p{font-size:17px;color:#b9b09a;margin:10px 0 0}
@keyframes routeRun{to{stroke-dashoffset:-32}}@keyframes transferCoin{0%{transform:translateX(-12px) scale(.6);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateX(105px) scale(.8);opacity:0}}@keyframes receiveGlow{0%,100%{filter:none}45%{filter:drop-shadow(0 0 13px #ead89aaa) brightness(1.12)}}
@media(max-width:1300px){
#boardNotice .directionBar{gap:10px}
#boardNotice .directionBar h2{font-size:22px}
#boardNotice .directionBar>.flowPortrait{width:60px;height:75px}
#boardNotice .phonePrompt{gap:8px;font-size:13px}
#boardNotice .moneyGrid{grid-template-columns:1fr 68px 1fr;gap:4px}
#boardNotice .flowAccount{grid-template-columns:65px 1fr;gap:0 5px}
#boardNotice .flowAccount>.flowPortrait{width:65px;height:100px}
#boardNotice .accountName b{font-size:18px}
#boardNotice .flowDelta{font-size:30px}
#boardNotice .flowBalance{gap:5px;font-size:16px}
#boardNotice .flowBalance>b{font-size:20px;min-width:48px}
#boardNotice .flowBalance>span{font-size:14px}
#boardNotice .flowBalance>small{font-size:11px}
#boardNotice .moneyHeader h2{font-size:23px}
#boardNotice.flowDemo .messageWindow{padding:22px 27px}@keyframes transferCoin{0%{transform:translateX(-8px);opacity:0}20%,80%{opacity:1}100%{transform:translateX(65px);opacity:0}}}
@media(max-height:760px){
#boardNotice[data-flow=battle]{top:calc(50% + 70px)}
#boardNotice[data-flow=direction]{bottom:18px}}
@media(prefers-reduced-motion:reduce){
#boardDirectionRoutes *,#boardNotice .flowHudPulse{animation:none!important}
#boardDirectionRoutes .routeLine{stroke-dasharray:none}
#boardNotice .moneyMoving .travelCoin{display:none}}
#boardDirectionRoutes .routeLine{stroke-dasharray:9 12}
@keyframes routeRun{to{stroke-dashoffset:-42}}
#boardNotice .flowAccount{grid-template-columns:112px 1fr}
#boardNotice .flowAccount>.flowPortrait{width:112px;height:140px}
#boardNotice .noTransfer .flowPortrait{width:132px;height:156px}
@media(max-width:1300px){
#boardNotice .flowAccount{grid-template-columns:82px 1fr}
#boardNotice .flowAccount>.flowPortrait{width:82px;height:122px}}
@media(prefers-reduced-motion:reduce){
#boardDirectionRoutes .routeLine{stroke-dasharray:none}}
#boardDirectionRoutes .routeTip{fill:none;stroke:#fff0be;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;transform-box:fill-box;transform-origin:100% 50%;animation:routeTipPulse 1.5s ease-in-out infinite;filter:drop-shadow(0 0 5px #dabb70)}
@keyframes routeTipPulse{0%,100%{transform:scale(.82)}50%{transform:scale(1.3)}}
#boardNotice .flowAccount{grid-template-columns:150px 1fr}
#boardNotice .flowAccount>.flowPortrait{width:150px;height:190px}
#boardNotice .noTransfer .flowPortrait{width:165px;height:200px}
@media(max-width:1300px){
#boardNotice .flowAccount{grid-template-columns:110px 1fr}
#boardNotice .flowAccount>.flowPortrait{width:110px;height:155px}}
@media(prefers-reduced-motion:reduce){
#boardDirectionRoutes .routeTip{animation:none!important;transform:none}}
#boardDirectionRoutes .routeTip{animation:none;transform:none}
#boardNotice.flowDemo[data-flow=battle]{width:min(940px,calc(100vw - var(--board-safe-left,420px) - 40px))}
#boardNotice .flowAccount{grid-template-columns:220px 1fr}
#boardNotice .flowAccount>.flowPortrait{width:210px;height:265px}
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(12px)}
#boardNotice .prayerSource img{width:210px;height:265px}
#boardNotice .noTransfer .flowPortrait{width:210px;height:265px}
@media(max-width:1300px){
#boardNotice .flowAccount{grid-template-columns:170px 1fr}
#boardNotice .flowAccount>.flowPortrait,#boardNotice .prayerSource img,#boardNotice .noTransfer .flowPortrait{width:160px;height:210px}
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(10px)}}
@media(max-width:1100px){
#boardNotice .flowAccount{grid-template-columns:138px 1fr}
#boardNotice .flowAccount>.flowPortrait,#boardNotice .prayerSource img,#boardNotice .noTransfer .flowPortrait{width:130px;height:180px}
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(8px)}
#boardNotice .flowDelta{font-size:27px}
#boardNotice .flowDelta>small{font-size:15px}}
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(36px)}
#boardNotice .prayerSource img{width:265px;height:265px}
@media(max-width:1300px){
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(18px)}
#boardNotice .prayerSource img{width:210px;height:210px}}
@media(max-width:1100px){
#boardNotice[data-kind=toll] .flowAccount>.flowPortrait{transform:translateX(8px)}
#boardNotice .prayerSource img{width:180px;height:180px}}
#boardNotice .flowDelta{align-self:start}
#boardNotice[hidden],#boardDirectionRoutes[hidden]{display:none!important}
#boardNotice.enter .messageWindow{animation:messageIn .35s ease-out both}
#boardNotice.leaving .messageWindow{animation:messageOut .2s ease-in both}
#boardNotice .flowEyebrow{letter-spacing:.08em}
#boardNotice .prayerSource small{color:#cab991;font-size:13px}
#boardNotice .messageWindow{max-height:calc(100vh - 40px)}
@media(prefers-reduced-motion:reduce){
#boardNotice *{animation:none!important;transition:none!important}}

/* Approved economy notices: rewards, gate seals and automatic healing pages. */
#boardNotice{pointer-events:none}
#boardNotice[data-flow=reward]{width:min(900px,calc(100vw - var(--board-safe-left,420px) - 40px));top:calc(50% + 45px)}
#boardNotice .rewardLayout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:center}
#boardNotice .rewardActor{display:grid;justify-items:center;gap:7px;align-self:center}
#boardNotice .rewardActor>.flowPortrait{width:230px;height:280px;object-fit:contain}
#boardNotice .rewardActor>b{font-size:22px;font-weight:500;letter-spacing:.12em;color:#f3e5be}
#boardNotice .rewardMain{min-width:0}
#boardNotice .rewardHero{display:flex;align-items:center;justify-content:center;gap:26px;margin-bottom:14px}
#boardNotice .placeArt{width:98px;height:105px;object-fit:contain}
#boardNotice .rewardHero small{display:block;font-size:15px;color:#ccbd97;letter-spacing:.1em}
#boardNotice .rewardHero strong{display:block;font-size:64px;line-height:1.2;color:#f2d38b;font-weight:500;font-variant-numeric:tabular-nums}
#boardNotice[data-flow=reward] em{font-style:normal;font-size:.4em;margin-left:7px}
#boardNotice .incomeParts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #cfb57445;border-bottom:1px solid #cfb57445;padding:12px 0}
#boardNotice .incomeParts>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 8px;padding:0 15px}
#boardNotice .incomeParts>div+div{border-left:1px solid #cfb57445}
#boardNotice .incomeParts span{font-size:16px;color:#d6c8a7}
#boardNotice .incomeParts b{font-size:25px;color:#eed393;font-weight:500;white-space:nowrap}
#boardNotice .incomeParts b small{font-size:13px;margin-left:3px}
#boardNotice .incomeParts>div>small{grid-column:1/-1;font-size:12px;color:#b5ad9a;white-space:nowrap}
#boardNotice .rewardMain>.flowBalance{border:0;margin-top:7px;font-size:20px;gap:12px}
#boardNotice .rewardMain>.flowBalance b{font-size:29px}
#boardNotice .castleExtras{display:flex;align-items:center;gap:22px;border-top:1px solid #cfb57445;margin-top:20px;padding:14px 0 0;color:#cfc5ae;font-size:14px}
#boardNotice .healLabel{display:flex;align-items:center;gap:7px;white-space:nowrap}
#boardNotice .healLabel img{width:23px;height:23px;object-fit:contain}
#boardNotice .healCreature{display:flex;align-items:center;gap:7px}
#boardNotice .healCreature img{width:55px;height:57px;object-fit:contain}
#boardNotice .healCreature b{font-size:22px;color:#ade0bf;font-weight:500;white-space:nowrap}
#boardNotice .healCreature small{font-size:11px;margin-left:3px}
#boardNotice .nextCard{margin-left:auto;display:flex;gap:7px;align-items:center;white-space:nowrap}
#boardNotice .nextCard img{width:27px;height:27px;object-fit:contain}
#boardNotice .noSeal{display:flex;align-items:center;justify-content:center;gap:30px;color:#c3b794}
#boardNotice .noSeal .placeArt{opacity:.6}
#boardNotice .noSeal h3{font-size:34px;font-weight:500;color:#e0d4b9;margin:0 0 10px}
#boardNotice .noSeal span{font-size:17px}
#boardNotice .gateHero{display:flex;align-items:center;justify-content:space-around;gap:12px}
#boardNotice .gateHero>.placeArt{width:90px;height:130px}
#boardNotice .gateAmount{font-size:46px;white-space:nowrap;font-weight:500;color:#f1d48b;font-variant-numeric:tabular-nums}
#boardNotice .sealBlock{display:grid;justify-items:center;gap:24px}
#boardNotice .sealRow{display:flex;gap:28px;justify-content:center}
#boardNotice .sealChip{display:grid;place-items:center;width:56px;height:56px;transform:rotate(45deg);border:1px solid #84734b;background:#cdb67c0a;position:relative;color:#7e755e;transition:color .6s,border-color .6s,background .6s}
#boardNotice .sealChip:before{content:'';position:absolute;inset:5px;border:1px solid currentColor;opacity:.4}
#boardNotice .sealChip>span{transform:rotate(-45deg);font-size:27px}
#boardNotice .sealChip.lit,#boardNotice.rewardLit .newSeal{border-color:#e6cc89;color:#ffe9b3;background:#ddc37d20}
#boardNotice.rewardLit .newSeal{animation:sealArrival 1.15s ease-out both}
#boardNotice .sealCaption{font-size:14px;color:#d8cba9;white-space:nowrap}
#boardNotice .castleDestination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:13px;color:#cdbd94;font-size:15px}
#boardNotice .castleDestination img{width:42px;height:43px;object-fit:contain}
#boardNotice .destinationLine{height:1px;width:45px;background:linear-gradient(90deg,transparent,#cfb574);position:relative}
#boardNotice .destinationLine:after{content:'';position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid #cfb574;border-right:1px solid #cfb574;transform:rotate(45deg)}
@keyframes sealArrival{0%{box-shadow:0 0 0 18px #e6c87300;filter:brightness(1)}35%{box-shadow:0 0 24px 4px #e6c87388;filter:brightness(1.8)}100%{box-shadow:0 0 0 24px #e6c87300;filter:brightness(1)}}
@media(max-width:1300px){
 #boardNotice .rewardLayout{grid-template-columns:170px minmax(0,1fr);gap:12px}
 #boardNotice .rewardActor>.flowPortrait{width:170px;height:230px}
 #boardNotice .rewardActor>b{font-size:19px}
 #boardNotice .rewardHero{gap:14px}
 #boardNotice .rewardHero strong{font-size:50px}
 #boardNotice .incomeParts>div{padding:0 9px}
 #boardNotice .incomeParts b{font-size:22px}
 #boardNotice .incomeParts>div>small{font-size:10px}
 #boardNotice .castleExtras{gap:12px;font-size:12px}
 #boardNotice .healCreature img{width:40px;height:45px}
 #boardNotice .healCreature b{font-size:18px}
 #boardNotice .healLabel{gap:4px}
 #boardNotice .gateHero>.placeArt{width:65px;height:100px}
 #boardNotice .gateAmount{font-size:36px}
 #boardNotice .sealChip{width:43px;height:43px}
 #boardNotice .sealRow{gap:23px}
 #boardNotice .sealChip>span{font-size:23px}
 #boardNotice .sealCaption{font-size:12px}
}
@media(max-width:1100px){
 #boardNotice .rewardLayout{grid-template-columns:130px minmax(0,1fr);gap:12px}
 #boardNotice .rewardActor>.flowPortrait{width:130px;height:190px}
 #boardNotice .placeArt{width:65px;height:85px}
 #boardNotice .gateHero{gap:8px}
 #boardNotice .gateHero>.placeArt{width:45px}
 #boardNotice .gateAmount{font-size:30px}
 #boardNotice .sealRow{gap:20px}
 #boardNotice .sealChip{width:34px;height:34px}
 #boardNotice .sealBlock{gap:17px}
 #boardNotice .healLabel{font-size:11px}
 #boardNotice .castleExtras{gap:8px;font-size:11px}
 #boardNotice .healCreature{gap:3px}
 #boardNotice .healCreature img{width:32px;height:40px}
 #boardNotice .nextCard{gap:3px}
 #boardNotice .nextCard img{width:20px;height:20px}
}
@media(prefers-reduced-motion:reduce){#boardNotice *{animation:none!important;transition:none!important}}

/* Revision 2: reserve the final digit count throughout the animation. */
#boardNotice[data-flow=reward] [data-counter]{display:inline-block;flex-shrink:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#boardNotice .castleDestination.hasCastle{justify-content:flex-end;gap:14px;margin-top:12px}
#boardNotice .castleDestination.hasCastle>span:not(.destinationLine){white-space:nowrap}
#boardNotice .castleDestination.hasCastle img{width:100px;height:100px;flex:none}
@media(max-width:1300px){#boardNotice .castleDestination.hasCastle{gap:10px;font-size:14px}#boardNotice .castleDestination.hasCastle img{width:84px;height:84px}}
@media(max-width:1100px){#boardNotice .castleDestination.hasCastle{gap:8px;font-size:12px}#boardNotice .castleDestination.hasCastle img{width:76px;height:76px}#boardNotice .castleDestination.hasCastle .destinationLine{width:28px;flex:none}}

/* Revision 3: three equally prominent return rewards. */
#boardNotice[data-kind=castle]{width:min(960px,calc(100vw - var(--board-safe-left,420px) - 40px))}
#boardNotice .returnHeading{display:grid;grid-template-columns:160px 1fr 110px;align-items:center;margin:-10px 0 16px;gap:20px}
#boardNotice .returnHeading .moneyHeader{margin:0}
#boardNotice .returnHeading .moneyHeader h2{font-size:30px}
#boardNotice .returnSummoner{position:relative;display:flex;align-items:center;gap:4px;min-width:0}
#boardNotice .returnSummoner .flowPortrait{width:105px;height:115px;object-fit:contain}
#boardNotice .returnSummoner span{font-size:19px;white-space:nowrap;letter-spacing:.08em}
#boardNotice .returnCastle{width:100px;height:105px;object-fit:contain;justify-self:end}
#boardNotice .threeRewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#boardNotice .returnReward{position:relative;text-align:center;display:grid;grid-template-rows:40px 96px 65px 76px;align-items:center;border:1px solid #cfb57460;border-top:2px solid #d4ba79;padding:20px 16px 12px;background:linear-gradient(180deg,#cfb5740c,transparent);min-width:0;animation:bonusReveal .55s ease-out both}
#boardNotice .returnReward:nth-child(2){animation-delay:.14s}
#boardNotice .returnReward:nth-child(3){animation-delay:.28s}
#boardNotice .rewardIndex{position:absolute;left:12px;top:8px;color:#a28f61;font-size:12px;letter-spacing:.13em}
#boardNotice .returnReward h3{font-size:23px;font-weight:500;color:#f5e6bd;margin:0;white-space:nowrap}
#boardNotice .bonusIcon{height:96px;display:grid;place-items:center}
#boardNotice .bonusIcon img{width:78px;height:78px;object-fit:contain}
#boardNotice .hpReward .bonusIcon img{width:71px;height:71px}
#boardNotice .cardReward .bonusIcon img{width:91px;height:91px}
#boardNotice .bonusValue{font-size:47px;font-weight:500;line-height:1.2;color:#f2d38b;white-space:nowrap;font-variant-numeric:tabular-nums}
#boardNotice .bonusValue>small{font-size:13px;margin-right:6px;color:#bfcab9}
#boardNotice .hpReward .bonusValue{color:#b0ddbd}
#boardNotice .goldParts{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:15px;text-align:left;padding:4px 12px;color:#bcb199}
#boardNotice .goldParts b{font-weight:500;color:#e5d2a4}
#boardNotice .healTargets{display:flex;justify-content:center;align-items:center;gap:16px;height:76px}
#boardNotice .healTargets>span{display:flex;align-items:center;gap:5px}
#boardNotice .healTargets img{width:47px;height:50px;object-fit:contain}
#boardNotice .healTargets b{font-size:17px;font-weight:500;color:#b0ddbd}
#boardNotice .noTargets .bonusIcon,#boardNotice .noTargets .bonusValue{opacity:.45}
#boardNotice .noHeal,#boardNotice .cardChoiceHint{font-size:15px;color:#beb398}
#boardNotice[data-kind=castle] .noticeContent>.flowBalance{border:0;padding-top:18px;margin-top:0;gap:12px}
#boardNotice[data-kind=castle] .noSeal{padding:30px 0 50px}
#boardNotice .gateHero>.placeArt{width:160px;height:185px;flex:none}
@keyframes bonusReveal{from{opacity:0}to{opacity:1}}
@media(max-width:1300px){
 #boardNotice .returnHeading{grid-template-columns:140px 1fr 85px;gap:10px;margin-bottom:12px}
 #boardNotice .returnSummoner .flowPortrait{width:85px;height:96px}
 #boardNotice .returnSummoner span{font-size:17px}
 #boardNotice .returnCastle{width:80px;height:90px}
 #boardNotice .returnHeading .moneyHeader h2{font-size:26px}
 #boardNotice .threeRewards{gap:10px}
 #boardNotice .returnReward{padding:20px 10px 10px;grid-template-rows:35px 82px 57px 68px}
 #boardNotice .returnReward h3{font-size:20px}
 #boardNotice .bonusIcon{height:82px}
 #boardNotice .bonusIcon img{width:67px;height:67px}
 #boardNotice .hpReward .bonusIcon img{width:62px;height:62px}
 #boardNotice .cardReward .bonusIcon img{width:79px;height:79px}
 #boardNotice .bonusValue{font-size:39px}
 #boardNotice .healTargets{gap:9px;height:68px}
 #boardNotice .healTargets img{width:35px;height:43px}
 #boardNotice .goldParts{padding:4px 5px;font-size:13px}
 #boardNotice .gateHero>.placeArt{width:115px;height:145px}
}
@media(max-width:1100px){
 #boardNotice .returnHeading{grid-template-columns:120px 1fr 70px}
 #boardNotice .returnSummoner .flowPortrait{width:72px;height:86px}
 #boardNotice .returnCastle{width:65px;height:80px}
 #boardNotice .returnHeading .moneyHeader h2{font-size:23px}
 #boardNotice .returnReward{padding:20px 8px 10px;grid-template-rows:34px 75px 53px 64px}
 #boardNotice .returnReward h3{font-size:17px}
 #boardNotice .bonusValue{font-size:33px}
 #boardNotice .bonusValue>small{font-size:11px;margin-right:4px}
 #boardNotice .bonusIcon{height:75px}
 #boardNotice .healTargets{gap:7px}
 #boardNotice .healTargets img{width:29px;height:38px}
 #boardNotice .healTargets b{font-size:14px}
 #boardNotice .healTargets>span{gap:3px}
 #boardNotice .noHeal,#boardNotice .cardChoiceHint{font-size:13px}
#boardNotice .gateHero>.placeArt{width:90px;height:120px}
}

/* Revision 5: stationary reward panels; gold, HP, and card icons glow in order. */
#boardNotice .returnReward{animation:none;overflow:hidden;grid-template-rows:40px 96px 65px 104px}
#boardNotice .returnReward::after{content:none}
#boardNotice .returnReward .bonusIcon img{animation:rewardIconGlow 1.05s .35s ease-in-out both;--reward-glow:#efd28b}
#boardNotice .hpReward .bonusIcon img{animation-delay:1.45s;--reward-glow:#b0ddbd}
#boardNotice .cardReward .bonusIcon img{animation-delay:2.55s}
@keyframes rewardIconGlow{0%,100%{filter:brightness(1) drop-shadow(0 0 0 transparent)}45%{filter:brightness(1.5) drop-shadow(0 0 12px var(--reward-glow)) drop-shadow(0 0 22px var(--reward-glow))}}
#boardNotice .healingSummary{height:104px;display:grid;grid-template-rows:20px 66px 8px;align-content:center;gap:3px;min-width:0}
#boardNotice .healingCount{font-size:14px;color:#c5d5bf;white-space:nowrap}
#boardNotice .healViewport{position:relative;height:66px;min-width:0}
#boardNotice .healPage{position:absolute;inset:0;display:flex;justify-content:center;gap:12px;opacity:0;visibility:hidden;transition:opacity .35s ease;pointer-events:none}
#boardNotice .healPage.active{opacity:1;visibility:visible}
#boardNotice .healTarget{display:grid;justify-items:center;align-content:center;gap:0;min-width:0;width:54px}
#boardNotice .healTarget img{width:44px;height:44px;object-fit:contain}
#boardNotice .healTarget b{font-size:16px;line-height:1.2;color:#b0ddbd;font-weight:500}
#boardNotice .healPages{display:flex;justify-content:center;gap:6px}
#boardNotice .healPages i{width:4px;height:4px;transform:rotate(45deg);background:#746b52}
#boardNotice .healPages i.active{background:#e0cb95}
#boardNotice .healAccessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1300px){#boardNotice .returnReward{grid-template-rows:35px 82px 57px 92px}#boardNotice .healingSummary{height:92px;grid-template-rows:18px 60px 6px;gap:2px}#boardNotice .healViewport{height:60px}#boardNotice .healTarget{width:44px}#boardNotice .healTarget img{width:38px;height:38px}#boardNotice .healPage{gap:7px}#boardNotice .healingCount{font-size:13px}}
@media(max-width:1100px){#boardNotice .returnReward{grid-template-rows:34px 75px 53px 86px}#boardNotice .healingSummary{height:86px;grid-template-rows:18px 56px 6px}#boardNotice .healViewport{height:56px}#boardNotice .healTarget{width:35px}#boardNotice .healTarget img{width:32px;height:34px}#boardNotice .healTarget b{font-size:14px}#boardNotice .healPage{gap:5px}#boardNotice .healingCount{font-size:12px}}
@media(prefers-reduced-motion:reduce){#boardNotice .returnReward,#boardNotice .returnReward .bonusIcon img{animation:none!important;transform:none!important}#boardNotice .returnReward::after{animation:none!important;display:none}#boardNotice .healPage{transition:none}}
