.es-frame {
  --paper: #fffdf0;
  --line: #c7c4b5;
  border: 2px solid var(--ink);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
}
.es-frame button { touch-action: manipulation; }
.es-frame p { line-height: 1.45; }
.es-frame h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.03; }
.es-frame h3 { font-size: clamp(21px, 2vw, 26px); }
.es-kicker, .es-mast-meta, .es-score-caption, .es-funds span, .es-year {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.es-pixel { display: block; object-fit: contain; width: 100%; height: 100%; image-rendering: pixelated; }
.es-frame [tabindex="-1"]:focus { outline: 0; }
.es-primary { padding: 11px 20px; min-height: 44px; }

.es-cable { display:grid; grid-template-columns:minmax(152px,24%) 1fr; border-bottom:2px solid var(--ink); }
.es-event-art, .es-shop-art, .es-cup {
  display: grid; place-items: center; overflow: hidden;
}
.es-event-art {
  min-height: 158px;
  border-right: 2px solid var(--ink);
  background: radial-gradient(#81708c43 1px,transparent 1px) 0 0/7px 7px, #ddd4ef;
}
.es-event-art .es-pixel { max-width:210px; height:128px; }
.es-cable-copy { padding: 25px clamp(18px, 3.3vw, 42px); align-self: center; }
.es-cable-copy .es-kicker { color: #5c476f; margin-bottom: 8px; }
.es-cable-copy > p:last-child { margin-top: 10px; color: #4e4b59; max-width: 63ch; font-size: 17px; }
.es-decision-tray { padding: 18px clamp(15px, 2.4vw, 30px) 23px; background: #f5f3e7; }
.es-decision-tray h3 { margin-bottom: 11px; }
.es-decisions { display:grid; grid-template-columns:1fr 1fr; gap: 15px; }
.es-decision {
  display: flex; flex-direction:column; align-items:stretch;
  border:1.5px solid var(--ink); border-radius:4px; box-shadow:2px 2px 0 var(--ink);
  padding: 13px 16px; text-align:left; background:#f9ffed;
}
.es-decision:nth-child(even) { background:#fff3df; }
.es-decision:hover,.es-buy:not(:disabled):hover { transform:translateY(-2px); }
.es-decision:active,.es-buy:not(:disabled):active { transform:translate(1px,1px); box-shadow:none; }
.es-choice-title { font-size:20px; letter-spacing:-.02em; line-height:1.2; }
.es-choice-body { margin:5px 0 13px; line-height:1.4; font-size:16px; color:#514d57; }
.es-terms { display:flex; flex-wrap:wrap; gap:8px 24px; border-top:1px dashed #acaa9a; margin-top:auto; padding-top:8px; }
.es-delta small,.es-delta strong { display:block; }
.es-delta small { font-size:13px;color:#595462; }
.es-delta strong { margin-top:2px; font:500 14px var(--mono); }

.es-press { background:#faf6e7; }
.es-press-head { margin:0 clamp(15px, 3vw, 34px); border-bottom:4px double var(--ink); display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:15px 0 10px; }
.es-frame .es-masthead { font: bold clamp(28px, 3vw, 42px)/1 Georgia,serif; letter-spacing:-.065em; }
.es-mast-meta { text-align:right; color:#4b4850; }
.es-press-body { display:grid; grid-template-columns: 1.05fr 1fr; padding:20px clamp(15px, 3vw, 34px) 0; gap:28px; }
.es-lead { padding:4px 0; }
.es-stamp { display:inline-block; border:2px solid currentColor; color:#367143; transform:rotate(-2deg); font:650 14px var(--mono); text-transform:uppercase; letter-spacing:.1em; padding:2px 9px; }
.es-stamp-alert { color:#a84736; }
.es-lead h2 { font-family:Georgia,serif; margin:9px 0 8px; font-weight:700; letter-spacing:-.05em; }
.es-lead-copy { color:#4a4651; font-size:16px; }
.es-evidence { display:flex; flex-wrap:wrap; gap:10px 18px; margin:15px 0 5px; }
.es-evidence div+div { border-left:1px solid #c9c3b0; padding-left:16px; }
.es-evidence dt { font-size:13px; color:#625b63; }
.es-evidence dd { font:650 16px var(--mono); margin:4px 0 0; }
.es-fine-line { font-size:13px; color:#5d565c; }
.es-contract { border-top:1px dashed #b4ad96; padding-top:10px; margin-top:14px; display:grid; grid-template-columns:1fr auto; gap:5px 12px; }
.es-contract .es-kicker,.es-contract strong { display:block; }
.es-contract .es-kicker { color:#686054; font-size:11px; }
.es-contract strong { font-size:16px; }
.es-contract-tag { align-self:center; background:#eee5cc; padding:3px 7px; border-radius:3px; font:12px var(--mono); }
.es-contract p { grid-column:1/-1; font-size:14px; color:#5d565c; }
.es-accounts { border-left:1px solid #c9c3b0; padding-left:25px; }
.es-accounts h3 { font:700 23px Georgia,serif; }
.es-accounts dl { margin:8px 0 0; }
.es-accounts dl>div,.es-spent { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:7px 0; }
.es-accounts dt { color:#534f55; }
.es-accounts dd { margin:0; font:14px var(--mono); white-space:nowrap; }
.es-accounts dl .es-total { border-top:1px solid #a8a18c; margin-top:4px; }
.es-accounts dl .es-balance { border-top:3px double #77705d; font-weight:700; }
.es-balance dd { font-size:19px; }
.es-press-foot { display:flex; justify-content:flex-end; padding:16px clamp(15px,3vw,34px) 20px; }

.es-shop { background:#eeebf6; }
.es-shop-head,.es-finish-top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px clamp(16px,3vw,34px); }
.es-shop-head { border-bottom:2px solid var(--ink); background:#302d47; color:#fff9e8; }
.es-shop-head .es-kicker { color:#cfbee9; }
.es-shop-head h2 { margin:5px 0 6px; }
.es-shop-head p:last-child { color:#e1d8e9; }
.es-funds { padding:10px 14px; border:1px solid #8a829f; border-radius:4px; white-space:nowrap; }
.es-funds span,.es-funds strong { display:block; }
.es-funds strong { color:var(--lime); margin-top:5px; font:clamp(16px,1.8vw,24px) var(--pixel); }
.es-shop-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:13px; padding:18px clamp(15px,2.5vw,30px) 0; }
.es-upcard { display:flex; flex-direction:column; border:1.5px solid var(--ink); border-radius:4px; overflow:hidden; background:var(--paper); box-shadow:2px 2px var(--ink); }
.es-shop-art { height:84px; background:repeating-linear-gradient(0deg,#dfd6eb 0 1px,transparent 1px 13px),#e9e2f1; border-bottom:1.5px solid var(--ink); }
.es-shop-art .es-pixel { width:112px; height:75px; }
.es-upcopy { flex:1; display:flex; flex-direction:column; padding:12px; }
.es-upcopy h3 { font-size:21px; }
.es-upcopy p { color:#50505c; font-size:15px; margin:5px 0 12px; }
.es-buy { border:1.5px solid var(--ink); box-shadow:1px 2px var(--ink); background:#e4d9ff; border-radius:4px; padding:9px 7px; min-height:40px; margin-top:auto; font-weight:650; }
.es-buy:disabled { color:#66616b; border-color:#aaa4ae; background:#ebe8e8; box-shadow:none; cursor:default; }
.es-shop-foot { padding:17px clamp(15px,2.5vw,30px) 20px; display:flex; justify-content:flex-end; }
.es-shop-foot .quiet-button { white-space:normal; text-align:left; }

.es-finish-top { color:#f9f7e9; background:#27283f; border-bottom:2px solid var(--ink); }
.es-score-copy .es-kicker { color:#cfcaeb; }
.es-score-copy h2 { margin:7px 0 18px; font-size:clamp(26px,3vw,39px); }
.es-score-caption { color:#d0d2c6; }
.es-score { font:clamp(25px,4vw,56px)/1.1 var(--pixel); display:block; color:var(--lime); letter-spacing:-.05em; margin:6px 0 12px; }
.es-medals { display:flex; gap:12px 24px; flex-wrap:wrap; }
.es-medals div { display:flex; flex-direction:column; gap:2px; }
.es-medals strong { font:16px var(--mono); }
.es-medals span { font-size:13px; color:#d8d3e1; }
.es-cup { width:clamp(110px,26%,260px); }
.es-cup .es-pixel { width:100%; height:auto; filter:drop-shadow(5px 6px #101020); }
.es-finish-bottom { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,27%); padding:20px clamp(15px,3vw,34px); gap:28px; }
.es-timeline ol { margin:10px 0 0; padding:0; list-style:none; }
.es-timeline li { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:9px 0; border-top:1px dashed var(--line); }
.es-timeline li>div strong, .es-timeline small { display:block; }
.es-timeline small { color:#5b5661; margin-top:2px; font-size:13px; }
.es-year { border:1px solid #b5b1a1; padding:4px 7px; white-space:nowrap; }
.es-year-net,.es-spent strong { font:14px var(--mono); }
.es-spent { color:#595260; border-top:1px dashed var(--line); font-size:14px; }
.es-finish-actions { align-self:center; display:grid; gap:10px; }

@media(max-width:720px) {
  .es-press-body { gap:15px; }
  .es-accounts { padding-left:15px; }
  .es-finish-bottom { grid-template-columns:1fr; gap:14px; }
  .es-finish-actions { display:flex; flex-wrap:wrap; }
}
@media(max-width:570px) {
  .es-cable { grid-template-columns:85px minmax(0,1fr); }
  .es-event-art { min-height:116px; }
  .es-event-art .es-pixel { width:100%; height:auto; }
  .es-cable-copy { padding:14px 12px; }
  .es-cable-copy > p:last-child { font-size:15px; margin-top:7px; }
  .es-decisions { grid-template-columns:1fr; gap:10px; }
  .es-decision { padding:12px; }
  .es-terms { gap:8px 16px; }
  .es-press-body { grid-template-columns:1fr; gap:15px; }
  .es-accounts { border:0; border-top:1px solid #c9c3b0; padding:13px 0 0; }
  .es-mast-meta { font-size:10px; }
  .es-shop-head { align-items:flex-start; flex-direction:column; }
  .es-funds { display:flex; align-items:center; gap:10px; padding:6px 9px; }
  .es-funds strong { margin:0; }
  .es-shop-grid { grid-template-columns:1fr; }
  .es-upcard { display:grid; grid-template-columns:74px 1fr; }
  .es-shop-art { height:100%; border-bottom:0; border-right:1.5px solid var(--ink); }
  .es-shop-art .es-pixel { width:100%; height:auto; }
  .es-finish-top { position:relative; overflow:hidden; }
  .es-score-copy { z-index:1; }
  .es-cup { position:absolute; right:-8px; top:10px; width:86px; opacity:.38; }
  .es-score-copy h2 { padding-right:44px; }
  .es-timeline li { gap:8px; }
  .es-year { font-size:10px; padding:3px 4px; }
  .es-year-net { font-size:12px; }
}
@media(prefers-reduced-motion:no-preference) {
  .es-stamp { animation:es-stamp-on .25s ease-out; }
  .es-decision,.es-buy { transition:transform .13s ease; }
  @keyframes es-stamp-on { from{transform:scale(1.25) rotate(-6deg);opacity:.15} to{transform:scale(1) rotate(-2deg);opacity:1} }
}
.es-frame .es-heat-line { margin:8px 0 3px; font-size:14px; line-height:1.4; }
.es-dispatch { margin-top:18px; border-top:3px double #897f68; padding-top:11px; }
.es-dispatch .es-kicker { color:#665a49; }
.es-dispatch h3 { margin:5px 0; font:700 clamp(19px,2vw,24px)/1.17 Georgia,serif; letter-spacing:-.02em; }
.es-dispatch > p:not(.es-kicker) { font-size:15px; color:#49454d; }
.es-impact { display:flex; flex-wrap:wrap; gap:4px 14px; margin:8px 0; font-size:13px; color:#514a47; }
.es-impact strong { font:500 13px var(--mono); }
.es-deal-record { padding:7px 0; border-top:1px dashed #b4ad96; }
.es-deal-record summary { cursor:pointer; font-weight:600; font-size:14px; }
.es-deal-record summary:focus-visible { outline:3px solid #7153cf; outline-offset:2px; }
.es-deal-record ol { list-style:none; margin:7px 0 0; padding:0; }
.es-deal-record li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:7px; padding:7px 0; align-items:baseline; font-size:14px; }
.es-deal-record li+li { border-top:1px solid #d8d2bf; }
.es-deal-record small { display:block; color:#615950; font-size:12px; line-height:1.35; }
.es-qnote,.es-deal-numbers { font:500 12px var(--mono); }
.es-deal-numbers { text-align:right; }
.es-operations { display:flex; flex-wrap:wrap; gap:10px 22px; padding:0 0 14px; border-bottom:1px solid var(--line); margin-bottom:14px; }
.es-operations > div { display:grid; gap:3px; }
.es-operations strong { font:500 18px var(--mono); }
.es-operations span:last-child { font-size:13px; color:#5b5661; }

.es-postscript { margin:0 0 18px; padding:0 0 16px; border-bottom:1px solid var(--line); }
.es-postscript h3 { margin:5px 0; }
.es-postscript p { max-width:64ch; line-height:1.45; }
