@layer components{[data-album]{--ep-line:var(--foreground);--ep-soft:color-mix(in srgb, var(--foreground) 14%, transparent)}.ep-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:32px 56px;padding-block:32px 72px;display:grid}.ep-hero-copy{flex-direction:column;align-items:flex-start;gap:18px;padding:32px 36px 36px;display:flex}.ep-crumbs{color:var(--muted-foreground);font-size:.875rem;font-weight:800}.ep-crumbs a{color:var(--accent-ink);text-underline-offset:3px;text-decoration:underline}.ep-crumbs a:hover{text-decoration-thickness:2px}.ep-h1{text-wrap:balance;font-size:clamp(2.75rem,6.4vw,5.5rem)}.ep-intro{max-width:52ch;color:var(--muted-foreground);font-size:1.125rem}.ep-chips{flex-wrap:wrap;gap:8px;display:flex}.ep-chips li{border:2px solid var(--ep-line);background:var(--surface);border-radius:999px;padding:5px 11px;font-size:.8125rem;font-weight:700}.ep-chips li[data-off]{color:var(--muted-foreground);background:0 0;border-style:dashed}.ep-stage{padding:24px 6% 56px;position:relative}.ep-scene{aspect-ratio:4/3;background:var(--album-paper-deep);box-shadow:var(--album-lift);border:10px solid #fff;border-radius:6px;position:relative;overflow:visible;transform:rotate(2deg)}.ep-scene img{border-radius:2px}.ep-subject{width:44%;height:auto;position:absolute;bottom:0;left:2%;transform:rotate(-4deg)}.ep-float{width:19%;height:auto;position:absolute}.ep-float-a{top:0;right:0;transform:rotate(12deg)}.ep-float-b{bottom:4%;right:14%;transform:rotate(-10deg)}.ep-note{background:var(--surface);box-shadow:var(--album-lift);color:var(--accent-ink);padding:4px 12px;font-size:1.5rem;position:absolute;bottom:6px;right:34%;transform:rotate(-3deg)}@media (max-width:900px){.ep-hero-grid{grid-template-columns:minmax(0,1fr)}.ep-stage{padding:8px 4% 64px}}@media (max-width:640px){.ep-hero-copy{padding:24px 20px 28px}.ep-note{font-size:1.25rem;left:36%;right:auto}}.ep-shelves{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;display:grid}.ep-shelf{border:2px solid var(--ep-line);background:var(--surface);min-width:0;box-shadow:4px 4px 0 0 var(--ep-line);border-radius:16px;flex-direction:column;gap:10px;padding:22px;display:flex}.ep-shelf p{color:var(--muted-foreground);font-size:.9375rem}.ep-shelf-art{place-items:center;height:120px;display:grid}.ep-shelf-art img{object-fit:contain;width:auto;max-width:100%;height:120px}.ep-depth{border:2px solid var(--ep-line);background:var(--washi-sage);color:var(--album-ink);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;align-self:flex-start;padding:3px 9px;font-size:.6875rem;font-weight:800}.ep-depth[data-depth=advanced]{background:var(--washi-lavender)}@media (max-width:1000px){.ep-shelves{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.ep-shelves{grid-template-columns:minmax(0,1fr)}}.ep-window{border:2px solid var(--ep-line);background:var(--surface);min-width:0;box-shadow:4px 4px 0 0 var(--ep-line);border-radius:12px;overflow:hidden}.ep-bar{border-bottom:2px solid var(--ep-line);background:var(--g,var(--washi-bubblegum));color:var(--album-ink);align-items:center;gap:6px;padding:8px 12px;font-size:.8125rem;font-weight:800;display:flex}.ep-bar i{border:2px solid var(--album-ink);background:var(--album-paper);border-radius:50%;width:11px;height:11px}.ep-bar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:6px;overflow:hidden}.ep-example{color:var(--album-jam-deep);white-space:nowrap;margin-left:auto;font-size:1.25rem;font-style:normal}.ep-window-body{flex-direction:column;gap:14px;padding:16px 18px 18px;display:flex}.ep-form{flex-direction:column;gap:10px;display:flex}.ep-form dt,.ep-label{color:var(--muted-foreground);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:800}.ep-form dd{border:2px solid var(--ep-soft);background:var(--album-paper);border-radius:10px;margin:4px 0 0;padding:7px 10px;font-size:.875rem;font-weight:700}.ep-form dd[data-marked]{border-color:var(--washi-butter);background:color-mix(in srgb, var(--washi-butter) 22%, var(--surface))}.ep-toast{align-items:center;gap:12px;display:flex}.ep-toast img{width:64px;height:auto}.ep-toast b,.ep-toast span{display:block}.ep-toast span{color:var(--muted-foreground);font-size:.8125rem;font-weight:700}.ep-pills{flex-wrap:wrap;gap:6px;display:flex}.ep-pills li{border:2px solid var(--ep-line);border-radius:999px;padding:3px 9px;font-size:.75rem;font-weight:800}.ep-pills li:first-child{background:var(--washi-butter);color:var(--album-ink)}.ep-rows li{border-top:2px solid var(--ep-soft);align-items:center;gap:10px;padding:8px 0;font-size:.875rem;font-weight:700;display:flex}.ep-rows li:first-child{border-top:0}.ep-rows img{width:32px;height:auto}.ep-rows small{color:var(--muted-foreground);white-space:nowrap;margin-left:auto;font-size:.75rem}.ep-row-dot{background:var(--ep-soft);border-radius:999px;width:32px;height:10px}.ep-flow{counter-reset:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;display:grid}.ep-step{flex-direction:column;gap:14px;min-width:0;display:flex;position:relative}.ep-step+.ep-step:before{content:"";border-top:3px solid var(--ep-line);border-right:3px solid var(--ep-line);width:24px;height:24px;position:absolute;top:160px;left:-32px;transform:rotate(45deg)}.ep-step-lead{background:var(--album-paper);border-radius:999px;align-self:flex-start;align-items:center;gap:10px;padding:4px 12px 4px 4px;display:flex}.ep-step-n{background:var(--foreground);width:34px;height:34px;color:var(--background);border-radius:50%;place-items:center;font-weight:900;display:grid}.ep-step-note{background:var(--album-paper);color:var(--muted-foreground);border-radius:10px;padding:10px 14px;font-size:.9375rem}@media (max-width:1000px){.ep-flow{grid-template-columns:minmax(0,1fr);max-width:34rem}.ep-step+.ep-step:before{top:-30px;left:24px;transform:rotate(135deg)}}.ep-reveal{min-height:150px;position:relative}.ep-reveal-page p{color:var(--muted-foreground);margin-top:6px;font-size:.875rem}.ep-reveal-lock{background:repeating-linear-gradient(-45deg, var(--album-paper) 0 10px, var(--album-paper-deep) 10px 20px);text-align:center;border-radius:8px;place-content:center;justify-items:center;gap:8px;padding:12px;font-size:.875rem;font-weight:700;transition:opacity .25s;display:grid;position:absolute;inset:-4px}.ep-reveal[data-open] .ep-reveal-lock{opacity:0;pointer-events:none}.ep-lock{border:3px solid var(--ep-line);background:var(--washi-butter);border-radius:8px;width:40px;height:34px;margin-top:16px;position:relative}.ep-lock:before{content:"";border:3px solid var(--ep-line);border-bottom:0;border-radius:12px 12px 0 0;width:22px;height:18px;position:absolute;top:-19px;left:6px}.ep-switch{border:2px solid var(--ep-line);background:var(--surface);box-shadow:0 3px 0 var(--ep-line);text-align:left;cursor:pointer;border-radius:999px;align-items:center;gap:10px;padding:6px 14px 6px 6px;font-weight:800;display:inline-flex}.ep-switch i{background:var(--ep-soft);border-radius:999px;flex:none;width:44px;height:24px;transition:background .2s;position:relative}.ep-switch i:after{content:"";border:2px solid var(--album-ink);background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:2px;left:2px}.ep-switch[aria-checked=true] i{background:var(--washi-sage)}.ep-switch[aria-checked=true] i:after{transform:translate(20px)}.ep-try,.ep-try-inline{color:var(--accent-ink);font-size:1.625rem}.ep-try-inline{white-space:nowrap}.ep-try{transform-origin:0;margin-bottom:-6px;transform:rotate(-3deg)}.ep-split{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:32px 56px;display:grid}.ep-demo-words .album-head{margin-bottom:18px}.ep-points{background:var(--album-paper);border-radius:4px;max-width:30rem;padding:18px 22px}.ep-demo{flex-direction:column;gap:10px;min-width:0;display:flex}.ep-demo-note,.ep-footnote{color:var(--muted-foreground);font-size:.8125rem;font-weight:700}.ep-demo-note{background:var(--album-paper);border-radius:6px;align-self:flex-start;padding:2px 10px}@media (max-width:900px){.ep-split{grid-template-columns:minmax(0,1fr)}}.ep-hatch{border:2px solid var(--ep-line);background:var(--album-paper);border-radius:999px;height:16px;overflow:hidden}.ep-hatch b{background-color:var(--washi-butter);background-image:repeating-linear-gradient(-45deg,#0000 0 8px,#ffffff80 8px 14px);height:100%;transition:width .3s;display:block}.ep-press{border:2px solid var(--ep-line);background:var(--accent);box-shadow:0 3px 0 var(--album-jam-deep);color:var(--accent-foreground);cursor:pointer;border-radius:999px;padding:8px 16px;font-size:.875rem;font-weight:800}.ep-press:active:not(:disabled){box-shadow:0 1px 0 var(--album-jam-deep);transform:translateY(2px)}.ep-press:disabled{background:var(--muted);box-shadow:none;color:var(--muted-foreground);cursor:default}.ep-big{font-family:var(--display-face);font-variant-numeric:tabular-nums;font-size:1.75rem;font-weight:800}.ep-collection-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ep-collection-head .ep-hatch{flex:1;min-width:140px}.ep-collection{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.ep-beast{border:2px solid var(--ep-line);background:var(--album-paper);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:4px;width:100%;height:100%;padding:10px 6px;display:flex}.ep-beast img{object-fit:contain;width:auto;height:72px}.ep-beast b{font-size:.8125rem;line-height:1.15}.ep-beast small{color:var(--muted-foreground);letter-spacing:.04em;text-transform:uppercase;font-size:.6875rem;font-weight:800}.ep-beast[data-unknown]{background:var(--album-paper-deep);cursor:pointer;border-style:dashed}.ep-beast[data-unknown] img{filter:brightness(0)opacity(.28)}.ep-beast[data-unknown]:hover{background:var(--washi-bubblegum)}@media (max-width:520px){.ep-collection{grid-template-columns:repeat(2,minmax(0,1fr))}}.ep-calc{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:22px;display:grid}.ep-slider{flex-direction:column;gap:6px;font-size:.875rem;font-weight:800;display:flex}.ep-slider>span{justify-content:space-between;gap:10px;display:flex}.ep-slider output{color:var(--accent-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.ep-slider input{width:100%;accent-color:var(--accent)}.ep-result{border:2px solid var(--ep-line);background:var(--album-paper);border-radius:14px;flex-direction:column;justify-content:center;gap:8px;padding:18px;display:flex}.ep-result>b{font-family:var(--display-face);font-variant-numeric:tabular-nums;font-size:clamp(2rem,3.2vw,2.75rem);font-weight:800;line-height:1}.ep-working{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:.8125rem;font-weight:700}.ep-result dl{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ep-result dl div{background:var(--surface);border-radius:10px;padding:8px 10px;font-size:.8125rem}.ep-result dd{margin:0;font-weight:800}@media (max-width:640px){.ep-calc{grid-template-columns:minmax(0,1fr)}}.ep-tiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ep-tiers li{border:2px dashed var(--ep-line);background:var(--album-paper);border-radius:12px;align-items:center;gap:10px;padding:10px;transition:background .2s;display:flex}.ep-tiers li[data-got]{background:color-mix(in srgb, var(--washi-sage) 60%, var(--surface));border-style:solid}.ep-tiers img{width:40px;height:auto}.ep-tiers b,.ep-tiers small{display:block}.ep-tiers b{font-size:.875rem;line-height:1.2}.ep-tiers small{color:var(--muted-foreground);font-size:.75rem;font-weight:800}.ep-chapters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;display:grid}.ep-chapters li{color:var(--muted-foreground);align-items:center;gap:8px;font-size:.875rem;font-weight:700;display:flex}.ep-chapters li[data-open]{color:var(--foreground)}.ep-chapters small{font-variant-numeric:tabular-nums;margin-left:auto}.ep-chapter-n{border:2px solid var(--ep-line);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:.75rem;font-weight:900;display:grid}.ep-chapters li[data-open] .ep-chapter-n{background:var(--washi-bubblegum);color:var(--album-ink)}@media (max-width:640px){.ep-tiers,.ep-chapters{grid-template-columns:minmax(0,1fr)}}.ep-reader{background:#3a2945;border-radius:14px;padding:12px;box-shadow:0 26px 40px -18px #1e19238c}.ep-spread{grid-template-columns:1fr 1fr;display:grid}.ep-page{color:#4f4357;min-height:300px;font-family:var(--display-face);background:#fffaf0;flex-direction:column;gap:10px;padding:24px 22px 40px;font-size:.9375rem;line-height:1.6;display:flex;position:relative}.ep-page[data-side=left]{border-radius:6px 2px 2px 6px;box-shadow:inset -18px 0 22px -18px #1e192359}.ep-page[data-side=right]{border-radius:2px 6px 6px 2px;box-shadow:inset 18px 0 22px -18px #1e192359}.ep-page-h{color:#1e1923;font-size:1.25rem;line-height:1.15}.ep-byline{color:#8c2550;font-family:var(--text-face);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:800}.ep-folio{color:#6f6774;text-align:center;font-size:.75rem;position:absolute;bottom:12px;left:0;right:0}.ep-reader-bar{color:#fbf5e9;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px 2px;font-size:.875rem;font-weight:800;display:flex}.ep-reader-bar button{color:#1e1923;cursor:pointer;background:#fbf5e9;border-radius:999px;padding:8px 14px;font-weight:800;box-shadow:0 3px #ddbf93}.ep-reader-bar button:disabled{opacity:.4;cursor:default}@media (max-width:560px){.ep-spread{grid-template-columns:minmax(0,1fr)}.ep-page[data-side]{border-radius:6px;min-height:0}.ep-page[data-side=right]{border-top:2px dashed #ddbf93;border-radius:0 0 6px 6px}}.ep-punnett{grid-template-columns:1fr 1fr;gap:14px;display:grid}.ep-parent{align-items:center;gap:10px;min-width:0;display:flex}.ep-parent img{flex:none;width:56px;height:auto}.ep-parent label{flex-direction:column;gap:4px;min-width:0;font-size:.8125rem;display:flex}.ep-parent select{border:2px solid var(--ep-line);background:var(--surface);border-radius:10px;max-width:100%;padding:6px 8px;font-weight:700}.ep-odds{flex-direction:column;gap:10px;display:flex}.ep-odds li{flex-direction:column;gap:4px;font-weight:800;display:flex}@media (max-width:560px){.ep-punnett{grid-template-columns:minmax(0,1fr)}}.ep-needs{grid-template-columns:110px minmax(0,1fr);align-items:center;gap:16px;display:grid}.ep-needs img{width:100%;height:auto}.ep-needs ul{flex-direction:column;gap:8px;display:flex}.ep-needs li>span{justify-content:space-between;font-size:.8125rem;font-weight:800;display:flex}.ep-needs li b{font-variant-numeric:tabular-nums}.ep-race{flex-direction:column;gap:14px;display:flex}.ep-race li{align-items:center;gap:12px;display:flex}.ep-race img{flex:none;width:48px;height:auto}.ep-race small{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:.75rem;font-weight:800}.ep-race-name{align-items:center;gap:8px;margin-bottom:4px;display:flex}.ep-race .ep-lead{background:var(--washi-butter);color:var(--album-ink);border-radius:999px;padding:1px 8px}@media (max-width:520px){.ep-race li{flex-wrap:wrap}}.ep-showcase{aspect-ratio:4/3;border-radius:8px;position:relative;overflow:hidden}.ep-showcase-scene{object-fit:cover;width:100%;height:100%}.ep-showcase-subject{width:auto;height:64%;position:absolute;bottom:4%;left:50%;transform:translate(-50%)}.ep-choices{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.ep-choices button{border:2px solid var(--ep-line);background:var(--surface);cursor:pointer;border-radius:999px;padding:6px 14px;font-size:.875rem;font-weight:800}.ep-choices button[aria-pressed=true]{background:var(--washi-lavender);color:var(--album-ink)}.ep-bracket{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:center;gap:12px;display:grid}.ep-bracket ul{flex-direction:column;justify-content:space-around;gap:8px;display:flex}.ep-bracket li{border:2px solid var(--ep-line);background:var(--album-paper);border-radius:10px;align-items:center;gap:8px;padding:6px 10px;font-size:.875rem;font-weight:800;display:flex}.ep-bracket li[data-out]{opacity:.45}.ep-bracket ul:last-child:not(:first-child) li{background:var(--washi-butter);color:var(--album-ink)}.ep-bracket img{width:28px;height:auto}.ep-vote{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ep-vote button{border:2px solid var(--ep-line);background:var(--album-paper);cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:100%;padding:12px 10px;display:flex}.ep-vote button:disabled{cursor:default}.ep-vote button[aria-pressed=true]{background:color-mix(in srgb, var(--washi-sage) 60%, var(--surface))}.ep-vote img{object-fit:contain;width:auto;height:80px}.ep-vote .ep-hatch{width:100%}.ep-vote small{color:var(--muted-foreground);font-size:.75rem;font-weight:800}@media (max-width:480px){.ep-vote{grid-template-columns:minmax(0,1fr)}}.ep-garden{grid-template-columns:110px minmax(0,1fr);align-items:center;gap:16px;display:grid}.ep-plot{aspect-ratio:1;border:2px solid var(--ep-line);background:repeating-linear-gradient(0deg,#8a6a4a 0 10px,#7a5b3d 10px 20px);border-radius:12px;place-items:center;display:grid}.ep-plot img{width:70%;height:auto}.ep-sprout{width:12px;height:12px;transform:rotate(45deg) scale(var(--grow,1));background:#6f9a5e;border-radius:50% 50% 0;transition:transform .3s}.ep-plot[data-stage="1"] .ep-sprout{--grow:2.2}.ep-plot[data-stage="2"] .ep-sprout{--grow:3.6}.ep-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.ep-tile{border:2px solid var(--ep-soft);border-radius:12px;min-width:0;padding:12px 14px}.ep-tile-label{color:var(--muted-foreground);justify-content:space-between;align-items:flex-start;gap:6px;font-size:.75rem;font-weight:800;display:flex}.ep-tile>b{font-family:var(--display-face);font-variant-numeric:tabular-nums;margin-top:4px;font-size:1.75rem;display:block}.ep-why{border:2px solid var(--ep-soft);background:var(--surface);width:24px;height:24px;color:var(--foreground);cursor:pointer;border-radius:50%;flex:none;place-items:center;font-size:.75rem;font-weight:900;display:grid}.ep-tip{background:var(--album-paper);color:var(--muted-foreground);border-radius:8px;margin-top:8px;padding:8px;font-size:.75rem}.ep-settings{flex-direction:column;display:flex}.ep-settings div{border-top:2px solid var(--ep-soft);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:10px 0;font-size:.9375rem;display:flex}.ep-settings div:first-child{border-top:0}.ep-settings dt{font-weight:700}.ep-settings dd{color:var(--muted-foreground);margin:0;font-weight:700}.ep-table-wrap{border:2px solid var(--ep-soft);border-radius:12px;overflow-x:auto}.ep-table{border-collapse:collapse;width:100%;font-size:.875rem}.ep-table th{background:var(--album-paper);color:var(--muted-foreground);letter-spacing:.05em;text-align:left;text-transform:uppercase;padding:9px 14px;font-size:.75rem;font-weight:800}.ep-table td{border-top:2px solid var(--ep-soft);padding:9px 14px;font-weight:700}@media (max-width:820px){.ep-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.ep-depths{gap:22px;display:grid}.ep-depth-col{border:2px solid var(--ep-line);background:var(--surface);min-width:0;box-shadow:4px 4px 0 0 var(--ep-line);border-radius:16px;flex-direction:column;gap:12px;padding:24px;display:flex}.ep-depth-col .album-points{align-content:start}.ep-depth-col[data-advanced]{background:color-mix(in srgb, var(--washi-lavender) 22%, var(--surface))}.ep-plans{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-block:22px;display:grid}.ep-plans li{border:2px solid var(--ep-line);background:var(--surface);border-radius:14px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.ep-plans li[data-off]{background:var(--album-paper);border-style:dashed}.ep-plans b{font-family:var(--display-face);font-size:1.25rem}.ep-plans span{color:var(--muted-foreground);font-size:.875rem;font-weight:600}@media (max-width:760px){.ep-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}.ep-pairs{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.ep-pair{background:var(--surface);height:100%;box-shadow:var(--album-lift);color:inherit;border-radius:16px;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px;padding:18px;text-decoration:none;display:grid}.ep-pair img{width:76px;height:auto}.ep-pair b,.ep-pair span{display:block}.ep-pair-line{color:var(--muted-foreground);margin-top:2px;font-size:.875rem}.ep-pair-go{color:var(--accent-ink);margin-top:6px;font-size:.875rem;font-weight:800}.ep-pair:hover .ep-pair-go{text-decoration:underline}.ep-closing{text-align:center;flex-direction:column;align-items:center;gap:20px;margin-top:64px;padding:40px 24px;display:flex}.ep-closing .album-h2{max-width:20ch}@media (max-width:820px){.ep-pairs{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.ep-hatch b,.ep-switch i,.ep-switch i:after,.ep-reveal-lock,.ep-tiers li,.ep-sprout{transition:none}}}
