/* Adopted 8084 prototypes: category presentation only. The frozen top is excluded. */
body.nj-proto-category{--mist-ink:#e3e1d3;--mist-ink-2:#b9beac;--mist-line:#a8ac9950;--mist-shadow:0 1px 2px #080e10b0,2px 3px #101a1a88,0 20px 30px -9px #10191da8;--tag:#1f2b25;margin:0;background:#171e20;color:var(--mist-ink);font-family:var(--sans);}
body.nj-proto-game{--tag:#1b2838;}
body.nj-proto-category *{box-sizing:border-box;}
body.nj-proto-category .nj-finish-pattern{display:none;}
body.nj-proto-category .landscape{position:fixed;inset:0;z-index:-2;background:#54525d url(source/assets/mist-top/mountains-1280.webp) 57% center/cover no-repeat;}
body.nj-proto-category .landscape::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#13231b00,#15251e12 34%,#14261e33);}
body.nj-proto-category .nj-cat-dusk{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#171e2000,#171e2000);}
html body.nj-finish.nj-finish-category.nj-proto-category .page-header{display:flex;align-items:center;justify-content:space-between;height:auto;padding:23px 22px;margin:0;}
html body.nj-finish.nj-finish-category.nj-proto-category .brand img{display:block;width:110px;height:auto;filter:brightness(0);opacity:.62;clip-path:polygon(0 0,100% 0,100% 65%,28% 65%,28% 100%,0 100%);}
body.nj-proto-category .nj-cat-crumb{font-size:12px;letter-spacing:.06em;color:#20282a;text-decoration:none;padding:13px 0 13px 12px;}
body.nj-proto-category .nj-cat-crumb span{opacity:.7;margin-right:.3em;}
html body.nj-finish.nj-finish-category.nj-proto-category .deck{width:auto;max-width:none;margin:0;padding:0;display:block;}
html body.nj-finish.nj-finish-category.nj-proto-category .widths-paper{display:block;background:none;box-shadow:none;border:0;padding:0;margin:0;border-radius:0;}
body.nj-proto-category .nj-cat-lead{position:relative;margin:6px 22px 0;aspect-ratio:368/300;transform:rotate(-.6deg);}
body.nj-proto-category .nj-cat-face{position:absolute;inset:0;overflow:hidden;border-radius:10px;background:#222b25;box-shadow:var(--mist-shadow);}
body.nj-proto-category .nj-cat-face::after{content:'';position:absolute;inset:0;z-index:5;border-radius:inherit;border:1px solid var(--mist-line);box-shadow:inset 0 0 0 1px #0c14146b;pointer-events:none;}
body.nj-proto-category .nj-cat-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;filter:saturate(.68) brightness(.86) contrast(1.04);}
body.nj-proto-pattern .nj-cat-image{object-fit:cover;filter:none;opacity:.9;}
body.nj-proto-category .nj-cat-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(#12212414 0%,#15262300 28%,#151f1c1a 40%,#192521c0 62%,#222b25 92%);}
body.nj-proto-category .nj-cat-grain{position:absolute;inset:0;z-index:3;opacity:.13;mix-blend-mode:soft-light;background:url(source/assets/mist-cards/grain.svg);}
body.nj-proto-category .drawing{position:absolute;inset:-14px -10px;width:calc(100% + 20px);height:calc(100% + 28px);z-index:6;fill:none;stroke:#a5a991;stroke-width:1;pointer-events:none;filter:drop-shadow(0 1px 1px #101c1b66);}
body.nj-proto-category .drawing .trace-0{stroke-width:.7;opacity:.7;}body.nj-proto-category .drawing .trace-1{stroke-width:.5;opacity:.44;}body.nj-proto-category .drawing .trace-2{stroke-width:.7;opacity:.74;}body.nj-proto-category .drawing .trace-3{stroke-width:.5;opacity:.55;}
body.nj-proto-category .nj-cat-label{position:absolute;inset:auto 18px 20px;z-index:7;text-align:center;text-shadow:0 1px 5px #16201cd9;}
body.nj-proto-category .nj-cat-label h1{margin:0;font:500 25px/1.4 var(--mincho);letter-spacing:.08em;color:var(--mist-ink);}
body.nj-proto-category .nj-cat-english{display:block;margin-top:4px;font:9px Georgia,serif;letter-spacing:.19em;text-transform:uppercase;color:var(--mist-ink-2);opacity:.8;}
body.nj-proto-category .nj-cat-term{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:var(--mist-ink-2);}
body.nj-proto-category .nj-cat-desc{margin:12px auto 0;max-width:21em;font-size:12px;line-height:1.75;color:var(--mist-ink-2);}
body.nj-proto-category .nj-cat-desc p{margin:0;}
body.nj-proto-category .nj-cat-links{margin:16px 22px 0;font-size:12px;line-height:1.8;color:var(--mist-ink);}
body.nj-proto-category .nj-cat-links:not(:has(a)){display:none;}
body.nj-proto-category .nj-cat-links:has(a){padding:10px 12px;background:#1c2624e8;border:1px solid #a8ac9940;border-radius:4px;}
body.nj-proto-category .nj-cat-links p{margin:0;}
body.nj-proto-category .nj-cat-links nav{display:flex;flex-wrap:wrap;gap:6px 16px;}
body.nj-proto-category .nj-cat-links a{color:inherit;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index{position:relative;inset:auto;width:auto;margin:34px 22px 0;padding:0;background:none;box-shadow:none;border:0;border-radius:4px;color:var(--mist-ink);}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index .index-inner{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;border:0;}
html body.nj-finish.nj-finish-category.nj-proto-category .find{display:flex;align-items:center;gap:10px;width:100%;height:48px;padding:0 14px;border-radius:4px;background:#1c2624c7;border:1px solid #a8ac9940;backdrop-filter:blur(6px);}
body.nj-proto-category .find svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--mist-ink-2);stroke-width:1.6;}
html body.nj-finish.nj-finish-category.nj-proto-category .find input{flex:1;min-width:0;width:auto;height:46px;padding:0;border:0;background:none;outline:none;color:var(--mist-ink);font:15px var(--sans);}
body.nj-proto-category .find input::placeholder{color:#aeb3a3;}
body.nj-proto-category .find:focus-within{border-color:#e3e1d3b0;box-shadow:0 0 0 1px #e3e1d380;}
body.nj-proto-category .result-total{font-size:12px;color:var(--mist-ink-2);white-space:nowrap;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index .nj-category-filter-group{display:none;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index.open .nj-category-filter-group{display:block;flex-basis:100%;}
body.nj-proto-category .nj-category-filter-group h2{margin:0 0 6px;font:500 14px var(--mincho);color:var(--mist-ink);}
body.nj-proto-category .nj-category-filter-group ul{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;margin:0;padding:0;}
body.nj-proto-category .nj-category-filter-group li{margin:0;padding:0;}
body.nj-proto-category button{font-family:var(--sans);color:inherit;cursor:pointer;}
body.nj-proto-category .nj-category-filter-group button{padding:6px 8px;background:#1c2624c7;border:1px solid #a8ac9940;border-radius:4px;font-size:12px;}
body.nj-proto-category .nj-category-filter-group button[aria-pressed=true]{border-color:var(--mist-ink);}
body.nj-proto-category .filter-count{margin-left:5px;color:var(--mist-ink-2);}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-toggle{display:block;min-height:36px;padding:8px 12px;background:#1c2624e8;border:1px solid #a8ac9940;border-radius:4px;color:var(--mist-ink);font-size:12px;}
body.nj-proto-category .active-filters{margin:0;font-size:12px;}
body.nj-proto-category .clear{padding:0;background:none;border:0;font-size:12px;}
body.nj-proto-category #reset{min-height:36px;padding:8px 12px;background:#1c2624e8;border:1px solid #a8ac9940;border-radius:4px;color:var(--mist-ink);font-size:12px;}
html body.nj-finish.nj-finish-category.nj-proto-category .hybrid-body,html body.nj-finish.nj-finish-category.nj-proto-category .hybrid-results{display:block;width:auto;max-width:none;padding:0;margin:0;background:none;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px;margin:30px 0 0;padding:0 22px 68px;align-items:stretch;background:none;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card{--offset:0px;--tilt:-.5deg;width:100%;min-width:0;margin:0;grid-column:auto;rotate:0;transform:translateY(var(--offset)) rotate(var(--tilt));}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card:nth-of-type(2n){--offset:28px;--tilt:.45deg;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card:nth-of-type(3n){--tilt:.2deg;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card:nth-of-type(5n+1){--tilt:-.25deg;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card:active{transform:translateY(calc(var(--offset) + 2px)) rotate(0);}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .row-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .fold-toggle{grid-column:1/-1;justify-self:center;margin-top:28px;padding:10px 14px;background:#1c2624c7;border:1px solid #a8ac9940;border-radius:4px;font-size:12px;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .empty{grid-column:1/-1;font-size:13px;}
html body.nj-finish.nj-finish-category.nj-proto-category [hidden],html body.nj-finish.nj-finish-category.nj-proto-category [data-folded]{display:none!important;}
/* 2026-11-25 list card redesign, variant 1 "framed print" (owner-approved):
   category list cards are a translucent paper card with a fixed 4:3 window.
   The photo fills the window (cover — cropped to the unified 4:3 frame,
   centered; no melt mask), so every photo renders at the same size. The
   contain/mat version scattered the rendered photo sizes by aspect, which
   the owner rejected (2026-11-25 follow-up: unify sizes, text and captions). The platform name moves
   off the photo into the text area above the title (design book §4: nothing
   over the photo), and the date row anchors to the bottom so rows align.
   Applies to every proto-category list, game included: the navy --tag tint
   and the old game image exception are retired for list cards. The shared
   melt base in cards.css still serves the article next-read cards. */
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards>a.nj-melt-card{--ink:#1f2e27;--ink2:#4f5d55;--rule:#cfd5c6;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;padding:8px 8px 14px;background:rgba(248,247,241,.93);border:1px solid rgba(31,43,37,.20);border-radius:2px;color:var(--ink);box-shadow:inset 0 0 0 3px rgba(248,247,241,.45),inset 0 0 0 4px rgba(31,43,37,.12),0 18px 30px -16px rgba(10,16,18,.6);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-face{position:relative;inset:auto;z-index:auto;flex:none;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;border-radius:0;background:#e9ebe1;box-shadow:none}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-face:after{display:none}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%!important;-webkit-mask-image:none;mask-image:none}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-paper .nj-melt-face{background:#e4e9dc}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-paper .nj-melt-face:before{-webkit-mask-image:none;mask-image:none;filter:invert(1) grayscale(1);mix-blend-mode:multiply;opacity:.55}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-platform{position:static;order:2;max-width:none;margin:11px 4px 0;padding:0;background:none;border:0;border-radius:0;font:700 10.5px/1.4 var(--sans);letter-spacing:.12em;color:var(--ink2)}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-label{order:3;flex:1;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:2px 4px 0;min-width:0}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-name{margin:0 0 9px;font:600 15px/1.5 var(--mincho,"Shippori Mincho B1","Yu Mincho",serif);letter-spacing:.03em;color:var(--ink);word-break:auto-phrase;text-wrap:pretty}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-name.is-long{font-size:14px;line-height:1.5;letter-spacing:.03em}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-name:last-child{margin-bottom:0}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-sub{margin-top:-5px;margin-bottom:9px;font-size:12px;line-height:1.55;color:var(--ink2);word-break:auto-phrase}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-when{justify-content:flex-start;margin-top:auto;padding-top:7px;border-top:1px solid var(--rule);font-size:12px;color:var(--ink)}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-when b{font-weight:700;font-size:11px;letter-spacing:.1em;color:var(--ink2)}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards .nj-melt-card:focus-visible{outline:2px solid #e9ede2;outline-offset:4px;border-radius:2px}
body.nj-proto-category .sheet-head,body.nj-proto-category .sheet-foot{display:none;}
body.nj-proto-category .sheet-backdrop{position:fixed;inset:0;z-index:80;background:#080e10a8;}
body.nj-proto-category.sheet-open{overflow:hidden;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index.as-sheet{position:fixed;inset:auto 0 0;z-index:90;max-height:85svh;overflow:auto;margin:0;padding:20px 22px;background:#1f2b25;border-radius:4px 4px 0 0;}
body.nj-proto-category .nj-category-index.as-sheet .sheet-head,body.nj-proto-category .nj-category-index.as-sheet .sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}
body.nj-proto-category .nj-category-index.as-sheet .sheet-foot{margin:18px 0 0;}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index.as-sheet .nj-category-toggle{display:none;}
body.nj-proto-category .sheet-x,body.nj-proto-category .sheet-done,body.nj-proto-category .dock-open{padding:9px 12px;background:#1c2624;border:1px solid #a8ac9950;border-radius:4px;}
body.nj-proto-category .dock{position:fixed;inset:auto 0 0;z-index:70;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 22px;background:#1f2b25f0;font-size:12px;}
body.nj-proto-category .nj-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;box-shadow:none;}
body.nj-proto-category .nj-skip:focus{position:fixed;top:12px;left:12px;z-index:100;padding:10px 14px;background:var(--mist-ink);color:#1f2b25;border-radius:4px;}
body.nj-proto-category .colophon{padding-inline:22px;}
@media(min-width:760px){
 html body.nj-finish.nj-finish-category.nj-proto-category .deck{width:min(800px,calc(100% - 48px));margin-inline:auto;}
 body.nj-proto-category .nj-cat-lead{width:min(540px,100%);margin-inline:auto;}
 html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards{grid-template-columns:repeat(3,minmax(0,1fr));padding-inline:0;}
 html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index{margin-inline:0;}
 body.nj-proto-category .nj-cat-links{margin-inline:0;}
 body.nj-proto-category .dock{display:none;}
}
@media(min-width:1100px){
 html body.nj-finish.nj-finish-category.nj-proto-category .deck{width:min(1120px,calc(100% - 64px));}
 html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;}
}
@media(prefers-reduced-motion:reduce){body.nj-proto-category .nj-melt-card{transition:none!important;}}
/* Existing utility pages keep the shared paper and ink tokens. */
body.nj-visual.nj-utility{font-family:var(--sans);color:var(--ink);}
body.nj-visual.nj-utility :is(.book,.nj-paper,.index,.list){background:var(--paper);color:var(--ink);}
body.nj-visual.nj-utility :is(input,button,select){font-family:var(--sans);color:inherit;}
body.nj-visual.nj-utility :is(h1,h2,.name){font-family:var(--mincho);}
body.nj-visual.nj-utility :is(.desc,.note,.meta,.record){color:var(--ink-2);}
body.nj-visual.nj-utility :is(.group-title,.entry,.index,.index ul){border-color:var(--rule);}
body.nj-visual .colophon .cats .current{display:inline-flex;font-weight:700;padding:6px 0;}

/* Unmapped terms retain the neutral footer without inventing a photo record. */
body.nj-proto-category .nj-neutral-footer{margin-top:56px;padding:32px 22px;background:linear-gradient(#0d1c1700,#0d1c17bd);color:var(--mist-ink);font-size:13px;line-height:1.8;}
body.nj-proto-category .nj-neutral-footer nav{display:grid;gap:0;margin-bottom:20px;}
body.nj-proto-category .nj-neutral-footer a{display:block;padding:10px 0;min-height:44px;border-bottom:1px solid #e9ede22e;color:inherit;text-decoration:none;}
body.nj-proto-category .nj-neutral-footer a:hover{text-decoration:underline;}

/* 2026-11-25 owner flag: filter block floated on the veil and washed out on
   bright parts of the backdrop. Give the whole index one dark panel surface
   (same material as the mobile sheet) so it reads as a single block. */
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index{background:#1c2624e8;border:1px solid #a8ac9940;border-radius:6px;padding:16px 18px;box-shadow:0 18px 40px -18px #10191da8;backdrop-filter:blur(6px);}
html body.nj-finish.nj-finish-category.nj-proto-category .nj-category-index .nj-category-filter-group button{background:#2a3833d9;}
