/* 百鬼夜行の関所 — style.css（色はCSS変数。差し色＝朱・提灯色の1つ） */
:root {
  --bg: #f2ebdd; --surface: #fffaf0; --surface-2: #efe5d2; --text: #2a211b; --text-sub: #6e6052; --line: #e0d3bb;
  --accent: #c8442f; --accent-ink: #ffffff; --accent-soft: #f8e0d6;
  --paper: #f8eed8; --paper-in: #fffdf6; --ink: #3b2a1e; --ink-sub: #7a6550; --night: #1b2040; --night-2: #2d2352;
  --ok: #2f7a55; --ng: #c8352c; --lamp: #ffb45e;
  --desk: #8a5f3e; --desk-2: #7a5235;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10132a; --surface: #191d38; --surface-2: #232849; --text: #f1ece4; --text-sub: #b0a9b8; --line: #2f3456;
    --accent: #ff9b5e; --accent-ink: #1a1020; --accent-soft: #3a2630;
    --night: #0c0f22; --night-2: #1d1838; --desk: #4a3426; --desk-2: #3d2b20; --ok: #3f9a6c;
  }
}
:root[data-theme="dark"] {
  --bg: #10132a; --surface: #191d38; --surface-2: #232849; --text: #f1ece4; --text-sub: #b0a9b8; --line: #2f3456;
  --accent: #ff9b5e; --accent-ink: #1a1020; --accent-soft: #3a2630;
  --night: #0c0f22; --night-2: #1d1838; --desk: #4a3426; --desk-2: #3d2b20; --ok: #3f9a6c;
}
body { background: var(--bg); }

/* ---------- タイトル ---------- */
.hs-hero { position: relative; height: 210px; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(255, 170, 80, .45), transparent 55%), linear-gradient(#131838, #3b2143); }
.hs-hero-moon { position: absolute; top: 16px; right: 22px; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset -10px -4px 0 0 #f6e3a8; transform: rotate(-20deg); }
.hs-hero-gate { position: absolute; left: 50%; top: 18px; width: 250px; height: 200px; transform: translateX(-50%); }
.hs-roof { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: #b8352a; border-radius: 4px 4px 0 0; box-shadow: 0 9px 0 -3px #8f2a22; }
.hs-post { position: absolute; top: 14px; bottom: 0; width: 14px; background: #a8322a; }
.hs-post.l { left: 30px; } .hs-post.r { right: 30px; }
.hs-hl { position: absolute; top: 26px; animation: hs-sway 3.2s ease-in-out infinite; transform-origin: 50% 0; }
.hs-hl.l { left: 52px; } .hs-hl.r { right: 52px; animation-delay: -1.6s; }
.hs-hl svg { display: block; filter: drop-shadow(0 0 10px rgba(255, 160, 60, .8)); }
@keyframes hs-sway { 50% { transform: rotate(4deg); } }
.hs-hero-row { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: center; gap: 2px; }
.hs-hero-face { width: 82px; display: block; }
.hs-hero-face svg { display: block; width: 100%; height: auto; }
.hs-hero-face.f0 { transform: translateY(6px) rotate(-4deg); } .hs-hero-face.f3 { transform: translateY(6px) rotate(4deg); }
.hs-logo { font-family: var(--font-serif); letter-spacing: .06em; }
.hs-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-daily .mn-daily-num { color: var(--accent); }

/* ---------- 夜のはじめ ---------- */
.hs-intro h2 { font-family: var(--font-serif); font-size: 26px; }
.hs-story { font-family: var(--font-serif); line-height: 1.95; margin: 0 0 .6em; }
.hs-rulecard h3 { font-size: 19px; margin-bottom: 8px; }
.hs-rulelist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hs-rulelist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.hs-ri { flex: none; width: 28px; text-align: center; font-size: 18px; }
.hs-ex { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; padding: 10px; background: var(--paper); border-radius: 12px; color: var(--ink); }
.hs-ex > div { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.hs-ex small { font-size: 12px; font-weight: 700; }
.hs-ex .ng small { color: var(--ng); }
.hs-exface { width: 70px; display: block; } .hs-exface svg { width: 100%; height: auto; display: block; }
.hs-exface.ink { background: #f6ead0; border-radius: 8px; }
.hs-ex2 { margin-top: 10px; padding: 10px 12px; background: var(--paper); color: var(--ink); border-radius: 12px; font-size: 14px; }
.hs-ex2 p { margin: 0 0 4px; }
.hs-shchart { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 10px; padding: 8px; background: #e8dcc0; border-radius: 12px; color: #2a211b; }
.hs-shchart > div { display: flex; flex-direction: column; align-items: center; }
.hs-shmini { width: 100%; max-width: 54px; display: block; } .hs-shmini svg { width: 100%; height: auto; display: block; }
.hs-shchart small { font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center; }

/* ---------- プレイ画面 ---------- */
html.hs-lock, html.hs-lock body { overflow: hidden; overscroll-behavior: none; }
.hs-play [hidden], .hs-say [hidden] { display: none !important; }
.mn-app.hs-on { padding: 0; max-width: 600px; }
.hs-play { position: relative; display: flex; flex-direction: column; height: 680px; background: var(--surface); overflow: hidden; }
@media (min-width: 640px) { .hs-play { border-radius: 0 0 16px 16px; box-shadow: var(--shadow); } }
.hs-hud { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 12px; background: var(--night); color: #fff; font-size: 13px; line-height: 1.2; }
.hs-hud-n { font-family: var(--font-serif); font-size: 15px; white-space: nowrap; }
.hs-clock { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hs-toki { font-weight: 700; font-size: 12px; opacity: .9; }
.hs-tbar { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.hs-tbar i { display: block; height: 100%; width: 0; background: var(--lamp); border-radius: 9px; transition: width .25s linear; }
.hs-money { color: var(--lamp); font-size: 15px; white-space: nowrap; }
.hs-scold { font-size: 11px; letter-spacing: -.02em; white-space: nowrap; opacity: .9; }
.hs-scold.over { color: #ff8f80; opacity: 1; font-weight: 800; }
.hs-hud-btn { flex: none; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; }

.hs-booth { flex: none; position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding: 8px 10px 8px; background: linear-gradient(180deg, var(--night-2), #3a2a52 70%, #4a3048); color: #fff; overflow: hidden; }
.hs-booth.dark { background: linear-gradient(180deg, #0b0c18, #1a1626); }
.hs-win { position: relative; height: 146px; border-radius: 56px 56px 8px 8px; background: radial-gradient(circle at 50% 30%, rgba(255, 180, 94, .55), rgba(255, 180, 94, .08) 60%, transparent 75%), #2a2040; border: 4px solid #7a4a2a; box-shadow: inset 0 0 0 2px #a06a3a; overflow: hidden; transition: transform .45s ease-in, opacity .45s; }
.hs-booth.dark .hs-win { background: radial-gradient(circle at 50% 30%, rgba(255, 180, 94, .18), transparent 70%), #15121f; }
.hs-lamp { position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 16px 6px rgba(255, 170, 80, .6); }
.hs-me { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px 0 0; border: 0; background: transparent; cursor: pointer; display: block; border-radius: 0; }
.hs-me .hs-face { display: block; width: 100%; height: 100%; }
.hs-me .hs-face svg { display: block; width: 100%; height: 100%; }
.hs-me-l { position: absolute; left: 6px; bottom: 4px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 0 6px; border-radius: 6px; }
.hs-me.sel { box-shadow: inset 0 0 0 4px var(--lamp); }
.hs-me.bad { box-shadow: inset 0 0 0 4px #ff6b5a; }
.hs-me.poof .hs-face { animation: hs-poof .6s ease-out; }
@keyframes hs-poof { 0% { filter: brightness(3) blur(4px); transform: scale(.8); } 100% { filter: none; transform: none; } }
.hs-booth.enter .hs-win { animation: hs-enter .45s ease-out; }
@keyframes hs-enter { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.hs-booth.leave-r .hs-win { transform: translateX(130%); opacity: 0; }
.hs-booth.leave-l .hs-win { transform: translateX(-130%); opacity: 0; }

.hs-say { position: relative; background: var(--paper); color: var(--ink); border-radius: 12px; padding: 6px 8px 8px; align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.hs-say::before { content: ''; position: absolute; left: -8px; top: 40px; border: 8px solid transparent; border-right-color: var(--paper); border-left: 0; }
.hs-say-h { display: flex; justify-content: space-between; align-items: center; margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; font-family: var(--font-serif); }
.hs-left { font-family: var(--font); letter-spacing: 0; font-weight: 700; color: var(--ink-sub); font-size: 11px; }
.hs-say-b { display: grid; gap: 6px; flex: 1; align-content: start; }
.hs-reply { position: absolute; inset: 0; z-index: 3; background: #fffdf3; border: 2px solid var(--lamp); border-radius: 12px; padding: 8px 10px; overflow-y: auto; cursor: pointer; animation: mn-pop .3s ease-out; }
.hs-reply p { margin: 0 0 2px; font-weight: 700; font-size: 14px; line-height: 1.55; font-family: var(--font-serif); }
.hs-reply small { color: var(--ink-sub); font-size: 11px; }

.hs-desk { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 10px; display: flex; flex-direction: column; gap: 10px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 46px), linear-gradient(var(--desk), var(--desk-2)); }
.hs-play.dark .hs-desk { filter: brightness(.82); }
.hs-doc { position: relative; flex: none; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 6px 8px 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); border-top: 5px solid #c8352c; }
.hs-doc-inv { border-top-color: #c98a2a; } .hs-doc-bag { border-top-color: #5f7a3a; } .hs-doc-shadow { border-top-color: #3a2d5a; }
.hs-doc-rule { border-top-color: #2f3a6a; background: #f4f1e6; }
.hs-doc.none { opacity: .95; background: #efe4cc; }
.hs-doc-bribe { border-top-color: #b07a2a; background: #fff3d6; }
.hs-bribe { margin: 0; font-weight: 700; font-size: 14px; }
.hs-doc-h { display: flex; align-items: center; gap: 4px; min-height: 30px; margin-bottom: 4px; font-family: var(--font-serif); font-weight: 900; font-size: 14px; letter-spacing: .12em; }
.hs-doc-h > span:first-child { flex: 1; }
.hs-zoom { flex: none; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid #c9b48a; background: #fffaf0; color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: 0; cursor: pointer; font-family: var(--font); }
.hs-doc-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.hs-f { position: relative; min-height: 46px; min-width: 0; padding: 4px 8px; border-radius: 7px; border: 1.5px solid #e2d3b0; background: var(--paper-in); color: var(--ink); text-align: left; display: flex; flex-direction: column; justify-content: center; cursor: pointer; touch-action: manipulation; font: inherit; transition: background .12s, border-color .12s; -webkit-tap-highlight-color: transparent; }
.hs-f small { font-size: 11px; line-height: 1.2; color: var(--ink-sub); font-weight: 700; }
.hs-f b { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.hs-f.wide { grid-column: 1 / -1; }
.hs-f.static { cursor: default; opacity: .8; }
.hs-f:active { transform: scale(.98); }
.hs-f.sel { border-color: var(--accent); background: #fff0e6; box-shadow: 0 0 0 3px rgba(200, 68, 47, .3); }
.hs-f.bad { border-color: #c8352c; background: #ffe2da; }
.hs-f.bad::after { content: '！'; position: absolute; top: -7px; right: -5px; width: 20px; height: 20px; border-radius: 50%; background: #c8352c; color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; line-height: 1; }
.hs-sealf, .hs-facef, .hs-shf { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
.hs-sealf svg { display: block; flex: none; }
.hs-mini { display: block; flex: none; width: 66px; height: 66px; }
.hs-mini svg { width: 100%; height: 100%; display: block; }
.hs-mini.ink { background: #f6ead0; border-radius: 6px; }
.hs-mini.sh { width: 56px; height: 70px; background: #e8dcc0; border-radius: 6px; }
.hs-facef { grid-column: 1 / -1; }
.hs-shf { grid-column: 1 / -1; }
.hs-markbtn { flex: none; width: 44px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1.5px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; opacity: .75; }
.hs-markbtn svg { display: block; }
.hs-markbtn.sel { border-color: var(--accent); opacity: 1; background: #fff0e6; }
.hs-markbtn.bad { border-color: #c8352c; opacity: 1; background: #ffe2da; }

.hs-bar { flex: none; position: relative; padding: 6px 10px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.hs-hint { margin: 0 0 6px; min-height: 18px; font-size: 12.5px; line-height: 1.4; color: var(--text-sub); }
.hs-act0 { display: flex; gap: 8px; }
.hs-act0 > :not([hidden]) { margin-bottom: 8px; }
.hs-ask, .hs-invite { flex: 1; min-height: 48px; font-size: 16px; }
.hs-ask { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hs-invite { background: #6a4a8a; border-color: #6a4a8a; color: #fff; }
.hs-ask.pulse { animation: hs-pulse 1.4s ease-in-out infinite; }
@keyframes hs-pulse { 50% { box-shadow: 0 0 0 6px rgba(200, 68, 47, .25); } }
.hs-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hs-deny, .hs-pass { min-height: 58px; font-size: 19px; font-weight: 900; border-width: 2px; }
.hs-deny { background: var(--surface); border-color: var(--ng); color: var(--ng); }
.hs-deny.hot { background: var(--ng); color: #fff; }
.hs-pass { background: var(--ok); border-color: var(--ok); color: #fff; }
.hs-stampic { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 2px solid currentColor; border-radius: 50%; font-family: var(--font-serif); font-size: 16px; }

.hs-coach { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 8px); z-index: 12; background: #2b2250; color: #fff; border: 2px solid var(--lamp); border-radius: 14px; padding: 10px 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.hs-coach p { margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.hs-coach::after { content: ''; position: absolute; left: 50%; bottom: -10px; margin-left: -9px; border: 9px solid transparent; border-top-color: var(--lamp); border-bottom: 0; }
.hs-coach-ok { margin-top: 8px; min-height: 44px; width: 100%; background: var(--lamp); border-color: var(--lamp); color: #2a1a10; }
.hs-glow { outline: 3px solid var(--lamp) !important; outline-offset: 2px; animation: hs-glow 1.1s ease-in-out infinite; z-index: 2; }
@keyframes hs-glow { 50% { outline-color: rgba(255, 180, 94, .25); } }

.hs-stamp { position: absolute; left: 50%; top: 58%; width: 132px; height: 132px; margin: -66px 0 0 -66px; z-index: 15; display: flex; align-items: center; justify-content: center; border: 7px solid; border-radius: 50%; font: 900 76px/1 var(--font-serif); background: rgba(255, 253, 246, .75); transform: rotate(-12deg); animation: hs-stampin .28s cubic-bezier(.2, 1.6, .4, 1); pointer-events: none; }
.hs-stamp.pass { color: var(--ok); } .hs-stamp.deny { color: var(--ng); }
@keyframes hs-stampin { from { transform: rotate(-12deg) scale(2.2); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.hs-fx { position: absolute; left: 0; right: 0; top: 176px; z-index: 20; display: flex; flex-direction: column; align-items: center; pointer-events: none; padding: 0 12px; }
.hs-flash { margin-top: 6px; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: var(--ok); color: #fff; font-weight: 800; font-size: 14px; text-align: center; line-height: 1.45; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); animation: mn-pop .35s cubic-bezier(.2, 1.6, .4, 1); transition: opacity .35s; }
.hs-flash.big { font-size: 15px; border-radius: 14px; padding: 8px 16px; }
.hs-flash.bad { background: var(--ng); } .hs-flash.warn { background: #a8701e; }
.hs-flash.out { opacity: 0; }
.hs-bell { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(12, 14, 34, .82); color: #fff; text-align: center; padding: 20px; animation: mn-in .4s ease-out; }
.hs-bell b { font-size: 22px; font-family: var(--font-serif); }

/* モーダル */
.hs-cmpgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; }
.hs-cmp { display: block; width: 100%; max-width: 170px; margin: 0 auto; background: #f3ead6; border-radius: 12px; }
.hs-cmp svg { display: block; width: 100%; height: auto; }
.hs-cmp.ink { background: #f6ead0; }
.hs-cmp.sh { background: #e8dcc0; max-width: 140px; }
.hs-cmpsp { font-size: 28px; font-weight: 900; margin: 30px 0 8px; font-family: var(--font-serif); }
.hs-talkface { width: 110px; margin: 0 auto; } .hs-talkface svg { width: 100%; height: auto; display: block; }
.hs-ohagi { font-size: 54px; line-height: 1; }

/* 夜の締め */
.hs-sumgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-sumgrid > div { background: var(--surface-2); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; }
.hs-sumgrid small { color: var(--text-sub); font-size: 12px; font-weight: 700; }
.hs-sumgrid b { font-size: 24px; line-height: 1.25; }
.hs-sumgrid b.acc { color: var(--accent); }
.hs-buy { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; min-height: 64px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; }
.hs-buy b { display: block; } .hs-buy small { display: block; font-size: 12px; color: var(--text-sub); line-height: 1.45; }
.hs-buy-ic { font-size: 26px; flex: none; }
.hs-buy-c { flex: none; font-weight: 800; }
.hs-chk { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; }
.hs-buy.on { border-color: var(--accent); background: var(--accent-soft); }
.hs-buy.on .hs-chk { background: var(--accent); border-color: var(--accent); }
.hs-buy.on .hs-chk::after { content: '✓'; color: var(--accent-ink); font-weight: 900; }
.hs-buy.cant { opacity: .5; }
.hs-restline { margin: 4px 0 0; text-align: right; font-weight: 700; }
.hs-rest { font-size: 22px; color: var(--accent); }
.hs-homeart { display: flex; gap: 10px; font-size: 32px; margin: 4px 0 10px; }

/* エンディング */
.hs-ending { text-align: left; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.hs-endic { font-size: 56px; line-height: 1; margin: 6px 0; }
.hs-endtitle { font-family: var(--font-serif); font-size: 28px; color: var(--accent); }
.hs-dres .mn-big { margin: 0; }
.hs-icons { font-size: 26px; letter-spacing: 2px; margin: 8px 0; }

/* 図鑑 */
.hs-zgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hs-z { display: flex; flex-direction: column; align-items: center; background: var(--surface-2); border-radius: 10px; padding: 4px 2px 6px; text-align: center; }
.hs-z.no { opacity: .7; }
.hs-zface { width: 100%; max-width: 64px; display: block; } .hs-zface svg { width: 100%; height: auto; display: block; }
.hs-z b { font-size: 11px; line-height: 1.25; }
.hs-z small { font-size: 10px; color: var(--text-sub); }
.hs-zlist { display: grid; gap: 6px; }
.hs-zrow { padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.hs-zrow b { display: block; } .hs-zrow small { color: var(--text-sub); font-size: 12.5px; }
.hs-zrow.no b { color: var(--text-sub); }

@media (max-width: 360px) {
  .hs-booth { grid-template-columns: 96px minmax(0, 1fr); }
  .hs-f b { font-size: 14px; }
  .hs-scold { display: none; }
}
@media (min-width: 900px) {
  .mn-app.hs-on { max-width: 760px; }
  .hs-booth { grid-template-columns: 150px minmax(0, 1fr); }
  .hs-win { height: 180px; }
  .hs-doc-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-desk { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
  .hs-doc-rule { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-hl { animation: none; }
}

/* ---------- 生成画像（assets/manifest.js にあるときだけ） ---------- */
.hs-aface { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hs-asq { position: relative; display: block; width: 100%; max-height: 100%; aspect-ratio: 1 / 1; margin: auto auto 0; }
.hs-abase { display: block; width: 100%; height: 100%; object-fit: contain; }
.hs-aov { position: absolute; left: 50%; height: auto; transform: translate(-50%, -50%); pointer-events: none; }
.hs-aface.m-ink .hs-asq { filter: grayscale(1) sepia(.6) contrast(1.15) brightness(1.04); }
.hs-aface.m-shadow .hs-abase, .hs-aface.m-shadow .hs-aov:not(.glow) { filter: brightness(0); opacity: .92; }
.hs-aface.m-shadow .hs-aov.glow { filter: drop-shadow(0 0 4px rgba(255, 210, 100, .9)); }
.hs-me .hs-aface { width: 100%; height: 100%; }
.hs-mini.hs-aface .hs-asq, .hs-cmp.hs-aface .hs-asq { margin: auto; }
.hs-hero.art { background: #131838; }
.hs-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-booth.art { background-size: cover; background-position: center; }
.hs-booth.art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 12, 35, .15), rgba(15, 12, 35, .45)); pointer-events: none; }
.hs-booth.art > * { position: relative; }
.hs-booth.art .hs-win { background: radial-gradient(circle at 50% 30%, rgba(255, 180, 94, .35), transparent 70%), rgba(20, 16, 40, .35); }
.hs-booth.art.dark { filter: brightness(.7); }
.hs-desk.art { background-size: auto, 420px 420px; background-repeat: repeat; }
.hs-doc.art { background-size: 100% 100%; background-repeat: no-repeat; }
.hs-doc.art .hs-f { background: rgba(255, 253, 246, .9); }
.hs-it { display: inline-flex; align-items: center; gap: 4px; }
.hs-itimg { width: 30px; height: 30px; object-fit: contain; flex: none; }
.hs-it.s .hs-itimg { width: 26px; height: 26px; }
.hs-banl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.hs-bann { flex-basis: 100%; font-size: 11px; color: var(--ink-sub); font-weight: 700; }
.hs-markimg { width: 20px; height: 20px; object-fit: contain; display: block; }
.hs-ex .big .hs-markimg { width: 44px; height: 44px; }
.hs-chimg { width: 140px; height: 140px; object-fit: contain; display: block; margin: 0 auto; }
.hs-coachface { float: left; width: 44px; height: 44px; object-fit: contain; margin: -2px 8px 0 -2px; }
.hs-scene { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 4px 0 12px; background: #1b2040; }
.hs-scene.dark .hs-sc-bg { filter: brightness(.45); }
.hs-sc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-sc-ch { position: absolute; bottom: 0; height: 64%; width: auto; object-fit: contain; }
.hs-sc-ch.a { left: 10%; } .hs-sc-ch.m { left: 40%; height: 50%; } .hs-sc-ch.o { right: 8%; height: 34%; }
.hs-zrow.withimg { display: flex; gap: 10px; align-items: center; }
.hs-zreg { width: 52px; height: 52px; object-fit: contain; flex: none; }
.hs-zreg.no { filter: brightness(0); opacity: .35; }
.hs-fgal { display: grid; gap: 6px; }
.hs-fg-row { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.hs-fg-row > b { width: 70px; font-size: 12px; }
.hs-fg { width: 72px; height: 72px; display: block; background: #f3ead6; border-radius: 6px; }
.hs-fg svg { width: 100%; height: 100%; }
.hs-fg.sh { background: #e8dcc0; }
.hs-aov.ov-spot { filter: brightness(.45) saturate(1.6) drop-shadow(0 0 .5px #3a1a20); }
.hs-aov.ov-horn1, .hs-aov.ov-horn2 { filter: drop-shadow(0 0 1px rgba(60, 30, 10, .8)); }
