:root{color-scheme:dark;--ground:#101011;--panel:#19191b;--line:#393335;--muted:#b9afb0;--ink:#f5eeea;--gold:#efbf72;--red:#9b3c3a;font-family:system-ui,sans-serif}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(ellipse at 25% 0,#321918 0,transparent 48%),var(--ground);color:var(--ink);min-height:100vh}a{color:var(--gold)}.top{height:64px;padding:0 max(20px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#101011bc}.top a{font-weight:800;letter-spacing:.12em;text-decoration:none}main{max-width:1200px;margin:auto;padding:clamp(20px,4vw,52px) 20px}h1{font-size:clamp(2rem,6vw,4rem);margin:0 0 18px;line-height:1;letter-spacing:-.055em}h2{margin:0 0 18px;font-size:1.35rem}p{line-height:1.55;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}.panel,dialog{background:var(--panel);border:1px solid var(--line);border-top-color:var(--red);border-radius:8px;padding:clamp(16px,3vw,28px)}button,input,select,textarea,.primary{font:inherit;color:inherit;background:#242326;border:1px solid #565055;border-radius:5px;padding:9px 12px}button,.primary{cursor:pointer}.primary{display:inline-block;background:var(--gold);color:#231607;font-weight:750;border-color:var(--gold);text-decoration:none}.primary:disabled{opacity:.45;cursor:default}button:hover:enabled{filter:brightness(1.15)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}label{display:block;color:var(--muted);margin:0 0 6px}label input,label select,label textarea{display:block;margin-top:5px}input:not([type=color]),select,textarea{width:100%;max-width:100%}input[type=color]{height:40px;width:95px;padding:4px}.inventory{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:8px;margin:12px 0;max-height:420px;overflow:auto;padding:4px}.item{text-align:left;display:grid;gap:5px;min-height:76px}.item[aria-checked=true]{border-color:var(--gold);background:#36291f}.item small{color:var(--muted)}.item .chip{height:6px;border-radius:2px;background:var(--chip)}.console{margin-top:14px;padding:18px 12px;min-height:70px;background:linear-gradient(136deg,#130f0d,#242722 60%,#1c1d19);border-bottom:1px solid #666;overflow-wrap:anywhere;color:#e6ebf2;text-shadow:1px 1px 0 #000;font:500 1.06rem/1.4 Tahoma,Verdana,sans-serif}.console span{white-space:pre-wrap}.colours,.actions{display:flex;gap:12px}.actions{justify-content:flex-end;margin-top:20px}form{display:grid;gap:12px}dialog{color:var(--ink);width:min(490px,90vw)}dialog::backdrop{background:#000b}.receipt{border-top:1px solid var(--line);padding:12px 0}.receipt p{margin:6px 0;white-space:pre-wrap}.preview{position:sticky;top:16px}@media(max-width:760px){.workspace{grid-template-columns:1fr}.preview{position:static;grid-row:1}} 
.preview-controls{display:grid;gap:9px}.preview-controls label{margin:0}.preview-controls .colours{margin-top:9px}#preview-reset{margin-top:4px}


body.west-london .top{background:var(--ground)}
body.west-london .panel{min-width:0}
body.west-london .primary{background:var(--gold);color:var(--button-ink,#16120c)}
body.west-london input,
body.west-london select,
body.west-london textarea,
body.west-london button{background:var(--control);border-color:var(--line)}
body.west-london .item[aria-checked=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}


body.west-london .choice-fallback{display:none}
body.west-london .direct-choices{display:flex;flex-wrap:wrap;gap:0 16px;margin:5px 0 9px}
body.west-london .direct-choices button{
  background:transparent;border:0;border-block-end:2px solid var(--line);border-radius:0;color:var(--muted);text-align:left;padding:7px 0
}
body.west-london .direct-choices button[aria-pressed=true]{color:var(--gold);border-block-end-color:currentColor}
body.west-london .recipe-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
body.west-london .recipe-choices button{
  border-block-start:1px solid var(--line);border-block-end-width:3px;padding:12px 9px;min-height:65px
}
body.west-london .recipe-choices button+button{border-inline-start:1px solid var(--line)}
body.west-london .recipe-choices button[aria-pressed=true]{background:var(--control)}
.recipe-choices strong,.recipe-choices small{display:block}
.recipe-choices small{color:var(--muted);line-height:1.35;margin-top:4px}
body.west-london input:not([type=color]),
body.west-london select:not(.choice-fallback),
body.west-london textarea{
  background:transparent;border:0;border-block-end:1px solid var(--line);border-radius:0;padding-inline:0
}
body.west-london .panel{border-radius:0;box-shadow:none}
body.west-london .primary{border-radius:0;padding:11px 19px}
body.west-london .trade-panel .inventory{margin-top:18px}
body.west-london{font-family:Bahnschrift,"Century Gothic",sans-serif}
body.west-london h1,
body.west-london h2{
  font-family:Rockwell,"Bookman Old Style",serif;font-weight:700;letter-spacing:-.045em;text-transform:none
}
body.west-london h1{text-shadow:none;font-variant:normal;line-height:1.03}
body.west-london .item strong{font-family:Bahnschrift,"Century Gothic",sans-serif}

.top-actions,.inventory-header,.trade-actions{display:flex;align-items:center;gap:8px}
.inventory-header{justify-content:space-between;flex-wrap:wrap}
.inventory-header h2{margin:0}
#inventory-dialog{width:min(760px,94vw);max-height:88vh;overflow:auto}
#inventory-dialog .inventory{max-height:275px;margin:15px 0 24px}
#inventory-dialog .trade-actions{margin-top:9px}
#trade-offer{margin-top:18px}
#trade-offers:empty{display:none}


.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:18px 0}
.stat-grid div{padding:14px;background:var(--panel);border-top:2px solid var(--red)}
.stat-grid dt{font-size:.86rem;color:var(--muted)}
.stat-grid dd{font-size:1.65rem;font-weight:750;margin:3px 0 0}
.stat-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin-bottom:12px}
.stat-sections>.panel{min-width:0}
.stats-table{overflow:auto}
.stats-table table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}
.stats-table th,.stats-table td{padding:8px;border-bottom:1px solid var(--line)}
.stats-table th{color:var(--gold)}
@media(max-width:520px){.top-actions{flex-wrap:wrap;justify-content:flex-end}.top-actions a{font-size:.82rem}}


@font-face{font-family:"Chakra Petch";src:url("/rewards/chakra.woff2") format("woff2");font-weight:600;font-display:swap}

/* Clip one continuous ramp to the text and keep the name and message independent. */
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .console .preview-gradient{
  background-image:var(--preview-gradient);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:none;
 }
}
@media(forced-colors:active){
 .console .preview-gradient{-webkit-text-fill-color:CanvasText;background-image:none}
}

#full-inventory{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.inventory-entry{padding:.65rem;border:1px solid #565055}
.inventory-actions{display:flex;flex-wrap:wrap;gap:.3rem}
.inventory-actions button{padding:.35rem .55rem;font-size:.85rem}


/* 23 · West London */
body.west-london{--ground:#1c1511;--panel:#302219;--line:color-mix(in srgb,#f3bb78 40%,#302219);--gold:#f3bb78;--red:#f3bb78;--ink:#fff4ed;--muted:#e3d5d5;background:repeating-linear-gradient(0deg,transparent 0 35px,#a56a3426 36px 38px),#1c1511;font-family:"Georgia",system-ui,sans-serif}
body.west-london h1,body.west-london h2{font-family:"Georgia",system-ui,sans-serif;color:var(--gold);letter-spacing:0}
body.west-london h1{padding-block:.18em;border-bottom:4px solid var(--line)}
body.west-london .panel{border-left:6px solid var(--gold)}
body.west-london .item{border-radius:8px;background:var(--ground)}
body.west-london .item[aria-checked=true]{background:var(--panel);outline:1px solid var(--gold);outline-offset:-2px}
body.west-london .console{background:var(--ground);border:2px solid var(--line);border-radius:8px}
@media(min-width:761px){body.west-london .workspace{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}}


.direct-choices{display:none}
body.west-london .direct-choices{display:flex}
body.west-london .recipe-choices{display:grid}
body.west-london .item strong,body.west-london .direct-choices button{font-family:"Chakra Petch",sans-serif;font-weight:600}

.command-nav{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:1.25rem 0}
.command-list{margin:0}
.command-list>div{padding:.65rem 0;border-top:1px solid var(--line)}
.command-list dt{color:var(--gold);overflow-wrap:anywhere}
.command-list dd{margin:.2rem 0 0;color:var(--muted);line-height:1.5}
.rewards-top{height:auto;min-height:64px;gap:12px;padding-block:10px}
body .rewards-top .top-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px 12px}
body .rewards-top .top-actions>a,body .rewards-top .top-actions>button{font:600 .9rem/1.2 system-ui,sans-serif;letter-spacing:normal;text-transform:none;padding:8px 10px;text-decoration:none}
.rewards-top a[aria-current="page"]{box-shadow:inset 0 -2px var(--gold)}
.command-help{background:#131417;color:#f1ede7;font-family:system-ui,sans-serif}
.command-help h1{font:600 clamp(2.5rem,6vw,4.4rem)/1 "Chakra Petch",Impact,sans-serif;letter-spacing:.015em;color:#ffcb81;margin-bottom:12px}
.command-help main>p{max-width:65ch}
.command-layout{display:grid;grid-template-columns:12rem minmax(0,1fr);gap:clamp(16px,4vw,48px);align-items:start;margin-top:32px}
.command-help .command-nav{position:sticky;top:16px;display:grid;margin:0;gap:0;border-top:2px solid #ad6a3a}
.command-help .command-nav a{padding:.7rem .55rem;border-bottom:1px solid #383539;color:#f1ede7;text-decoration:none}
.command-help .command-nav a:hover{color:#ffcb81;background:#272329}
.command-content section{scroll-margin-top:16px;margin:24px 0 36px}
.command-content h2{margin:0;border-bottom:2px solid #ad6a3a;padding-bottom:10px}
.command-content .command-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;border-top:0;border-bottom:1px solid #383539;padding:12px 0}
.command-content .command-list code{font-size:.9rem;color:#ffcb81}
.command-content .command-list dd{margin:0;color:#ddd6cf}
@media(max-width:650px){
 .command-layout,.command-content .command-list>div{grid-template-columns:1fr}
 .command-help .command-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
 .command-content .command-list>div{gap:4px}
}

/* Rewards workbench */
body.west-london{
 --ground:#141719;--panel:#1a1e21;--control:#22282c;--line:#40494e;
 --gold:#ffbd76;--red:#505c62;--ink:#f4f1eb;--muted:#bac3c7;
 background:var(--ground);font-family:"Chakra Petch",sans-serif
}
body.west-london h1,body.west-london h2{
 font-family:"Chakra Petch",sans-serif;color:var(--ink);font-weight:600;
 border:0;padding:0;letter-spacing:-.025em
}
body.west-london main>h1{font-size:clamp(2.7rem,6vw,4.6rem);margin-bottom:28px}
body.west-london .workspace{gap:24px}
body.west-london .panel{border:1px solid var(--line);border-radius:0}
body.west-london .trade-panel{border-top:3px solid var(--gold)}
body.west-london .preview{border-top:3px solid #9eb6c3}
body.west-london .console{background:#101315;border:1px solid var(--line);border-radius:0}
body.west-london button,body.west-london .rewards-top .top-actions>a,body.west-london .primary{
 font:600 .95rem/1.25 "Chakra Petch",sans-serif;
 border:1px solid var(--line);border-radius:0;padding:9px 12px;min-height:40px
}
body.west-london .rewards-top .top-actions>a{display:inline-flex;align-items:center;color:var(--ink);background:var(--control)}
body.west-london button:hover:enabled,body.west-london .rewards-top .top-actions>a:hover{border-color:var(--gold);filter:none}
body.west-london .direct-choices{gap:5px}
body.west-london .direct-choices button{background:var(--ground);color:var(--ink);border:1px solid var(--line);padding:8px 11px}
body.west-london .direct-choices button[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:#30281f}
body.west-london .recipe-choices button{min-height:68px}
body.west-london .item{background:var(--control);border-radius:0}
body.west-london .item .chip{height:22px;border-radius:0}
body.west-london .item[aria-checked=true]{background:#30281f;outline:0}
body.west-london .item strong{font-family:inherit}
body.west-london .primary{border-color:var(--gold)}
@media(max-width:460px){
 body.west-london .recipe-choices{grid-template-columns:1fr}
 body.west-london .recipe-choices button{min-height:40px}
}

body.command-help .command-nav,body.command-help .command-content h2{border-color:var(--gold)}
body.command-help .command-nav a,body.command-help .command-content .command-list>div{border-color:var(--line)}
body.command-help .command-nav a:hover{background:var(--control);color:var(--gold)}
body.command-help .command-content code{color:var(--gold)}
body.command-help .command-content .command-note dd{grid-column:1/-1;color:var(--muted)}
body.rewards-stats .stat-grid>div{background:var(--panel);border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:0}
body.rewards-stats .stat-grid dd{color:var(--gold)}
body.rewards-stats .stats-table th{background:var(--control);color:var(--ink)}
body.rewards-stats .panel{border-top:2px solid #9eb6c3}

body.rewards-stats .stat-sections{
 display:flex;
 flex-wrap:wrap;
}
body.rewards-stats .stat-sections>.panel{
 flex:1 0 min(100%,320px);
}
body.rewards-stats .stat-sections>.panel:last-child{
 flex-basis:100%;
}
body.rewards-stats .stat-sections>.stats-wide{flex-basis:100%}
