/* Same night-sea palette; all new marks are UI, using existing painted icons. */
.r18-goal{display:block;font:700 12px/17px Arial;white-space:nowrap}
.r18-tide{display:block;font:700 12px/17px Arial;color:#69cfe9}
#contentHelp #r16Lesson{display:inline;font:inherit;color:inherit;margin:0}
#contentReveal,#contentSolution{display:inline-flex;align-items:center;justify-content:center;width:calc(50% - 4px);min-height:44px;box-sizing:border-box;font-size:12px;vertical-align:top}
#contentSolution{margin-left:4px}
@media(min-width:600px) and (max-height:480px){
 #contentReveal,#contentSolution{grid-column:1;grid-row:4;margin:0!important}
 #contentReveal{justify-self:start}
 #contentSolution{justify-self:end}
}
#exchangePreview[data-r18-decision=true] .r17-branches{margin:3px 0 0;gap:6px}
#exchangePreview[data-r18-decision=true]::before{display:none!important}
#exchangePreview .r18-route{display:block;min-height:82px;height:auto!important;padding:5px 4px!important;text-align:left;background:#10152d;color:#f2f1fa;border:1px solid #69cfe9}
#exchangePreview .r18-route[data-branch=prevented]{border-color:#da8a6d}
#exchangePreview .r18-route:active{background:#473553;outline:3px solid #e9bd74;outline-offset:-3px}
#exchangePreview .r18-route:focus-visible{outline:3px solid #e9bd74;outline-offset:1px}
#exchangePreview .r18-route strong{font:700 14px/18px Arial}
#exchangePreview .r18-route span{font:700 12px/16px Arial;white-space:normal}
#exchangePreview .r18-route .r18-benefit{color:#a8edbd}
#exchangePreview[data-r18-decision=true]>details{position:absolute;right:4px;top:-44px;background:#201c3d}
#exchangePreview[data-r18-decision=true]>details>summary{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.r18-settlement{font:700 12px/17px Arial;border:1px solid #da8a6d;background:#201c3d;color:#f2f1fa;padding:2px 4px;white-space:nowrap}
.r18-hero-cost{display:block;flex:0 0 auto;max-width:100%}
body[data-content-id=moen] #playerHero:has(.r18-hero-cost){flex-wrap:wrap}
.r18-heal-state{position:absolute;left:0;bottom:-21px;color:#a8edbd;border-color:#69cfe9}
.r18-result-values{display:block;font:700 13px/19px Arial}
.r18-clear{color:#a8edbd;font:700 11px/15px Arial}
body[data-content-active=true][data-r18-study=true] .card .taunt-crest{top:48%!important;bottom:auto!important;left:-42px!important;width:40px!important;height:45px!important;flex-direction:column!important;gap:0!important}
body[data-content-active=true][data-r18-study=true] .battlefield .card:last-child:not(:first-child) .taunt-crest{left:auto!important;right:-42px!important}
body[data-content-active=true][data-r18-study=true] .card .taunt-crest img{width:24px!important;height:24px!important}
body[data-content-active=true][data-r18-study=true] .card .taunt-crest span{display:block;color:#f2f1fa;background:#201c3d;font:700 12px/17px Arial}
body[data-content-active=true][data-r18-study=true] .card .taunt-crest::before{display:none!important}
#forecastRounds button>small[hidden]{display:none!important}
#forecastRounds button>strong,#forecastRounds button>span{display:block;white-space:nowrap;font:700 12px/18px Arial}
#forecastRounds button{min-height:60px!important}
#forecastTitle .r17-mini-anchor,#forecastTitle .r17-mini-link{display:none!important}
#forecastTitle .r17-mini-state{font:700 12px/18px Arial}
.r19-objectives{display:flex;flex-wrap:wrap;gap:2px 10px;font:700 12px/17px Arial;margin-top:3px}
.r19-objectives [data-met=true]{color:#a8edbd}
.r19-objectives [data-met=false]{color:#ffb5ac}
.r19-cause{display:block;color:#e9bd74;font:400 12px/17px Arial;margin-top:3px}
.r19-damage-ledger{display:block;white-space:pre-line;font:700 12px/17px Arial;margin-top:3px}
.r19-hint{border:1px solid #da8a6d;padding:0 6px;margin:3px 0}
.r19-hint summary{min-height:44px;display:flex;align-items:center;font:700 14px/20px Arial;cursor:pointer}
.r19-hint:not([open])>p{display:none}
.r19-hint p{white-space:normal;font:400 13px/19px Arial}
@media(max-height:650px){.r19-objectives,.r19-cause,.r19-damage-ledger{font-size:10px;line-height:13px;margin-top:2px}}
/* Large target-local marks, away from name, stats, cost and the info hit area. */
.r17-projection{font:700 12px/16px Arial;top:33px;padding:1px;border:1px dashed #e9bd74}
.r17-projection img{width:14px;height:16px;opacity:.8}
.r17-hero-preview{font:700 12px/18px Arial;min-height:18px;min-width:0;border-width:1px}
@media(max-width:599px) and (min-height:651px){
 body[data-twin=true] .battlefield .r17-projection{left:-54px;top:30px;right:auto;width:48px;height:40px;min-width:48px;min-height:40px;box-sizing:border-box;font:900 28px/34px Arial;padding:1px;border:2px solid #e9bd74}
 body[data-twin=true] .battlefield .r17-projection img{width:30px;height:34px;opacity:1}
 body[data-twin=true] .battlefield .card:last-child:not(:first-child) .r17-projection{left:auto;right:-54px}
 body[data-content-active=true][data-twin=true] .card:has(.r17-projection) .taunt-crest{top:calc(100% - 28px)!important}
 body[data-r18-study=true]:not([data-content-id=moen]) #playerField:not(:has(.card ~ .card ~ .card)) .r9-shield-count,
 body[data-r18-study=true]:not([data-content-id=moen]) #playerField:not(:has(.card ~ .card ~ .card)) .r7-shield-owner,
 body[data-r18-study=true][data-content-id=moen] #playerField:not(:has(.card ~ .card ~ .card)) .card[data-uid="content-player-1"] .r9-shield-count,
 body[data-r18-study=true][data-content-id=moen] #playerField:not(:has(.card ~ .card ~ .card)) .card[data-uid="content-player-1"] .r7-shield-owner{left:-56px!important;right:auto!important;top:40px!important;bottom:auto!important;transform:none!important;width:52px!important;max-width:52px!important;min-width:0!important;box-sizing:border-box;padding:2px!important;font:700 12px/16px Arial!important;text-align:center}
 body[data-r18-study=true]:not([data-content-id=moen]) #playerField:not(:has(.card ~ .card ~ .card)) .card ~ .card:not(:has(~ .card)) .r9-shield-count,
 body[data-r18-study=true]:not([data-content-id=moen]) #playerField:not(:has(.card ~ .card ~ .card)) .card ~ .card:not(:has(~ .card)) .r7-shield-owner,
 body[data-r18-study=true][data-content-id=moen] #playerField:not(:has(.card ~ .card ~ .card)) .card ~ .card[data-uid="content-player-1"]:not(:has(~ .card)) .r9-shield-count,
 body[data-r18-study=true][data-content-id=moen] #playerField:not(:has(.card ~ .card ~ .card)) .card ~ .card[data-uid="content-player-1"]:not(:has(~ .card)) .r7-shield-owner{left:auto!important;right:-56px!important}
 body[data-r18-study=true]:has(#forecastPanel:not([hidden])) #playerField .r9-shield-count,
 body[data-r18-study=true]:has(#forecastPanel:not([hidden])) #playerField .r7-shield-owner{display:none!important}
}
@media(max-height:650px){
 .r18-goal{font-size:10px;line-height:13px}
 .r18-tide{font-size:11px;line-height:13px}
 .r18-settlement{font-size:10px;line-height:13px;padding:1px 2px}
 #exchangePreview .r18-route{min-height:76px;padding:3px!important}
 #exchangePreview .r18-route strong{font-size:12px;line-height:16px}
 #exchangePreview .r18-route span{font-size:10px;line-height:13px}
 .r17-projection{font-size:10px;line-height:14px;padding:1px}
 body[data-twin=true] .battlefield .r17-projection{font-size:14px;line-height:18px;min-width:22px;min-height:22px;top:24px;left:-10px;padding:0 2px;border:2px solid #e9bd74}
 body[data-twin=true] .battlefield .r17-projection img{width:19px;height:21px;opacity:1}
 .r17-hero-preview{font-size:10px;line-height:14px;min-height:14px;min-width:0}
 #forecastRounds button>strong,#forecastRounds button>span{font-size:10px;line-height:15px}
}
@media(max-width:359px) and (max-height:650px){
 body[data-content-active=true][data-r18-study=true] .card .taunt-crest{left:-2px!important;right:auto!important;top:50px!important;width:18px!important;height:20px!important}
 body[data-content-active=true][data-r18-study=true] .card .taunt-crest::before{display:none!important}
}
@media(min-width:600px) and (max-height:650px){
 #exchangePreview[data-r18-decision=true]{grid-template-columns:1fr 1fr!important}
 #exchangePreview[data-r18-decision=true] .r17-branches{grid-column:2;grid-row:1!important}
 #exchangePreview[data-r18-decision=true] .r15-conclusions{grid-column:1}
}
