:root {
  --ink: #5a4668;
  --ink-2: #7d6a8c;
  --cream: #fff8f0;
  --cream-2: #fbeee4;
  --paper: #fffdf9;
  --pink: #ff9fc0;
  --pink-2: #ffc9dc;
  --lav: #b8a6f0;
  --lav-2: #e4dcfb;
  --mint: #9fdcc8;
  --sky: #9fd6f0;
  --butter: #ffe08a;
  --peach: #ffd0a8;
  --classic: #b9a7d6;
  --pastel: #f5a9c9;
  --holo: #8fd3e8;
  --secret: #f4c860;
  --shadow: 0 4px 0 rgba(90, 70, 104, .28);
  --font: "M PLUS Rounded 1c", ui-rounded, "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --prose: "M PLUS Rounded 1c", ui-rounded, "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --display: "Pixelify Sans", "M PLUS Rounded 1c", system-ui, sans-serif;
  --logo: "Tiny5", "Pixelify Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #3a2f4a; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; font-variant-ligatures: none; font-weight: 700; }
body { touch-action: none; user-select: none; -webkit-user-select: none; }
#game { position: fixed; inset: 0; image-rendering: pixelated; image-rendering: crisp-edges; display: block; }
canvas { image-rendering: pixelated; }
button { font: inherit; font-variant-ligatures: none; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
.px-icon { width: 16px; height: 16px; image-rendering: pixelated; vertical-align: -3px; display: inline-block; }
.px-icon.big { width: 24px; height: 24px; vertical-align: -5px; }
b { font-weight: 800; }
.dialog-text, .sub, .blurb, .rv-flavor, .d-flavor, .hint-text, .note p, .objective, .toast, .studio-top p, .controls-help, .empty, .locked-note, .detail-empty, .album-head span, .rv-title, .d-title { font-family: var(--prose); font-weight: 500; }
.dialog-text b, .sub b, .blurb b, .rv-flavor b, .objective b, .toast b, .note p b { font-weight: 800; }

#ui { position: fixed; inset: 0; pointer-events: none; }
#ui > * { pointer-events: auto; }
#ui > .hud, #ui > .toasts { pointer-events: none; }
.hud button, .hud .objective { pointer-events: auto; }

/* ---------------------------------------------------------------- HUD */
.hud { position: fixed; inset: 0; padding: 14px 16px; }
.hud-left { position: absolute; top: 14px; left: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; max-width: calc(100vw - 180px); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px 5px 8px; font-size: 18px; box-shadow: var(--shadow); min-width: 82px; }
.pill .px-icon { width: 20px; height: 20px; }
.pill b { font-variant-numeric: tabular-nums; }
.pill.bump, .pill b.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.objective { display: flex; gap: 8px; align-items: center; background: rgba(255, 248, 240, .94); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 14px 8px 10px; font-size: 15px; box-shadow: var(--shadow); max-width: 380px; line-height: 1.25; animation: slideIn .4s ease; }
.objective b { color: #c0508a; }
.obj-star { animation: twinkle 1.6s ease-in-out infinite; display: inline-flex; }
@keyframes twinkle { 50% { transform: scale(1.2) rotate(12deg); } }
@keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } }
.hud-right { position: absolute; top: 14px; right: 16px; display: flex; gap: 8px; }
.round { position: relative; width: 46px; height: 46px; border-radius: 14px; background: var(--cream); border: 3px solid var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .1s; }
.round:hover { transform: translateY(-2px); }
.round:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(90, 70, 104, .28); }
.round .px-icon { width: 24px; height: 24px; }
.badge { position: absolute; top: -8px; right: -8px; background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 999px; font-size: 12px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; font-weight: 600; text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.hud-bottom { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(90, 70, 104, .78); color: #fff8f0; padding: 7px 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; transition: opacity 1s; }
.hud-bottom.fade { opacity: 0; }
.dex-pill { position: absolute; bottom: 14px; right: 16px; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px 5px 10px; font-size: 15px; box-shadow: var(--shadow); display: flex; gap: 6px; align-items: center; }
.dex-pill span { color: var(--ink-2); }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; z-index: 30; width: min(460px, calc(100vw - 32px)); }
.toast { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 9px 16px; font-size: 15px; box-shadow: var(--shadow); animation: toastIn .35s cubic-bezier(.3, 1.6, .5, 1); transition: opacity .35s, transform .35s; text-align: center; line-height: 1.3; }
.toast.out { opacity: 0; transform: translateY(-10px); }
@keyframes toastIn { from { transform: translateY(-16px) scale(.9); opacity: 0; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 17px; padding: 9px 18px; border: 3px solid var(--ink); border-radius: 12px; background: var(--cream); box-shadow: var(--shadow); transition: transform .08s, filter .15s; font-weight: 600; }
.btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.03); }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 rgba(90, 70, 104, .28); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(#ffb8d1, #ff9fc0); color: #fff; text-shadow: 0 2px 0 rgba(176, 80, 130, .55); }
.btn.big { font-size: 21px; padding: 11px 26px; }
.btn.small { font-size: 14px; padding: 5px 10px; border-width: 2px; border-radius: 10px; }
.btn.small.pastel { background: #ffe3ef; }
.btn.small.holo { background: linear-gradient(90deg, #ffd6ec, #fff3c4, #d4fbe8, #d4efff, #e8dcff); }
.btn.danger { background: #ffe0e0; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------------------------------------------------------------- dialog */
.dialog { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 rgba(90, 70, 104, .35); display: flex; gap: 14px; padding: 14px 16px; z-index: 40; animation: dlgIn .25s cubic-bezier(.3, 1.4, .5, 1); cursor: pointer; }
@keyframes dlgIn { from { transform: translate(-50%, 30px); opacity: 0; } }
.portrait-frame { flex: none; width: 84px; height: 84px; border-radius: 14px; border: 3px solid var(--ink); background: radial-gradient(circle at 50% 40%, #fff, var(--pink-2)); display: grid; place-items: center; overflow: hidden; }
.portrait { width: 76px; height: 76px; }
.dialog-body { flex: 1; min-width: 0; position: relative; }
.nameplate { display: inline-block; background: var(--pink); color: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: 1px 12px; font-size: 16px; font-weight: 600; margin: -30px 0 6px; text-shadow: 0 2px 0 rgba(176, 80, 130, .55); }
.nameplate .hearts { color: #fff; font-size: 13px; letter-spacing: 1px; }
.dialog-text { font-size: 19px; line-height: 1.4; min-height: 54px; }
.dialog-text b { color: #c0508a; }
.dialog-next { position: absolute; right: 2px; bottom: -4px; animation: nudge .8s ease-in-out infinite; color: var(--pink); font-size: 16px; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.dialog-choices { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.choice { text-align: left; background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 7px 12px; font-size: 16px; display: flex; gap: 10px; align-items: center; transition: background .1s, transform .08s; }
.choice:hover { background: #fff0f6; transform: translateX(4px); }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.kbd { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--lav-2); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 13px; }

/* ---------------------------------------------------------------- modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(58, 47, 74, .45); display: grid; place-items: center; z-index: 20; padding: 16px; animation: fadeIn .2s; backdrop-filter: blur(2px); }
@keyframes fadeIn { from { opacity: 0; } }
.panel { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--paper); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 8px 0 rgba(58, 47, 74, .35); animation: popIn .28s cubic-bezier(.3, 1.5, .5, 1); overflow: hidden; }
.panel.wide { width: min(940px, 100%); }
@keyframes popIn { from { transform: scale(.9) translateY(10px); opacity: 0; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; background: var(--accent); border-bottom: 4px solid var(--ink);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 10px, transparent 10px 20px); }
.panel-head h2 { margin: 0; font-size: 24px; color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink); display: flex; align-items: center; gap: 8px; letter-spacing: .5px; }
.x { width: 36px; height: 36px; border-radius: 10px; border: 3px solid var(--ink); background: var(--cream); font-size: 16px; font-weight: 600; }
.x:hover { background: #fff; }
.panel-body { padding: 18px 20px 20px; overflow: auto; }
.panel-body h4 { margin: 14px 0 8px; font-size: 17px; color: var(--ink-2); }
.panel-body h4:first-child { margin-top: 0; }
.sub { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; line-height: 1.35; }
.hint-text { color: var(--ink-2); font-size: 14px; margin: 10px 0 0; }
.empty { color: var(--ink-2); text-align: center; padding: 18px; font-size: 16px; }
.fig-canvas { display: block; }

/* ---------------------------------------------------------------- machine */
.machine-layout { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
.machine-art { background: radial-gradient(circle at 50% 35%, #fff 0, var(--cream-2) 70%); border: 3px solid var(--ink); border-radius: 18px; display: grid; place-items: center; padding: 14px 0 8px; }
.machine-art canvas { width: 140px; height: 200px; }
.blurb { margin: 0 0 12px; font-size: 17px; line-height: 1.35; }
.series-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.mini-cell { background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; display: flex; flex-direction: column; align-items: center; padding: 4px 0 3px; font-size: 12px; overflow: hidden; }
.mini-cell canvas { width: 100%; max-width: 68px; height: auto; }
.mini-cell span { color: var(--ink-2); white-space: nowrap; }
.mini-cell.own span { color: var(--ink); }
.mini-cell.secret { background: linear-gradient(#fff6d8, #ffeec0); }
.rates { display: flex; flex-wrap: wrap; gap: 6px; }
.rv { font-size: 13px; padding: 2px 8px; border-radius: 999px; border: 2px solid var(--ink); }
.rv.classic { background: #efe8fa; } .rv.pastel { background: #ffe3ef; } .rv.holo { background: linear-gradient(90deg, #ffd6ec, #fff3c4, #d4fbe8, #d4efff); } .rv.secret { background: #fff0c0; }
.lucky { margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; font-size: 15px; }
.lucky small { grid-column: 1 / -1; color: var(--ink-2); font-size: 13px; }
.lucky-bar { display: flex; gap: 4px; }
.lucky-bar i { flex: 1; height: 12px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; }
.lucky-bar i.on { background: linear-gradient(#fff1a0, #ffd35a); }
.progress-line { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- reveal */
.reveal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fffaf6 0%, color-mix(in srgb, var(--sc) 35%, #fff) 38%, color-mix(in srgb, var(--sc) 75%, #b8a6f0) 100%); animation: fadeIn .25s; }
.reveal .rays { position: absolute; left: 50%; top: 45%; width: 200vmax; height: 200vmax; transform: translate(-50%, -50%); opacity: .0; transition: opacity .6s;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.5) 0deg 10deg, transparent 10deg 20deg); animation: spin 26s linear infinite; }
.reveal:not(.shown) .rays { opacity: .35; }
.reveal.shown .rays { background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 45%, #fff) 0deg 10deg, transparent 10deg 20deg); opacity: .8; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
#rv-canvas { position: relative; width: min(90vw, 90vh); height: min(90vw, 90vh); cursor: pointer; }
.reveal.shown #rv-canvas { transform: translateY(-14vh) scale(.78); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1); }
.rv-card { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); background: var(--cream); border: 4px solid var(--ink); border-radius: 20px; padding: 16px 20px 18px; text-align: center; box-shadow: 0 8px 0 rgba(58,47,74,.4); animation: popIn .35s cubic-bezier(.3, 1.5, .5, 1); }
.rv-card h3 { margin: 2px 0 0; font-size: 32px; line-height: 1; }
.rv-title { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.rv-variant { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--rc); font-size: 14px; font-weight: 600; }
.rv-stars { color: var(--secret); font-size: 22px; text-shadow: 0 2px 0 var(--ink); letter-spacing: 2px; }
.rv-flavor { font-size: 16px; line-height: 1.35; margin: 10px 0 0; }
.rv-tags { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.tag { padding: 2px 12px; border-radius: 999px; border: 3px solid var(--ink); font-weight: 600; font-size: 16px; animation: tagPop .5s cubic-bezier(.3, 1.8, .5, 1) .15s both; }
.tag.new { background: var(--pink); color: #fff; text-shadow: 0 2px 0 rgba(176, 80, 130, .6); }
.tag.lucky { background: var(--butter); }
@keyframes tagPop { from { transform: scale(0) rotate(-20deg); } }
.rv-hint { position: absolute; bottom: 12vh; left: 50%; transform: translateX(-50%); color: #fff; font-size: 22px; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); animation: nudge 1s ease-in-out infinite; white-space: nowrap; }

/* ---------------------------------------------------------------- album */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.tab { border: 3px solid var(--ink); border-radius: 12px; padding: 6px 12px; background: var(--cream); font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.tab small { background: rgba(90,70,104,.12); padding: 0 6px; border-radius: 999px; font-size: 12px; }
.tab.on { background: var(--tc, var(--lav)); color: var(--ink); box-shadow: inset 0 -4px 0 rgba(90, 70, 104, .18); }
.tabs.small .tab { font-size: 15px; padding: 4px 12px; }
.tabs.small .tab.on { background: var(--mint); }
.glitter-have { margin-left: auto; font-size: 17px; display: inline-flex; gap: 6px; align-items: center; }
.album-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.album-head > div:first-child { display: flex; flex-direction: column; font-size: 18px; }
.album-head span { font-size: 14px; color: var(--ink-2); }
.album-prog { width: 180px; text-align: right; }
.bar { height: 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.bar i { display: block; height: 100%; border-right: 2px solid var(--ink); }
.album-prog small { font-size: 13px; color: var(--ink-2); }
.album-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; align-content: start; }
.fig-card { position: relative; background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .1s; }
.fig-card:hover { transform: translateY(-3px); }
.fig-card.sel { background: #fff0f7; box-shadow: 0 0 0 3px var(--pink); }
.fig-card canvas { width: 68px; height: auto; }
.fig-card.unknown { background: #f3eef8; }
.fig-card.secret { background: linear-gradient(#fff8e0, #ffeec8); }
.fc-name { font-size: 15px; }
.pips { display: flex; gap: 4px; }
.pip { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.pip.on.classic { background: var(--classic); } .pip.on.pastel { background: var(--pastel); } .pip.on.holo { background: conic-gradient(#ffb3d9, #fff1a0, #b8f5d8, #a8e0ff, #d8c8ff, #ffb3d9); } .pip.on.secret { background: var(--secret); }
.new-dot { position: absolute; top: -8px; right: -6px; background: var(--pink); color: #fff; font-size: 11px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 6px; font-weight: 600; }
.album-detail { background: var(--cream); border: 3px solid var(--ink); border-radius: 16px; padding: 12px; align-self: start; position: sticky; top: 0; }
.detail-stage { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #fff 0 30%, color-mix(in srgb, var(--sc) 45%, #fff) 100%); border: 3px solid var(--ink); border-radius: 12px; padding: 12px 0 6px; }
.detail-stage canvas { width: 136px; height: auto; }
.d-name { font-size: 24px; margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.d-stars { color: var(--secret); text-shadow: 0 1px 0 var(--ink); font-size: 16px; }
.d-title { color: var(--ink-2); font-size: 14px; }
.vbtns { display: flex; gap: 5px; margin: 10px 0 4px; flex-wrap: wrap; }
.vbtn { border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 13px; background: #fff; display: inline-flex; gap: 4px; align-items: center; }
.vbtn small { opacity: .7; }
.vbtn.on.classic { background: var(--classic); } .vbtn.on.pastel { background: var(--pastel); } .vbtn.on.holo { background: linear-gradient(90deg, #ffd6ec, #fff3c4, #d4fbe8, #d4efff); } .vbtn.on.secret { background: var(--secret); }
.vbtn.missing { opacity: .45; border-style: dashed; cursor: default; }
.d-flavor { font-size: 15px; line-height: 1.35; margin: 8px 0; }
.d-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.d-meta span { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px; display: inline-flex; gap: 4px; align-items: center; }
.detail-empty, .locked-note { text-align: center; color: var(--ink-2); padding: 20px 8px; font-size: 16px; }
.locked-note { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- cases & pickers */
.case-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.case-slots.one { grid-template-columns: 1fr; justify-items: center; }
.slot { background: repeating-linear-gradient(90deg, #fff1f6 0 6px, #fbe3ee 6px 8px); border: 3px solid var(--ink); border-radius: 14px; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 8px 4px; font-size: 14px; transition: transform .1s; }
.slot:hover { transform: translateY(-3px); }
.slot.sel { box-shadow: 0 0 0 3px var(--pink); }
.slot canvas { width: 68px; height: auto; }
.slot.big { width: 200px; min-height: 200px; }
.slot.big canvas { width: 102px; }
.plus { font-size: 40px; color: var(--pink); margin: auto; line-height: 1; }
.vtag { font-size: 11px; padding: 0 7px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
.vtag.classic { background: #efe8fa; } .vtag.pastel { background: #ffe3ef; } .vtag.holo { background: linear-gradient(90deg, #ffd6ec, #fff3c4, #d4fbe8, #d4efff); } .vtag.secret { background: #fff0c0; }
.charm-line { margin-top: 12px; font-size: 15px; display: flex; gap: 6px; align-items: center; color: var(--ink-2); }
.picker { margin-top: 14px; border-top: 3px dashed rgba(90,70,104,.3); padding-top: 12px; }
.picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 17px; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pick { position: relative; background: var(--cream); border: 3px solid var(--ink); border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 13px; }
.pick:hover { background: #fff0f7; transform: translateY(-2px); }
.pick canvas { width: 34px; height: auto; }
.pick em { position: absolute; top: 4px; right: 6px; font-style: normal; font-size: 11px; color: #c0508a; }

/* ---------------------------------------------------------------- studio & notices */
.studio-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 16px; line-height: 1.35; }
.studio-top p { margin: 0; }
.painter { flex: none; width: 72px; height: 72px; border: 3px solid var(--ink); border-radius: 14px; background: radial-gradient(#fff, #d6f5ea); display: grid; place-items: center; }
.painter canvas { width: 64px; height: 64px; }
.repaint-list, .wish-list { display: flex; flex-direction: column; gap: 8px; }
.repaint-row, .wish-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 12px; }
.repaint-row canvas { width: 34px; height: auto; }
.rr-name { flex: 1; display: flex; flex-direction: column; font-size: 16px; }
.rr-name small, .wish-row small { color: var(--ink-2); font-size: 13px; }
.owned-v { font-size: 12px; }
.wish-row > div { flex: 1; display: flex; flex-direction: column; font-size: 16px; }
.wr-icon { flex: none; width: 36px; height: 36px; border: 3px solid var(--ink); border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.note { background: #fffbe8; border: 3px solid var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 15px; transform: rotate(-.6deg); box-shadow: 0 3px 0 rgba(90,70,104,.2); }
.note:nth-child(2n) { transform: rotate(.7deg); background: #fff0f6; }
.note.idle { opacity: .75; }
.note p { margin: 8px 0; line-height: 1.3; }
.note-who { display: flex; gap: 8px; align-items: center; }
.note-who canvas { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
.note-who div { display: flex; flex-direction: column; }
.note-who small { color: #d0608a; font-size: 12px; }
.note-foot { display: flex; justify-content: space-between; align-items: center; font-size: 14px; gap: 4px; flex-wrap: wrap; }
.ready { background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.sets { display: flex; flex-direction: column; gap: 8px; }
.set-row { display: flex; gap: 10px; align-items: center; }
.set-mid { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.set-rw { display: flex; flex-direction: column; font-size: 12px; text-align: right; color: var(--ink-2); }
.set-rw .done { text-decoration: line-through; color: #5aa87a; }
.around { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.around li { display: flex; gap: 8px; align-items: center; }

/* ---------------------------------------------------------------- settings */
.toggle { display: flex; align-items: center; gap: 12px; font-size: 18px; margin-bottom: 10px; cursor: pointer; }
.toggle input { display: none; }
.toggle span { flex: none; width: 48px; height: 28px; border: 3px solid var(--ink); border-radius: 999px; background: #eee6f3; position: relative; transition: background .2s; }
.toggle span::after { content: ""; position: absolute; top: 50%; left: 2px; width: 18px; height: 18px; transform: translateY(-50%); border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: left .2s; }
.toggle input:checked + span { background: var(--mint); }
.toggle input:checked + span::after { left: calc(100% - 20px); }
.controls-help { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 15px; line-height: 1.4; }
.controls-help ul { margin: 0 0 8px; padding-left: 18px; }
.controls-help p { margin: 0; }

/* ---------------------------------------------------------------- title */
.title-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; transition: opacity .6s; background: #ffe3ee; }
.title-screen.out { opacity: 0; pointer-events: none; }
#title-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.title-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: -18vh; }
.logo h1 { margin: 0; font-family: var(--logo); font-weight: 400; font-size: clamp(60px, 12vw, 132px); line-height: .92; display: flex; flex-direction: column; align-items: center; letter-spacing: 2px; }
.logo-line { display: block; height: clamp(84px, 15vw, 150px); width: auto; image-rendering: pixelated; animation: floaty 3s ease-in-out infinite; margin: 0 auto; }
.logo-line.l2 { animation-delay: -.6s; margin-top: -1vw; }
.logo h1 span { color: #fff; text-shadow: 0 5px 0 var(--ink), 5px 0 0 var(--ink), -5px 0 0 var(--ink), 0 -5px 0 var(--ink), 5px 5px 0 var(--ink), -5px 5px 0 var(--ink), 5px -5px 0 var(--ink), -5px -5px 0 var(--ink), 0 11px 0 rgba(90,70,104,.35); animation: floaty 3s ease-in-out infinite; }
.logo h1 span:first-child { color: #ffb3cf; }
.logo h1 span:last-child { color: #a8def2; animation-delay: -.6s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.logo-top { display: inline-block; font-family: var(--prose); font-size: 18px; color: var(--ink-2); background: rgba(255,255,255,.7); padding: 3px 14px; border-radius: 999px; margin-bottom: 14px; }
.title-btns { display: flex; gap: 12px; align-items: center; }
.title-foot { position: fixed; bottom: 14px; left: 16px; right: 16px; color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 760px) {
  .machine-layout { grid-template-columns: 1fr; }
  .machine-art canvas { width: 105px; height: 150px; }
  .series-grid { grid-template-columns: repeat(4, 1fr); }
  .album-layout { grid-template-columns: 1fr; }
  .album-detail { position: static; order: -1; }
  .case-slots { grid-template-columns: repeat(2, 1fr); }
  .pill { font-size: 15px; min-width: 0; padding: 4px 10px 4px 6px; }
  .round { width: 40px; height: 40px; }
  .hud-bottom { display: none; }
  .dex-pill { font-size: 13px; }
  .dialog-text { font-size: 17px; }
  .portrait-frame { width: 64px; height: 64px; }
  .portrait { width: 58px; height: 58px; }
  .objective { font-size: 13px; }
  .hud-left { max-width: calc(100vw - 160px); }
}

/* ---------------------------------------------------------------- confirm */
.confirm-wrap { position: fixed; inset: 0; z-index: 300; background: rgba(58, 47, 74, .5); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
.panel.confirm { width: min(420px, 100%); }
.confirm-text { font-family: var(--prose); font-size: 18px; line-height: 1.4; margin: 4px 0 6px; text-align: center; }
button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ================================================================ expansion */
.run-btn { position: absolute; bottom: 14px; left: 16px; pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 15px; box-shadow: var(--shadow); transition: transform .1s, background .15s; }
.run-btn .px-icon { width: 20px; height: 20px; }
.run-btn.on { background: linear-gradient(#ffc9dc, #ff9fc0); color: #fff; text-shadow: 0 2px 0 rgba(176, 80, 130, .55); }
.run-btn:active { transform: translateY(2px); }
.hud.decorating .run-btn, .hud.decorating .hud-bottom, .hud.decorating .objective, .hud.decorating .dex-pill { display: none; }

.area-banner { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); text-align: center; opacity: 0; pointer-events: none; display: flex; flex-direction: column; gap: 4px; background: radial-gradient(closest-side, rgba(58,47,74,.35), transparent); padding: 18px 60px; }
.area-banner b { font-size: 34px; color: #fff; letter-spacing: 1px; text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink); }
.area-banner small { font-family: var(--prose); font-size: 16px; color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); }
.area-banner.show { animation: bannerIn 3.2s ease forwards; }
@keyframes bannerIn { 0% { opacity: 0; transform: translate(-50%, 10px); } 12%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }

.fish-hint { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); background: rgba(90, 70, 104, .88); color: #fff8f0; padding: 8px 18px; border-radius: 999px; font-family: var(--prose); font-size: 15px; white-space: nowrap; }
.fish-hint b { color: var(--butter); }

.reel { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 45; width: min(420px, calc(100vw - 32px)); cursor: pointer; }
.reel-panel { background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; padding: 12px 16px 12px; box-shadow: 0 6px 0 rgba(58,47,74,.35); display: flex; flex-direction: column; gap: 8px; align-items: center; animation: popIn .25s cubic-bezier(.3, 1.5, .5, 1); }
.reel-panel b { font-size: 18px; }
.reel-panel small { font-family: var(--prose); font-size: 13px; color: var(--ink-2); }
.reel-panel kbd { font-family: var(--font); background: var(--lav-2); border: 2px solid var(--ink); border-radius: 5px; padding: 0 5px; }
.reel-bar { position: relative; width: 100%; height: 26px; border: 3px solid var(--ink); border-radius: 999px; background: repeating-linear-gradient(90deg, #eaf6fb 0 10px, #dff0f8 10px 20px); overflow: hidden; }
.reel-bar .zone { position: absolute; top: 0; bottom: 0; background: linear-gradient(#ffc9dc, #ff9fc0); border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.reel-bar .needle { position: absolute; top: -2px; bottom: -2px; width: 6px; background: var(--ink); border-radius: 3px; box-shadow: 0 0 0 2px #fff; }
.reel-pips { display: flex; gap: 6px; }
.reel-pips span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.reel-pips span.on { background: var(--mint); }

.find-card { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 44; display: flex; gap: 12px; align-items: center; background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; padding: 10px 18px 10px 10px; box-shadow: 0 6px 0 rgba(58,47,74,.35); width: min(440px, calc(100vw - 32px)); animation: popIn .3s cubic-bezier(.3, 1.6, .5, 1); cursor: pointer; transition: opacity .3s, transform .3s; }
.find-card.out { opacity: 0; transform: translate(-50%, 10px); }
.find-card.rare { background: linear-gradient(135deg, #fff8e0, #ffeef6 50%, #e8f6ff); }
.find-card .fc-icon { flex: none; width: 76px; height: 76px; border-radius: 14px; border: 3px solid var(--ink); background: radial-gradient(#fff, #fbe3ee); display: grid; place-items: center; }
.find-card .fc-icon canvas { max-width: 68px; max-height: 68px; }
.find-card .fc-text { display: flex; flex-direction: column; gap: 3px; }
.find-card .fc-text b { font-size: 18px; }
.find-card .fc-text small { font-family: var(--prose); font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.tag.found { background: var(--mint); }

.decor-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 15; width: min(820px, calc(100vw - 32px)); background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 rgba(58,47,74,.35); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; animation: popIn .25s ease; }
.db-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.db-head b { font-size: 18px; }
.db-head span { font-family: var(--prose); font-size: 14px; color: var(--ink-2); flex: 1; min-width: 180px; }
.db-head .db-charm { flex: none; min-width: 0; font-family: var(--font); display: inline-flex; gap: 4px; align-items: center; }
.db-items { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.db-item { flex: none; position: relative; width: 92px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; }
.db-item canvas { max-height: 40px; }
.db-item.on { background: #ffe3ef; box-shadow: 0 0 0 3px var(--pink); }
.db-item em { position: absolute; top: 3px; right: 6px; font-style: normal; color: #c0508a; font-size: 12px; }

.trade-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; font-family: var(--prose); font-size: 16px; line-height: 1.35; }
.trade-top p { margin: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shop-card { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.sc-stage { width: 100%; height: 72px; display: grid; place-items: center; background: radial-gradient(#fff, #fbe3ee); border-radius: 10px; border: 2px solid rgba(90,70,104,.25); }
.sc-stage canvas { max-height: 64px; max-width: 100%; }
.shop-card b { font-size: 15px; }
.shop-card small { font-size: 12px; color: var(--ink-2); display: inline-flex; gap: 3px; align-items: center; }
.swatch-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 8px; }
.swatch { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 14px; }
.swatch i { width: 100%; height: 42px; border-radius: 8px; border: 2px solid var(--ink); }
.swatch.on { box-shadow: 0 0 0 3px var(--pink); }
.sell-list { display: flex; flex-direction: column; gap: 8px; }
.sell-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 12px; }
.sell-row canvas { flex: none; }
.sr-name { flex: 1; display: flex; flex-direction: column; font-size: 16px; min-width: 0; }
.sr-name span { color: var(--ink-2); font-size: 14px; }
.sr-name small { font-family: var(--prose); font-size: 13px; color: var(--ink-2); }
.sr-name em { color: #c0508a; font-style: normal; }
.sr-price { display: inline-flex; gap: 4px; align-items: center; font-size: 15px; white-space: nowrap; }

.bag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bag-cell { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; font-size: 13px; }
.bag-cell canvas { max-height: 56px; }
.bag-cell small { color: var(--ink-2); display: inline-flex; gap: 2px; align-items: center; }
.bag-cell.rare { background: linear-gradient(135deg, #fff8e0, #ffeef6 60%, #e8f6ff); }
.tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tool-list li { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 16px; }
.tool-list li small { flex-basis: 100%; font-family: var(--prose); font-size: 13px; color: var(--ink-2); }
.tool-list li.missing { opacity: .6; border-style: dashed; }

.claw-layout { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 20px; align-items: start; }
.claw-cab { position: relative; background: linear-gradient(#ffb3e0, #ff8fd0); border: 4px solid var(--ink); border-radius: 20px; padding: 14px 14px 40px; }
.claw-cab canvas { width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 10px; display: block; }
.claw-msg { position: absolute; left: 14px; right: 14px; bottom: 8px; text-align: center; color: #fff; font-size: 15px; text-shadow: 0 2px 0 rgba(90,70,104,.6); }
.claw-stats { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.claw-stats span { display: inline-flex; gap: 6px; align-items: center; }

.note .bar.small { height: 10px; margin-top: 2px; }
.note .prog { font-size: 12px; color: var(--ink-2); }
.ready.soft { background: var(--lav-2); }

@media (max-width: 760px) {
  .hud-right { flex-direction: column; gap: 6px; }
  .hud-left { max-width: calc(100vw - 80px); }
  .db-head span:not(.db-charm) { display: none; }
  .db-item { width: 74px; }
  .db-item canvas { max-height: 30px; }
  .claw-layout { grid-template-columns: 1fr; }
  .run-btn { bottom: 12px; padding: 5px 12px 5px 8px; font-size: 14px; }
  .area-banner b { font-size: 26px; }
  .decor-bar { bottom: 10px; }
}

.locked-note.slim { padding: 8px; display: flex; gap: 10px; align-items: center; text-align: left; background: #f3eef8; border-radius: 12px; border: 2px dashed rgba(90,70,104,.3); }
.locked-note.slim p { margin: 0; }

/* pixel display face for titles only; everything else uses the rounded face for legible numbers */
.panel-head h2, .nameplate, .rv-card h3, .d-name, .area-banner b, .reel-panel > b, .db-head > b, .album-head > div:first-child > b { font-family: var(--display); font-weight: 600; }
.pill b, .dex-pill b, .glitter-have, .sr-price, .bar + small, .tab small, .badge { font-variant-numeric: tabular-nums; }
.pill b { font-weight: 800; letter-spacing: .2px; }
.dialog-text { font-size: 18px; line-height: 1.5; }
body:has(.modal-wrap:not(.hidden)) .toasts { top: auto; bottom: 20px; z-index: 35; }

/* ---------------------------------------------------------------- interaction prompt */
.world-prompt { position: fixed; left: 0; top: 0; pointer-events: none; display: flex; align-items: center; gap: 7px; background: var(--cream); border: 3px solid var(--ink); border-radius: 10px; padding: 3px 11px 3px 4px; font-family: var(--font); font-weight: 800; font-size: 15px; line-height: 1.2; white-space: nowrap; box-shadow: 0 3px 0 rgba(90, 70, 104, .28); z-index: 5; margin-top: -8px; }
.world-prompt::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 13px; height: 13px; background: var(--cream); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateX(-50%) rotate(45deg); border-bottom-right-radius: 2px; }
.wp-key { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 6px; background: var(--pink); color: #fff; font-family: var(--font); font-weight: 800; font-size: 14px; text-shadow: 0 1px 0 rgba(176, 80, 130, .55); }
.hud.decorating .world-prompt { display: none; }

/* ---------------------------------------------------------------- 5-pull reveal */
.pull5 { background: linear-gradient(#fff6d8, #ffe9a8); }
.reveal.multi { cursor: pointer; }
.reveal.multi .rays { opacity: .5; }
.multi-wrap { position: relative; width: min(900px, calc(100vw - 32px)); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.multi-title { margin: 0; font-family: var(--font); font-weight: 800; font-size: 30px; color: #fff; text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink); }
.multi-title span { color: var(--butter); }
.multi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: 100%; }
.mcard { position: relative; background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 210px; justify-content: center; box-shadow: 0 6px 0 rgba(58,47,74,.35); animation: mcDrop .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.mcard:nth-child(2) { animation-delay: .06s; } .mcard:nth-child(3) { animation-delay: .12s; } .mcard:nth-child(4) { animation-delay: .18s; } .mcard:nth-child(5) { animation-delay: .24s; }
@keyframes mcDrop { from { transform: translateY(-60px) scale(.8); opacity: 0; } }
.mcard.shake { animation: mcShake .12s linear infinite; }
@keyframes mcShake { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.mcard.open { animation: mcPop .35s cubic-bezier(.3, 1.8, .5, 1); background: radial-gradient(circle at 50% 35%, #fff 0 35%, color-mix(in srgb, var(--vc) 35%, #fff) 100%); }
@keyframes mcPop { from { transform: scale(.85); } }
.mcard.v-holo, .mcard.v-secret { box-shadow: 0 6px 0 rgba(58,47,74,.35), 0 0 0 4px var(--vc), 0 0 28px var(--vc); }
.mc-stage { display: grid; place-items: center; min-height: 100px; }
.mc-stage canvas { max-width: 100%; height: auto; }
.mc-name { font-weight: 800; font-size: 16px; }
.mc-v { font-size: 12px; }
.mc-new { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--pink); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 0 10px; font-weight: 800; font-size: 13px; animation: tagPop .5s cubic-bezier(.3, 1.8, .5, 1) both; }
.mc-dup { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 3px; align-items: center; }
.multi-foot { background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; padding: 12px 20px 14px; text-align: center; box-shadow: 0 6px 0 rgba(58,47,74,.35); animation: popIn .3s cubic-bezier(.3, 1.5, .5, 1); }
.multi-sum { margin: 0; font-size: 16px; }
.multi-hint { position: static; transform: none; }
@media (max-width: 760px) {
  .multi-grid { grid-template-columns: repeat(3, 1fr); }
  .mcard { min-height: 170px; }
  .multi-title { font-size: 24px; }
}

/* ---------------------------------------------------------------- hints & voyages */
.obj-hint, .note-hint, .note-story { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; margin-top: 3px; line-height: 1.35; }
.note-story { color: #3f8fb0; }
.dlg-hint { display: inline-block; background: #f0f8ff; border: 2px dashed rgba(90,70,104,.3); border-radius: 10px; padding: 4px 10px; font-size: 16px; }
.voyage { position: fixed; inset: 0; z-index: 80; animation: fadeIn .35s; transition: opacity .35s; }
.voyage.out { opacity: 0; }
.voyage canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.voyage-cap { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); background: var(--cream); border: 4px solid var(--ink); border-radius: 999px; padding: 8px 22px; font-weight: 800; font-size: 18px; box-shadow: 0 5px 0 rgba(58,47,74,.3); white-space: nowrap; }
