:root {
  --bg: #e8f4f8;
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='rgba%2895%2C180%2C201%2C0.30%29' stroke-width='1.5'/%3E%3C/svg%3E");
  --panel: #ffffff;
  --ink: #2b2418;
  --muted: #56666d;
  --line: #f3c95c; --edge: #ffffff;
  --accent: #c47a00;
  --accent-ink: #ffffff;
  --honey: #f2b632;
  --cell: #fffdf8;
  --cell-line: #3a3122;
  --given: #2b2418;
  --shaded: #6b6152;
  --memo: #f5a24b;
  --ok: #bfe8b8;
  --ng: #f7b7b0;
  --cursor: #1d7fd6;
  --heat: #d23c2c;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='rgba%28242%2C182%2C50%2C0.07%29' stroke-width='1.5'/%3E%3C/svg%3E");
  --bg: #17140f; --panel: #221e17; --ink: #f2ead8; --muted: #b3a688; --line: #6b5520; --edge: #2c2515;
  --accent: #f2b632; --accent-ink: #1b1408; --cell: #2a251c; --cell-line: #cdbf9f;
  --given: #0b0906; --shaded: #8d826d; --memo: #c77a2a; --ok: #2f5a2b; --ng: #6b2a24; --cursor: #58aef5;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg) var(--bg-pattern) center top / 79.67px 138.00px repeat; color: var(--ink);
  font: 15px/1.7 "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px 48px; }
.site {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
  padding: 14px 0; border-bottom: 3px solid var(--line); box-shadow: 0 3px 0 var(--edge); margin-bottom: 18px;
}
.site .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.site nav { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; }
.site nav a { color: var(--muted); text-decoration: none; }
.site nav a[aria-current="page"], .site nav a:hover { color: var(--ink); }
.site .tools { margin-left: auto; display: flex; align-items: center; gap: 12px; min-height: 32px; }
.site .who { font-size: 13px; color: var(--muted); }
.site .tools { gap: 8px; }
html[lang="ja"] [data-only="en"], html[lang="en"] [data-only="ja"] { display: none; }
.site .lang { min-width: 52px; height: 36px; padding: 0 8px; border: 2px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.site .lang:hover { border-color: var(--accent); color: var(--accent); }
.site .mypage { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--ink); }
.site .mypage:hover, .site .mypage[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.site .mypage svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (max-width: 640px) { .site { column-gap: 8px; } .site .brand { font-size: 16px; gap: 6px; } .site .tools { order: 1; gap: 6px; } .site .lang { min-width: 46px; padding: 0 5px; } .site nav { order: 2; width: 100%; } .site .who { min-width: 0; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .site nav { gap: 2px 9px; font-size: 13px; }  .site .tools { margin-left: auto; } }
h1 { font-size: 24px; line-height: 1.3; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 28px 0 8px; }
.lead { color: var(--muted); margin: 0 0 14px; }
.panel { background: var(--panel); border: 3px solid var(--line); box-shadow: 0 0 0 3px var(--edge); border-radius: 12px; padding: 14px 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border-radius: 10px; border: 2px solid var(--line); background: var(--panel); color: var(--ink);
  font: inherit; font-size: 14px; text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }
input[type="number"], input[type="text"] {
  min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--panel); color: var(--ink); font: inherit;
}
input[type="number"] { width: 6.5em; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }

/* 遊ぶ・作るページの 2 段組み */
.game { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
@media (max-width: 760px) { .game { grid-template-columns: minmax(0, 1fr); } }
.boardbox { position: relative; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.timer { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.timer.done { color: var(--accent); }
.side > * + * { margin-top: 14px; }
.side h2 { margin: 0 0 6px; font-size: 15px; }

/* SVG 盤面（サイトのライト／ダークに関係なく白地に黒線）。
   盤面テーマ: 既定は旧ツールと同じ配色（6マスの島＝緑、6マス未満＝ピンク、仮置き＝オレンジ）。
   data-board="mono"（localStorage の honey-board-theme = "mono"、今は画面から切り替えない）で白黒。 */
.board {
  --b-cell: #ffffff; --b-line: #111111; --b-grid: #111111; --b-given: #111111; --b-shaded: #606060;
  --b-memo: #f59f3f; --b-ok: #b3ffb3; --b-ng: #ffa3a3; --b-ng-fill: var(--b-ng); --b-hatch: #9a9a9a;
  --b-dot: #111111; --b-heat: #d23c2c; --b-cursor: #1d7fd6; --b-cursor-dash: none;
  display: block; width: 100%; height: auto; margin: 0 auto; touch-action: none;
  background: var(--b-cell); box-shadow: 0 0 0 3px var(--line), 0 0 0 6px var(--edge, #fff);
  user-select: none; -webkit-user-select: none;
}
:root[data-board="mono"] .board {
  --b-shaded: #4a4a4a; --b-memo: #b9b9b9; --b-ok: #ececec; --b-ng-fill: url(#ng-hatch);
  --b-heat: #8c8c8c; --b-cursor: #7a7a7a; --b-cursor-dash: 2.2 1.4;
}
.board .hex { fill: var(--b-cell); stroke: var(--b-grid); stroke-width: 1; stroke-linejoin: round; }
.board .cell { cursor: pointer; }
.board .cell.given .hex { fill: var(--b-given); }
.board .cell.shaded .hex { fill: var(--b-shaded); }
.board .cell.memo-shaded .hex { fill: var(--b-memo); }
.board .cell.ok .hex { fill: var(--b-ok); }
.board .cell.ng .hex { fill: var(--b-ng-fill); }
.board .cell.heat .hex { fill: color-mix(in srgb, var(--b-heat) calc(var(--p, 0) * 100%), var(--b-cell)); }
.board .mark { display: none; fill: var(--b-dot); }
.board .cell.dot .mark, .board .cell.given-dot .mark { display: inline; }
.board .cell.memo-dot .mark { display: inline; fill: var(--b-memo); }
.board .cell.given-dot .hex { fill: var(--b-cell); }
.board .num { font-size: 6px; fill: var(--b-line); pointer-events: none; font-variant-numeric: tabular-nums; }
.board .cell.given .num { fill: var(--b-cell); }
.board .cursor { fill: none; stroke: var(--b-cursor); stroke-width: 1.6; stroke-dasharray: var(--b-cursor-dash); pointer-events: none; }
.board .hatch-line { stroke: var(--b-hatch); stroke-width: .9; }
.board .hatch-bg { fill: var(--b-cell); }

/* 一覧・表 */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 2px solid var(--line); }
th { font-weight: 700; color: var(--muted); font-size: 12px; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tr.me td { background: color-mix(in srgb, var(--honey) 22%, transparent); }
.empty { color: var(--muted); font-size: 14px; }

/* トップページ */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; align-items: center; margin-bottom: 8px; }
@media (max-width: 640px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card { display: block; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--accent); }
.card b { display: block; font-size: 16px; }
.card span { font-size: 13px; color: var(--muted); }
.rules li + li { margin-top: 4px; }

/* クリア表示 */
dialog.clear { border: 0; border-radius: 16px; padding: 22px 24px; max-width: min(92vw, 380px); background: var(--panel); color: var(--ink); text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
dialog.clear::backdrop { background: rgba(20, 14, 4, .45); }
dialog.clear h2 { margin: 0 0 4px; font-size: 22px; }
dialog.clear .big { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0; }
dialog.clear .row { justify-content: center; margin-top: 14px; }
.status { font-size: 13px; color: var(--muted); min-height: 1.7em; margin: 6px 0 0; }
.status.err { color: #c0392b; }
footer { margin-top: 40px; padding-top: 14px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); }
.linklike { border: 0; padding: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* 高評価・ブックマーク */
.prefs .marks { margin: 0 0 10px; }
.btn.mark { min-height: 34px; padding: 4px 12px; gap: 5px; }
.btn.mark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn.mark[aria-pressed="true"] { background: var(--panel); color: var(--ink); border-color: var(--accent); }
.btn.mark[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.btn.like .heart { font-size: 17px; line-height: 1; }
.btn.like[aria-pressed="true"] .heart { color: #e0457b; }


/* 確認ダイアログ */
dialog.dialog { border: 3px solid var(--line); border-radius: 14px; padding: 18px 20px; width: min(92vw, 360px); background: var(--panel); color: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
dialog.dialog::backdrop { background: rgba(20, 14, 4, .45); }
dialog.dialog .msg { margin: 0 0 14px; }
dialog.dialog .row { justify-content: flex-end; }
.btn.danger { background: #b3261e; border-color: #b3261e; color: #fff; }

.panel.inputs { margin-top: 12px; }
.panel.inputs h2 { margin: 0 0 6px; font-size: 15px; }

/* 2 つ並びの切り替え（1ボタン｜2ボタン） */
.seg { display: inline-flex; }
.seg .btn { border-radius: 0; }
.seg .btn:first-child { border-radius: 10px 0 0 10px; }
.seg .btn:last-child { border-radius: 0 10px 10px 0; margin-left: -2px; }

#sample .board { max-width: 280px; }
.modes { margin: 0 0 8px; }

dialog.dialog h2 { margin: 0 0 8px; font-size: 18px; }
dialog.dialog input[type="text"] { width: 100%; }

/* タブ（マイページ） */
.tabs { display: flex; margin-top: 24px; border-bottom: 3px solid var(--line); overflow-x: auto; }
.tabs [role="tab"] { flex: none; min-height: 42px; padding: 6px 14px; margin-bottom: 0; border: 2px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--panel); border-color: var(--line); color: var(--ink); font-weight: 700; }
.tabs .num { color: var(--muted); font-size: 12px; font-weight: 500; }
.tabpanel { padding-top: 10px; }
@media (max-width: 640px) { .tabs [role="tab"] { padding: 6px 5px; font-size: 12px; }  .tabs .num { font-size: 11px; } }

/* ハニーアイランドについて */
.about h2:first-child { margin-top: 0; }
.about p, .about ul { margin: 0 0 8px; }

/* コピーした盤面 */
.copied { margin: 6px 0 0; padding: 8px 10px; overflow-x: auto; border: 2px solid var(--line); border-radius: 10px; font: 13px/1.35 ui-monospace, Menlo, Consolas, monospace; user-select: all; -webkit-user-select: all; }
.boardbox #rankBox { margin-top: 6px; }
#rankBox h2 { margin: 0 0 6px; font-size: 15px; }

/* ---- テーマ（マイページで選ぶ。js/theme.js） ---- */
:root[data-theme="mono"] {
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='%23e4e4e4' stroke-width='1.5'/%3E%3C/svg%3E");
  --bg: #f6f6f6; --panel: #fff; --ink: #111; --muted: #5c5c5c; --line: #8a8a8a; --edge: #fff;
  --accent: #111; --accent-ink: #fff; --honey: #d0d0d0;
}
:root[data-theme="honey"] {
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='%23f0cf7a' stroke-width='1.5'/%3E%3C/svg%3E");
  --bg: #fdf0cd; --panel: #fffaf0; --ink: #3a2208; --muted: #765732; --line: #e0a02a; --edge: #fff3d1;
  --accent: #a85d00; --accent-ink: #fff; --honey: #f5bf3a;
}
:root[data-theme="honey"] .board {
  --b-cell: #fff6dc; --b-line: #3a2208; --b-grid: #6b3f0a; --b-given: #3a2208; --b-shaded: #9a6424;
  --b-memo: #e8743b; --b-ok: #ffcf4d; --b-ng: #f6bfa2; --b-dot: #3a2208; --b-heat: #b3541e;
}
:root[data-theme="island"] {
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='%23a9d9dd' stroke-width='1.5'/%3E%3C/svg%3E");
  --bg: #d9f0f0; --panel: #fffdf4; --ink: #123a42; --muted: #456a70; --line: #e2c27c; --edge: #fff;
  --accent: #08737f; --accent-ink: #fff; --honey: #a9dc8c;
}
:root[data-theme="island"] .board {
  --b-cell: #fff2cf; --b-line: #123a42; --b-grid: #2b6a78; --b-given: #0f4a5e; --b-shaded: #4ba3bd;
  --b-memo: #f08a4b; --b-ok: #a5d97e; --b-ng: #ffc9a3; --b-dot: #123a42; --b-heat: #0f6c86;
}
:root[data-theme="night"] {
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='79.67' height='138.00'%3E%3Cpath d='M39.84 0L79.67 23.00V69.00L39.84 92.00L0 69.00V23.00ZM39.84 92.00V138.00' fill='none' stroke='%2316384f' stroke-width='1.5'/%3E%3C/svg%3E");
  --bg: #0c2233; --panel: #12304a; --ink: #e6f1f7; --muted: #a3bfd0; --line: #3f6d8c; --edge: #0c2233;
  --accent: #f2c14e; --accent-ink: #1a1405; --honey: #f2c14e;
  color-scheme: dark;
}
:root[data-theme="night"] .board {
  --b-cell: #f3ead2; --b-line: #0c2233; --b-grid: #0c2233; --b-given: #0c2233; --b-shaded: #4a7695;
  --b-memo: #e58f4a; --b-ok: #a9d98a; --b-ng: #f4b6a0; --b-dot: #0c2233; --b-heat: #1f6f9c;
}
:root[data-theme="mono"] .board {
  --b-shaded: #4a4a4a; --b-memo: #b9b9b9; --b-ok: #ececec; --b-ng-fill: url(#ng-hatch);
  --b-heat: #8c8c8c; --b-cursor: #7a7a7a; --b-cursor-dash: 2.2 1.4;
}
:root[data-theme="mono"] .btn.like[aria-pressed="true"] .heart { color: inherit; }
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(130px, 30%), 1fr)); gap: 8px; border: 0; margin: 0; padding: 0; }
.themes label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.themes label:has(:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 700; }
.themes label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.themes input { position: absolute; opacity: 0; }
.themes svg { width: 40px; height: 36px; flex: none; border-radius: 6px; }

/* 角を斜めに切った 8 角形のボックス。::before が白い縁と黄色い線、::after が地の色 */
.panel, dialog.clear, dialog.dialog {
  --cut: 18px; --cut-in: 14.5px;
  border: 3px solid transparent; border-radius: 0; background: none; box-shadow: none; isolation: isolate;
}
.panel { position: relative; }
dialog.clear, dialog.dialog { overflow: visible; }
.panel::before, dialog.clear::before, dialog.dialog::before {
  content: ""; position: absolute; inset: -6px; z-index: -1; pointer-events: none;
  --w: calc(var(--cut) * .7071 + 3px);
  background:
    linear-gradient(135deg, var(--edge) var(--w), transparent 0) left top / 40px 40px no-repeat,
    linear-gradient(225deg, var(--edge) var(--w), transparent 0) right top / 40px 40px no-repeat,
    linear-gradient(315deg, var(--edge) var(--w), transparent 0) right bottom / 40px 40px no-repeat,
    linear-gradient(45deg, var(--edge) var(--w), transparent 0) left bottom / 40px 40px no-repeat,
    var(--line);
  box-shadow: inset 0 0 0 3px var(--edge);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.panel::after, dialog.clear::after, dialog.dialog::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--panel);
  clip-path: polygon(var(--cut-in) 0, calc(100% - var(--cut-in)) 0, 100% var(--cut-in), 100% calc(100% - var(--cut-in)), calc(100% - var(--cut-in)) 100%, var(--cut-in) 100%, 0 calc(100% - var(--cut-in)), 0 var(--cut-in));
}

/* スマホのタップで文字が選ばれたり、押した場所が光ったりしないように */
.board, .btn, .themes label, .tabs [role="tab"], summary { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.btn, .check, summary { touch-action: manipulation; }
.game { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.game input, .game table { user-select: text; -webkit-user-select: text; }
.game .copied { user-select: all; -webkit-user-select: all; }

.note { margin: 6px 0 0; padding: 6px 8px; border-left: 4px solid var(--accent); }

/* 島テーマ: 盤面の外側は薄い水色の海 */
:root[data-theme="island"] .board { background: #cbe9f6; }

/* ---- 読み込みで画面が動かないように、場所を先に確保する ---- */
.wrap { min-height: 100vh; display: flex; flex-direction: column; }
.wrap > main { flex: 1; min-width: 0; }
html { scrollbar-gutter: stable; }
.site .tools { min-height: 36px; min-width: 0; }
.site .who { max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
#board, #sample { aspect-ratio: 198 / 179.66; background: #fff; box-shadow: 0 0 0 3px var(--line), 0 0 0 6px var(--edge); }
#board .board, #sample .board { box-shadow: none; }
#sample { max-width: 280px; width: 100%; }
.timer { min-width: 4.2em; text-align: right; margin-left: auto; }
@media (max-width: 640px) { .boardbox .head { flex-wrap: nowrap; } .boardbox #title { font-size: 19px; } body[data-kind="shared"] .boardbox #title { font-size: 16px; } .boardbox .timer { font-size: 19px; } }
.boardbox #status { min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0; }
.ranklist { height: 226px; overflow-y: auto; }
.recentlist { min-height: 420px; }
.marks #likeCount { min-width: 1.4em; text-align: left; }
.marks #markNote:empty { display: none; }
.marks { flex-wrap: nowrap !important; gap: 6px; }
.marks .btn.mark { padding: 4px 9px; white-space: nowrap; }
.marks:has(#markNote:not(:empty)) { flex-wrap: wrap !important; }
body[data-kind="shared"] :is(#marks, #rankBox, #prev, #next) { display: none; }
.listinfo { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; min-width: 18em; }
html[data-user="out"] #bmOnly { visibility: hidden; }
html[data-user="out"] [data-in], html[data-user="in"] [data-out] { display: none !important; }
html[data-mode="make"] :is(#analyzePanel, #solvePanel), html[data-mode="solve"] :is(#judgePanel, #analyzePanel), html[data-mode="analyze"] #solvePanel { display: none; }
.knownline { display: block; min-height: 1.7em; }
#lead { min-height: 3.4em; }
#verdict { min-height: 1.7em; }
#solIndex { min-width: 6em; text-align: center; }
[data-tab][aria-pressed], [data-mode][aria-pressed] { min-width: 3.4em; }
.tabpanel { min-height: 300px; }
#mineCount:empty, #bmCount:empty, #likeCountMine:empty { display: inline-block; min-width: 1.2em; }
@media (max-width: 640px) { .site .tools { flex: 1 1 0; justify-content: flex-end; } .site .who { max-width: 78px; } .listinfo { width: 100%; } }
#grid { min-height: 100vh; }
#range { min-width: 8.5em; text-align: center; }
#keys { min-height: 3.4em; }
@media (max-width: 640px) { #lead { min-height: 5.1em; } }
