.wp-place-art {display:block; width:min(86%, 164px); height:auto; color:var(--metal); flex-shrink:1; min-height:0;}
.wp-place-art .landfill {fill:currentColor;fill-opacity:.11}
.wp-place-art .pin {fill:currentColor}
.wp-back-to-places {display:inline-flex;align-items:center;gap:7px;padding:10px 3px;min-height:44px;color:var(--secondary)}
.wp-place-heading[data-room="yard"] {--scene:url('./place-art/lantern-yard.webp');--scene-pos:75% center}
.wp-place-heading[data-room="concept"] {--scene:url('./place-art/twilight-cave.webp');--scene-pos:70% center}

body:has(#home:not([hidden]) #world-places) {
  background:#111312; color:#f2f1eb; color-scheme:dark;
}
body:has(#home:not([hidden]) #world-places) > header,
body:has(#home:not([hidden]) #world-places) :is(#app-sidebar, #home-title, main>.notice) { display:none !important }
body:has(#home:not([hidden]) #world-places) .app-layout {
  display:block; min-height:100dvh;
  background:radial-gradient(ellipse at 18% 12%,#30251b66,transparent 56%),#111312;
}
body:has(#home:not([hidden]) #world-places) #main-content {
  width:100%; max-width:none; margin:0; padding:0 clamp(14px,4vw,70px) max(18px,env(safe-area-inset-bottom));
}
body:has(#home:not([hidden]) #world-places) :is(#home,#home-overview) { padding:0; border:0; margin:0; background:transparent }
#world-places {
  --paper:#111312;--surface:#1a1c19;--ink:#f2f1eb;--secondary:#c9cdc2;--muted:#acb0a8;--action:#f59a57;
  --concept-tone:#e2bc78;--practice-tone:#93a64b;--advanced-tone:#eaa187;--exam-tone:#abc2a9;
  --student-font:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  display:grid;align-content:start;justify-items:center;min-width:0;width:100%;margin:0 auto;padding-block:clamp(14px,3.5vh,44px);
  font-family:var(--student-font);color:var(--ink);
}
#world-places .wp-back-to-places {border:0;background:transparent}
#world-places .mini-carousel {min-width:0;margin:0 0 24px}
#world-places .mini-section-heading h3 {color:var(--ink)}
#world-places .mini-track {scrollbar-color:#68735a transparent;align-items:stretch}
#world-places .mini-count {color:#c5d39d;background:#2b3226}
#world-places .memory-home{width:min(1120px,100%);min-width:0;margin:0 auto;color:#efeee8;--mini-border:#454c3e;color-scheme:dark}
.memory-home .wp-back-to-places{padding:6px 0;margin-bottom:12px;color:#bdc5af;font:inherit;font-size:.88rem;cursor:pointer}
.memory-home .mini-welcome{background:#20251e;border:1px solid #424939;border-radius:20px;padding:24px 28px;overflow:hidden}
.memory-home .mini-welcome-art{border-radius:12px;background:#272c22}
.memory-home .mini-welcome h2,.memory-home .mini-card h3,.memory-home .mini-summary h2,.memory-home .mini-review-link h2,.memory-home .mini-section-heading h2{color:#f0eee5}
.memory-home .mini-eyebrow,.memory-home .mini-subject,.memory-home .mini-summary-count strong{color:#b5c889}
.memory-home .mini-welcome-copy,.memory-home .mini-meta,.memory-home .mini-summary-count span,.memory-home .mini-review-link p,.memory-home .mini-empty{color:#bec1b4}
.memory-home .mini-button,.memory-home .mini-menu-actions,.memory-home .mini-summary,.memory-home .mini-card,.memory-home .mini-review-link{background:#1d211c;color:#e9e6dc;border-color:#464d40}
.memory-home .mini-button:hover,.memory-home .mini-menu[open] summary{background:#333b2c;color:#f2f1eb}
.memory-home .mini-badge{background:#313829;color:#c9d8ac}
.memory-home .mini-card h3{font:650 .832rem/1.5 system-ui,sans-serif}
.memory-home .mini-card .mini-primary{color:#f59a57;background:transparent;border-color:#8c6745}
.memory-home .mini-card .mini-primary::after{position:absolute;inset:0;content:"";border-radius:18px}
.memory-home .mini-menu{position:relative;z-index:2}
.memory-home .mini-menu-actions{right:0;top:30px;max-width:min(175px,70vw)}
.memory-home .mini-resume{background:#252c20;border-color:#515c43}
.memory-home .mini-card progress,.memory-home .mini-summary progress{accent-color:#93a64b}
.memory-home .mini-expired,.memory-home .mini-rejected{color:#e3aa83}.memory-home .mini-pending{color:#e0bc82;background:#393124}
.memory-home .mini-summary .mini-button,.memory-home .mini-review-link .mini-button{color:#f59a57;background:transparent}
.memory-home .mini-section-heading{justify-content:flex-start}
.memory-home .mini-board-side{padding-top:20px}
@media(max-width:600px){.memory-home .mini-welcome{padding:18px}.memory-home .mini-board-side{padding-top:0}.memory-home .mini-welcome-art{height:105px}.memory-home .mini-shortcuts{margin:12px 0 22px}}

.memory-home .memory-start{margin-top:12px;border-color:#926744;color:#ffb574;background:#27261e;font-weight:650}
.memory-home .mini-card:has(.mini-primary:focus-visible) {outline:3px solid #efaf77;outline-offset:1px}
.memory-list .mini-card {position:relative}
.memory-list .mini-card .mini-primary::after {content:'';position:absolute;inset:0;border-radius:inherit}
.memory-list .mini-menu {position:relative;z-index:2}
.memory-home .mini-welcome h2 {font-size:clamp(1.8rem,3.2vw,2.8rem)}
.memory-home .mini-welcome {margin-top:0}
.memory-home .mini-shortcuts {margin-top:18px}
#world-places .memory-home {width:min(1120px,100%)}

/* Student marsh only; preview availability comes from the signed-in student's home response. */
body:has(#home:not([hidden]) .ms-page){background:#151715;color:#f2f1eb;color-scheme:dark}
body:has(#home:not([hidden]) .ms-page) :is(#app-sidebar,#home-title){display:none}
body:has(#home:not([hidden]) .ms-page) .app-layout{display:block;background:#151715;min-height:100dvh}
body:has(#home:not([hidden]) .ms-page) #main-content{width:100%;max-width:none;margin:0;padding:0}
body:has(#home:not([hidden]) .ms-page) :is(#home,#home-overview){border:0;padding:0;margin:0;background:transparent}
.ms-page {
  --ink:#182f28; --soft:#54645b; --rule:#d9dfd1; --paper:#fbfbf5;
  --forest:#204f42; --green:#316551; --amber:#855013;
  color:var(--ink); font:400 15px/1.55 "Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  word-break:keep-all; overflow-wrap:anywhere;
}
.ms-page *{box-sizing:border-box}
.ms-page{width:min(1112px,calc(100% - 64px));margin:0 auto 64px}
.ms-page :is(h1,h2,h3,p,dd,dl,ol){margin:0}
.ms-page button,.ms-page select{font:inherit;cursor:pointer}
.ms-page :focus-visible{outline:3px solid #9c661e;outline-offset:3px}
.ms-crumbs{display:flex;align-items:center;gap:12px;min-height:54px;font-size:13px;color:var(--soft)}
.ms-back{border:0;background:transparent;color:inherit;padding:9px 0;min-height:44px}
.ms-back:hover,.ms-reset:hover:not(:disabled){text-decoration:underline}
.ms-crumbs>span{color:#788878}.ms-crumbs strong{font-weight:650;color:#34463c}
.ms-cover{border:1px solid #b9c7b6;border-radius:14px;overflow:hidden;background:var(--paper)}
.ms-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:178px;padding:26px 36px;
 background:radial-gradient(ellipse at 89% 33%,#36594b 0,#274e40 29%,transparent 62%),#183b32;color:#f7f6df;overflow:hidden}
.ms-cover-text{z-index:1;max-width:72%}
.ms-kicker,.ms-plate>span{font:600 10px/1.5 Consolas,monospace;letter-spacing:.18em;color:#d1cc91}
.ms-kicker{display:flex;align-items:center;gap:9px}
.ms-kicker:before{content:'';height:1px;width:24px;background:currentColor}
.ms-page .ms-hero h1{font:700 clamp(34px,4vw,51px)/1.22 "Noto Serif KR","Batang",serif;letter-spacing:-.06em;margin:9px 0 10px;color:#fff9e4}
.ms-hero p{color:#e0e8da;font-size:15px;letter-spacing:-.025em}
.ms-plate{display:grid;place-items:center;align-content:center;gap:4px;position:absolute;right:0;inset-block:0;width:32%;color:#dacf92;
 background-image:linear-gradient(90deg,#294e4100 96%,#d8d9a619 96%),linear-gradient(0deg,#294e4100 96%,#d8d9a619 96%);background-size:31px 31px;
 mask-image:linear-gradient(to right,transparent,#000 21%,#000)}
.ms-emblem{background:var(--ms-art) center/contain no-repeat;width:204px;height:104px}
.ms-plate>span{font-size:9px;opacity:.88}
.ms-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:19px 0;background:#f3f4e9}
.ms-stat{display:grid;align-content:center;grid-template-columns:auto 1fr;align-items:center;gap:18px;padding-inline:34px}
.ms-stat+.ms-stat{border-inline-start:1px solid #cdd5c4}
.ms-stat dt{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;white-space:nowrap}
.ms-stat dt:before{content:'';width:8px;height:8px;border-radius:50%;background:#9c742c}
.ms-stat.done dt:before{background:#43856a}.ms-stat.all dt:before{border-radius:1px;background:#6f7a6b}
.ms-stat dd{justify-self:end;display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.ms-stat strong{font:650 34px/1.05 Georgia,serif;color:#233f32;font-variant-numeric:tabular-nums}
.ms-stat dd span{font-size:13px;color:var(--soft)}
.ms-layout{margin-top:30px;display:grid;grid-template-columns:215px minmax(0,1fr);gap:32px;align-items:start}
.ms-filters{background:#f0f2e9;padding:18px;border:1px solid #d6ddce;border-radius:10px}
.ms-filter-head,.ms-list-head,.ms-meta,.ms-source,.ms-tally{display:flex;align-items:center}
.ms-filter-head{justify-content:space-between;gap:8px;margin-bottom:11px}
.ms-page .ms-filter-head h2{font-size:16px;font-weight:750;margin:0}
.ms-reset{font-size:13px!important;padding:0 4px;color:var(--forest);border:0;background:transparent;min-height:44px}
.ms-reset:disabled{color:#657260;cursor:default}
.ms-fields{display:grid;gap:15px}
.ms-field{display:grid;gap:6px;font-size:13px;font-weight:620;color:#475846}
.ms-field select{color:var(--ink);border:1px solid #aebaa9;border-radius:6px;background-color:#fff;padding:7px 9px;width:100%;min-width:0;min-height:44px;font-size:15px;font-weight:520}
.ms-list-head{gap:10px;margin-bottom:13px}.ms-page h2{font-size:22px;line-height:1.35;letter-spacing:-.05em}
.ms-count{color:#50614e;border:1px solid #cdd7c8;border-radius:20px;padding:2px 9px;font-size:13px;font-variant-numeric:tabular-nums;background:#f4f5ec}
.ms-list{display:grid;gap:14px}
.ms-card{border:1px solid #d2dbce;background:#fffefa;border-radius:11px;padding:18px 22px 10px;min-width:0;box-shadow:0 2px 5px #203c2b06}
.ms-meta{justify-content:space-between;gap:12px;align-items:flex-start}
.ms-source{gap:8px;flex-wrap:wrap;color:var(--soft);font-size:13px}
.ms-subject{display:inline-block;font-weight:700;color:#3d5b4c;background:#edf2e9;border-radius:4px;padding:2px 7px}
.ms-set{overflow-wrap:anywhere}.ms-number{white-space:nowrap}.ms-number:before{content:'·';padding-right:8px}
.ms-state{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;line-height:1.5;border-radius:20px;padding:3px 9px;font-weight:700}
.ms-card.due .ms-state{color:#805016;background:#fbefd9}
.ms-card.done .ms-state{color:#285e46;background:#e4f1e5}
.ms-state:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}
.ms-card.done .ms-state:before{content:'✓';background:none;width:auto;height:auto}
.ms-card h3{font:680 21px/1.5 "Noto Sans KR","Malgun Gothic",sans-serif;letter-spacing:-.036em;margin:10px 0 6px;color:#1b322c}
.ms-tally{gap:5px;font-size:14px;color:var(--soft);flex-wrap:wrap}.ms-tally b{color:#2a4034}
.ms-tally small{padding-left:7px;margin-left:5px;border-left:1px solid var(--rule);font-size:12px}
.ms-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;border-top:1px solid #e2e6db;padding-top:9px;margin-top:14px}
.ms-history{grid-column:1/-1;grid-row:1}
.ms-history summary{display:flex;align-items:center;gap:6px;min-height:44px;width:max-content;max-width:48%;cursor:pointer;list-style:none;color:#375341;font-size:14px;font-weight:640}
.ms-history summary::-webkit-details-marker{display:none}
.ms-chevron{width:7px;height:7px;display:inline-block;transform:rotate(-45deg);border-bottom:1.5px solid;border-right:1.5px solid;margin:0 4px 2px 1px}
.ms-history[open] .ms-chevron{transform:rotate(45deg)}
.ms-history-count{color:#61705f;font-size:12px;font-weight:500}
.ms-card.done .ms-history summary{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9fb5a2}
.ms-cta{grid-column:2;grid-row:1;z-index:1;align-self:start;display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:44px;
 border:1px solid var(--forest);border-radius:7px;padding:8px 14px;background:var(--forest);color:white;font-size:14px!important;font-weight:650!important}
.ms-cta:hover{background:#173d31}.ms-card.done .ms-cta{background:#fffefa;border-color:#b7c8b9;color:var(--forest)}.ms-card.done .ms-cta:hover{background:#edf3eb}
.ms-events{list-style:none;background:#f2f4ed;border-radius:7px;padding:9px 12px!important;margin:9px 0 3px!important}
.ms-event{position:relative;display:grid;grid-template-columns:55px 1fr auto minmax(120px,auto);gap:8px;align-items:center;min-height:38px;padding-inline-start:14px;font-size:13px;color:var(--soft)}
.ms-event:before{content:'';position:absolute;left:0;width:6px;height:6px;background:#966828;border-radius:50%}
.ms-event.correct:before{background:#4b846c}.ms-event.unanswered:before{background:#788177}
.ms-event+.ms-event{border-top:1px solid #dee4d9}.ms-event b{color:#785017}.ms-event.correct b{color:#326e50}.ms-event.unanswered b{color:var(--soft)}
.ms-event time{text-align:end;font-size:12px}
.ms-empty,.ms-notice{padding:28px;border:1px dashed #adbca9;border-radius:8px;color:var(--soft)}
@media(max-width:820px){
 .ms-page{width:calc(100% - 36px)}.ms-layout{grid-template-columns:170px minmax(0,1fr);gap:18px}
 .ms-stat{padding-inline:18px;gap:8px}.ms-cover-text{max-width:70%}.ms-card{padding-inline:15px}
}
@media(max-width:650px){
 .ms-page{width:calc(100% - 28px);margin-bottom:28px}.ms-crumbs{min-height:44px}
 .ms-hero{min-height:132px;padding:17px 17px}.ms-kicker{font-size:9px}.ms-cover-text{max-width:72%}
 .ms-hero p{font-size:13px;line-height:1.6}.ms-page .ms-hero h1{font-size:33px;margin:5px 0}
 .ms-plate{width:29%;gap:2px}.ms-emblem{width:90%;height:65px}.ms-plate>span{font-size:7px;letter-spacing:.09em}
 .ms-stats{padding:12px 0}.ms-stat{display:flex;flex-direction:column;gap:5px;align-items:center;padding:0 3px}
 .ms-stat dt{font-size:12px;gap:5px}.ms-stat dd{gap:4px}.ms-stat strong{font-size:26px}.ms-stat dd span{font-size:12px}
 .ms-layout{grid-template-columns:minmax(0,1fr);gap:17px;margin-top:16px}
 .ms-filters{padding:6px 12px 12px}.ms-filter-head{margin-bottom:0}.ms-fields{grid-template-columns:1fr 1fr;gap:10px}
 .ms-field{gap:3px}.ms-page h2{font-size:20px}.ms-list-head{margin-bottom:9px}
 .ms-meta,.ms-source{gap:5px}.ms-source{font-size:12px}.ms-card{padding:13px 13px 9px}.ms-state{font-size:11px;padding:3px 7px}
 .ms-card h3{font-size:18px;margin-top:8px}.ms-tally{font-size:13px}.ms-footer{margin-top:12px}
 .ms-cta{font-size:13px!important;padding:7px 9px;gap:5px}.ms-events{padding:6px 8px!important}
 .ms-event{grid-template-columns:40px 1fr auto;gap:1px 7px;padding-block:6px}.ms-event time{grid-column:2/-1;text-align:start}
}



.ms-page{--ink:#f2f1eb;--soft:#c6cbbf;--line:#4b5147;--rule:var(--line);--paper:#20231f;--raised:#2a2e29;--control:#818777;--selected:#333c2e;--olive:#c6d5ad;--pending-bg:#403429;--pending:#ffcf9f;--accent:#ffb47d;--accent-ink:#271e17;--forest:var(--accent);color:var(--ink);color-scheme:dark}
.ms-page :is(.ms-cover,.ms-card,.ms-filters,.ms-count,.ms-stats,.ms-events,.ms-field select){
 background:var(--paper);border-color:var(--line)
}
.ms-page :is(.ms-stat strong,.ms-tally b,.ms-card h3,.ms-crumbs strong,.ms-field select){color:var(--ink)}
.ms-page :is(.ms-field,.ms-count,.ms-history-count){color:var(--soft)}
.ms-page :is(.ms-field select,.ms-card.done .ms-cta){border-color:var(--control)}
.ms-page :is(.ms-stat+.ms-stat,.ms-footer,.ms-event+.ms-event){border-color:var(--rule)}
.ms-page .ms-events,.ms-page .ms-field select{background:var(--raised)}
.ms-page :is(.ms-subject,.ms-card.done .ms-state){background:var(--selected);color:var(--olive)}
.ms-page .ms-card.due .ms-state{background:var(--pending-bg);color:var(--pending)}
.ms-page .ms-history summary,.ms-page .ms-event.correct b{color:var(--olive)}
.ms-page .ms-event.wrong b{color:var(--pending)}
.ms-page .ms-cta{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.ms-page .ms-cta:hover{background:#ffb980}
.ms-page .ms-card.done .ms-cta{background:var(--paper);color:var(--ink)}
.ms-page .ms-card.done .ms-cta:hover{background:var(--raised)}
.ms-page .ms-reset:disabled{color:#a5ab9e;background:transparent}

.ms-page .ms-emblem svg{width:100%;height:100%}
.ms-page :focus-visible{outline:3px solid #ffd19a;outline-offset:3px}
.ms-page .ms-reset:not(:disabled),.ms-page .ms-back{background:transparent;color:var(--accent)}
.rr .rr-marsh-link{margin-top:12px;min-height:44px;border:1px solid #767e69;background:#2c3329;color:#e3eed5;border-radius:8px;padding:8px 14px;cursor:pointer}

body:has(#home:not([hidden]) .ms-page) {
 & > header{background:#1c1f1a;color:#eeeede;border-color:#454b40}
 & > header span{color:#c6cbbf}
 & > header button{background:#2c3329;color:#eef1e5;border:1px solid #67705d}
 & main>.notice{display:none}
}

/* The entrance reuses the ten places' original line illustrations. */
body:has(#home:not([hidden]) #world-places.wp-frame) .app-layout {background:#171819}
#world-places.wp-frame {
 --directory-muted:#b1b2ad; --directory-ink:#f3f2ee; --directory-accent:#e5ce9e;
 width:min(100%,1120px); padding-block:clamp(20px,4vw,44px); color:var(--directory-ink);
}
.wp-frame .wp-student-banner {width:100%; margin:0 0 clamp(20px,3vw,32px)}
.wp-frame .wp-student-banner h1 {margin:0; color:inherit; font-family:var(--student-font); overflow-wrap:anywhere}
.wp-frame .wp-banner-owner {display:block; color:var(--directory-muted); font-size:.875rem; font-weight:500; line-height:1.5}
.wp-frame .wp-banner-name {display:block; margin-top:2px; font-size:clamp(1.65rem,3vw,2.25rem); letter-spacing:-.045em; line-height:1.2}
.wp-frame .wp-directory {display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; width:100%; margin:0 0 12px}
.wp-directory h2 {margin:0; font-size:1.125rem; letter-spacing:-.025em}
.wp-frame .wp-open-count,.wp-frame .wp-place-guide {font-size:.875rem; line-height:1.5; color:var(--directory-muted)}
.wp-frame .wp-open-count {font-variant-numeric:tabular-nums}
.wp-frame .wp-place-guide {justify-self:start; margin:14px 0 0}
.wp-frame .wp-place-grid {
 width:100%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-rows:1fr; gap:12px;
}
.wp-frame .wp-portal {
 position:relative; min-width:0; min-height:144px; box-sizing:border-box; padding:16px;
 display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end;
 border:1px solid #404142; border-radius:12px; background:#232425; box-shadow:none;
 color:var(--directory-ink); font-family:var(--student-font); text-align:start;
}
.wp-frame .wp-portal:enabled {border-color:#818b62}
.wp-frame .wp-portal:disabled {opacity:1; cursor:default; color:#c3c4bf}
.wp-frame .wp-illustration {display:block; margin-bottom:8px}
.wp-frame .wp-place-art {display:block; width:84px; height:44px; color:#a4a5a0}
.wp-frame .wp-place-name {font-size:clamp(1rem,1.55vw,1.25rem); font-weight:650; letter-spacing:-.035em; line-height:1.4}
.wp-frame :is(.wp-open-label,.wp-seal) {
 display:inline-flex; align-items:center; gap:4px; margin-top:3px; color:var(--directory-muted); font-size:.8125rem; line-height:1.4;
}
.wp-frame .wp-seal svg {width:12px; height:12px}
.wp-frame .wp-entry {
 position:absolute; inset:12px 14px auto auto; color:var(--directory-accent); font-weight:650; font-size:.8125rem;
}
@media (hover:hover) {
 .wp-frame .wp-portal:enabled:hover {background:#2c2d2e}
}
.wp-frame .wp-portal:focus-visible {outline:3px solid var(--directory-accent); outline-offset:3px}
@media (max-width:900px) {
 .wp-frame .wp-place-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:620px) {
 .wp-frame .wp-place-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
 .wp-frame .wp-portal {min-height:112px; padding:12px}
 .wp-frame .wp-place-art {width:62px; height:32px}
 .wp-frame .wp-illustration {margin-bottom:6px}
 .wp-frame .wp-entry {inset:9px 10px auto auto}
}

/* These classes occur only on the student's existing study lists. */
body[data-workspace=student]:has(#home:not([hidden]) :is(.mini-list,.mini-home)){
 color-scheme:dark;background:#151713;color:#f1f0e8;
 & > header,& #app-sidebar{background:#1d211b;color:#eeeede;border-color:#444c40}
 & > header span,& #app-sidebar .workspace-label,& #app-sidebar .nav-link{color:#d3dbc7}
 & .app-layout{background:#151713}
 & #home{background:transparent;color:inherit}
 & .notice,& #home-title{color:#d4ddc8}
}
:is(.mini-home,.mini-list){
 --mini-border:#535c4a;color:#f1f0e8;
 & .mini-card,& .mini-summary,& .mini-review-link,& .mini-resume .mini-card,& .mini-menu-actions{
  background:#22261f;color:#f1f0e8;border-color:var(--mini-border)
 }
 & .mini-card h3{font:650 1rem/1.5 system-ui,sans-serif;color:#f4f2e8}
 & .mini-resume{background:#292f25;border-color:#5e6b51}
 & .mini-welcome{background:#20251e;border:1px solid var(--mini-border);border-radius:18px;padding:clamp(16px,3vw,28px)}
 & .mini-card :is(.mini-subject,.mini-meta),& .mini-meta,& .mini-empty,& .mini-welcome-copy,& .mini-review-link p{color:#c3ccba}
 & .mini-eyebrow,& .mini-count,& .mini-summary-count strong{color:#d2deb5}
 & .mini-count,& .mini-badge{background:#333a30;color:#e0e6d5}
 & .mini-card.is-active .mini-badge{background:#4a3525;color:#ffd6ae}
 & .mini-card.is-done .mini-badge{background:#304138;color:#cde9cb}
 & .mini-card.is-expired .mini-badge{background:#413734;color:#edcbc0}
 & .mini-card progress,& .mini-summary progress{height:7px;accent-color:#bccd93}
 & .mini-button{color:#e5e9d9;background:#292d26;border-color:var(--mini-border)}
 & .mini-card .mini-primary,& .memory-start{border-color:#a67a55;color:#ffd0a2;background:#302820}
 & .mini-shortcuts .mini-button:hover,& .mini-button:hover{background:#363c31}
 & .mini-section-heading :is(h2,h3),& .mini-summary h2,& .mini-summary-count span,& .mini-review-link h2{color:#eeeede}
 & .mini-expired,& .mini-rejected,& .mini-pending{color:#ffd0ab}
 & .mini-button:focus-visible,& .mini-menu summary:focus-visible{outline:3px solid #ffbe84;outline-offset:2px}
}
#world-places .yard-banner {
 display:block; min-height:0; border:0; background:#232425;
}
#world-places .yard-banner h2 {color:#f5f4f1}
#world-places .yard-banner :is(.mini-eyebrow,.mini-welcome-copy) {color:#c8c7c4}
#world-places .yard-banner .memory-start {
 max-width:100%; white-space:normal; overflow-wrap:anywhere; text-align:start;
 color:#222324; background:#e6e5e2; border-color:transparent;
}
#world-places .yard-banner .memory-start:hover {background:#fff; color:#191a1b}
#world-places .yard-banner .memory-start:focus-visible {outline:3px solid #fff; outline-offset:3px}
.mini-home:has(> .yard-banner) .mini-carousel {
 /* 7/8 width × 4/5 height = 70% area. Keep controls at their original touch size. */
 --full-card-width:248px;
 &.mini-resume {--full-card-width:min(400px, 90%)}
 & .mini-track {gap:8px; padding-block:4px 8px}
 & .mini-card {flex-basis:calc(var(--full-card-width) * .875); padding:9px 13px}
 & .mini-card :is(.mini-subject,.mini-meta) {line-height:1.24}
 & .mini-card .mini-meta {margin-bottom:4px}
 & .mini-card progress {height:.35rem; margin-bottom:.45rem}
 & .mini-card h3 {
  display:grid; margin:2px 0 6px;
  &::before, & > span {
   grid-area:1 / 1; align-self:start; min-width:0;
   display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;
  }
  /* Scale the title's reserved space; the visible text stays at 11.2px. */
  &::before {content:attr(title) / ""; visibility:hidden; font-size:87.5%; line-height:1.2rem; -webkit-line-clamp:3}
  & > span {font-size:70%; line-height:1.5; -webkit-line-clamp:2}
 }
 @media (max-width:600px) {
  --full-card-width:min(280px, calc(100% - 42px));
  &.mini-resume {--full-card-width:min(280px, calc(100% - 24px))}
  & .mini-track {gap:6px}
 }
}
#world-places .atlas-memory-title{padding:clamp(18px,3vw,30px);border:1px solid #4e5944;border-left:4px solid #a7b97e;border-radius:14px;background:linear-gradient(110deg,#293025,#1e221d)}
.atlas-memory-title h2{font-size:clamp(1.65rem,3vw,2.45rem);margin:.25rem 0}
.atlas-memory-title .mini-count{display:inline-block}
.mini-home:has(> .yard-banner) .mini-carousel .has-material-info {
 min-height:13.8rem;
 & .mini-card-head {align-items:center;gap:4px}
 & .mini-subject {flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 & h3 {margin:0}
 & h3::before {content:none}
 & .mini-meta {margin-bottom:2px}
 & progress {margin-bottom:3px}
}
.mini-home:has(> .yard-banner) .mini-resume .has-material-info {min-height:12.6rem}
.mini-home .mini-card .mini-yard-play {display:grid;place-items:center}
.mini-material-info {display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#d0ddba;cursor:pointer}
.mini-material-info span {display:grid;place-items:center;width:18px;height:18px;box-sizing:border-box;border:1.5px solid;border-radius:50%;font:700 13px/1 Georgia,serif}
/* The primary action covers the card body. Keep this control above it, below the management menu. */
.has-material-info .mini-material-info {position:relative;z-index:1}
.mini-material-info:is(:hover,:focus-visible) span {color:#22261f;background:#d0ddba;border-color:#d0ddba}
.mini-material-info:focus-visible {outline:2px solid #d0ddba}
.mini-material-summary {min-width:0;margin:2px 0;padding-left:7px;border-left:2px solid #66745c;color:#cbd6bd;font-size:.72rem;line-height:1.27}
.mini-material-summary span {display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mini-material-dialog {width:min(380px,calc(100% - 32px));max-height:85vh;overflow:auto;background:#242923;color:#f1f2e9;border-color:#5e6958}
.mini-material-dialog dl {display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px}
.mini-material-dialog dt {color:#bec7b6}
.mini-material-dialog dd {margin:0}
.mini-material-dialog :is(p,dd) {overflow-wrap:anywhere}
@media(max-width:480px){.mini-list .mini-grid{grid-template-columns:minmax(0,1fr)}}

/* Marsh only: practice is a separate action, never an official retry. */
.ms-page .ms-footer{display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px 14px}
.ms-page .ms-history{flex:1 1 110px}
.ms-page .ms-history[open]{flex-basis:100%}
.ms-page .ms-history summary{max-width:100%}
.ms-page .ms-actions,.ms-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ms-page .ms-actions .ms-cta,.ms-practice .ms-secondary,.ms-practice .ms-choice{
  color:var(--ink);background:var(--paper);border:1px solid var(--control);border-radius:8px;min-height:44px;padding:8px 12px}
.ms-page .ms-single{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);
  border-radius:8px;min-height:44px;padding:8px 14px;font-weight:700}
.ms-practice{color:var(--ink);background:var(--paper);border:1px solid var(--control);border-radius:14px;
  width:min(500px,calc(100vw - 32px));padding:clamp(16px,4vw,28px);max-height:calc(100dvh - 32px);overflow:auto}
.ms-practice::backdrop{background:rgb(12 14 13 / 80%)}
.ms-practice .ms-eyebrow{font-size:.85rem;font-weight:700;color:var(--olive);margin:0 0 8px}
.ms-practice h2{margin:0 0 6px}.ms-practice .ms-subtle,.ms-practice .ms-feedback{color:var(--soft);line-height:1.6}
.ms-practice fieldset{min-width:0;margin:18px 0 10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--raised);color:var(--ink)}
.ms-practice legend{font-size:.9rem;color:var(--olive);width:auto;padding:0 5px}
.ms-practice .study-prompt,.ms-practice .prompt-copy{color:var(--ink);background:transparent;white-space:pre-wrap;overflow-wrap:anywhere}
.ms-practice .selection-options{display:grid;gap:8px;margin-top:12px}
.ms-practice .selection-options button,.ms-practice input,.ms-practice .selection-actions button,.ms-practice .short-clear{
  min-height:44px;color:var(--ink);background:var(--paper);border:1px solid var(--control);border-radius:7px;padding:8px}
.ms-practice button[aria-pressed=true]{background:var(--selected);outline:2px solid var(--olive)}
.ms-practice :is(.response-state,.short-response){color:var(--soft);margin-top:8px}
.ms-practice button:disabled{opacity:.58}
@media(max-width:540px){.ms-page .ms-actions{width:100%}.ms-practice .ms-dialog-actions button{flex:1}}

.ms-page .ms-scope{margin:0;padding:16px clamp(14px,2.5vw,34px) 0;font-family:inherit;font-size:14px;font-weight:650;line-height:1.5;color:var(--soft)}
.ms-page .ms-receipt{display:grid;gap:5px;padding:14px 18px;border:1px solid var(--control);border-inline-start:4px solid var(--olive);border-radius:8px;background:var(--selected);color:var(--ink);overflow-wrap:anywhere}
.ms-cover>.ms-receipt{margin:16px clamp(12px,2.5vw,34px) 0}
.ms-page .ms-receipt h2{margin:0;font:inherit;font-size:14px;font-weight:700;color:var(--olive)}
.ms-page .ms-receipt-line{color:var(--ink);font-size:clamp(16px,2vw,20px);line-height:1.45}
.ms-page .ms-receipt p,.ms-page .ms-receipt small,.ms-page .ms-state-guide{margin:0;color:var(--soft);font-size:14px;line-height:1.55}
.ms-page .ms-state-guide{margin:-3px 0 12px}
.ms-page .ms-card.done .ms-state:before{content:none}

/* Common authorized place lists. Deliberately excludes yard, teacher and study screens. */
.pl-page.pl-page{--pl-bg:#202120;--pl-card:#282a28;--pl-line:#3b3e39;--pl-ink:#e8e6e0;--pl-muted:#b6b5ae;--pl-olive:#b5bf98;--pl-warm:#edb083;--ink:#e8e6e0;--soft:#b6b5ae;max-width:1120px;margin:0 auto;padding:12px 0 30px;background:var(--pl-bg);color:var(--pl-ink);font:400 14px/1.6 system-ui,"Malgun Gothic",sans-serif;letter-spacing:-.015em}
.pl-page.pl-page *{box-sizing:border-box}.pl-page.pl-page [hidden]{display:none!important}
.pl-page.pl-page button,.pl-page.pl-page select,.pl-page.pl-page summary{font:inherit;min-height:44px;min-width:44px;border:1px solid #454940;background:transparent;color:var(--pl-muted);border-radius:7px;padding:8px 12px;box-shadow:none}
.pl-page.pl-page button{cursor:pointer}.pl-page.pl-page button:hover{background:#32342f}
.pl-page.pl-page button:disabled{opacity:.55;cursor:default}
.pl-page.pl-page button:focus-visible,.pl-page.pl-page summary:focus-visible,.pl-page.pl-page select:focus-visible,.pl-page.pl-page [tabindex]:focus-visible{outline:2px solid #d3c7b4;outline-offset:3px}
.pl-page.pl-page .pl-back{border-color:transparent;padding-inline:0}
.pl-page.pl-page .pl-heading{position:static;display:block;background:transparent;box-shadow:none;border:0;border-bottom:1px solid #353833;margin:0 0 18px;padding:10px 0 20px;text-align:left}
.pl-page.pl-page .pl-heading h2,.pl-page.pl-page .ms-cover h1{font-size:28px;font-weight:500;line-height:1.45;letter-spacing:-.045em;margin:0}
.pl-page.pl-page .pl-heading p,.pl-page.pl-page .ms-cover-text>p{font-size:13px;color:var(--pl-muted);margin:6px 0 0}
.pl-page.pl-page .pl-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px}
.pl-page.pl-page .pl-subjects{display:flex;gap:6px;overflow:auto;max-width:100%}
.pl-page.pl-page .pl-subjects button{flex:none;border-color:transparent}
.pl-page.pl-page .pl-subjects button[aria-pressed=true]{background:#2e322a;border-color:#5e6650;color:#c6d0ac}
.pl-page.pl-page .pl-state-filter{display:flex;align-items:center;gap:10px;white-space:nowrap;color:var(--pl-muted)}
.pl-page.pl-page select{background:#292c27}
.pl-page.pl-page .pl-carousel{margin:22px 0 30px;min-width:0}
.pl-page.pl-page .pl-section-heading{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.pl-page.pl-page .pl-section-heading h3{font-size:16px;font-weight:500;margin:0}
.pl-page.pl-page .pl-count{font-size:12px;color:var(--pl-muted)}
.pl-page.pl-page .pl-arrows{display:flex;gap:6px;margin-left:auto}
.pl-page.pl-page .pl-arrows button{font-size:21px;padding:4px 12px}
.pl-page.pl-page .pl-track{--card-width:calc((100% - 48px)/4);display:flex;gap:16px;overflow-x:auto;min-width:0;padding:4px 0 16px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#555b4c transparent}
.pl-page.pl-page .pl-card{position:relative;flex:0 0 var(--card-width);width:var(--card-width);height:280px;min-height:0;max-width:none;scroll-snap-align:start;background:var(--pl-card);border:1px solid var(--pl-line);border-radius:9px;padding:12px 16px;box-shadow:none;display:flex;flex-direction:column;gap:5px;color:var(--pl-ink)}
.pl-page.pl-page .pl-card h3{font-size:13px;font-weight:500;line-height:1.65;letter-spacing:-.015em;min-height:43px;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.pl-page.pl-page .pl-card-top,.pl-page.pl-page .mini-card-head{min-height:44px;display:flex;align-items:center;color:var(--pl-muted);font-size:11px;margin:0}
.pl-page.pl-page .mini-card-head .mini-menu{margin-left:auto}.pl-page.pl-page .mini-menu summary{padding:8px;font-size:18px}
.pl-page.pl-page .mini-card-head .mini-subject{margin:0;color:var(--pl-muted)}
.pl-page.pl-page .pl-card p,.pl-page.pl-page .mini-material-summary{font-size:11px;line-height:18px;color:var(--pl-muted);margin:0}
.pl-page.pl-page .pl-detail{height:36px;flex:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.pl-page.pl-page .pl-state{font-size:11px;min-height:18px}
.pl-page.pl-page progress{height:4px;width:100%;margin:3px 0 6px;flex:none;accent-color:#91a571}
.pl-page.pl-page progress::-webkit-progress-bar{background:#373e30}.pl-page.pl-page progress::-webkit-progress-value{background:#91a571}
.pl-page.pl-page .pl-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:auto}
.pl-page.pl-page .pl-card-actions>button:first-child{grid-column:1/-1}
.pl-page.pl-page .pl-card-actions>button{font-size:11px;padding:6px;line-height:1.4}
.pl-page.pl-page .pl-primary,.pl-page.pl-page .mini-primary{background:transparent;border:1px solid #715a48;color:var(--pl-warm);font-weight:500;min-height:44px;box-shadow:none}
.pl-page.pl-page .mini-primary{margin-top:auto;flex:none;width:100%;align-self:stretch}
.pl-page.pl-page .pl-primary:hover,.pl-page.pl-page .mini-primary:hover{background:#352f27;border-color:#a17b5b}
.pl-page.pl-page .mini-badge{background:transparent;color:var(--pl-muted);padding:0;font-size:11px}
.pl-page.pl-page .is-active .mini-badge{color:var(--pl-olive)}
.pl-page.pl-page .mini-material-info{position:static;margin:0;padding:6px;flex:0 0 44px;width:44px;height:44px}
.pl-page.pl-page .mini-material-info span{border:0}
.pl-page.pl-page .mini-menu-actions{background:#282a28;color:var(--pl-ink);border-color:var(--pl-line);z-index:5}
.pl-page.pl-page .mini-menu-actions button{font-size:12px}
.pl-page.pl-page .pl-empty{padding:24px 0;color:var(--pl-muted)}
.pl-page.pl-page .ms-cover{background:transparent;border:0;border-bottom:1px solid #353833;padding:0 0 20px;border-radius:0;box-shadow:none}
.pl-page.pl-page .ms-hero{display:block;padding:10px 0 20px}.pl-page.pl-page .ms-kicker{display:none}
.pl-page.pl-page .ms-cover-text{padding:0}.pl-page.pl-page .ms-stats{background:#252824;border:1px solid var(--pl-line);border-radius:7px}
.pl-page.pl-page .ms-stat strong{font-size:22px;font-weight:500}.pl-page.pl-page .ms-stat.due strong,.pl-page.pl-page .ms-stat.done strong{color:var(--pl-ink)}
.pl-page.pl-page .ms-scope{font-size:13px;font-weight:400;margin:14px 0;color:var(--pl-muted)}
.pl-page.pl-page .pl-group-detail{border-top:1px solid var(--pl-line);padding-top:18px;margin-top:12px}
.pl-page.pl-page .pl-group-detail>h2{font-size:21px;font-weight:500}.pl-page.pl-page .ms-card{margin-top:12px}
.pl-page.pl-page .ms-card h3{font-weight:500}.pl-page.pl-page .ms-single{color:var(--pl-warm);border-color:#715a48}
@media(min-width:901px) and (max-width:1199px){.pl-page.pl-page .pl-track{--card-width:calc((100% - 32px)/3)}}
@media(min-width:701px) and (max-width:900px){.pl-page.pl-page .pl-track{--card-width:calc((100% - 16px)/2)}}
@media(max-width:700px){
 .pl-page.pl-page{padding:8px 0 22px;max-width:100%}.pl-page.pl-page .pl-heading h2,.pl-page.pl-page .ms-cover h1{font-size:25px}
 .pl-page.pl-page .pl-filters{flex-direction:column;align-items:stretch;gap:7px}.pl-page.pl-page .pl-state-filter{justify-content:flex-end;font-size:12px}
 .pl-page.pl-page .pl-track{--card-width:min(300px,calc(100% - 52px));gap:12px}.pl-page.pl-page .pl-card{height:280px}
 .pl-page.pl-page .pl-section-heading h3{font-size:15px}.pl-page.pl-page .pl-carousel{margin:18px 0 24px}
}
.pl-page.pl-page{width:100%}
.pl-page.pl-page .ms-hero{background:transparent;min-height:0;overflow:visible}
.pl-page.pl-page .ms-cover-text{max-width:100%}
.pl-page.pl-page .ms-cover h1{font-family:inherit;color:var(--pl-ink)}
.pl-page.pl-page .ms-stat dt{font-weight:400}.pl-page.pl-page .ms-stat strong{font-family:inherit}
.pl-page.pl-page .ms-stat dt:before{background:#9da68f}
.pl-page.pl-page .pl-card .pl-primary,.pl-page.pl-page .pl-card .mini-primary{position:static}
.pl-page.pl-page .pl-card .pl-primary::after,.pl-page.pl-page .pl-card .mini-primary::after{content:'';position:absolute;inset:0;border-radius:9px}
.pl-page.pl-page .pl-card .pl-secondary,.pl-page.pl-page .pl-card .mini-menu,.pl-page.pl-page .pl-card .mini-material-info{position:relative;z-index:2}
.pl-page.pl-page .mini-pending{color:#d6c8b5;background:#302d27}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page){background:#202120;color:#e8e6e0;color-scheme:dark}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page) .app-layout{display:block;background:#202120}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page)>header{background:#202120;color:#e8e6e0;border-color:#393c37}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page) #app-sidebar{display:none}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page) :is(#home,#home-overview){background:transparent;border:0;padding:0}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page) :is(#home-title,main>.notice){display:none}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page) #main-content{max-width:none;width:100%;margin:0;padding:12px clamp(14px,4vw,70px) 30px}
body[data-workspace=student]:has(#home:not([hidden]) .pl-page)>header button{background:transparent;border:1px solid #454940;color:#c7c9bf;min-height:44px}

/* Final visual alignment: keep the original account controls and their handlers. */
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame){background:#202120;color:#e8e6e0;min-height:100dvh}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame) .app-layout{background:#202120}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header{
 display:flex!important;background:#202120;color:#e8e6e0;border-color:#393c37;
 padding:12px clamp(14px,4vw,70px);gap:12px;font-family:system-ui,"Malgun Gothic",sans-serif;
}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header a{font-weight:500}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header span{color:#b6b5ae}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header button{
 min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #454940;border-radius:7px;
 background:transparent;color:#b6b5ae;font-size:14px;font-weight:400;
}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header #logout{margin-left:auto}
body[data-workspace=student]:has(#home:not([hidden]) #world-places.wp-frame)>header button:focus-visible{outline:2px solid #d3c7b4;outline-offset:3px}
#world-places.wp-frame{
 --directory-ink:#e8e6e0;--directory-muted:#b6b5ae;--directory-accent:#edb083;
 --student-font:system-ui,"Malgun Gothic",sans-serif;font:400 14px/1.6 system-ui,"Malgun Gothic",sans-serif;
}
#world-places.wp-frame .wp-student-banner h1,#world-places.wp-frame .wp-directory h2{font-weight:500}
#world-places.wp-frame .wp-banner-name{font-size:30px;font-weight:500}
#world-places.wp-frame .wp-portal{background:#282a28;border-color:#3b3e39;border-radius:9px}
#world-places.wp-frame .wp-portal:enabled{border-color:#59634b}
#world-places.wp-frame .wp-portal:enabled:hover{background:#30322e}
#world-places.wp-frame .wp-place-name{font-size:17px;font-weight:500}
#world-places.wp-frame .wp-entry{color:#edb083;font-weight:400}
#world-places.wp-frame .wp-place-grid{gap:16px}
.pl-page.pl-page .pl-card-actions>button,.pl-page.pl-page .mini-primary{font-size:13px;line-height:1.4;padding:8px 12px;font-weight:500}
.pl-page.pl-page .ms-crumbs{min-height:44px;margin:0;padding:0;gap:0}
.pl-page.pl-page .ms-crumbs>span,.pl-page.pl-page .ms-crumbs>strong{display:none}
.pl-page.pl-page .ms-back{border-color:transparent;padding-inline:0}
.pl-page.pl-page .ms-back::before{content:'← '}
.pl-page.pl-page .ms-scope{padding:0}
.pl-page.pl-page .pl-subjects button[aria-pressed=false]:not(:hover){background:transparent}
@media(max-width:700px){
 #world-places.wp-frame .wp-banner-name{font-size:27px}
 #world-places.wp-frame .wp-place-grid{gap:12px}
}


/* Adopted DS v1 archive headings. Only Memory and Marsh list presentation. */
.pl-page.pl-page .pl-archive{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:160px;padding:25px 32px;margin:0 0 24px;border:1px solid #73634355;border-radius:12px;overflow:hidden}
.pl-page.pl-page .pl-archive-copy{position:relative;z-index:1;min-width:0}
.pl-page.pl-page .pl-archive h2{font-size:28px;font-weight:500;line-height:1.35;letter-spacing:-.04em;margin:0}
.pl-page.pl-page .pl-archive .pl-archive-index{margin:0 0 10px;font-size:10px;letter-spacing:.13em;line-height:1.5}
.pl-page.pl-page .pl-archive .pl-archive-description{margin:11px 0 0;max-width:560px;font-size:13px;line-height:1.7}
.pl-page.pl-page .pl-archive-memory{background-color:#eee3c9;background-image:linear-gradient(#f3ead7d9,#f3ead7d9),url('/study-assets/constellation-parchment-v2.webp');background-size:cover,145% 270%;background-position:center;color:#30291e;border-color:#ad956055}
.pl-page.pl-page .pl-archive-memory h2{color:#30291e}
.pl-page.pl-page .pl-archive-memory::before{content:'';position:absolute;left:11px;top:18px;bottom:18px;width:3px;border-left:1px solid #89704455;border-right:1px solid #89704426}
.pl-page.pl-page .pl-archive-memory::after{content:'';position:absolute;left:32px;right:32px;bottom:13px;border-bottom:1px solid #947a4c29}
.pl-page.pl-page .pl-archive-memory .pl-archive-index{color:#756146}
.pl-page.pl-page .pl-archive-memory .pl-archive-description{color:#655940}
.pl-page.pl-page .pl-archive-art{position:relative;flex:none;width:224px;height:110px;align-self:center;color:#89754d;opacity:.67;pointer-events:none}
.pl-page.pl-page .pl-archive-line{position:absolute;width:125px;height:65px;right:19px;top:17px;opacity:.66}
.pl-page.pl-page .pl-archive-line svg{display:block;width:100%;height:100%}
.pl-page.pl-page .pl-archive-caption{position:absolute;right:12px;bottom:2px;font-size:10px;letter-spacing:.04em;white-space:nowrap;opacity:.8}
.pl-page.pl-page .pl-archive-spine{position:absolute;left:24px;top:10px;bottom:15px;width:9px;border:1px solid currentColor;border-radius:2px;opacity:.35}
.pl-page.pl-page .pl-archive-leaf{position:absolute;inset:11px 12px 15px 38px;border:1px solid currentColor;border-radius:2px 9px 9px 2px;opacity:.27}
.pl-page.pl-page .pl-archive-leaf::before,.pl-page.pl-page .pl-archive-leaf::after{content:'';position:absolute;inset:5px -5px -5px 5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;border-radius:0 6px 6px 0}
.pl-page.pl-page .pl-archive-leaf::after{inset:9px -9px -9px 9px}
.pl-page.pl-page .pl-archive-marsh{background:#292b27;border-color:#665d465e;padding-left:34px}
.pl-page.pl-page .pl-archive-marsh::before{content:'';position:absolute;left:10px;top:18px;bottom:18px;width:4px;border-left:1px solid #ad95604d;border-right:1px solid #ad95601f}
.pl-page.pl-page .pl-archive-marsh::after{content:'';position:absolute;left:34px;right:32px;bottom:13px;border-bottom:1px solid #b29a6026}
.pl-page.pl-page .pl-archive-marsh .pl-archive-index{display:inline-block;padding:4px 10px 4px 8px;background:#ded1af;color:#51442c;border:1px solid #b6a17866;border-radius:2px;margin-bottom:11px;font-size:10px;letter-spacing:.11em}
.pl-page.pl-page .pl-archive-marsh .pl-archive-index::before{content:'·';margin-right:6px;color:#8b764d}
.pl-page.pl-page .pl-archive-marsh .pl-archive-art{color:#c2ac7b;opacity:.59}
.pl-page.pl-page .pl-archive-marsh .pl-archive-spine{left:35px;top:2px;width:145px;height:82px;border-radius:3px;transform:rotate(-5deg);opacity:.21}
.pl-page.pl-page .pl-archive-marsh .pl-archive-leaf{inset:12px 17px 17px 31px;transform:rotate(2deg);border-radius:2px;opacity:.32}
.pl-page.pl-page .pl-archive-marsh .pl-archive-leaf::before{inset:5px -4px -5px 4px;border-radius:0}
.pl-page.pl-page .pl-archive-marsh .pl-archive-leaf::after{display:none}
.pl-page.pl-page .pl-archive-marsh .pl-archive-line{right:25px;top:14px;opacity:.79}
.pl-page.pl-page .pl-archive-marsh .pl-archive-caption{bottom:-3px}
@media(max-width:800px){
 .pl-page.pl-page .pl-archive{min-height:162px;padding:21px 20px 22px;margin-bottom:22px;gap:0;align-items:flex-start}
 .pl-page.pl-page .pl-archive h2{font-size:24px}
 .pl-page.pl-page .pl-archive .pl-archive-index{font-size:10px;margin-bottom:9px}
 .pl-page.pl-page .pl-archive .pl-archive-description{font-size:13px;line-height:1.7;max-width:248px;margin-top:10px;word-break:keep-all;text-wrap:pretty}
 .pl-page.pl-page .pl-archive-copy{width:100%}
 .pl-page.pl-page .pl-archive-memory::before,.pl-page.pl-page .pl-archive-marsh::before{left:8px;top:17px;bottom:17px;width:2px}
 .pl-page.pl-page .pl-archive-memory::after,.pl-page.pl-page .pl-archive-marsh::after{left:20px;right:20px;bottom:11px}
 .pl-page.pl-page .pl-archive-art{position:absolute;right:6px;top:10px;width:114px;height:76px;opacity:.23}
 .pl-page.pl-page .pl-archive-line{width:83px;height:44px;right:8px;top:15px}
 .pl-page.pl-page .pl-archive-spine{left:3px;top:9px;bottom:9px;width:5px}
 .pl-page.pl-page .pl-archive-leaf{inset:10px 10px 9px 13px}
 .pl-page.pl-page .pl-archive-caption{display:none}
 .pl-page.pl-page .pl-archive-marsh .pl-archive-index{font-size:10px;padding:4px 8px;max-width:calc(100% - 45px)}
 .pl-page.pl-page .pl-archive-marsh .pl-archive-art{opacity:.22;top:20px}
 .pl-page.pl-page .pl-archive-marsh .pl-archive-spine{width:82px;height:55px;left:11px;top:3px}
 .pl-page.pl-page .pl-archive-marsh .pl-archive-leaf{inset:11px 8px 8px 10px}
 .pl-page.pl-page .pl-archive-marsh .pl-archive-line{right:10px;top:14px}
 .pl-page.pl-page.pl-archive-page .pl-card :is(.pl-detail,.mini-meta,.mini-material-summary){font-size:12px;line-height:1.6;color:#b8b7ab}
 .pl-page.pl-page.pl-archive-page .pl-card .pl-detail{height:39px}
 .pl-page.pl-page.pl-archive-page .pl-card :is(.pl-state,.mini-badge){font-size:13px;line-height:1.6}
 .pl-page.pl-page.pl-archive-page .pl-card :is(.pl-card-top,.mini-subject){font-size:11px}
 .pl-page.pl-page.pl-archive-page .ms-stat dt{font-size:12px;line-height:1.5}
 .pl-page.pl-page.pl-archive-page .ms-stat dd span{font-size:11px}
 .pl-page.pl-page.pl-archive-page :is(.ms-scope,.ms-notice){font-size:12px;line-height:1.6}
 .pl-page.pl-page.pl-archive-page .pl-subjects button{font-size:12px}
}
