/* Reader votes (owner 2026-11-04): 欲しい！ / やった / おすすめ with counts, and the device's 欲しいリスト ([nuruma_want_list]). Loaded only where they render
 * (Nuruma_Reader_Votes::enqueue). Owner rework 2026-11-04: the three buttons are one family - the same rounded shape, unpressed an outline (white on the dark
 * work-info head and the review hero, grey on white grounds), pressed filled with the button's own colour (欲しい rose, やった green, おすすめ amber) in white
 * ink, so the state reads from colour alone; a small bounce on press. Not the award / owner-mark cards (no gold, no indigo, no emblem disc). 44px tap targets;
 * counts sit in reserved space so filling them never moves anything. Own ink everywhere: the work-info head paints its descendants white (nuruma-ui.css excludes
 * .nrm-votes). Doubled classes outweigh the theme's `.content button / p` rules. */
.nrm-votes { --nv-ink: #1F1B1E; --nv-sub: #55505A; --nv-line: #B9B1B8; --nv-bg: #FFFFFF; --nv-hover: #F7F2F4; --nv-shadow: 0 2px 6px -2px rgba(0, 0, 0, .22); --nv-tap: var(--nu-tap, 44px); }
.nrm-votes.nrm-votes { display: block; margin: 14px 0 16px; padding: 0; border: 0; background: none; font-family: var(--nu-font, inherit); line-height: 1.3; color: var(--nv-ink); }
.nrm-votes.nrm-votes [hidden] { display: none !important; }
.nrm-votes.nrm-votes .nrm-votes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.nrm-votes.nrm-votes .nrm-vote { -webkit-appearance: none; appearance: none; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: var(--nv-tap); margin: 0; padding: 0 12px; border: 2px solid var(--nv-line); border-radius: 999px; background: var(--nv-bg); box-shadow: var(--nv-shadow); color: var(--nv-ink); box-shadow: none; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; text-decoration: none; text-shadow: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .14s ease, border-color .14s ease, color .14s ease; }
.nrm-votes.nrm-votes .nrm-vote > * { color: inherit; }
.nrm-votes.nrm-votes .nrm-vote__ic { flex: 0 0 auto; display: block; width: 18px; height: 18px; color: inherit; }
.nrm-votes.nrm-votes .nrm-vote__ic .nrm-vote__o { fill: none; }
.nrm-votes.nrm-votes .nrm-vote__t { color: inherit; }
/* the count: shown from 1 (never 0 / ―), in a reserved width (tabular figures); a quiet skeleton only until the numbers arrive (data-ready) */
.nrm-votes.nrm-votes .nrm-vote__n { display: inline-block; min-width: 4.5ch; color: inherit; font-variant-numeric: tabular-nums; font-weight: 700; text-align: left; opacity: .92; }
.nrm-votes.nrm-votes .nrm-vote.is-rec .nrm-vote__n { min-width: 4.5ch; }
.nrm-votes.nrm-votes:not([data-ready]) .nrm-vote__n:empty::before { content: ""; display: inline-block; width: 2.2ch; height: .8em; border-radius: 4px; background: currentColor; opacity: .2; vertical-align: -1px; }
.nrm-votes.nrm-votes .nrm-vote.is-want { --nv-a: #ff8a6b; --nv-b: #e8524a; } /* coral: apart from the owner's wine-rose お気に入り */
.nrm-votes.nrm-votes .nrm-vote.is-played { --nv-a: #2bb3a6; --nv-b: #13807a; } /* teal */
.nrm-votes.nrm-votes .nrm-vote.is-rec { --nv-a: #3a7fd5; --nv-b: #1b4f9c; } /* a deeper blue (owner 2026-11-05; the Steam-like recommend blue): amber read too close to the coral 欲しい */
@media (hover: hover) { .nrm-votes.nrm-votes .nrm-vote:not([aria-disabled="true"]):not([aria-pressed="true"]):hover { background: var(--nv-hover); transform: translateY(-1px); } }
.nrm-votes.nrm-votes .nrm-vote:not([aria-disabled="true"]):active { transform: scale(.96); }
.nrm-votes.nrm-votes .nrm-vote:focus-visible { outline: 3px solid var(--nv-b); outline-offset: 2px; }
/* pressed: filled with the button's own colour, white ink; the icon filled white with its mark cut out in the deeper colour */
.nrm-votes.nrm-votes .nrm-vote[aria-pressed="true"] { border-color: var(--nv-b); background: var(--nv-b) linear-gradient(160deg, var(--nv-a), var(--nv-b)); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .22); box-shadow: 0 6px 16px -8px var(--nv-b); }
.nrm-votes.nrm-votes .nrm-vote[aria-pressed="true"] .nrm-vote__ic .nrm-vote__o { fill: currentColor; }
.nrm-votes.nrm-votes .nrm-vote[aria-pressed="true"] .nrm-vote__ic .nrm-vote__m { stroke: var(--nv-b); }
.nrm-votes.nrm-votes .nrm-vote[aria-pressed="true"] .nrm-vote__n { opacity: 1; }
/* not available (おすすめ before this device pressed やった; やった before a known release date): dimmed and dashed, still focusable so its hint is read */
.nrm-votes.nrm-votes .nrm-vote[aria-disabled="true"] { border-style: dashed; cursor: not-allowed; opacity: .5; box-shadow: none; }
.nrm-votes.nrm-votes .nrm-vote.is-busy { cursor: progress; }
/* the press: .94 -> 1.06 -> 1 in about 220ms (none with reduced motion) */
@keyframes nrm-vote-bounce { 0% { transform: scale(.94); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
.nrm-votes.nrm-votes .nrm-vote.is-bounce { animation: nrm-vote-bounce .22s cubic-bezier(.2, .8, .2, 1); }
.nrm-votes.nrm-votes .nrm-votes__note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 1.6em; margin: 6px 2px 0; padding: 0; border: 0; background: none; color: var(--nv-sub); font-size: 12.5px; line-height: 1.6; }
.nrm-votes.nrm-votes .nrm-votes__rate { color: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.nrm-votes.nrm-votes .nrm-votes__rate:empty { display: none; }
.nrm-votes.nrm-votes .nrm-votes__hint { color: inherit; transition: color .2s ease; }
.nrm-votes.nrm-votes .nrm-votes__hint.is-flash { color: #e8524a; font-weight: 700; }
.nrm-votes.nrm-votes .nrm-votes__head { margin: 0 2px 6px; padding: 0; border: 0; background: none; color: var(--nv-sub); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.nrm-votes.nrm-votes .nrm-votes__head::before, .nrm-votes.nrm-votes .nrm-votes__head::after { content: none; display: none; }
/* the invitation / thank-you, in the same reserved line as the rate and the hints, with the way to the want list after 欲しい！ */
.nrm-votes.nrm-votes .nrm-votes__join { color: inherit; opacity: .9; }
.nrm-votes.nrm-votes a.nrm-votes__wl { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.nrm-votes.nrm-votes a.nrm-votes__wl:hover { color: var(--nv-ink); }
/* the compact button's note after 欲しい！: over the row (absolute: nothing moves), gone after about 4 s */
.nrm-votes.nrm-votes.is-compact { position: relative; }
.nrm-votes.nrm-votes .nrm-votes__toast { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 6px); padding: 6px 12px; border-radius: 10px; background: #1F1B1E; color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; animation: nrm-vote-toast 4s ease forwards; }
.nrm-votes.nrm-votes .nrm-votes__toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@keyframes nrm-vote-toast { 0% { opacity: 0; transform: translateY(4px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.nrm-votes.nrm-votes .nrm-votes__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* a narrow row (a phone, the review hero's text column): three equal tiles - icon, words, count stacked - in the same rounded family */
.nrm-votes.nrm-votes.is-full { container-type: inline-size; width: 100%; max-width: 560px; }
@container (max-width: 439px) {
	.nrm-votes.nrm-votes.is-full .nrm-votes__row { gap: 6px; }
	.nrm-votes.nrm-votes.is-full .nrm-vote { flex-direction: column; gap: 2px; min-height: 66px; padding: 7px 2px 6px; border-radius: 18px; font-size: 13px; }
	.nrm-votes.nrm-votes.is-full .nrm-vote__n, .nrm-votes.nrm-votes.is-full .nrm-vote.is-rec .nrm-vote__n { min-width: 0; min-height: 1.3em; font-size: 13px; text-align: center; }
	.nrm-votes.nrm-votes.is-full .nrm-vote__ic { width: 20px; height: 20px; }
}

/* on the dark work-info head / the coloured review hero: unpressed = a white 1.5px outline on the ground, white icon and words */
.nrm-votes.nrm-votes.is-ondark { --nv-ink: #fff; --nv-sub: rgba(255, 255, 255, .82); --nv-line: rgba(255, 255, 255, .85); --nv-bg: rgba(255, 255, 255, .14); --nv-hover: rgba(255, 255, 255, .24); --nv-shadow: 0 2px 8px -2px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; }
.nrm-votes.nrm-votes.is-ondark .nrm-vote[aria-pressed="true"] { border-color: rgba(255, 255, 255, .35); }
.nrm-votes.nrm-votes.is-ondark .nrm-vote:focus-visible { outline-color: #fff; }
.nrm-votes.nrm-votes.is-ondark .nrm-votes__hint.is-flash { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* compact (the month list, the want list): 欲しい！ alone, a smaller pill on a pointer device, 44px on touch */
.nrm-votes.nrm-votes.is-compact { display: inline-flex; margin: 4px 0 0; }
.nrm-votes.nrm-votes.is-compact .nrm-vote { min-height: 36px; padding: 0 12px 0 10px; font-size: 13px; }
@media (pointer: coarse), (max-width: 767px) { .nrm-votes.nrm-votes.is-compact .nrm-vote { min-height: var(--nv-tap); } }

@media (prefers-reduced-motion: reduce) { .nrm-votes.nrm-votes .nrm-vote { transition: none; } .nrm-votes.nrm-votes .nrm-vote.is-bounce { animation: none; } .nrm-votes.nrm-votes .nrm-votes__toast { animation: none; } }
@media (forced-colors: active) { .nrm-votes.nrm-votes .nrm-vote { border: 1px solid ButtonText; } .nrm-votes.nrm-votes .nrm-vote[aria-pressed="true"] { border: 3px solid Highlight; } }

/* the want list ([nuruma_want_list]) */
.nrm-wl.nrm-wl { margin: 16px 0; }
.nrm-wl.nrm-wl .nrm-wl__state, .nrm-wl.nrm-wl .nrm-wl__empty p { margin: 0; padding: 20px 16px; border: 1px dashed var(--nu-line-strong, #8C8693); border-radius: var(--nu-r-l, 12px); background: var(--nu-surface, #fff); color: var(--nu-sub, #55505A); font-size: 15px; line-height: 1.7; text-align: center; }
.nrm-wl.nrm-wl .nrm-wl__state.is-count { padding: 0 2px 10px; border: 0; background: none; font-size: 13px; text-align: left; }
.nrm-wl.nrm-wl .nrm-wl__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nrm-wl.nrm-wl .nrm-wl__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin: 0; padding: 12px; border: 1px solid var(--nu-line, #E6DADF); border-radius: var(--nu-r-l, 12px); background: var(--nu-surface, #fff); box-shadow: var(--nu-shadow, none); list-style: none; }
.nrm-wl.nrm-wl .nrm-wl__item::before { content: none; display: none; }
.nrm-wl.nrm-wl .nrm-wl__item.is-removed { opacity: .55; }
.nrm-wl.nrm-wl .nrm-wl__pic { grid-row: span 3; display: flex; align-items: center; justify-content: center; width: 64px; height: 88px; overflow: hidden; border-radius: 6px; background: var(--nu-bg, #FDF8F9); color: var(--nu-muted, #645E68); font-size: 11px; text-align: center; text-decoration: none; }
.nrm-wl.nrm-wl .nrm-wl__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nrm-wl.nrm-wl .nrm-wl__t { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; }
.nrm-wl.nrm-wl .nrm-wl__t a { color: var(--nu-text, #1F1B1E); text-decoration: underline; text-decoration-color: rgba(31, 27, 30, .25); text-underline-offset: 3px; }
.nrm-wl.nrm-wl .nrm-wl__m { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0; color: var(--nu-sub, #55505A); font-size: 13px; }
.nrm-wl.nrm-wl .nrm-wl__soon { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #C2364E; color: #fff; font-size: 12px; font-weight: 700; }
.nrm-wl.nrm-wl .nrm-wl__item .nrm-votes.is-compact { margin: 2px 0 0; }
.nrm-wl.nrm-wl .nrm-wl__note { margin: 10px 2px 0; color: var(--nu-muted, #645E68); font-size: 12px; }
@media (min-width: 700px) { .nrm-wl.nrm-wl .nrm-wl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
