/* スカジャンシミュレータ。kit v2 のトークン（共通は変えない。スキンだけ、夜の港町×サテンの紺と金糸に合わせる） */
:root {
  --ui-font-display: 'Dela Gothic One', 'Hiragino Sans', sans-serif;
  --ui-font-logo: 'Dela Gothic One', 'Hiragino Sans', sans-serif; /* ロゴ「スカジャン」専用（全言語で同じ。言語で書体を替えない） */
  --ui-display-weight: 400; /* 極太の書体（Dela Gothic One）は太さ 400 のまま使う */
  --ui-btn-size: 22px;
  --ui-font: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --ui-tap: 44px; --ui-radius-btn: 18px; --ui-radius-card: 12px; --ui-ad-h: 100px;
  --skin-ink: #f3ead6; --skin-paper: #f3ead6; --skin-paper-ink: #22161a;
  --skin-accent: #e9b32a; --skin-accent-ink: #2a1a04; --skin-accent-shadow: #8a5f0c;
  --skin-logo-shadow: #7a1a2c; --skin-scrim: 14, 12, 22;
  --bg: #17151d; --panel: #201d27; --line: #3a3544; --muted: #b9b0a0;
  --slide-h: var(--ui-ad-h); /* 下に貼りつく広告の帯の分だけ、ゲームを縮める（広告と重ねない） */
}
/* 中国語・韓国語：極太の書体（Dela Gothic One）には字が無いので、端末の書体の太字に替える。
   日本語の書体（Zen Kaku）を使うと字形が日本式になるので、本文も端末の書体にする（豆腐にならないことだけ守る） */
:root:lang(zh-Hans) { --ui-font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif; --ui-font-display: var(--ui-font); --ui-display-weight: 700; }
:root:lang(zh-Hant) { --ui-font: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', sans-serif; --ui-font-display: var(--ui-font); --ui-display-weight: 700; }
:root:lang(ko) { --ui-font: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans CJK KR', sans-serif; --ui-font-display: var(--ui-font); --ui-display-weight: 700; }
/* 英字の言語は幅が広いので、ボタンの文字を少し小さくする（折り返すのは空白のところだけ） */
:root:lang(en), :root:lang(es), :root:lang(pt), :root:lang(fr), :root:lang(de) { --ui-btn-size: 19px; }
/* 韓国語は単語の区切り（空白）でだけ改行する */
:root:lang(ko) body { word-break: keep-all; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--skin-ink); font-family: var(--ui-font); font-weight: 500; overflow: hidden; touch-action: manipulation; }
/* 文字の選択・長押しのメニュー・ページの拡大を止める（指の操作がジャケットの拡大・刺繍の移動とぶつかって、画面が変になったため。2026-11-22）。
   文字を入れる欄だけは選べるように残す。パネルは縦のスクロールだけ許す（2本指でページが拡大しないように） */
* { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
#panelbody, .r-body, .sheet-card { touch-action: pan-y; }
#tabs { touch-action: pan-x; }
button { touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .5; }
[hidden] { display: none !important; }
#app { position: relative; height: 100dvh; display: flex; flex-direction: column; }
.slidein #app { height: calc(100dvh - var(--slide-h) - env(safe-area-inset-bottom, 0px)); }

/* ===== 仕立て画面 ===== */
#main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#viewwrap { position: relative; flex: 0 0 min(60%, calc(100vw * 0.82 + 84px)); min-height: 0; background: radial-gradient(120% 90% at 50% 20%, #3a3542 0%, #24212b 55%, #17151d 100%); }
#view { position: absolute; inset: 0; }
/* 見る面（左）と A面・B面（右）：絵の左右の空いた所に縦に並べる（上に重ねると押しにくく、絵も小さくなるため） */
#viewtop { position: absolute; inset: 0; pointer-events: none; }
.segs { position: absolute; top: 4px; display: flex; flex-direction: row; gap: 2px; background: rgba(10, 9, 14, .72); border-radius: 14px; padding: 4px; pointer-events: auto; }
#viewbar { left: 2px; }
#facebar { right: 2px; }
.seg { border: 0; background: none; min-width: 50px; min-height: 36px; padding: 0 6px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #ddd3bf; white-space: nowrap; touch-action: manipulation; }
@media (min-width: 820px) { .segs { top: 50%; transform: translateY(-50%); flex-direction: column; gap: 4px; } .seg { min-width: 54px; min-height: 48px; font-size: 14px; } #viewbar { left: 6px; } #facebar { right: 6px; } }
.seg.on { background: var(--skin-paper); color: var(--skin-paper-ink); }
#facebar .seg.on { background: var(--skin-accent); color: var(--skin-accent-ink); }
#viewfoot { position: absolute; left: 10px; right: 10px; bottom: 6px; display: flex; flex-wrap: wrap; gap: 2px 8px; justify-content: space-between; font-size: 12px; color: var(--muted); pointer-events: none; }
#viewname { font-weight: 700; color: var(--skin-ink); background: rgba(10, 9, 14, .6); padding: 2px 8px; border-radius: 8px; }

#panel { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--panel); border-top: 1px solid var(--line); }
#tabs { flex: none; display: flex; gap: 3px; padding: 4px 6px 0; overflow-x: auto; }
.tab { flex: 1; min-width: 48px; min-height: 38px; border: 0; border-radius: 10px 10px 0 0; background: #2b2734; font-weight: 700; font-size: 13px; color: #d3c9b5; white-space: nowrap; }
.tab.on { background: var(--skin-paper); color: var(--skin-paper-ink); }
#panelbody { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px 20px; background: linear-gradient(var(--skin-paper), #ece0c6); color: var(--skin-paper-ink); display: flex; flex-direction: column; gap: 4px; }
.grp { margin-bottom: 8px; }
.grp h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .04em; color: #6a3a2a; }
.note { margin: 3px 0 6px; font-size: 11px; line-height: 1.55; color: #5a4c40; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { min-height: 36px; padding: 0 10px; border-radius: 10px; border: 2px solid #d6c6a6; background: #fffaf0; font-weight: 700; font-size: 12px; color: var(--skin-paper-ink); }
.chip.on { border-color: #22161a; background: #22161a; color: var(--skin-paper); }
.chip.has::after { content: '●'; margin-left: 4px; font-size: 9px; color: #c03a3a; vertical-align: middle; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 4px; }
.sw { border: 2px solid transparent; background: none; border-radius: 10px; padding: 3px 1px; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 40px; }
.sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0,0,0,.28), inset 0 5px 8px rgba(255,255,255,.35), 0 1px 0 rgba(0,0,0,.2); }
.sw span { font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.sw.on { border-color: #22161a; background: #fffaf0; }
.motifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 5px; }
.motif { border: 2px solid #d6c6a6; background: #2a2632; border-radius: 10px; padding: 3px; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #f3ead6; }
.motif img { width: 48px; height: 48px; object-fit: contain; }
.motif canvas { max-width: 48px; max-height: 48px; }
.motif span { font-size: 10px; font-weight: 700; }
.motif.on { border-color: var(--skin-accent); box-shadow: 0 0 0 2px var(--skin-accent); }
.slots, .ed-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fffaf0; background: var(--c); box-shadow: 0 0 0 1px #9a8a70, inset 0 -6px 8px rgba(0,0,0,.25); }
.slot.metal { background: linear-gradient(135deg, var(--c), #fff 45%, var(--c) 60%); }
.slot.on { box-shadow: 0 0 0 3px #22161a; }
.slot.add { background: #fffaf0; font-size: 20px; font-weight: 700; color: #22161a; }
.range { display: grid; grid-template-columns: 4em 1fr 3.5em; align-items: center; gap: 8px; min-height: 36px; font-size: 12px; font-weight: 700; }
.range input { width: 100%; accent-color: #22161a; }
.range b { text-align: right; font-size: 13px; }
.grow { flex: 1; }

/* ボタン（kit v2：厚みのある硬い影。押すと沈む） */
.btn { display: block; width: 100%; min-height: 56px; border: 0; border-radius: var(--ui-radius-btn); font-family: var(--ui-font-display); font-weight: var(--ui-display-weight); font-size: var(--ui-btn-size); line-height: 1.15; letter-spacing: .04em; padding: 0 10px; }
.btn.primary { background: var(--skin-accent); color: var(--skin-accent-ink); box-shadow: 0 6px 0 var(--skin-accent-shadow); height: 66px; margin-bottom: 6px; }
.btn.primary:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--skin-accent-shadow); }
.btn.sub { min-height: 40px; font-family: var(--ui-font); font-weight: 700; font-size: 14px; background: #22161a; color: var(--skin-paper); box-shadow: 0 4px 0 #000; }
.btn.sub:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.pill { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: #34303d; color: var(--skin-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.pill.accent { background: var(--skin-accent); color: var(--skin-accent-ink); box-shadow: 0 3px 0 var(--skin-accent-shadow); }
.pill.on { background: var(--skin-paper); color: var(--skin-paper-ink); }
.iconbtn { width: var(--ui-tap); height: var(--ui-tap); border-radius: 50%; border: 0; background: rgba(255,255,255,.12); font-size: 20px; display: grid; place-items: center; flex: none; }

/* 仕様一覧 */
.spec h3 { margin: 10px 0 4px; font-size: 14px; color: #6a3a2a; border-bottom: 2px solid #22161a; padding-bottom: 2px; }
.spec dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 10px; margin: 0; font-size: 12.5px; }
.spec dt { font-weight: 700; color: #6a5a4a; }
.spec dd { margin: 0; font-weight: 700; }

/* 広い画面：絵を左、パネルを右 */
@media (min-width: 820px) and (min-aspect-ratio: 1/1) {
  #main { flex-direction: row; }
  #viewwrap { flex: 1 1 auto; }
  #panel { flex: 0 0 420px; border-top: 0; border-left: 1px solid var(--line); }
}

/* ===== タイトル ===== */
#title { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: space-between; padding: calc(env(safe-area-inset-top, 0px) + 28px) 20px 20px;
  background: linear-gradient(rgba(var(--skin-scrim), .9) 0%, rgba(var(--skin-scrim), .3) 30%, rgba(var(--skin-scrim), .15) 40%, rgb(var(--skin-scrim)) 52%); }
.t-top { text-align: center; }
.label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--skin-accent); border: 2px solid var(--skin-accent); border-radius: 999px; padding: 2px 14px; }
.logo { margin: 10px 0 4px; font-family: var(--ui-font-logo); font-weight: 400; font-size: min(16.5vw, 112px); line-height: 1.05; white-space: nowrap; color: var(--skin-ink); text-shadow: 0 7px 0 var(--skin-logo-shadow); letter-spacing: .02em; }
.catch { margin: 8px 0 0; font-size: 18px; font-weight: 700; word-break: keep-all; }
.catch span { display: inline-block; }
.catch span + span { margin-left: .3em; } /* 二つ目の句との間（英字の言語で必要。日本語・中国語では空けない） */
:root:lang(ja) .catch span + span, :root:lang(zh-Hans) .catch span + span, :root:lang(zh-Hant) .catch span + span { margin-left: 0; }
.t-bottom { width: 100%; max-width: 460px; margin: 0 auto; }
.steps { list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 0 0 16px; padding: 0; }
.steps li { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; } /* 長い言語は空白のところで折り返す */
.steps b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--skin-paper); color: var(--skin-paper-ink); font-family: var(--ui-font-display); font-weight: var(--ui-display-weight); }
#start { animation: bob 2.4s ease-in-out infinite; }
.t-note { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
#title .logo { animation: drop .7s cubic-bezier(.2,.9,.3,1.25) both; }
#title .t-bottom { animation: rise .5s ease-out .2s both; }
#app:has(#title:not([hidden])) #viewtop { visibility: hidden; } /* タイトルの間は面のボタンを隠す */
#title:not(.ready) #start { display: none; }
#title.ready #loading { display: none; }
/* 読み込み中の表示：メインボタンと同じ場所・同じ高さに出す（できたらボタンに替わる） */
#loading { height: 66px; margin-bottom: 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
#loading b { font-family: var(--ui-font-display); font-weight: var(--ui-display-weight); font-size: 22px; letter-spacing: .08em; color: var(--skin-ink); }
#loading .bar { width: 100%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
#loading .bar i { display: block; height: 100%; width: 4%; background: var(--skin-accent); border-radius: 4px; transition: width .6s ease-out; }
@keyframes drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ===== できあがり ===== */
#result { position: absolute; inset: 0; z-index: 15; display: flex; flex-direction: column; background: var(--bg); }
.r-head { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px; }
.r-title { font-family: var(--ui-font-display); font-weight: var(--ui-display-weight); font-size: 26px; text-shadow: 0 4px 0 var(--skin-logo-shadow); }
.r-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 12px; }
#shots { display: grid; grid-template-columns: 1fr; gap: 8px; }
#shots figure { margin: 0; background: radial-gradient(#3a3542, #201d27); border-radius: 12px; padding: 6px; text-align: center; }
#shots figure.side { padding: 6px 20%; }
#shots .shot { width: 100%; height: auto; display: block; }
#shots figcaption { font-size: 12px; font-weight: 700; color: var(--muted); }
#rspec { margin-top: 12px; background: var(--skin-paper); color: var(--skin-paper-ink); border-radius: var(--ui-radius-card); padding: 4px 14px 14px; }
.r-foot { flex: none; padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.r-foot .btn.primary { margin-bottom: 6px; }
@media (min-width: 820px) { #shots { grid-template-columns: 1fr 1fr; } .r-foot { max-width: 480px; margin: 0 auto; width: 100%; } }

/* ===== 糸の色を選ぶ小さな画面 ===== */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet-card { width: 100%; max-width: 560px; max-height: 70dvh; overflow-y: auto; background: var(--skin-paper); color: var(--skin-paper-ink); border-radius: 16px 16px 0 0; padding: 10px 12px 18px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-head .iconbtn { background: #e0d2b4; }
.threads { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.thread { border: 2px solid transparent; background: none; border-radius: 10px; padding: 4px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: var(--ui-tap); }
.thread i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); background-image: repeating-linear-gradient(60deg, rgba(255,255,255,.22) 0 2px, transparent 2px 5px); box-shadow: inset 0 -5px 8px rgba(0,0,0,.3); }
.thread.metal i { background-image: linear-gradient(135deg, transparent, rgba(255,255,255,.75) 45%, transparent 60%); }
.thread span { font-size: 11px; font-weight: 700; white-space: nowrap; }
.thread.on { border-color: #22161a; }

/* ===== お絵描き ===== */
.editor { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: #121016; }
.slidein .editor { bottom: calc(var(--slide-h) + env(safe-area-inset-bottom, 0px)); }
.ed-top { flex: none; display: flex; align-items: center; gap: 6px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 8px 6px; }
.ed-title { flex: 1; min-width: 0; text-align: center; font-size: 14px; line-height: 1.2; } /* 長い言語は空白で2行に */
.ed-stage { position: relative; flex: 1; min-height: 0; }
.ed-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.ed-hint { position: absolute; left: 8px; bottom: 6px; font-size: 12px; color: #d8cfbd; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 8px; pointer-events: none; }
.ed-hint:empty { display: none; }
.ed-bottom { flex: none; background: var(--skin-paper); color: var(--skin-paper-ink); padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ed-tools { display: flex; gap: 4px; }
.ed-tools button { flex: 1; min-height: var(--ui-tap); border: 2px solid #d6c6a6; background: #fffaf0; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--skin-paper-ink); }
.ed-tools button.on { background: #22161a; border-color: #22161a; color: var(--skin-paper); }
.ed-opt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.ed-opt label { display: flex; align-items: center; gap: 6px; }
.ed-opt input[type=range] { width: 140px; accent-color: #22161a; }
.ed-opt input[type=text] { flex: 1 1 180px; min-height: 40px; border-radius: 10px; border: 2px solid #d6c6a6; padding: 0 10px; font: inherit; }
.ed-opt select { min-height: 40px; border-radius: 10px; border: 2px solid #d6c6a6; font: inherit; background: #fffaf0; }
.ed-opt .pill { background: #22161a; color: var(--skin-paper); }
.ed-opt .pill.on { background: var(--skin-accent); color: var(--skin-accent-ink); }
.ed-count { font-size: 11.5px; color: #5a4c40; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
#savewarn { color: #ffb3a8; background: rgba(60,10,10,.75); padding: 2px 8px; border-radius: 8px; }

/* 刺繍の部品の並び */
.pieces { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.piece { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 0 10px; border-radius: 10px; border: 2px solid #d6c6a6; background: #fffaf0; font-weight: 700; font-size: 12.5px; color: var(--skin-paper-ink); text-align: left; }
.piece.on { border-color: var(--skin-accent); box-shadow: 0 0 0 2px var(--skin-accent); }
.pname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdots { display: flex; flex-wrap: wrap; gap: 2px; max-width: 50%; justify-content: flex-end; }
.pdots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.chip.add { border-style: dashed; }
.chip:disabled { opacity: .4; }
.textin { width: 100%; min-height: 40px; border-radius: 12px; border: 2px solid #d6c6a6; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 700; background: #fffaf0; }
#notice { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; padding: 10px 12px; border-radius: 12px; background: #22161a; color: var(--skin-paper); font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.35); }

/* 保存した一着 */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.work { position: relative; border: 2px solid #d6c6a6; border-radius: 10px; background: #2a2632; padding: 4px 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #f3ead6; }
.work img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }
.work span { font-size: 10px; font-weight: 700; }
.work .del { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fffaf0; background: #22161a; color: #fffaf0; font-size: 13px; line-height: 1; padding: 0; }
.r-note { color: var(--muted); text-align: center; }

/* ===== 言語の切り替え（タイトル左上の地球ボタン → メニュー。asmr と同じ作り） ===== */
.round { width: var(--ui-tap); height: var(--ui-tap); border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--skin-ink); display: grid; place-items: center; padding: 0; }
#langbtn { position: absolute; z-index: 3; left: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px); }
#langmenu { display: none; position: absolute; z-index: 4; left: 16px; top: calc(env(safe-area-inset-top, 0px) + 62px); grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(24,12,44,.96); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
#langmenu.open { display: grid; }
#langmenu button { min-height: var(--ui-tap); padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); font-weight: 700; font-size: 14px; white-space: nowrap; }
#langmenu button.sel { background: var(--skin-accent); color: var(--skin-accent-ink); }

/* 全体の拡大・縮小（左上。2026-11-22 要望）。スマホは上の帯の「正面・背面」の右、広い画面は左上の角 */
#zoombar { left: 112px; }
#zoombar .seg { width: 36px; font-size: 16px; }
#zoombar .seg[data-z="fit"] { width: auto; min-width: 40px; padding: 0 8px; font-size: 11px; }
@media (min-width: 820px) { #zoombar { top: 6px; left: 6px; transform: none; flex-direction: row; gap: 2px; } #zoombar .seg { min-height: 38px; } }
.chip.fontchip { font-size: 15px; }
.selbox { background: #fffaf0; border: 2px solid var(--skin-accent); border-radius: 12px; padding: 8px; }
