:root {
	--bg: #15120f;
	--surface: #201a16;
	--surface-2: #2a231e;
	--line: #3a3029;
	--text: #f3ece2;
	--muted: #a99d8f;
	--accent: #e07a5f;
	--accent-ink: #1a0f0b;
	--gold: #f2cc8f;
	--radius: 14px;
	--serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wm-wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.wm-main { min-height: 60vh; padding-bottom: 48px; }

/* Header */
.wm-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 18, 15, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wm-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.wm-logo { font-family: var(--serif); font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: .04em; }
.wm-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.wm-nav a { text-decoration: none; color: var(--muted); }
.wm-nav a:hover { color: var(--text); }
.wm-incentive { background: var(--surface-2); border-top: 1px solid var(--line); font-size: .82rem; text-align: center; padding: 6px 12px; color: var(--gold); }
.wm-incentive b { color: var(--text); }
.wm-incentive .wm-level { color: var(--muted); margin-left: .6em; }

/* Type */
.wm-eyebrow { margin: 0 0 4px; font-size: .78rem; letter-spacing: .2em; color: var(--accent); }
.wm-display { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.25; margin: 0 0 12px; }
.wm-h2 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 14px; }
.wm-block { margin-top: 36px; }
.wm-note, .wm-empty { color: var(--muted); font-size: .88rem; }

/* Intro */
.wm-intro { padding: 48px 0 8px; }
.wm-intro__lead { color: var(--muted); max-width: 32em; }
.wm-btn { margin-top: 12px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.wm-listhead { padding: 36px 0 8px; }
.wm-listhead__lead { color: var(--muted); margin: 0; }

/* Chips */
.wm-chip { display: inline-block; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--surface); }
.wm-chip:hover { border-color: var(--accent); }
.wm-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* Grid & card */
.wm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .wm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .wm-grid { grid-template-columns: repeat(4, 1fr); } }
.wm-card { display: block; text-decoration: none; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.wm-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.wm-card__img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--surface-2); }
.wm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.wm-card__vibe { position: absolute; left: 8px; bottom: 8px; background: rgba(21, 18, 15, .85); color: var(--gold); font-size: .72rem; padding: 2px 10px; border-radius: 999px; }
.wm-card__body { display: flex; flex-direction: column; padding: 10px 12px 12px; gap: 2px; }
.wm-card__name { font-weight: 700; line-height: 1.35; }
.wm-card__kana, .wm-card__country { font-size: .78rem; color: var(--muted); }
.wm-initials { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--serif); font-size: 2.4rem; color: var(--gold);
	background: radial-gradient(120% 90% at 20% 10%, #4a3328 0%, transparent 60%), linear-gradient(160deg, #2c221c, #191410); }
.wm-initials--lg { font-size: 4.5rem; }

/* Ranking */
.wm-rankitem { position: relative; }
.wm-rankitem__no { position: absolute; z-index: 2; top: -8px; left: -6px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; }
.wm-rankitem__votes { display: block; text-align: center; font-size: .8rem; color: var(--gold); margin-top: 6px; }

/* Profile hero */
.wm-hero { display: grid; gap: 20px; padding-top: 24px; }
@media (min-width: 760px) { .wm-hero { grid-template-columns: 340px 1fr; align-items: end; gap: 32px; } }
.wm-hero__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); max-width: 420px; }
.wm-hero__img--empty { aspect-ratio: 16 / 9; max-width: none; }
@media (min-width: 760px) { .wm-hero__img--empty { aspect-ratio: 4 / 5; } }
.wm-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.wm-hero__name { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.15; margin: 10px 0 4px; }
.wm-hero__kana { margin: 0; color: var(--muted); font-size: 1.05rem; }
.wm-hero__meta { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.wm-hero__lead { margin: 14px 0 0; }

/* Copy */
.wm-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.wm-copybtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; min-width: 0; }
.wm-copybtn:active { transform: scale(.98); }
.wm-copybtn__label { font-size: .72rem; color: var(--accent); }
.wm-copybtn__val { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-copybtn.is-done { border-style: solid; border-color: var(--gold); }

/* Links */
.wm-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.wm-linkbtn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
.wm-linkbtn small { font-weight: 400; font-size: .7rem; color: var(--gold); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; }
.wm-linkbtn--video { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.wm-links .wm-note { grid-column: 1 / -1; margin: 0; }

/* Vote */
.wm-vote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; }
.wm-vote__help { margin: -6px 0 14px; color: var(--muted); font-size: .88rem; }
.wm-vote__help strong { color: var(--text); }
.wm-vote__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wm-vchip { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; text-align: left; }
.wm-vchip__name { position: relative; z-index: 1; font-size: .92rem; flex: 1; min-width: 0; line-height: 1.35; }
.wm-vchip__count { position: relative; z-index: 1; white-space: nowrap; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.wm-vchip__bar { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(242, 204, 143, .14); transition: width .5s ease; }
.wm-vchip[aria-pressed="true"] { border-color: var(--accent); background: #3a2219; }
.wm-vchip[aria-pressed="true"] .wm-vchip__name::before { content: "✓ "; color: var(--accent); }
.wm-vchip.is-top { border-color: var(--gold); }
.wm-vchip:disabled { opacity: .55; cursor: not-allowed; }
.wm-vote__status { margin: 12px 0 0; font-size: .88rem; color: var(--gold); }
.wm-vote__compare { margin: 8px 0 0; font-size: .92rem; padding: 10px 12px; background: var(--surface-2); border-radius: 10px; }
.wm-vote__compare small { color: var(--muted); display: block; font-size: .75rem; }

/* About */
.wm-about__body p { margin: 0 0 .8em; }

/* Embeds */
.wm-embeds__list { display: grid; gap: 16px; justify-items: center; }
.wm-embeds__list > * { max-width: 100% !important; }

/* Ads */
.wm-ad { position: relative; margin-top: 36px; padding: 18px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.wm-ad__label { position: absolute; top: 4px; left: 10px; font-size: .65rem; color: var(--muted); letter-spacing: .1em; }

/* Toast */
.wm-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: .88rem; font-weight: 700; transition: .25s; z-index: 200; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.wm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Age gate */
.wm-age { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(10, 8, 7, .97); }
.wm-age__box { width: min(100%, 420px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; text-align: center; }
.wm-age__title { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 8px; }
.wm-age__text { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.wm-age__yes { display: block; width: 100%; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 12px; padding: 14px; font-weight: 700; cursor: pointer; }
.wm-age__no { display: block; width: 100%; margin-top: 10px; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--muted); cursor: pointer; }
html.wm-locked, html.wm-locked body { overflow: hidden; }

/* Footer */
.wm-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: .8rem; color: var(--muted); }
.wm-footer__name { font-family: var(--serif); color: var(--text); font-size: 1rem; }
.wm-footer__copy { margin-top: 18px; }

/* Pagination */
.nav-links, .wm-wrap > .page-numbers { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
