/* Hamu Community — uses theme tokens when present (hamu-nest), with fallbacks. */
:root {
	--hc-bg: var(--c-bg, #fffbf4);
	--hc-surface: var(--c-surface, #fff);
	--hc-text: var(--c-text, #3a2e27);
	--hc-muted: var(--c-muted, #7a6a5f);
	--hc-line: var(--c-line, #efe3d3);
	--hc-primary: var(--c-primary, #d96f22);
	--hc-primary-ink: var(--c-primary-ink, #fff);
	--hc-primary-soft: var(--c-primary-soft, #fff0e0);
	--hc-accent: var(--c-accent, #3f8f63);
	--hc-accent-soft: var(--c-accent-soft, #e6f4ea);
	--hc-danger: var(--c-danger, #c0392b);
	--hc-warn: #fff6d6;
	--hc-radius: var(--radius, 14px);
	--hc-shadow: var(--shadow, 0 1px 2px rgba(80, 50, 20, .06), 0 4px 16px rgba(80, 50, 20, .06));
}

.hamu-main { max-width: 960px; margin: 0 auto; padding: 16px; }
.hamu-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Notices */
.hamu-notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: .95rem; line-height: 1.6; }
.hamu-notice ul { margin: 0; padding-left: 1.2em; }
.hamu-notice--ok { background: var(--hc-accent-soft); color: #1f5a3a; }
.hamu-notice--warn { background: var(--hc-warn); color: #6b5300; }
.hamu-notice--error { background: #fdecea; color: #8a241a; }

/* Buttons */
.hamu-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--hc-line); background: var(--hc-surface); color: var(--hc-text); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; font-family: inherit; }
.hamu-btn:hover { border-color: var(--hc-primary); color: var(--hc-primary); }
.hamu-btn:active { transform: translateY(1px); }
.hamu-btn--primary { background: var(--hc-primary); border-color: var(--hc-primary); color: var(--hc-primary-ink); }
.hamu-btn--primary:hover { filter: brightness(.95); color: var(--hc-primary-ink); }
.hamu-btn--danger { background: var(--hc-danger); border-color: var(--hc-danger); color: #fff; }
.hamu-btn--block { display: flex; width: 100%; }
.hamu-link-btn { background: none; border: 0; padding: 4px 6px; color: var(--hc-muted); font-size: .85rem; cursor: pointer; text-decoration: none; font-family: inherit; border-radius: 6px; }
.hamu-link-btn:hover { color: var(--hc-primary); background: var(--hc-primary-soft); }
.hamu-link-btn--danger:hover { color: var(--hc-danger); background: #fdecea; }
.hamu-link-btn--accent { color: var(--hc-accent); font-weight: 700; }
.hamu-inline-form { display: inline; margin: 0; }
.hamu-more { font-size: .9rem; font-weight: 700; color: var(--hc-primary); text-decoration: none; }
.hamu-more::after { content: " ›"; }

/* Crumbs */
.hamu-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; font-size: .8rem; color: var(--hc-muted); }
.hamu-crumbs li + li::before { content: "›"; margin-right: 4px; }
.hamu-crumbs a { color: inherit; }

/* Hero */
.hamu-hero { display: grid; gap: 16px; padding: 24px; border-radius: calc(var(--hc-radius) + 6px); background: radial-gradient(circle at 90% 10%, #ffe2c2 0, transparent 45%), linear-gradient(135deg, #fff4e6, #fffaf2); border: 1px solid var(--hc-line); margin-bottom: 20px; }
.hamu-hero__eyebrow { margin: 0; font-size: .8rem; font-weight: 700; color: var(--hc-primary); letter-spacing: .08em; }
.hamu-hero__title { margin: 4px 0 8px; font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; }
.hamu-hero__lead { margin: 0; color: var(--hc-muted); line-height: 1.8; }
.hamu-hero__stats { list-style: none; display: flex; gap: 20px; padding: 0; margin: 14px 0 0; font-size: .8rem; color: var(--hc-muted); }
.hamu-hero__stats strong { display: block; font-size: 1.3rem; color: var(--hc-text); }
.hamu-hero__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hamu-hero__note { margin: 0; font-size: .85rem; color: var(--hc-muted); }
@media (min-width: 720px) { .hamu-hero { grid-template-columns: 1fr auto; align-items: end; padding: 32px; } .hamu-hero__actions { align-items: flex-end; } }

/* Forum bar */
.hamu-forum-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.hamu-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hamu-tabs__item { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--hc-muted); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.hamu-tabs__item:hover { color: var(--hc-text); background: var(--hc-primary-soft); }
.hamu-tabs__item.is-active { background: var(--hc-text); color: #fff; }
.hamu-tabs--line { border-bottom: 1px solid var(--hc-line); margin: 16px 0; border-radius: 0; }
.hamu-tabs--line .hamu-tabs__item { border-radius: 0; border-bottom: 3px solid transparent; }
.hamu-tabs--line .hamu-tabs__item.is-active { background: none; color: var(--hc-text); border-bottom-color: var(--hc-primary); }
.hamu-search { display: flex; flex: 1 1 220px; max-width: 320px; background: var(--hc-surface); border: 1.5px solid var(--hc-line); border-radius: 999px; overflow: hidden; }
.hamu-search input { flex: 1; border: 0; padding: 8px 14px; font: inherit; background: transparent; min-width: 0; }
.hamu-search input:focus { outline: none; }
.hamu-search:focus-within { border-color: var(--hc-primary); }
.hamu-search button { border: 0; background: none; padding: 0 12px; color: var(--hc-muted); cursor: pointer; }

/* Sections */
.hamu-section { margin: 28px 0; }
.hamu-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.hamu-section__title { font-size: 1.15rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.hamu-section__head .hamu-section__title { margin: 0; }
.hamu-count { font-size: .85rem; background: var(--hc-primary-soft); color: var(--hc-primary); padding: 2px 10px; border-radius: 999px; }
.hamu-cols { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .hamu-cols { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; } }
.hamu-empty { color: var(--hc-muted); padding: 20px; text-align: center; background: var(--hc-surface); border: 1px dashed var(--hc-line); border-radius: var(--hc-radius); }

/* Boards */
.hamu-boards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hamu-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hamu-boards__ad { grid-column: 1 / -1; }
.hamu-board__link { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); text-decoration: none; color: inherit; height: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.hamu-board__link:hover { border-color: var(--hc-primary); box-shadow: var(--hc-shadow); }
.hamu-board__icon { font-size: 1.6rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--hc-primary-soft); border-radius: 12px; }
.hamu-board.is-readonly .hamu-board__icon { background: var(--hc-accent-soft); }
.hamu-board__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hamu-board__name { font-weight: 800; }
.hamu-board__desc { font-size: .82rem; color: var(--hc-muted); line-height: 1.5; }
.hamu-board__last { font-size: .78rem; color: var(--hc-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hamu-board__count { font-size: .75rem; color: var(--hc-muted); text-align: center; flex: none; }
.hamu-board__count strong { display: block; font-size: 1.1rem; color: var(--hc-text); }

/* Topic list */
.hamu-topic-list { list-style: none; margin: 0; padding: 0; background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); overflow: hidden; }
.hamu-topic-list > li + li { border-top: 1px solid var(--hc-line); }
.hamu-topic-list__ad { padding: 12px; }
.hamu-topic-row.is-pinned { background: #fffaf0; }
.hamu-topic-row__link { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; color: inherit; }
.hamu-topic-row__link:hover { background: var(--hc-primary-soft); }
.hamu-topic-row__body { flex: 1; min-width: 0; }
.hamu-topic-row__badges { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 2px; }
.hamu-topic-row__board { font-size: .72rem; color: var(--hc-muted); }
.hamu-topic-row__title { font-size: .98rem; font-weight: 700; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.hamu-ico-photo { font-size: .8rem; margin-left: 4px; }
.hamu-topic-row__meta { display: flex; gap: 10px; font-size: .75rem; color: var(--hc-muted); margin-top: 2px; }
.hamu-topic-row__count { flex: none; text-align: center; font-size: .7rem; color: var(--hc-muted); min-width: 42px; }
.hamu-topic-row__count strong { display: block; font-size: 1.1rem; color: var(--hc-primary); }
.hamu-topic-row__count.is-zero strong { color: var(--hc-muted); }

.hamu-avatar { border-radius: 50%; flex: none; background: #fff6e9; }

/* Badges */
.hamu-badge { display: inline-block; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; line-height: 1.5; }
.hamu-badge--question { background: #e8f1fb; color: #1f5c99; }
.hamu-badge--talk { background: #f3ede7; color: #6b5242; }
.hamu-badge--poll { background: #f3e9fb; color: #6b3d99; }
.hamu-badge--solved { background: var(--hc-accent-soft); color: #1f6a44; }
.hamu-badge--pin { background: var(--hc-primary-soft); color: var(--hc-primary); }
.hamu-badge--op { background: var(--hc-primary-soft); color: var(--hc-primary); }

/* Page head */
.hamu-page-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.hamu-page-head__title { font-size: clamp(1.35rem, 4vw, 1.8rem); margin: 0 0 6px; }
.hamu-page-head__desc { margin: 0; color: var(--hc-muted); font-size: .92rem; line-height: 1.7; max-width: 60ch; }
.hamu-result-count { color: var(--hc-muted); font-size: .9rem; }

/* Topic */
.hamu-topic { background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: calc(var(--hc-radius) + 4px); padding: 20px; margin-bottom: 20px; }
@media (min-width: 720px) { .hamu-topic { padding: 28px 32px; } }
.hamu-topic__title { font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.4; margin: 6px 0 12px; overflow-wrap: anywhere; }
.hamu-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .85rem; color: var(--hc-muted); }
.hamu-byline__user { display: inline-flex; align-items: center; gap: 8px; color: var(--hc-text); font-weight: 700; text-decoration: none; }
.hamu-topic__body { margin: 20px 0; }
.hamu-text { line-height: 1.9; overflow-wrap: anywhere; font-size: 1rem; }
.hamu-text p { margin: 0 0 1em; }
.hamu-text p:last-child { margin-bottom: 0; }
.hamu-quote { color: var(--hc-muted); display: inline-block; border-left: 3px solid var(--hc-line); padding-left: 8px; }
.hamu-anchor { font-weight: 700; color: var(--hc-primary); }
.hamu-topic__foot, .hamu-reply__foot { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: flex-end; border-top: 1px solid var(--hc-line); padding-top: 10px; margin-top: 16px; }

.hamu-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 12px 0; }
.hamu-gallery__item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--hc-bg); }
.hamu-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.hamu-gallery__item:hover img { transform: scale(1.04); }

/* Poll */
.hamu-poll { background: #faf6ff; border-radius: var(--hc-radius); padding: 16px 18px; margin: 16px 0; }
.hamu-poll__title { font-size: 1rem; margin: 0 0 10px; }
.hamu-poll__opt { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fff; border: 1.5px solid #e6dcf3; border-radius: 10px; margin-bottom: 6px; cursor: pointer; }
.hamu-poll__opt:has(input:checked) { border-color: #8a5cc2; }
.hamu-poll__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hamu-poll__results li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .9rem; }
.hamu-poll__results li.is-mine .hamu-poll__label::after { content: "（あなたの投票）"; color: #8a5cc2; font-size: .75rem; }
.hamu-poll__bar { grid-column: 1 / -1; height: 10px; background: #ece4f6; border-radius: 99px; overflow: hidden; order: 3; }
.hamu-poll__bar span { display: block; height: 100%; background: linear-gradient(90deg, #a77bd9, #8a5cc2); border-radius: 99px; }
.hamu-poll__pct { color: var(--hc-muted); font-size: .8rem; }
.hamu-poll__note { font-size: .85rem; margin: 10px 0 0; }

/* Replies */
.hamu-reply-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.hamu-reply { position: relative; background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); padding: 14px 16px; scroll-margin-top: 80px; }
.hamu-reply:target, .hamu-reply.is-flash { box-shadow: 0 0 0 3px var(--hc-primary-soft), 0 0 0 4px var(--hc-primary); }
.hamu-anchor-target { position: absolute; top: -80px; }
.hamu-reply.is-best { border: 2px solid #e5b64a; background: #fffcf1; }
.hamu-reply__best { font-weight: 800; color: #9a6c00; font-size: .85rem; margin-bottom: 6px; }
.hamu-reply.is-deleted .hamu-reply__body { color: var(--hc-muted); font-style: italic; }
.hamu-reply__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .88rem; }
.hamu-reply__no { font-weight: 800; color: var(--hc-muted); font-size: .8rem; }
.hamu-reply__time { color: var(--hc-muted); font-size: .8rem; margin-left: auto; }
.hamu-reply__foot { justify-content: flex-start; padding-top: 8px; margin-top: 10px; }
.hamu-helpful { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--hc-line); background: var(--hc-surface); border-radius: 999px; padding: 4px 12px; font-size: .8rem; cursor: pointer; color: var(--hc-muted); font-family: inherit; margin-right: auto; }
.hamu-helpful:hover { border-color: #e5b64a; }
.hamu-helpful.is-on { background: #fff4d1; border-color: #e5b64a; color: #7a5600; font-weight: 700; }
.hamu-reply-list__ad { list-style: none; }

/* Forms */
.hamu-card { background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: calc(var(--hc-radius) + 4px); padding: 20px; }
@media (min-width: 720px) { .hamu-card { padding: 28px 32px; } }
.hamu-form { display: grid; gap: 16px; }
.hamu-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.hamu-field__label { font-weight: 700; font-size: .9rem; }
.hamu-field__label em { font-style: normal; font-size: .7rem; background: var(--hc-danger); color: #fff; padding: 1px 6px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; }
.hamu-form input[type="text"], .hamu-form input[type="email"], .hamu-form input[type="password"], .hamu-form input[type="search"], .hamu-form input[type="number"], .hamu-form input[type="date"], .hamu-form select, .hamu-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--hc-line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--hc-text); transition: border-color .15s, box-shadow .15s; }
.hamu-form textarea { line-height: 1.7; resize: vertical; }
.hamu-form input:focus, .hamu-form select:focus, .hamu-form textarea:focus { outline: none; border-color: var(--hc-primary); box-shadow: 0 0 0 3px var(--hc-primary-soft); }
.hamu-form__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.hamu-form__hint { font-size: .8rem; color: var(--hc-muted); margin: 0; margin-right: auto; }
.hamu-char { font-size: .75rem; color: var(--hc-muted); text-align: right; }
.hamu-check { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; cursor: pointer; line-height: 1.6; }
.hamu-check input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--hc-primary); }
.hamu-seg { display: inline-flex; background: var(--hc-bg); border: 1.5px solid var(--hc-line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.hamu-seg__item input { position: absolute; opacity: 0; pointer-events: none; }
.hamu-seg__item span { display: block; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--hc-muted); }
.hamu-seg__item input:checked + span { background: var(--hc-surface); color: var(--hc-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.hamu-seg__item input:focus-visible + span { outline: 2px solid var(--hc-primary); }
.hamu-file { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px dashed var(--hc-line); border-radius: 10px; cursor: pointer; font-size: .9rem; color: var(--hc-muted); background: var(--hc-bg); justify-self: start; }
.hamu-file:hover { border-color: var(--hc-primary); color: var(--hc-primary); }
.hamu-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hamu-file:focus-within { outline: 2px solid var(--hc-primary); }
.hamu-file-preview { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 4px 0 0; }
.hamu-file-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.hamu-file-item { position: relative; }
.hamu-file-del { position: absolute; top: -6px; right: -8px; padding: 2px 7px; border: 1px solid var(--hc-line); border-radius: 999px; background: var(--hc-surface); color: var(--hc-muted); font-size: .66rem; line-height: 1.5; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.hamu-file-del:hover, .hamu-file-del:focus-visible { background: var(--hc-danger); border-color: var(--hc-danger); color: #fff; }
.hamu-reply-form { background: var(--hc-surface); border: 2px solid var(--hc-primary-soft); border-radius: var(--hc-radius); padding: 16px; scroll-margin-top: 80px; }
.hamu-reply-form__title { margin: 0; font-size: 1rem; }
.hamu-rules-box { background: var(--hc-bg); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); padding: 14px 18px; font-size: .85rem; line-height: 1.7; margin-top: 16px; }
.hamu-rules-box h3 { margin: 0 0 6px; font-size: .95rem; }
.hamu-rules-box ul { margin: 0 0 6px; padding-left: 1.2em; }
.hamu-rules-box--compact { margin: 0; }

.hamu-cta { text-align: center; background: var(--hc-primary-soft); border-radius: var(--hc-radius); padding: 24px 20px; }
.hamu-cta p { margin: 0 0 14px; line-height: 1.7; }
.hamu-cta__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Auth */
.hamu-auth { max-width: 460px; margin: 16px auto 40px; }
.hamu-auth__title { font-size: 1.5rem; margin: 0 0 12px; text-align: center; }
.hamu-auth__lead { color: var(--hc-muted); font-size: .92rem; line-height: 1.7; margin: 0 0 16px; }
.hamu-auth__switch { text-align: center; font-size: .9rem; margin: 14px 0 0; }
.hamu-auth__done { text-align: center; line-height: 1.8; }
.hamu-auth__big { font-size: 3rem; margin: 0; }
.hamu-sep { border: 0; border-top: 1px solid var(--hc-line); margin: 18px 0 0; }
.hamu-steps { list-style: none; display: flex; padding: 0; margin: 0 0 18px; counter-reset: s; font-size: .75rem; color: var(--hc-muted); }
.hamu-steps li { flex: 1; text-align: center; counter-increment: s; position: relative; }
.hamu-steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 4px; border-radius: 50%; background: var(--hc-line); color: var(--hc-muted); font-weight: 800; }
.hamu-steps li.is-current { color: var(--hc-text); font-weight: 700; }
.hamu-steps li.is-current::before { background: var(--hc-primary); color: #fff; }
.hamu-steps li.is-done::before { content: "✓"; background: var(--hc-accent); color: #fff; }
.hamu-avatar-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.hamu-avatar-pick label { cursor: pointer; }
.hamu-avatar-pick input { position: absolute; opacity: 0; }
.hamu-avatar-pick img { display: block; border-radius: 50%; border: 3px solid transparent; transition: border-color .15s; }
.hamu-avatar-pick input:checked + img { border-color: var(--hc-primary); }
.hamu-avatar-pick input:focus-visible + img { outline: 2px solid var(--hc-primary); }

/* Profile / mypage */
.hamu-profile-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.hamu-profile-head__name { font-size: 1.4rem; margin: 4px 0; }
.hamu-profile-head__meta, .hamu-profile-head__links { margin: 0 0 4px; font-size: .85rem; color: var(--hc-muted); }
.hamu-simple-list { list-style: none; margin: 0; padding: 0; background: var(--hc-surface); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); }
.hamu-simple-list li { padding: 12px 16px; }
.hamu-simple-list li + li { border-top: 1px solid var(--hc-line); }
.hamu-simple-list p { margin: 4px 0; font-size: .9rem; color: var(--hc-muted); }
.hamu-simple-list small { color: var(--hc-muted); }

/* Pager */
.hamu-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.hamu-pager__item { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--hc-line); background: var(--hc-surface); text-decoration: none; color: var(--hc-text); font-weight: 700; }
.hamu-pager__item.is-current { background: var(--hc-text); color: #fff; border-color: var(--hc-text); }
.hamu-pager__gap { align-self: center; color: var(--hc-muted); }

/* Dialogs */
.hamu-dialog { border: 0; border-radius: 18px; padding: 0; max-width: min(440px, calc(100vw - 32px)); width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: var(--hc-text); }
.hamu-dialog::backdrop { background: rgba(40, 25, 15, .5); }
.hamu-dialog form { padding: 20px; display: grid; gap: 12px; }
.hamu-dialog h2 { margin: 0; font-size: 1.1rem; }
.hamu-dialog label.hamu-check { font-size: .9rem; }
.hamu-dialog textarea { width: 100%; box-sizing: border-box; border: 1.5px solid var(--hc-line); border-radius: 10px; padding: 10px; font: inherit; font-size: 16px; }
.hamu-lightbox { background: transparent; box-shadow: none; max-width: 96vw; max-height: 92vh; }
.hamu-lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 10px; display: block; }
.hamu-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.hamu-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--hc-text); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; z-index: 9999; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.hamu-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--hc-danger); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; }
.hamu-badge--staff { background: #3a2e27; color: #fff; margin-left: 6px; vertical-align: 1px; }
.hamu-avatar--photo { object-fit: cover; background: #fff6e9; }
.hamu-photo-pick { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 6px; }
.hamu-photo-pick > div { flex: 1; min-width: 220px; display: grid; gap: 8px; }
