/* A dispatch from the harbour, using the game's own lighthouse artwork. */
#modal-backdrop #modal:has(.depot-post) {
  box-sizing:border-box; width:min(92vw,430px); max-height:calc(100dvh - 72px); min-height:0;
  padding:0; margin:auto; overflow:auto; border:1px solid #a8d1d4; border-radius:25px;
  color:#153745; background:#fff9e8; box-shadow:0 18px 65px #02152999;
}
#modal:has(.depot-post) #modal-content {padding:0;max-width:none}
.depot-post {width:100%;text-align:left;isolation:isolate;font-family:system-ui,sans-serif}
.depot-post-art {
  position:relative; min-height:clamp(154px,28svh,258px); overflow:hidden;
  background:linear-gradient(0deg,#092d46 1%,#0a263764 45%,#0b194527 100%),url('./v2-scene.webp') center 52%/cover;
}
.depot-post .post-heading {position:absolute;bottom:18px;left:clamp(19px,5vw,30px);color:#fff}
.depot-post .post-heading span,.post-waybill small {
  display:block;margin:0 0 4px;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.14em;
}
.depot-post .post-heading span {color:#ffda8b}
.depot-post h2#modal-title {margin:0;color:#fff9e5;font:700 clamp(37px,10vw,52px)/1 Georgia,serif;letter-spacing:-.045em;text-shadow:0 2px 10px #052638}
.depot-post .post-close {position:absolute;z-index:1;top:12px;right:12px;padding:0;min-width:44px;height:44px;border:1px solid #cfebe5a3;border-radius:50%;background:#102c44d9;color:#fff;font:400 28px/1 system-ui;box-shadow:none}
.depot-post-paper {padding:20px clamp(18px,5vw,30px) 17px;background:linear-gradient(100deg,#fffbea,#f6eed7)}
.post-waybill {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0 16px;border-bottom:1px dashed #acc0b2}
.post-waybill small {color:#4d695f}
.post-waybill strong {display:block;color:#173f43;font-size:clamp(21px,5.3vw,25px);line-height:1.13;letter-spacing:-.03em}
.post-level {min-width:58px;text-align:center;border-left:1px solid #b5c6bb;padding-left:16px}
.post-level b {color:#245447;font:700 26px/1 Georgia,serif}
.depot-post-gift {margin:13px 0 0!important;color:#305a47!important;text-align:left;font:500 14px/1.4 system-ui}
.depot-post-gift i {display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:4px;background:#d7e8c9;border-radius:50%;font-style:normal;font-weight:800}
.depot-post .post-primary,.depot-post .post-secondary {width:100%;min-height:44px;font:750 16px/1.2 system-ui;text-transform:none;letter-spacing:0}
.depot-post .post-primary {display:flex;justify-content:center;gap:12px;align-items:center;margin:18px 0 3px;padding:14px;border-radius:12px;border:1px solid #154d48;color:white;background:linear-gradient(#2c746b,#175650);box-shadow:0 3px 0 #10423e}
.depot-post .post-secondary {border:0;box-shadow:none;background:transparent;color:#305d57}
.depot-post button:focus-visible,.parcel-manifest :focus-visible {outline:3px solid #f8b642;outline-offset:2px}
@keyframes depot-arrive {from{opacity:.35;transform:translateY(11px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference) {.depot-post[data-motion="true"] .depot-post-paper{animation:depot-arrive .32s ease-out both}}
@media(max-height:560px) {.depot-post-art{min-height:110px}.depot-post-paper{padding-block:12px}.depot-post .post-primary{margin-top:8px}}
/* One column keeps quantities and the full Swedish price on the same line. */
#modal-content .parcel-manifest {box-sizing:border-box;margin:12px 0 16px;padding:0;overflow:hidden;border:1px solid #a4bab0;border-radius:18px;color:#173d42;background:#fffbeb;box-shadow:0 4px 0 #244d492b;text-align:left;font-family:system-ui,sans-serif}
#modal-content .parcel-manifest[hidden]{display:none}
#modal-content .parcel-manifest header {position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;width:auto;height:auto;min-height:0;margin:0;padding:15px 17px;border:0;border-radius:0;color:white;background:linear-gradient(110deg,#134c50,#246760);box-shadow:none;transform:none}
#modal-content .parcel-manifest h2 {margin:0;font:700 clamp(24px,6vw,32px)/1.1 Georgia,serif;color:#fff9df;letter-spacing:-.03em;text-shadow:none;text-align:left}
#modal-content .parcel-manifest header p {margin:4px 0 0;color:#ddf3de;font:550 12px/1.3 system-ui;text-align:left}
#modal-content .parcel-manifest header img {width:45px;height:45px;border-radius:11px;transform:rotate(4deg);border:2px solid #d2cd92}
.parcel-manifest ul {margin:0;padding:0 15px;list-style:none}
.parcel-manifest .parcel-line,.parcel-pass-note>div {display:flex;align-items:center;justify-content:space-between;gap:9px}
.parcel-manifest .parcel-line {margin:0;padding:10px 0;border:0;border-bottom:1px dashed #b8c8b9;background:none;box-shadow:none}
.parcel-manifest .parcel-line:last-child{border:0}
.parcel-manifest .parcel-line strong,.parcel-pass-note strong {display:block;color:#143e40;font:750 clamp(15px,3.8vw,18px)/1.15 system-ui;text-shadow:none}
.parcel-manifest .parcel-line small,.parcel-manifest .parcel-pass-note p {display:block;margin:4px 0 0;color:#3f5e59;font:500 12px/1.35 system-ui;text-shadow:none;text-align:left}
.parcel-manifest b {flex:none;display:inline-block;margin:0;color:#154b42;background:#e1ecd9;border:1px solid #b3c9b1;border-radius:7px;padding:4px 7px;font:750 15px/1.1 system-ui;font-variant-numeric:tabular-nums;white-space:nowrap}
.parcel-manifest .parcel-pass-note {margin:0;padding:12px 15px 15px;background:#f1ecd6;border-top:1px solid #d7d1b6}
.depot-post .post-live {display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:11px;padding:9px 0 0;border-top:1px dashed #bdcbbd;color:#27575b}
.depot-post .post-live[hidden]{display:none}
.depot-post .post-live strong{font:700 15px/1.2 system-ui}
.depot-post .post-live small{font:550 12px/1.35 system-ui}
#modal-backdrop #modal:has(.live-board) {box-sizing:border-box;width:min(92vw,430px);min-height:0;max-height:calc(100dvh - 64px);margin:auto;padding:0;overflow:auto;border:1px solid #b3c6b9;border-radius:22px;background:#fff9e8;color:#143c43;box-shadow:0 18px 65px #02152988}
#modal:has(.live-board) #modal-content{padding:0}
#modal-content .live-board {padding:0 17px 12px;color:#264e4e;text-align:left}
#modal-content .live-board .modal-head {display:flex;align-items:center;justify-content:space-between;padding:19px 17px;margin:0 -17px 13px;border:0;border-radius:0;background:linear-gradient(105deg,#16484d,#296c66);box-shadow:none}
#modal-content .live-board .modal-head .eyebrow {margin:0 0 3px;color:#e7d18f;text-align:left;font:750 10px/1.2 system-ui;letter-spacing:.12em}
#modal-content .live-board h2#modal-title {font:700 34px/1 Georgia,serif;color:#fff7dc;letter-spacing:-.04em;text-shadow:none}
#modal-content .live-board [data-close]{min-height:44px;min-width:44px;border-radius:50%;background:#143e45;color:#fff;box-shadow:none;border:1px solid #91bcb2}
.live-routes{display:grid;gap:7px}
#modal-content .live-board .live-route {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:10px 13px;min-height:52px;border:1px solid #b2c6b8;border-radius:11px;background:#fffdf3;box-shadow:0 2px 0 #d4dece;color:#193f40;text-align:left}
.live-route strong,.live-route small{display:block;font-family:system-ui,sans-serif}
.live-route strong{font-size:16px;line-height:1.2}.live-route small{font-size:12px;font-weight:500;color:#4e685d;margin-top:3px}
.live-route i{font:600 25px/1 Georgia,serif;color:#578276}
#modal-content .live-board p {color:#3c5e55;font:550 13px/1.4 system-ui}
#modal-content .live-board [data-back] {min-height:44px;margin:0;color:#215b55;box-shadow:none;background:transparent;border:none;text-align:left;font:750 15px system-ui}
/* Gold cargo has its own artwork, embossed price labels and parcel wrapping. */
#modal-content .cargo-market {border:1px solid #ba994d;background:#faf1d7}
#modal-content .cargo-market header {padding:13px 14px 8px;background:none;color:#173943;display:block}
#modal-content .cargo-market header h2 {color:#173e47;font-size:25px}
#modal-content .cargo-market header p {color:#48635f}
#modal-content .harbour-banner,#modal-content .harbour-art {position:relative;isolation:isolate;background-color:#07203b;background-image:linear-gradient(90deg,#04172de8,transparent 69%),url('./harbour-vault.webp');background-size:cover;background-position:center 64%}
#modal-content .harbour-banner {display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:5px;border:0;border-radius:0;width:100%;padding:17px 18px;min-height:128px;text-align:left;color:white;box-shadow:inset 0 -3px #d7a64e}
#modal-content .harbour-banner>span,.harbour-art>div>span {font:800 10px/1.2 system-ui;letter-spacing:.14em;color:#ffe29b;text-transform:uppercase}
#modal-content .harbour-banner>strong {max-width:52%;color:#fff5d2;font:700 28px/1.02 Georgia,serif;letter-spacing:-.04em;text-shadow:0 2px 6px #031a2f}
#modal-content .harbour-banner>b {color:#183842;background:linear-gradient(#fff1a2,#eab43e);border:1px solid #f6d677;border-radius:7px;font:750 12px/1.1 system-ui;padding:6px 9px;margin-top:3px}
#modal-content .cargo-market ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:2px 9px 11px}
#modal-content .cargo-market .parcel-line {--ribbon:#157e81;--paper:#e9c27a;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:5px;margin:0;padding:8px 8px 7px;min-width:0;border:1px solid #c8ac72;border-top:3px solid var(--ribbon);border-radius:11px;background:linear-gradient(145deg,#fffbea,#fcf0cc);box-shadow:0 2px 0 #bfa67955}
#modal-content .cargo-market .cargo-delivery {--ribbon:#3368a5;--paper:#edbf73}
#modal-content .cargo-market .cargo-large {--ribbon:#965d16;--paper:#ffc95b}
#modal-content .cargo-market .cargo-world {--ribbon:#6a5996;--paper:#c4b2e5}
#modal-content .cargo-market .cargo-weekend {--ribbon:#9a4d4d;--paper:#f4aa82}
#modal-content .cargo-market .cargo-return {--ribbon:#42714b;--paper:#c2d99d}
.cargo-title {display:flex;align-items:center;gap:7px}
#modal-content .cargo-title strong {font:760 clamp(13px,3.3vw,16px)/1.12 system-ui;color:#213e41}
.cargo-box {width:21px;height:19px;flex:none;position:relative;transform:rotate(-6deg);background:linear-gradient(90deg,transparent 36%,var(--ribbon) 36% 58%,transparent 58%),linear-gradient(145deg,var(--paper),#e1a85b);border-radius:3px;box-shadow:inset -3px -3px #88532a44,0 2px 2px #51451a2b}
.cargo-box:before {content:'';position:absolute;top:4px;left:0;right:0;height:3px;background:var(--ribbon)}
.cargo-bottom {display:flex;align-items:flex-end;gap:5px;justify-content:space-between}
#modal-content .cargo-bottom small {display:grid;gap:1px;line-height:1.32;font-size:clamp(10px,2.6vw,12px);margin:0}
#modal-content .cargo-price {align-self:flex-end;padding:5px 6px;font:800 clamp(11px,3.3vw,15px)/1.1 system-ui;letter-spacing:-.02em;white-space:nowrap;color:#3e2a0b;background:linear-gradient(#ffed99,#e8b43e);border:1px solid #c39439;border-radius:7px;box-shadow:0 2px 0 #aa802f32}
#modal-content .cargo-market .parcel-line {padding:0}
#modal-content .cargo-market .cargo-action {display:flex;flex:1;flex-direction:column;align-items:stretch;justify-content:space-between;gap:5px;width:100%;min-width:0;min-height:44px;padding:8px;border:0;border-radius:inherit;background:transparent;color:inherit;text-align:left;box-shadow:none;touch-action:manipulation}
#modal-content .cargo-market .cargo-action:focus-visible {outline:3px solid #156e75;outline-offset:-3px}
#modal-content .cargo-market .cargo-action:active {background-color:#f4dda7}
#modal-content .cargo-market .parcel-pass-note {border-radius:0;background:#f3e3b9;padding:10px 12px;border-top:1px solid #d7d1b6}
#modal-content .parcel-pass-note .cargo-title {justify-content:space-between}
#modal-content .parcel-pass-note small {color:#3f5e59;font:500 12px/1.35 system-ui}
#modal-content .cargo-price {white-space:nowrap;text-align:center;flex-shrink:0}
#modal-content .cargo-price em {display:block;font:650 9px/1.16 system-ui;margin-top:2px;white-space:normal;max-width:7em}
#modal-content .delivery-badges {list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0}
#modal-content .delivery-badges li {padding:7px 9px;background:#f7e8b9;border:1px solid #b79a54;border-radius:9px;color:#3d3219}
#modal-backdrop #modal:has(.harbour-offer) {width:min(92vw,425px);max-height:calc(100dvh - 64px);min-height:0;box-sizing:border-box;margin:auto;padding:0;border-radius:22px;overflow:auto;border:1px solid #e5bd69;background:#fff6df;box-shadow:0 18px 70px #051b27a0}
#modal:has(.harbour-offer) #modal-content {padding:0}
.harbour-offer {font-family:system-ui,sans-serif;text-align:left}
#modal-content .harbour-art {height:clamp(150px,28svh,240px);background-position:61% 63%;box-shadow:inset 0 -3px #dfad4b}
.harbour-art>div {position:absolute;left:18px;bottom:20px;width:54%;color:white}
#modal-content .harbour-art h2#modal-title {margin:4px 0 0;color:#fff5d0;text-align:left;font:700 clamp(33px,9vw,49px)/.99 Georgia,serif;letter-spacing:-.045em;text-shadow:0 2px 10px #031831}
#modal-content .harbour-close {position:absolute;top:10px;right:10px;width:44px;height:44px;min-width:44px;padding:0;z-index:1;border-radius:50%;border:1px solid #e8cf95;background:#07233be8;color:white;font:500 27px/1 system-ui;box-shadow:none}
.harbour-paper {padding:14px 16px 7px}
#modal-content .harbour-paper>p {margin:0 0 12px;color:#284746;font:580 15px/1.35 system-ui;text-align:left}
.harbour-options {display:grid;gap:7px}
#modal-content .harbour-option {display:flex;align-items:center;justify-content:space-between;gap:8px;font-family:system-ui;width:100%;min-height:58px;padding:8px 12px;border-radius:11px;border:1px solid #c39c53;background:linear-gradient(105deg,#fff9dd,#ffedb9);box-shadow:0 2px 0 #c1a16b50;text-align:left}
.harbour-option strong,.harbour-option small {display:block;color:#273d40}
.harbour-option strong {font-size:18px}.harbour-option small {font-size:12px;font-weight:550;margin-top:3px}
.harbour-option b {display:flex;align-items:center;gap:8px;white-space:nowrap;padding:7px 10px;border-radius:8px;background:linear-gradient(#256d65,#164e4b);color:#fff8df;font-size:16px}
.harbour-option i {font:700 20px/1 Georgia,serif;color:#f3d28b}
#modal-content .harbour-later {width:100%;min-height:44px;color:#24544f;background:none;border:0;box-shadow:none;font:750 15px/1.2 system-ui}
.harbour-test {display:block;margin:10px 0 0;color:#47605c;font:550 12px/1.3 system-ui;text-align:center}
.harbour-preview-copy {padding:15px;font:500 16px/1.4 system-ui;text-align:center}
@keyframes cargo-glint {0%,85%,100%{opacity:0}44%{opacity:.7}}
@media(prefers-reduced-motion:no-preference) {
  [data-cargo-motion="true"] .harbour-art:after,[data-cargo-motion="true"] .harbour-banner:after {content:'✦';pointer-events:none;position:absolute;right:24%;top:30%;font:23px/1 Georgia;color:#fff9ca;text-shadow:0 0 8px #ffd174;animation:cargo-glint 2s ease-in-out 2 both}
}
@media(max-width:350px) {#modal-content .cargo-bottom{flex-wrap:wrap}.cargo-title{gap:4px}.harbour-paper{padding:12px}}

/* Harbour arena uses the same lighthouse illustration as Harbour Post. */
#modal-content .live-board .modal-head{
  min-height:78px;background:linear-gradient(90deg,#12383ef5,#12383e99),url('./v2-scene.webp') center 48%/cover;
  border-bottom:3px solid #dcbe74
}
.live-route[data-kind="daily"]{--route-color:#287366}
.live-route[data-kind="weekend"]{--route-color:#98652a}
.live-route[data-kind="weekly"]{--route-color:#476f93}
.live-route[data-kind="race"]{--route-color:#745779}
#modal-content .live-board .live-route{border-inline-start:5px solid var(--route-color,#387567);min-height:62px}
#modal-content .live-arena .arena-goal{font:700 21px/1.2 Georgia,serif;color:#163c40;margin:14px 0 9px}
.live-arena .arena-steps{padding-inline-start:1.6em;color:#2a4a45;font:550 15px/1.55 system-ui}
.live-arena .arena-steps li::marker{color:#18665e;font-weight:800}
#modal-content .arena-start{width:100%;min-height:48px;border-radius:12px;border:1px solid #194d46;background:#20645b;color:#fff9e6;font:750 17px/1.3 system-ui;box-shadow:0 3px 0 #12463e}
.live-arena summary{cursor:pointer;padding:12px 0;color:#27574d;font-weight:650}
#modal-content .live-arena [data-refresh] {min-height:44px;margin:0 10px 0 0;padding:6px 0;background:transparent;border:0;box-shadow:none;color:#215b55;font:700 14px system-ui}
#modal-content .live-route .cup-prize{font-weight:750;color:#704310}
.cup-purse,.cup-winner{padding:12px 15px;border-radius:13px;border:1px solid #c7a55b;background:linear-gradient(115deg,#fff6d4,#f5dfac);color:#503707}
.cup-purse small,.cup-purse strong,.cup-purse span{display:block}
.cup-purse small{font:750 11px/1.3 system-ui;letter-spacing:.08em}
.cup-purse strong{font:700 26px/1.4 Georgia,serif}
.cup-purse span{font:550 13px/1.4 system-ui}


/* Weekend Cup – the camera follows the delivery truck through the harbour circuit. */
#modal-backdrop #modal:has(.harbour-cup) {
  width:min(100%,460px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px);
  padding:0;border:0;border-radius:22px;background:#102d41;box-shadow:0 18px 65px #081723b0;
}
#modal-content .harbour-cup {
  position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;padding:0 20px 8px;
  color:#122d3c;background:#faf4e5;text-align:left;font-family:system-ui,sans-serif
}
.harbour-cup .arena-stage {
  position:relative;isolation:isolate;height:clamp(240px,43svh,398px);margin:0 -20px;background:#96c9d1;
}
.harbour-cup .cup-scene,.harbour-cup .cup-scene video {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.harbour-cup .cup-scene {background:url('./cup-circuit.webp') center 57%/cover}
.harbour-cup .cup-scene video {display:block;object-fit:cover;object-position:center 57%}
#modal-content .harbour-cup .arena-stage .modal-head {
  position:relative;align-items:flex-start;min-height:0;margin:0;padding:17px 19px 30px;border:0;
  background:linear-gradient(#092e4288,#0a293e26 65%,transparent);text-align:left
}
#modal-content .harbour-cup .modal-head .eyebrow {
  display:inline-flex;align-items:center;gap:8px;font:900 10px/1 system-ui;letter-spacing:.18em;color:#fff7e8;text-shadow:0 1px 2px #17394d;
}
.harbour-cup .eyebrow::before {content:'';display:block;width:19px;height:10px;transform:skew(-14deg);background:repeating-conic-gradient(#fff9e9 0 25%,#19394e 0 50%) 0/9px 9px}
#modal-content .harbour-cup .arena-stage h2#modal-title {
  margin:4px 0 0;color:#fff8dd;text-transform:uppercase;font:italic 1000 clamp(34px,10.5vw,54px)/1 system-ui,sans-serif;
  letter-spacing:-.067em;text-shadow:1px 2px #14374a,2px 3px #14374a,3px 4px #14374a,0 4px 8px #14374a69;
}
#modal-content .harbour-cup [data-close]{width:44px;height:44px;padding:10px;border:1px solid #ffffff77;color:#fff;background:#133249b8;box-shadow:none}
.harbour-cup .regatta-prize {
  position:relative;display:flex;align-items:center;min-height:72px;gap:9px;margin:-4px -20px 0;padding:7px 12px 8px 23px;
  border-block:2px solid #d5b26d;color:#fff3ca;background:radial-gradient(ellipse at 8% 90%,#236475,transparent 47%),linear-gradient(107deg,#143e51,#102d41 65%,#194352);
}
.regatta-prize::after {content:'';position:absolute;right:-9px;top:0;bottom:0;width:25%;opacity:.10;transform:skewX(-15deg);background:repeating-conic-gradient(transparent 0 25%,#c7dccb 0 50%) 0/32px 32px;pointer-events:none}
.regatta-prize img {width:96px;height:98px;object-fit:contain;position:relative;align-self:center;margin:-28px 0 -10px;filter:drop-shadow(0 4px 3px #061b2a77);z-index:1}
.regatta-prize>div{position:relative;z-index:1;display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 9px}
.regatta-prize small {grid-column:1/-1;color:#ffda7f;font:900 10px/1.25 system-ui;letter-spacing:.18em}
.regatta-prize strong {color:#fff5da;font:900 clamp(23px,6vw,30px)/1.1 system-ui;letter-spacing:-.055em}
.regatta-prize span{color:#ffdb95;font:750 12px/1.2 system-ui}
.harbour-cup .cup-mission {margin:17px 0 0}
.harbour-cup .cup-mission strong {display:block;color:#133746;font:850 clamp(19px,5.6vw,25px)/1.12 system-ui;letter-spacing:-.045em}
#modal-content .harbour-cup .cup-mission p{max-width:36em;margin:5px 0 0;color:#3e5860;font:550 14px/1.38 system-ui}
.harbour-cup .cup-stops {display:flex;gap:3px;max-width:130px;height:4px;margin:14px 0 5px;transform:skewX(-17deg)}
.cup-stops i{flex:1;background:#d2d5ca;border-radius:1px}.cup-stops .next{background:#e59a27}.cup-stops .done{background:#2b8c76}
#modal-content .harbour-cup .arena-progress {color:#486069;margin:0;font:700 11px/1.3 system-ui}
#modal-content .harbour-cup .arena-start {
  display:block;width:100%;min-height:50px;margin:12px 0 13px;border:0;border-top:1px solid #ffe8a7;border-radius:12px;
  background:linear-gradient(176deg,#ffcf66,#ffad36 66%,#f4a02a);color:#392710;font:850 18px/1.2 system-ui;
  box-shadow:inset 0 -2px #e79a2b,0 3px #99521f,0 5px 8px #7e561328;
}
#modal-content .harbour-cup .arena-start:active{transform:translateY(2px)}
.harbour-cup details{border-top:1px solid #cad0c4}
#modal-content .harbour-cup summary,#modal-content .harbour-cup [data-back],#modal-content .harbour-cup [data-refresh] {min-height:44px;box-sizing:border-box;padding:13px 0;color:#274f58;font:700 13px/1.3 system-ui}
@media (max-width:350px){.regatta-prize img{width:72px}.regatta-prize>div{gap:2px 6px}}
@media (max-height:650px){.harbour-cup .arena-stage{height:clamp(165px,34svh,225px)}}

#modal-content .depot-post .cup-invite{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;margin:9px 0;padding:5px 13px 5px 6px;border:1px solid #af955c;border-radius:12px;color:#fff5d6;background:linear-gradient(110deg,#164957,#102f47);box-shadow:0 2px 0 #b5a375;text-align:left}
#modal-content .depot-post .cup-invite[hidden]{display:none}
.cup-invite img,.cup-event-trophy{width:48px;height:48px;object-fit:contain}
.cup-invite strong,.cup-invite small{display:block}.cup-invite strong{font:850 17px/1.12 system-ui}.cup-invite small{margin-top:3px;font:600 12px/1.25 system-ui;color:#e9ddbd}.cup-invite b{margin-left:auto;font-size:24px}
#modal-content .cup-receipt{color:#285951;font:750 14px/1.3 system-ui}
