/* Tradle: original binder-inspired interface, with shared accessible colour tokens. */
:root{--paper:#f4ead6;--surface:#fff8e9;--ink:#382b24;--muted:#6e5d4d;--line:#d8c8aa;--blue:#365b48;--blue-dark:#294737;--mint:#e4e9d1;--lilac:#ecdedc;--gold:#e7ba62;--soft:#eee3ce;--error:#9d2f32;color-scheme:light;color:var(--ink);background:var(--paper);font-family:'Segoe UI',Arial,sans-serif}
body{background:radial-gradient(#382b2409 .7px,transparent .7px) 0 0/12px 12px}
a{color:var(--blue)}
header{background:var(--surface);border-bottom:1px solid var(--line);padding-top:20px;padding-bottom:20px}
.brand{color:var(--ink);font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:1.85rem;letter-spacing:-.055em;gap:11px}
.brand-mark{width:42px;height:42px;flex-shrink:0}.brand-dot{color:var(--blue)}
nav{background:var(--soft);padding:5px;border-radius:12px;gap:3px}nav button{color:var(--muted);font-weight:600}nav button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #382b2410}
#count{background:#e8ddbc;color:var(--ink)}.profile{color:var(--ink)}
main{max-width:1390px}.notice{color:var(--blue);align-items:baseline}.notice span{color:var(--muted)}
h1,h2,h3{font-family:'Trebuchet MS','Segoe UI',sans-serif}h1 em{color:var(--blue);text-shadow:none}.eyebrow{color:var(--blue);letter-spacing:.12em}
.intro{gap:clamp(25px,5vw,75px);padding:40px 0 44px;grid-template-columns:1.15fr 1fr}.intro h1{font-size:clamp(2.6rem,4.6vw,4.25rem);letter-spacing:-.055em;line-height:1.08}.intro p{max-width:450px;color:var(--muted)}
.feature{background:#56373c;border:1px solid #482d32;color:#fff8e9;box-shadow:5px 6px 0 #dac8a3;border-radius:18px;padding:27px 30px}
.feature:before{content:'';position:absolute;inset:9px;border:1px dashed #ffffff35;border-radius:11px;pointer-events:none}
.feature>span{color:#f5d797}.feature strong{font-size:1.9rem;line-height:1.15;margin:17px 0 10px}.feature p{color:#f3dfc9;line-height:1.6;margin:10px 0 18px}.feature .primary{background:var(--gold);color:var(--ink)}.feature .primary:hover{background:#ffdda0}
.practice-art{display:flex;align-items:center;justify-content:flex-end;gap:15px;float:right;width:125px;height:85px;margin:4px 0 4px 12px;pointer-events:none}
.practice-stack{width:44px;height:58px;border:2px solid #e8f3ed;border-radius:5px;background:#bbc7a1;transform:rotate(-9deg);box-shadow:5px 4px 0 -1px #56373c,7px 6px 0 -1px #c9a976,10px 9px 0 -1px #56373c,12px 11px 0 -1px #ceaaad;position:relative}
.practice-stack:after,.practice-single:after{content:'';position:absolute;width:12px;height:12px;border:2px solid #536046;transform:rotate(45deg);top:18px;left:13px}
.practice-single{position:relative;width:43px;height:59px;border:2px solid #fae4b6;border-radius:5px;background:#f3cf83;transform:rotate(8deg)}.practice-arrow{color:#f7dfb2;font-size:1.4rem}
.section-head{margin-bottom:18px}.section-head p,.collector,.meta,.muted,footer,.value-caption,.location,.history time,.costs small,.review-cards span,.offer-note{color:var(--muted)}
.search{background:var(--surface);border-color:var(--line)}.search input{color:var(--ink)}.search input::placeholder{color:var(--muted)}
select{background:var(--surface);color:var(--ink);border-color:#ad9c7d}.filters{gap:18px}.filters .muted{font-size:.8125rem}
.card{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 0 #382b240a;transition:box-shadow .2s,border-color .2s}
.card:hover{border-color:#aa956c;box-shadow:0 5px 17px #382b2412}.card h3{font-weight:700}.card-title{color:var(--ink)}
.art,.art.blue,.art.orange,.art.purple,.art.green{background:linear-gradient(145deg,#ffffff80,transparent 65%),#e4e5ce;border-bottom:1px solid #d0c5a7;box-shadow:inset 0 0 0 8px #ffffff38}
.art.blue{background-color:#e5e5d8}.art.orange{background-color:#edddba}.art.purple{background-color:#e8d7d7}.art.green{background-color:#dce2c8}
.art:after{background:linear-gradient(115deg,transparent 30%,#ffffff50 44%,#f6cd7d38 50%,transparent 65%)}
.badge{color:var(--ink);background:#fff8e9f5;border:1px solid #382b2415}.wish{background:var(--surface);color:#6a594d;border:1px solid #d8c5a6}.wish[aria-pressed=true]{background:#ead1d0;color:#873c47;border-color:#c79799}
.primary{background:var(--blue);color:#f6e7ca;border-radius:9px;min-height:44px}.primary:hover{background:var(--blue-dark)}.card .primary{background:#e4e9d9;color:var(--blue-dark);border:1px solid #bdc8ad}.card .primary:hover{background:var(--blue);color:#f6e7ca;border-color:var(--blue)}
.secondary,.icon,.btn{background:var(--surface);color:var(--ink);border:1px solid #ad9c7d}.secondary:hover,.icon:hover,.btn:hover{background:#f1e7d4}.btn{font:inherit;padding:9px 13px;border-radius:7px;min-height:44px}.photo-slot .btn{margin-top:10px}
.text-button{color:var(--blue)}.pill{background:var(--mint);color:#35523e;border:1px solid #c6d0b5;display:inline-block;line-height:1.4}.card .pill{margin-top:9px}
footer{border-color:var(--line)}dialog{background:var(--surface);color:var(--ink);border:1px solid #bba781;box-shadow:0 25px 100px #38251c66}dialog::backdrop{background:#38251c99}
#target,.summary,.offer-preview,.walkreceive,.walkgive,.costs,.detail-art{background:var(--soft);color:var(--ink)}
.pick{border-color:var(--line);background:#f6e7ca}.pick:has(input:checked){background:#eef0dc;border-color:#6b8054}.pick small,#difference,.modal-foot>span{color:var(--muted)}
#cash,textarea,#action input[type=text]{background:#f6e7ca;color:var(--ink);border-color:#ab9573}.pick input,.confirm-check input{accent-color:var(--blue)}
.empty,.offer{background:var(--surface);border-color:var(--line)}.offer{box-shadow:0 3px 0 #382b240a}.next-step{background:#e4e9d9;color:var(--ink)}.counter-change{border-color:#a87572}
.history{border-color:var(--line)}.history summary{color:var(--blue)}.history li{border-color:#c9b591}.more-actions summary{color:var(--blue);border-color:#ad9c7d;background:var(--surface)}
.family-note{color:#5c4637;background:#efe5d3;border-left-color:#9b7b46}.resume{background:#f3e1ba;color:var(--ink);border-color:#c9a566}.confirm-check{border-color:#ad9c7d;background:#f6e7ca}.costs>div:last-child{border-color:#cbb896}
.mode-card{background:var(--soft);border-color:#ad9c7d;color:var(--ink)}.mode-card span{color:var(--muted)}.mode-card:hover{background:#e6e8d4}#settings a{color:var(--blue)}
.walkcopy{color:var(--muted)}.walkcopy strong{color:var(--ink)}.walklabel,.walksymbol{color:var(--blue)}.walksteps span{background:#d9caaa}.walksteps .done{background:var(--blue)}.bubble{background:#f2e2d5;color:var(--ink);border-color:#ac7a67}.successmark{color:#476539}.image-fallback{color:var(--muted)}
#toast{background:var(--ink);color:#f6e7ca;border:1px solid #c8ad7c}#error,#actionerror,#photoerror{color:var(--error)}
.photo-slot{border-color:var(--line);background:#f6e7ca}.photo-slot img{background:var(--soft)}.photo-slot a,.photo-upload{color:var(--blue)}#damagephotos>div{display:flex;flex-direction:column;gap:6px}#damagephotos img{background:var(--soft);border-radius:5px}
input[type=file]::file-selector-button{font:inherit;color:var(--ink);background:#f1e7d4;border:1px solid #ad9c7d;border-radius:5px;padding:8px;margin-right:8px;cursor:pointer}
.skip{background:var(--gold);color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #865222;outline-offset:3px}.search:focus-within{outline:2px solid var(--blue)}
.plan p,.plan li{color:var(--muted)}.plan .idea{background:var(--surface);border-color:var(--line)}.plan td,.plan th{border-color:var(--line)}.plan a{color:var(--blue)}.plan .callout{background:#ede3ca;color:var(--ink)}.plan h1{font-size:clamp(2.1rem,5vw,3rem)}
@media(max-width:650px){.intro{grid-template-columns:1fr;padding:28px 0 32px;gap:23px}.intro h1{font-size:clamp(2.5rem,10vw,3.25rem)}.feature{padding:25px}.feature strong{font-size:1.55rem}.feature strong br{display:block}.brand{font-size:1.7rem}.brand-mark{width:35px;height:35px}nav{gap:0}.practice-art{width:110px}.plan table{display:block;overflow-x:auto}}
@media(max-width:380px){.practice-art{float:none;justify-content:flex-start;margin:16px 0;width:130px}.feature strong{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.card:hover .art img{transform:none}}

/* Warm storybook details, drawn with CSS rather than franchise assets. */
h1,.intro h1{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.035em}.eyebrow,.feature>span{font-family:"Courier New",monospace;font-weight:700}.brand{letter-spacing:-.05em}.art{border-bottom:2px solid #d0c5a7}.feature:after{content:"";position:absolute;right:23px;bottom:22px;width:5px;height:5px;background:#e7ba62;box-shadow:0 -7px 0 #e7ba6280,0 7px 0 #e7ba6280,-7px 0 0 #e7ba6280,7px 0 0 #e7ba6280;pointer-events:none}
.responsibility-note{border:1px solid #b79864;border-left:4px solid #8d5b37;background:#f5e8ca;border-radius:8px;padding:16px 18px;margin:20px 0;color:#49372b;font-size:.875rem;line-height:1.6}.responsibility-note>strong{font-size:1rem}.responsibility-note p{margin:8px 0}.responsibility-note a{font-weight:600;color:#294737}.policy{max-width:880px;padding-top:38px}.policy h1{font-size:clamp(2.1rem,5vw,3.4rem)}.policy h2{margin-top:34px;font-size:1.4rem}.policy p,.policy li{line-height:1.75}.policy li{margin:15px 0}.policy ol{padding-left:24px}.policy .history p{font-size:.875rem}

.record-events{padding-left:1.3rem}.record-events li{padding:.6rem 0;border-bottom:1px solid var(--line)}.record-events time{font-size:.8rem;color:var(--muted)}.record-events p{margin:.35rem 0;line-height:1.6}

/* Separate the condition and wish control from the card image. */
.art{display:grid;height:auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(2.75rem,auto) auto;gap:.75rem;align-items:center;padding:.75rem 1rem 1.25rem}
.art>.badge{position:static;grid-column:1;grid-row:1;justify-self:start;max-width:none;overflow-wrap:anywhere;z-index:1}
.art>.wish{position:static;grid-column:2;grid-row:1;justify-self:end}
.art>img{grid-column:1/-1;grid-row:2;justify-self:center;height:14.25rem;width:auto;max-width:100%}
.art>.image-fallback{grid-column:1/-1;grid-row:2;min-height:14.25rem;display:flex;align-items:center;justify-content:center;text-align:center;overflow-wrap:anywhere}
@media(min-width:421px) and (max-width:650px){.art>img{height:10rem}.art>.image-fallback{min-height:10rem}}

/* Keep each card identifiable when catalogue artwork cannot load. */
.image-fallback{align-items:center;justify-content:center;overflow-wrap:anywhere}.mini-bundle>.image-fallback,.mini-target>.image-fallback{display:inline-flex;width:5.5rem;max-width:100%;min-height:5.5rem;padding:.5rem;border:1px dashed var(--line);border-radius:.4rem;font-size:.75rem;text-align:center}.pick>.image-fallback{flex:0 1 5rem;min-width:0;padding:.25rem;font-size:.75rem}

/* The trading glen: original pixel scenery and warm adventure-game framing. */
:root{--paper:#f3e8cf;--surface:#fff9e9;--ink:#382d27;--muted:#6d5948;--line:#d3bf98;--blue:#345d47;--gold:#edc370}
body{background-image:radial-gradient(#87623f14 .7px,transparent .7px);background-size:8px 8px}header{border-bottom:3px double #bba17a}.brand{font-family:Georgia,serif;letter-spacing:-.06em}.brand-mark{filter:drop-shadow(2px 2px 0 #d8c9a6)}
nav{border:1px solid #cbb58c;border-radius:5px;background:#e8d9bc}nav button,nav button.active{border-radius:3px}nav button.active:before{content:'▸ ';color:var(--blue)}
.intro{padding-top:35px;padding-bottom:35px;align-items:center}.intro h1{font-size:clamp(2.8rem,5vw,4.5rem)}
.glen-feature{padding:0 24px 24px;border:3px solid #514630;outline:1px solid #a48d60;outline-offset:3px;border-radius:3px;background:#2d483a;box-shadow:6px 7px 0 #d1bc93;overflow:visible}
.glen-feature:before,.glen-feature:after{display:none}.glen-art{display:block;width:calc(100% + 48px);height:auto;margin:0 -24px 20px;image-rendering:pixelated;border-bottom:3px solid #514630}.glen-feature .practice-art{display:none}.glen-feature>span{font-size:.7rem;line-height:1.6;letter-spacing:.1em;color:#f4dfac}.glen-feature strong{font-family:Georgia,serif;font-size:1.5rem;line-height:1.25;margin:10px 0}.glen-feature p{font-size:.84rem;color:#f4e8cc;max-width:100%;margin-bottom:15px}.glen-feature .primary{background:#edc370;color:#382d27;box-shadow:0 3px 0 #a67b3c;border-radius:4px;font-weight:700}.glen-feature .primary:hover{background:#ffe0a0}
.primary,.secondary,.icon,.btn{border-radius:4px}.primary{box-shadow:0 3px 0 #203b2b}.secondary{box-shadow:0 2px 0 #d1bd95}.card{border-radius:5px;border-color:#baa27a;box-shadow:3px 4px 0 #ded0af}.card:hover{box-shadow:3px 5px 0 #cbb893;border-color:#8c754c}.card .primary{box-shadow:0 2px 0 #b5c09e}.art{border-bottom:2px solid #c1ad82}.card-body{background:#fff9e9}.art>img{filter:drop-shadow(3px 5px 4px #49351f3a)}.wish{border-radius:4px}.badge{border-radius:3px}.search,select{border-radius:4px}
.collection-compass{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px;margin:0 0 32px;border:1px solid #bfa579;border-radius:4px;background:#e9e1c6;box-shadow:0 3px 0 #d5c6a4}.collection-compass .eyebrow{font-size:.68rem}.collection-compass strong{display:block;margin-top:7px;font-weight:600;font-size:.94rem;line-height:1.5}.collection-compass button{flex-shrink:0;font-size:.86rem}
.offer,dialog,.empty,.photo-slot{border-radius:5px}.offer{border-color:#baa27a;box-shadow:3px 4px 0 #ded0af}dialog{border:3px double #947b55}.plan .idea,.plan .callout{border-radius:5px}.feature .primary:focus-visible{outline-color:#fff3cd}
@media(max-width:850px){.collection-compass{align-items:flex-start;flex-wrap:wrap}.collection-compass button{flex-shrink:1}.glen-feature strong{font-size:1.35rem}}
@media(max-width:650px){.intro{gap:28px;padding-top:25px}.glen-feature{margin:0 3px;padding-bottom:22px}.glen-art{max-height:220px;object-fit:cover}.collection-compass{padding:16px;margin-bottom:26px}.intro h1{font-size:clamp(2.8rem,11vw,3.6rem)}.card{box-shadow:2px 3px 0 #ded0af}}
