:root {
  --panel: rgba(250, 248, 243, 0.95);
  --panel2: #f1eee6;
  --ink: #1b222a;
  --sub: #5f6873;
  --faint: #8b929a;
  --line: #ddd7ca;
  --accent: #1d6f8e;
  --accent2: #2a8fb3;
  --warm: #e0892c;
  --good: #2e8a57;
  --bad: #c2453a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  --num: 'Barlow Condensed', 'Zen Kaku Gothic New', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #05070d; color: var(--ink);
  font-family: 'Zen Kaku Gothic New', 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', sans-serif; -webkit-font-smoothing: antialiased; }
canvas#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#ui { position: fixed; inset: 0; pointer-events: none; }
#ui > * { pointer-events: auto; }
#ui .pass { pointer-events: none; }
#ui .pass > * { pointer-events: auto; }
#labels { position: fixed; inset: 0; pointer-events: none; }
button { font-family: inherit; cursor: pointer; }
.num { font-family: var(--num); letter-spacing: 0.01em; }

/* ---------- パネル ---------- */
.panel { background: var(--panel); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.6); }
/* 釣り場で画面に重なる板（時刻・釣り方・釣り座・釣り中の板）は透かして、うしろの景色が見えるようにする */
.hud-tl, .hud-tc, .hud-tr, .hud-bl, .hints, .spothint, .spotpanel, .fishhud-l, .talkprompt, .fight { background: rgba(250, 248, 243, 0.58); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); border-color: rgba(255, 255, 255, 0.35); }
.hud-bl .chip:not(.on), .fishhud-l .speed button:not(.on), .fishhud-l .btn.ghost, .hud-bl .btn.ghost, .hud-tc .btn.ghost { background: rgba(255, 255, 255, 0.55); }
.panel h3 { margin: 0 0 8px; font-size: 13px; color: var(--sub); font-weight: 700; letter-spacing: 0.08em; }
.btn { border: none; border-radius: 9px; padding: 10px 18px; font-size: 15px; font-weight: 700; color: #fff; background: var(--accent);
  box-shadow: 0 3px 0 #11506a, 0 6px 14px rgba(0, 0, 0, 0.25); transition: transform 0.06s, filter 0.15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #11506a; }
.btn.warm { background: var(--warm); box-shadow: 0 3px 0 #a55f15, 0 6px 14px rgba(0, 0, 0, 0.25); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 2px 0 #cfc8b8, 0 4px 10px rgba(0, 0, 0, 0.12); border: 1px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.big { padding: 14px 34px; font-size: 18px; }
.btn:disabled { filter: grayscale(1) opacity(0.5); cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: inherit; opacity: 0.7; font-size: 11px; }
kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 5px; background: #fff; border: 1px solid #c9c2b2; border-bottom-width: 2px;
  font-family: var(--num); font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; }

/* ---------- タイトル ---------- */
.title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(5, 8, 16, 0) 0%, rgba(5, 8, 16, 0.55) 75%); }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); margin-bottom: 40px; }
.logo .en { font-family: var(--num); letter-spacing: 0.5em; font-size: 15px; opacity: 0.85; margin-bottom: 10px; padding-left: 0.5em; }
.logo .ja { font-size: 64px; font-weight: 900; letter-spacing: 0.12em; line-height: 1.1; }
.logo .ja span { color: #ffcf8a; }
.logo .sub { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 7px; letter-spacing: 0.06em; }
.logo .sub b { font-size: 18px; font-weight: 900; }
.logo .sub small { font-size: 12.5px; opacity: 0.85; }
.logo .mlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 0 12px; }
.logo .mlist i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); text-shadow: none; }
.logo { margin-bottom: 22px; }
.tlogo { display: block; width: min(680px, 92vw); height: auto; margin: 0 auto; }
.tlogo .lg-ja { font-family: 'Yuji Syuku', 'Zen Kaku Gothic New', serif; }
.tlogo .lg-pop { font-family: 'Mochiy Pop One', 'Zen Kaku Gothic New', sans-serif; }
.tlogo .lg-en { font-family: var(--num); font-weight: 600; }
.title .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0 16px; }
.title .menu .btn { white-space: nowrap; }
@media (max-width: 760px) and (max-height: 820px) { .title .foot { display: none; } }
.title .foot { position: absolute; bottom: 18px; color: rgba(255, 255, 255, 0.5); font-size: 12px; }

/* ---------- 準備画面 ---------- */
.prep { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 8, 16, 0.45); }
.prep .panel { width: min(1060px, 100%); max-height: 100%; overflow: auto; padding: 22px 26px; }
.prep h2 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.prep .lead { color: var(--sub); font-size: 13px; margin-bottom: 16px; }
.prep .grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.prep .row { margin-bottom: 16px; }
.prep .row > label { display: block; font-size: 12px; font-weight: 700; color: var(--sub); letter-spacing: 0.08em; margin-bottom: 7px; }
.prep .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.datebox { display: flex; align-items: center; gap: 8px; }
.datebox input { font-family: var(--num); font-size: 18px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
/* 釣り場を選ぶ地図 */
.mapbox { width: min(100%, calc(100vh - 300px), 620px); min-width: 280px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 18px rgba(20,40,50,.16); line-height: 0; }
.baymap { width: 100%; height: auto; display: block; font-family: inherit; user-select: none; }
.m-land { fill: #e9e0c6; }
.m-town { fill: #d9cdb0; opacity: .75; }
.m-hill { fill: none; stroke: #a99c78; stroke-width: 1.1; stroke-linejoin: round; opacity: .75; }
.m-road { fill: none; stroke: #fff8e4; stroke-width: 3; opacity: .85; }
.m-rail { fill: none; stroke: #8c8068; stroke-width: 1.3; stroke-dasharray: 7 4; opacity: .7; }
.m-river { fill: none; stroke: #8fc4cb; stroke-linecap: round; stroke-linejoin: round; }
.m-canal { fill: none; stroke: #8fc4cb; stroke-width: 2.6; stroke-linejoin: round; }
.m-shoal { fill: none; stroke: #c9e4dd; stroke-width: 11; stroke-linejoin: round; }
.m-depth { fill: none; stroke: #fff; stroke-width: 1; }
.m-depth.d1 { opacity: .5; } .m-depth.d2 { opacity: .36; } .m-depth.d3 { opacity: .25; }
.m-lane { fill: none; stroke: #3b7d92; stroke-width: 1.1; stroke-dasharray: 10 7; opacity: .55; }
.m-sound { fill: #2f6f85; font-size: 9.5px; text-anchor: middle; opacity: .7; }
.m-fill { fill: #d4cfc1; stroke: #8f8a78; stroke-width: 1; }
.m-stack { fill: #7c7566; } .m-tank { fill: #9d9786; }
.m-bridge { fill: none; stroke: #6e6a5e; stroke-width: 2.2; opacity: .75; }
.m-beach { fill: #f5e6ae; stroke: #cfbc7c; stroke-width: .8; }
.m-pierline { fill: none; stroke: #5d584c; stroke-width: 2.4; stroke-linecap: round; }
.m-rocks { fill: none; stroke: #5d584c; stroke-width: 1.3; stroke-linecap: round; }
.m-sea-name { fill: #1f6178; font-size: 25px; font-weight: 900; text-anchor: middle; letter-spacing: 3px; opacity: .72; }
.m-ocean { fill: #18536d; font-size: 14px; font-weight: 700; text-anchor: middle; opacity: .75; }
.m-place { fill: #6a6250; font-size: 13px; font-weight: 700; text-anchor: middle; }
.m-river-name { fill: #2f7388; font-size: 11px; font-weight: 700; paint-order: stroke; stroke: #e9e0c6; stroke-width: 3px; }
.m-compass circle { fill: rgba(255,255,255,.72); stroke: #55636a; stroke-width: 1; }
.m-compass path { fill: #55636a; } .m-compass path.n { fill: #c3512c; }
.m-compass text { fill: #33474f; font-size: 11px; font-weight: 700; text-anchor: middle; }
.m-scale path { fill: none; stroke: #33474f; stroke-width: 1.5; }
.m-scale text { fill: #33474f; font-size: 10px; text-anchor: middle; }
.m-border { fill: none; stroke: #6e6a5e; stroke-width: 1.5; }
.m-note { fill: #5d584c; font-size: 12px; font-weight: 700; paint-order: stroke; stroke: #e9e0c6; stroke-width: 3px; }
.m-pin { cursor: pointer; outline: none; }
.m-pin .hit { fill: transparent; }
.m-pin .mark { fill: #1d6f8e; stroke: #fff; stroke-width: 2; transition: transform .15s; transform-origin: 0 0; }
.m-pin .dot { fill: #fff; }
.m-pin .lbl rect { fill: rgba(255,255,255,.94); stroke: #1d6f8e; stroke-width: 1; }
.m-pin .lbl text { fill: #123f50; font-size: 13px; font-weight: 700; text-anchor: middle; }
.m-pin:hover .mark, .m-pin:focus-visible .mark { transform: scale(1.18); }
.m-pin:focus-visible .lbl rect { stroke-width: 2.5; stroke: #123f50; }
.m-pin.on .mark { fill: #e07a2a; transform: scale(1.25); }
.m-pin.on .lbl rect { fill: #e07a2a; stroke: #fff; }
.m-pin.on .lbl text { fill: #fff; }
.m-pin .ring { fill: none; stroke: #e07a2a; stroke-width: 2.5; animation: m-ring 1.8s ease-out infinite; transform-origin: 0 0; }
@keyframes m-ring { from { transform: scale(.6); opacity: .95; } to { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .m-pin .ring { animation: none; opacity: .6; } }
.m-pin.lock { cursor: default; opacity: .62; }
.m-pin.lock .mark { fill: #8a8a80; stroke-width: 1.5; }
.m-pin.lock .locktxt { fill: #55524a; font-size: 11px; font-weight: 700; paint-order: stroke; stroke: #e9e0c6; stroke-width: 3px; }
.mapinfo { margin-top: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.mapinfo b { display: block; font-size: 16px; }
.mapinfo .t { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.mapinfo p { margin: 3px 0 7px; font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.mapinfo .mths { display: flex; flex-wrap: wrap; gap: 4px; }
.mapinfo .mths span { padding: 2px 8px; border-radius: 99px; background: #e7f1f4; color: #1a5a70; font-size: 11.5px; font-weight: 700; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.area-card { text-align: left; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 12px; }
.area-card b { display: block; font-size: 15px; }
.area-card .t { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.area-card p { margin: 4px 0 0; font-size: 12px; color: var(--sub); line-height: 1.5; }
.area-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 111, 142, 0.18); }
.area-card.lock { opacity: 0.45; cursor: default; }
.daycard { background: var(--panel2); border-radius: 10px; padding: 12px 14px; }
.daycard .big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.daycard .big b { font-size: 26px; font-weight: 900; }
.daycard .kv { display: grid; grid-template-columns: 74px 1fr; gap: 4px 8px; font-size: 13px; }
.daycard .kv span:nth-child(odd) { color: var(--sub); }
.prep .pperk { font-size: 12px; font-weight: 800; color: #b5571f; margin: 2px 0 4px; }
/* かんたんな潮見表（出発の時間をえらぶ） */
.tideslots { display: block; width: 100%; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; }
.tideslots .tsnight { fill: rgba(30, 45, 70, 0.08); }
.tideslots .tsfill { fill: rgba(58, 160, 216, 0.18); } .tideslots .tscurve { fill: none; stroke: #2a8fb3; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tideslots text { font-size: 11px; fill: #8b929a; text-anchor: middle; font-weight: 700; }
.tideslots .tsex { fill: #2a8fb3; font-size: 10px; }
.tideslots .tshit { fill: transparent; cursor: pointer; }
.tideslots .tsmark circle { fill: #fff; stroke: #e8743a; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tideslots .tsmark.on circle { fill: #e8743a; }
.tideslots .tsmark .tslab { fill: #5a6470; font-size: 11px; }
.tideslots .tsmark.on .tslab { fill: #e8743a; font-weight: 900; }
.tideslots .tsline { stroke: #e8743a; stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.tideslots .tsmark { cursor: pointer; }
.ptlhint { font-weight: 600; color: var(--sub); font-size: 11px; }
.chip .tst { font-style: normal; font-size: 10px; margin-left: 4px; font-weight: 800; }
.chip .tst.up { color: #2a8f5a; } .chip .tst.dn { color: #c2453a; } .chip .tst.hi, .chip .tst.lo, .chip .tst.st { color: #2a8fb3; }
.chip.on .tst { color: inherit; }
@media (max-height: 520px) { .tideslots { height: 84px; margin-bottom: 0; } .ptimes .chips { display: none; } .ptimes.pond .chips { display: flex; } }   /* 管理釣り場は潮の図がないので、ボタンを出す（2026-11-15） */
canvas.tidechart { width: 100%; height: 170px; display: block; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.prep .go { position: sticky; bottom: -22px; z-index: 2; display: flex; justify-content: flex-end; gap: 10px; margin: 14px -26px -22px; padding: 12px 26px; align-items: center; background: var(--panel, #f4f2ec); border-top: 1px solid var(--line); }
.prep .go .note { color: var(--sub); font-size: 12px; margin-right: auto; }
.prep .parea { display: none; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 8px; }
.prep .parea b { font-size: 15px; margin-right: 6px; }
.prep .parea span { padding: 1px 7px; border-radius: 99px; background: #e7f1f4; color: #1a5a70; font-size: 11px; font-weight: 700; }
.prep .pbachi { margin-bottom: 10px; padding: 6px 10px; border-radius: 8px; background: #23324a; color: #ffe7a8; font-size: 12.5px; font-weight: 800; }
.prep .psum { display: none; margin-bottom: 10px; padding: 6px 10px; border-radius: 8px; background: var(--panel2); font-size: 12.5px; font-weight: 700; }

/* ---------- 散策・釣りの表示 ---------- */
.hud-tl { position: absolute; left: 16px; top: 16px; width: 272px; padding: 12px 14px; }
.clock { display: flex; align-items: baseline; gap: 10px; }
.clock .t { font-family: var(--num); font-size: 40px; font-weight: 700; line-height: 0.9; }
.clock .d { font-size: 12px; color: var(--sub); line-height: 1.4; }
.tidebar { margin-top: 8px; }
canvas.minitide { width: 100%; height: 54px; display: block; }
.tideinfo { display: flex; justify-content: space-between; font-size: 12px; margin-top: 3px; }
.tideinfo b { font-family: var(--num); font-size: 16px; }
.tideinfo { flex-wrap: wrap; }
.lureitem small { display: block; }
.lureitem small.when { margin-top: 3px; color: #1d6f8e; }
.lureitem small.when span { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 6px; background: rgba(42,143,179,0.12); font-weight: 700; }
.weightdesc { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--sub); }
.weightdesc p { margin: 4px 0; padding: 4px 8px; border-radius: 8px; }
.weightdesc p.on { background: rgba(224,137,44,0.12); color: inherit; }
.onbottom { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 6px; background: #e0892c; color: #fff; font-size: 12px; }
.tideinfo .flow { width: 100%; margin-top: 3px; padding: 2px 8px; border-radius: 8px; background: rgba(42,143,179,0.12); color: #1d6f8e; font-weight: 700; }
.tideinfo .flow .arrow { font-size: 18px; color: #1d6f8e; }
.up { color: var(--accent); font-weight: 700; }
.down { color: var(--warm); font-weight: 700; }
.hud-tr { position: absolute; right: 16px; top: 16px; padding: 10px 14px; font-size: 13px; min-width: 200px; }
.hud-tr .wx { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.hud-tr .wx span:nth-child(odd) { color: var(--sub); }
.hud-tc { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 16px; }
.hud-tc .an { font-weight: 900; font-size: 15px; }
.hud-tc .rest { font-size: 12px; color: var(--sub); }
.hud-bl { position: absolute; left: 16px; bottom: 16px; width: 360px; padding: 12px 14px; }
.methods { display: flex; gap: 6px; margin-bottom: 10px; }
.methods .chip { flex: 1; justify-content: center; font-weight: 700; white-space: nowrap; padding: 7px 8px; }
.lurebox { display: flex; align-items: center; gap: 10px; }
.lureicon { width: 46px; height: 46px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.lurebox .nm { font-weight: 700; font-size: 14px; }
.lurebox .cl { font-size: 12px; color: var(--sub); }
.hints { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 14px; padding: 8px 14px; font-size: 12px; color: var(--sub); white-space: nowrap; }
.hints span { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 1180px) { body:not(.touch) .hints { display: none; } }
body.touch .hints { left: auto; right: 10px; bottom: 10px; transform: none; gap: 10px; padding: 6px 10px; font-size: 11px; }
.spotpanel { position: absolute; right: 16px; top: 120px; width: 340px; padding: 14px 16px; }
.spothint { position: absolute; right: 16px; top: 120px; width: 300px; padding: 10px 14px; font-size: 13px; }
.spothint .ht { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.spothint .ring { flex: none; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 50%; border: 2.5px solid #ffb050; box-shadow: 0 0 6px #ffb050; }
.spothint .hs { color: #2c2a26; font-size: 12px; font-weight: 600; }
.spothint .hs + .hs { margin-top: 4px; }
.spothint .btn { margin-top: 8px; width: 100%; }
/* 仮想パッド（スマホの散策）：右下の丸。指で倒した向きに歩く */
.vpad { position: absolute; right: 18px; bottom: 18px; width: 120px; height: 120px; border-radius: 50%; background: rgba(250, 248, 243, 0.28); border: 2px solid rgba(255, 255, 255, 0.55); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); touch-action: none; pointer-events: auto; }
.vpad i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(250, 248, 243, 0.85); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); pointer-events: none; }
.vpad.on { background: rgba(250, 248, 243, 0.4); }
body.touch .hints { right: 150px; }
body.touch .talkprompt { right: 150px !important; }
/* 右上に固定の × ボタン（中を下へスクロールしても、ついてくる） */
.xclose { position: sticky; top: 0; z-index: 3; display: block; width: 32px; height: 32px; margin: 0 0 -32px auto; padding: 0; border: none; border-radius: 50%; background: rgba(31, 36, 44, 0.82); color: #fff; font-size: 20px; line-height: 32px; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); cursor: pointer; }
.spotpanel .xclose { display: none; }
.spotpanel .moreb { display: none; margin: 0 0 8px; padding: 2px 0; border: none; background: none; color: #1f4f78; font-size: 12px; font-weight: 700; text-decoration: underline; }
@keyframes hintOut { to { opacity: 0; visibility: hidden; } }
.spotpanel .nm { font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.spotpanel .ds { font-size: 12px; color: var(--sub); margin-bottom: 10px; line-height: 1.5; }
.obs { display: grid; grid-template-columns: 48px 1fr; gap: 6px 8px; font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.obs .k { font-size: 11px; font-weight: 700; color: #fff; background: #6c7680; border-radius: 5px; text-align: center; padding: 1px 0; height: fit-content; margin-top: 2px; }
.obs .k.bait { background: var(--accent); }
.obs .k.sign { background: var(--warm); }
.spotpanel .meth { font-size: 12px; color: var(--sub); margin-bottom: 10px; }
.spotpanel .taken { color: var(--bad); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.label3d { position: absolute; transform: translate(-50%, -100%); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 3px 8px; border-radius: 6px;
  background: rgba(10, 20, 30, 0.6); border: 1px solid rgba(127, 224, 255, 0.5); text-shadow: 0 1px 2px #000; }
.label3d.taken { border-color: rgba(255, 138, 106, 0.6); }
.komase { font-family: var(--num); letter-spacing: 1px; color: #b07a20; }
.hooked { color: var(--good); }
/* 釣果カード：持ち帰る */
.catch .albinoTag { display: inline-block; background: linear-gradient(90deg, #d84a78, #f0b040); color: #fff; font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 6px; letter-spacing: .1em; margin-bottom: 4px; }
.catch .btns { display: flex; gap: 8px; }
.catch .btns .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
.catch .keepone { margin-left: 4px; font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.catch .keepone:disabled { opacity: .55; cursor: default; }
.catch .prompt { margin: 0 0 12px; padding: 10px; border-radius: 8px; background: var(--panel2); font-size: 13px; }
.catch .prompt .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.catch .prompt button { font-size: 12px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
/* 図鑑のアルビノ */
.ztally { margin-bottom: 4px; font-size: 13px; color: var(--sub); }
.zreward { margin-bottom: 8px; font-size: 10.5px; color: #1f4f78; line-height: 1.4; }
.zalb { display: grid; grid-template-columns: 76px 1fr; gap: 8px; margin-top: 8px; padding: 6px; border-radius: 8px; background: linear-gradient(90deg, #fbeef2, #fdf5e4); border: 1px solid #efc9a8; font-size: 12px; }
.zalb .zimg { margin: 0; background: #2a3a48; }
.zalb b { display: block; font-size: 12px; color: #c0395f; }
.zalb .num { font-size: 15px; font-weight: 700; }
.zalb small { display: block; font-size: 10px; color: var(--sub); }
/* 水槽 */
.tankhud { position: absolute; inset: 0; pointer-events: none; }
.tankhud > * { pointer-events: auto; }
.tankhud .tankx { position: absolute; top: 16px; right: 18px; margin: 0; width: 36px; height: 36px; line-height: 36px; font-size: 22px; }
.tanktitle { position: absolute; left: 18px; top: 16px; padding: 10px 16px; }
.tanktitle b { font-size: 18px; font-weight: 900; display: block; }
.tanktitle small { color: var(--sub); font-size: 12px; }
.tanklist { position: absolute; right: 16px; top: 62px; width: 260px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100% - 78px); overflow-y: auto; overscroll-behavior: contain; }
.tanklist > * { flex-shrink: 0; }
.tankslot .tsbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.tankslot .rel.gyo { border-color: #c9a46a; color: #7a4a14; background: #fff8ea; font-weight: 700; }
.tankslot.addslot { grid-template-columns: 1fr; text-align: center; border: 2px dashed rgba(31,79,120,.45); background: rgba(250,248,243,.7); color: #1f4f78; font: inherit; padding: 12px 10px; }
.tankslot.addslot b { font-size: 14px; } .tankslot.addslot small { color: var(--sub); }
.tanktitle .tlooks { display: flex; gap: 6px; margin-top: 6px; }
.sharebtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sharebtns a.btn { text-decoration: none; }
/* 投稿・魚拓の画像は、長押しで「"写真"に保存」できるようにする（ゲームの画面では長押しを止めているので、ここだけ戻す） */
body.touch .gyimg img { -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; pointer-events: auto; }
/* 投稿の画面：画像は高さをおさえ、ボタンがいつも見えるように */
.sharepop .gyimg img, .gyopop .gyimg img { max-height: 46vh; width: auto; max-width: 100%; margin: 0 auto; }
@media (max-height: 520px) { .sharepop .gyimg img, .gyopop .gyimg img { max-height: 38vh; } .sharepop h2, .gyopop h2 { font-size: 15px; margin-bottom: 4px; } .sharebtns .btn { padding: 6px 12px; font-size: 13px; } .sharenote { margin-top: 4px; } }
.sharebtns .btn { display: inline-flex; align-items: center; gap: 6px; }
.sharebtns .sharex { background: #111; color: #fff; border-color: #111; }
.sharebtns .sharex svg { width: 15px; height: 15px; fill: currentColor; }
.sharebtns .shareline { background: #06c755; color: #fff; border-color: #06c755; }
.sharenote { font-size: 11.5px; color: var(--sub); margin: 8px 0 0; text-align: right; }
.lookpop .panel { width: min(560px, 94vw); max-height: 92vh; overflow: auto; }
.lkh { font-size: 12px; font-weight: 800; color: var(--sub); margin: 10px 0 6px; }
.lkrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.lkopt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 10px; border-radius: 10px; border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.lkopt b { font-size: 14px; } .lkopt small { font-size: 11px; color: var(--sub); font-weight: 700; }
.lkopt.on { border-color: var(--warm); background: #fff6ea; }
.lkopt.locked small { color: #1f4f78; }
.lknote { font-size: 11.5px; color: var(--sub); margin: 10px 0 0; }
.gyopop .panel { width: min(720px, 94vw); max-height: 94vh; overflow: auto; }
.gyimg img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.gyimg { margin-bottom: 10px; }
.zdgyo { margin-top: 10px; text-align: right; }
/* 記録：魚拓カードの一覧 */
.gyonote { color: var(--sub); font-size: 13px; line-height: 1.7; }
.gyolist { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gyoitem { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 10px; border: 2px solid #e2d6bc; background: #f6efe0; cursor: pointer; font: inherit; color: var(--ink); }
.gyoitem:hover { border-color: #c9a46a; }
.gyoitem img { width: 120px; height: 60px; object-fit: contain; filter: grayscale(1) contrast(1.2) brightness(.7); }
.gyoitem b { font-size: 14px; } .gyoitem .num { font-weight: 800; } .gyoitem small { color: var(--sub); font-size: 11px; }
.gyoitem .vname { margin-left: 4px; font-size: 10px; }
.addslotb { font-weight: 800; }
.tankslot { padding: 8px 10px; display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; cursor: pointer; }
.tankslot.on { outline: 2px solid var(--accent); }
.tankslot.empty { cursor: default; grid-template-columns: 1fr; color: var(--faint); font-size: 12px; text-align: center; padding: 16px 10px; }
.tankslot img { width: 74px; aspect-ratio: 2 / 1; object-fit: contain; border-radius: 6px; background: #1b3a48; }
.tankslot b { font-size: 14px; display: block; }
.tankslot .al { color: #c0395f; font-size: 11px; font-weight: 900; }
.tankslot small { display: block; font-size: 10.5px; color: var(--sub); line-height: 1.45; }
.tankslot .rel { margin-top: 3px; font-size: 11px; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.tankback { position: absolute; left: 18px; bottom: 16px; }
/* ながめる：一覧やボタンをしまって水槽だけにする */
.tankhud .tankshow { display: none; position: absolute; left: 16px; bottom: 16px; opacity: .85; }
.tankhud.viewing > *:not(.tankshow) { display: none !important; }
.tankhud.viewing .tankshow { display: inline-flex; }
/* 模様がえ：水槽の左の横パネル。開いている間は魚の一覧をしまう（水槽が見えるように） */
.tankhud.looking .tanklist, .tankhud.looking .tanktitle, .tankhud.looking .tankback, .tankhud.looking .tankx { display: none; }
.lookpanel { position: absolute; left: 12px; top: 12px; bottom: 12px; width: min(330px, 44vw); display: flex; flex-direction: column; padding: 10px 12px; background: rgba(250, 248, 243, 0.9); }
.lookpanel h3 { margin: 0 0 4px; font-size: 16px; }
.lookpanel .xclose { position: absolute; top: 8px; right: 8px; margin: 0; }
.lookpanel .lkscroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.lookpanel .lkrow { grid-template-columns: repeat(2, 1fr); gap: 6px; }
.lookpanel .lkopt { padding: 6px 8px; }
.lookpanel .lkopt b { font-size: 13px; }
.lookpanel .lkopt small { font-size: 10.5px; }
.lkopt.trying { border-color: #1f4f78; background: #eaf3fb; }
.lkbar { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; }
.lkbar .lkbtns { display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 720px) { .tanklist { left: 16px; right: 16px; top: auto; bottom: 66px; width: auto; flex-direction: row; overflow-x: auto; } .tankslot { min-width: 220px; } }
.catch .multi { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 12px; font-size: 13px; }
.catch .multi b { font-size: 18px; }
.catch .multi i { font-style: normal; font-size: 11px; color: #fff; background: #e0892c; border-radius: 4px; padding: 0 4px; }

/* タックル選択 */
.drawer { position: absolute; left: 16px; bottom: 150px; width: 430px; max-height: calc(100% - 300px); overflow: auto; padding: 14px; }
.lurelist { display: grid; gap: 6px; }
.lureitem { display: flex; gap: 10px; align-items: center; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.lureitem.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(29, 111, 142, 0.2); }
.lureitem b { font-size: 13px; display: block; }
.lureitem small { font-size: 11px; color: var(--sub); }
.colors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 釣り人との会話 */
.talkprompt { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; font-size: 13px; }
.talkprompt .who, .talkbox .who { font-weight: 900; }
.talkbox { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); width: min(520px, calc(100% - 32px)); padding: 14px 18px; }
.talkbox .who { font-size: 15px; margin-bottom: 6px; }
.talkbox .who small { font-weight: 500; color: var(--sub); margin-left: 8px; font-size: 12px; }
.talkbox p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; padding-left: 12px; border-left: 3px solid var(--line); }
.talkbox .ttag { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 18px; vertical-align: 1px; background: #1f4f78; color: #fff; }
.talkbox .ttag.gen { background: #e6e2d8; color: #4a4640; }
.talkbox p.angry { color: #b3261e; font-weight: 800; border-left-color: #b3261e; }
/* ガイド */
.guide { margin-top: 8px; background: var(--panel2); border-radius: 8px; padding: 6px 8px; }
.guide .gh { font-size: 11px; font-weight: 700; color: var(--sub); letter-spacing: 0.08em; margin-bottom: 2px; }
.guide .gr { display: grid; grid-template-columns: 44px 18px 1fr; gap: 4px; align-items: baseline; font-size: 12px; line-height: 1.5; }
.guide .gk { color: var(--sub); font-size: 11px; }
.guide b { font-size: 14px; text-align: center; }
.guide .g4 { color: var(--good); } .guide .g3 { color: var(--accent); } .guide .g2 { color: var(--warm); } .guide .g1 { color: var(--bad); }

/* 釣り中 */
.fishhud-l { position: absolute; left: 16px; bottom: 16px; width: 290px; padding: 12px 14px; font-size: 13px; }
.speed { display: flex; gap: 4px; margin-top: 6px; }
.speed button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 5px 0; font-family: var(--num); font-size: 16px; font-weight: 700; }
.speed button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
/* 巻き速度：数字だけだと何か分からないので、左に「巻き速度」、1 と 5 に「遅」「速」 */
.speed { align-items: stretch; }
.speed .spdlbl { flex: none; display: flex; align-items: center; font-size: 10px; font-weight: 800; line-height: 1.1; color: var(--sub); padding-right: 2px; text-align: center; }
.speed button { position: relative; }
.speed button small { display: block; font-family: inherit; font-size: 8.5px; font-weight: 800; line-height: 1; opacity: .75; margin-top: 1px; }
.row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
#f-depth { flex-wrap: wrap; }
.meter { height: 8px; border-radius: 4px; background: #e4dfd3; overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--accent); }
.fishkeys { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.fkey { min-width: 104px; padding: 10px 14px; border-radius: 12px; border: none; background: rgba(250, 248, 243, 0.93); box-shadow: var(--shadow); text-align: center;
  font-size: 14px; font-weight: 900; color: var(--ink); user-select: none; -webkit-user-select: none; touch-action: none; }
.fkey small { display: block; font-size: 11px; font-weight: 500; color: var(--sub); margin-top: 2px; }
.fkey.hot { background: var(--warm); color: #fff; }
.fkey.hot small { color: rgba(255, 255, 255, 0.85); }
.fkey.active { background: var(--accent); color: #fff; }
.fkey.active small { color: rgba(255, 255, 255, 0.85); }
.inset { position: absolute; border-radius: 14px; border: 3px solid rgba(250, 248, 243, 0.95); box-shadow: var(--shadow); pointer-events: none; }
.inset span { position: absolute; left: 8px; top: 6px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000; letter-spacing: 0.08em; }
.castgauge { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); width: 300px; padding: 8px 12px; }
.castgauge .meter { height: 12px; }
.castgauge .meter > i { background: linear-gradient(90deg, #2a8fb3, #e0892c); }
.status { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); padding: 7px 16px; font-size: 14px; font-weight: 700; }
.fight { position: absolute; left: 50%; top: 72px; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); padding: 10px 12px; pointer-events: auto; }
.fight .fstate { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 54px; }
.fight .fstate b { font-size: 17px; font-weight: 900; }
.fight .fstate small { font-size: 12px; color: var(--sub); }
.fight .fstate.turn b { color: var(--warm); }
.fight .fstate.bad b { color: var(--bad); }
.fight .fstate.tired b { color: var(--good, #2f8f5b); }
.fight .fbar { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 12px; }
.fight .fbar > span:first-child { flex: none; }
.fight .fbar .meter, .fight .fbar .tension { flex: 1; margin: 0; }
.fight .fbar .meter i { background: var(--warm); }
.fight .pips { flex: none; width: 52px; text-align: right; font-weight: 700; }
.fight .fdrag { flex: none; white-space: nowrap; }
.fight .fdrag small { color: var(--sub); }
.fight .fbar .warn { margin: 0; font-size: 13px; min-height: 0; }
.fight.easy { width: min(260px, calc(100vw - 32px)); }
.fight.easy .fbar:not(:nth-child(4)) { display: none; }
.fight.easy .fbar .meter { display: none; }
.fight .fbar .meter.line i { background: #2a8fb3; }
.fight .fdragrow { justify-content: space-between; }
.tension > u { position: absolute; top: 0; bottom: 0; right: 0; background: #c2453a; }
.fight.easy .fstate { min-height: 30px; }
.infight .fishkeys .fkey:not(#k-main) { display: none; }
.tension { position: relative; height: 18px; border-radius: 9px; background: #e4dfd3; overflow: hidden; margin: 6px 0 2px; }
.tension > i { position: absolute; top: 0; bottom: 0; width: 4px; background: var(--ink); border-radius: 2px; }
.tension > s { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.fight .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--sub); }
.fight .warn { margin-top: 8px; font-weight: 900; color: var(--bad); font-size: 14px; min-height: 20px; }

/* 釣果 */
.catch { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 360px; padding: 20px 22px; }
.catch .sp { font-size: 30px; font-weight: 900; }
.catch .main { display: flex; gap: 16px; align-items: baseline; margin: 6px 0 12px; }
.catch .main b { font-family: var(--num); font-size: 44px; line-height: 1; }
.catch .main small { font-size: 16px; color: var(--sub); margin-left: 2px; }
.catch .rec { display: inline-block; background: var(--warm); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
.catch .kv { display: grid; grid-template-columns: 70px 1fr; gap: 4px 8px; font-size: 13px; margin-bottom: 16px; }
.catch .kv span:nth-child(odd) { color: var(--sub); }

/* まとめ・記録 */
.sheet { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 8, 16, 0.55); }
.sheet .panel { width: min(900px, 100%); max-height: 100%; overflow: auto; padding: 22px 26px; }
.sheet h2 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; color: var(--sub); font-weight: 700; padding: 6px 8px; border-bottom: 2px solid var(--line); }
.table td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.table td.n { font-family: var(--num); font-size: 16px; font-weight: 600; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
/* 図鑑：小さめのカードを多く並べる（スクロールを少なく）。名前・最大サイズ・釣った数だけ */
.zukan { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 6px; }
.zcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 11px; }
.zcard b { font-size: 12.5px; }
.zcard .n { font-family: var(--num); font-size: 16px; font-weight: 700; }
.zcard .zsub { font-size: 10px; color: var(--sub); }
.zcard .zalb { grid-template-columns: 40px 1fr; gap: 4px; margin-top: 4px; padding: 3px; }
.zcard .zalb .num { font-size: 12px; }
.zcard .zalb small { display: none; }
.zcard.unk { color: var(--faint); background: var(--panel2); }
.zimg { display: block; width: 100%; aspect-ratio: 2.4 / 1; object-fit: contain; margin-bottom: 3px; border-radius: 6px; background: linear-gradient(180deg, #eaf1f4, #d5e2e8); }
.zcard.unk .zimg { filter: brightness(0) opacity(0.28); background: none; }
.answer { background: var(--panel2); border-radius: 10px; padding: 12px 16px; font-size: 13px; line-height: 1.75; margin: 12px 0; }
.answer b { color: var(--accent); }
.panel.summary { width: min(520px, 100%); }
.summary .stat { justify-content: space-between; gap: 8px; margin: 6px 0 10px; }
.summary .stat div { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--panel2); }
.summary .stat b { display: block; font-size: 26px; color: var(--ink); }
.summary .boze { margin: 0 0 8px; color: var(--sub); text-align: center; }
.summary .newtitles { margin-bottom: 8px; }
.summary .ttl small { display: block; color: var(--sub); font-size: 11px; }
.answer.short { margin: 8px 0 12px; padding: 8px 12px; }
.answer.short span { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 99px; background: #1f4f78; color: #fff; font-size: 11px; font-weight: 800; }
.stat { display: flex; gap: 24px; margin-bottom: 8px; }
.stat div { font-size: 12px; color: var(--sub); }
.stat b { display: block; font-family: var(--num); font-size: 34px; color: var(--ink); }

#toast { position: fixed; left: 50%; top: 36%; transform: translate(-50%, -50%); pointer-events: none; text-align: center; }
#toast .t { display: inline-block; padding: 10px 22px; border-radius: 12px; background: rgba(15, 22, 30, 0.82); color: #fff; font-size: 18px; font-weight: 900;
  letter-spacing: 0.04em; animation: pop 1.6s forwards; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
#toast .t.good { background: rgba(224, 137, 44, 0.95); }
#toast .t.bad { background: rgba(160, 50, 40, 0.92); }
@keyframes pop { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 10% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
#fade { position: fixed; inset: 0; background: #05070d; opacity: 0; pointer-events: none; transition: opacity 0.18s; }
#fade.on { opacity: 1; }
#loading { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 40; display: none; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; background: rgba(11, 20, 32, 0.85); color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; }
#loading.on { display: flex; }
#loading i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #ffb050; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) and (min-height: 521px) {
  .prep .grid { grid-template-columns: 1fr; }
  .logo .ja { font-size: 40px; }
  .hud-tl { width: 220px; }
  .hud-tr, .hints { display: none; }
  .spotpanel { left: 16px; right: 16px; width: auto; top: auto; bottom: 170px; }
  .hud-bl { width: auto; right: 16px; }
  .catch { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; transform: none; }
}

/* 遊び方の切りかえ */
.title .modes { display: flex; gap: 10px; margin: 0 0 16px; }
.title .mode { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 210px; padding: 10px 16px; border-radius: 12px; border: 2px solid rgba(255,255,255,.35); background: rgba(10,20,30,.45); color: #fff; text-align: left; cursor: pointer; }
.title .mode b { font-size: 16px; }
.title .mode small { font-size: 12px; opacity: .8; }
.title .mode.on { background: rgba(255,255,255,.95); color: var(--ink); border-color: #fff; }
.title .mode:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }
.pm { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 99px; background: #e7f1f4; color: #1a5a70; font-size: 12px; font-weight: 700; vertical-align: middle; }
.stars { display: flex; flex-wrap: wrap; gap: 5px; }
.stars span { padding: 3px 10px; border-radius: 99px; background: #fbeedd; color: #8a4a12; font-size: 12.5px; font-weight: 700; }
@media (max-width: 640px) { .title .modes { flex-direction: column; } .title .mode { min-width: 0; width: min(320px, 86vw); } }

/* レア個体の色分け */
.vname { font-size: .8em; color: #c0395f; }
.vname.v-melanic, .al.v-melanic { color: #2a2c33; }
.vname.v-golden, .al.v-golden { color: #b07a10; }
.vname.v-scarred, .al.v-scarred { color: #7a4a32; }
.catch .albinoTag.v-melanic { background: linear-gradient(90deg, #1c1e24, #5a5e6a); }
.catch .albinoTag.v-golden { background: linear-gradient(90deg, #b8860b, #f4cf5a); color: #3a2800; }
.catch .albinoTag.v-scarred { background: linear-gradient(90deg, #6a3e2a, #b08060); }
.zalb.v-melanic { background: linear-gradient(90deg, #e8e9ee, #f4f4f6); border-color: #9a9ca8; }
.zalb.v-melanic b { color: #2a2c33; }
.zalb.v-golden { background: linear-gradient(90deg, #fbf1d6, #fdf8e8); border-color: #e4c070; }
.zalb.v-golden b { color: #a06c08; }
.zalb.v-scarred { background: linear-gradient(90deg, #f4ebe4, #faf4ef); border-color: #d0a888; }
.zalb.v-scarred b { color: #7a4a32; }

/* ファイト中に見えてきた魚と、逃した魚 */
.fight .fid { font-size: 13px; font-weight: 700; text-align: center; padding: 4px 8px; border-radius: 8px; background: #eef2f4; color: #33474f; }
.fight .fid.s1 { background: #e3eef2; color: #1d5a70; }
.fight .fid.s2 { background: #fbeedd; color: #8a4a12; }
.lostcard { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 340px; padding: 18px 20px; text-align: center; }
.lostcard .lk { font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--bad); }
.lostcard .limg { height: 120px; margin: 8px 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(#2a4a5a, #183040); overflow: hidden; }
.lostcard .limg img { max-width: 92%; max-height: 110px; }
.lostcard .limg.s1 img { filter: brightness(0) opacity(.75); }
.lostcard .limg span { font-size: 56px; font-weight: 900; color: rgba(255,255,255,.55); }
.lostcard .sp { font-size: 20px; font-weight: 900; }
.lostcard .lline { margin-top: 4px; font-size: 13px; color: var(--ink); }
.lostcard .lmsg { margin-top: 4px; font-size: 12px; color: var(--sub); }
.lostcard .btns { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.lostcard .btn small { display: block; font-size: 10px; font-weight: 400; }
@media (max-width: 640px) { .lostcard { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; transform: none; } }

/* ステータスと称号 */
.statuspanel h3 { font-size: 13px; margin: 14px 0 6px; color: var(--sub); }
.shead .sclose { margin-left: auto; align-self: flex-start; flex: none; }
.shead { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.shead small { color: var(--sub); font-size: 12px; font-weight: 700; }
.shead h2 { margin: 2px 0; font-size: 24px; font-weight: 900; }
.shead p { margin: 0; color: var(--sub); font-size: 13px; }
.shead .tnote { margin-top: 4px; font-size: 11.5px; color: var(--faint); }
.shead .tcount { margin-left: auto; font-size: 13px; color: var(--sub); }
.shead .tcount b { font-size: 22px; color: var(--ink); }
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.sk { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.sk span { font-size: 11px; color: var(--sub); }
.sk .sv { font-size: 12px; }
.sk b { font-size: 18px; margin-right: 2px; }
.scols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sbars { display: flex; flex-direction: column; gap: 4px; }
.sbar { display: grid; grid-template-columns: 10em 1fr 3.5em; align-items: center; gap: 6px; font-size: 12px; }
.sbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbar span small { display: block; font-size: 10px; color: var(--sub); }
.sbar i { display: block; height: 8px; border-radius: 4px; background: var(--accent); min-width: 2px; }
.sbar b { text-align: right; font-size: 13px; }
.snone { color: var(--sub); font-size: 12px; margin: 2px 0; }
.ssub { font-size: 12px; color: var(--sub); font-weight: 600; }
.sgrid:has(> .sk:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.sach { display: flex; flex-direction: column; gap: 4px; }
/* ステータス（2026-11-13 リザルト表の形）：深い藍の地に、斜めのすじ。左に称号の紋章、右に表 */
.st2 { --st-bg: #133b5a; --st-bg2: #0b2740; --st-cell: rgba(4, 18, 32, 0.55); --st-line: rgba(160, 210, 240, 0.28); --st-ink: #eaf4fb; --st-sub: #9cc0d8; --st-acc: #7fd0ff;
  width: min(980px, 100%); max-height: calc(100vh - 20px); display: flex; flex-direction: column; overflow: hidden; color: var(--st-ink); padding: 12px 16px;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 6px, rgba(0,0,0,0) 6px 14px), linear-gradient(160deg, var(--st-bg), var(--st-bg2)); border: 1px solid rgba(160,210,240,.25); }
.st2.champ { --st-bg: #4b3a12; --st-bg2: #241a06; --st-acc: #ffd76a; --st-sub: #e2c98a; }
.st2.ranker { --st-bg: #2c3f52; --st-bg2: #151f2a; --st-acc: #dfe9f2; }
.st2head { display: flex; align-items: center; gap: 12px; flex: none; margin-bottom: 8px; }
.st2head h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: .14em; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.st2name { margin-left: auto; font-size: 18px; font-weight: 900; color: #fff; letter-spacing: .06em; }
.st2head .sshare { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.st2head .xclose { position: static; margin: 0; flex: none; }
.st2body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(150px, 30%) 1fr; gap: 10px; }
.st2card { display: flex; flex-direction: column; border: 1px solid var(--st-line); background: var(--st-cell); min-height: 0; }
.st2cap { font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--st-sub); padding: 4px 8px; }
.st2emb { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 4px 8px; }
.st2emb img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.st2title { flex: none; text-align: center; padding: 6px 4px; font-size: 15px; font-weight: 900; letter-spacing: .08em; color: #fff; background: rgba(0,0,0,.45); border-top: 1px solid var(--st-line); }
.st2.tier-gold .st2title, .st2.champ .st2title { color: #ffd76a; }
.st2.tier-legend .st2title { background-image: linear-gradient(90deg, #ff9ac0, #ffe07a, #7ef0b8, #8fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; background-color: transparent; }
.st2main { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.st2tab { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: 12.5px; }
.st2tab thead th { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--st-sub); text-align: center; padding: 0 4px 2px; }
.st2tab thead th:first-child, .st2tab thead th:last-child { text-align: left; }
.st2tab tbody th, .st2tab tbody td { background: var(--st-cell); border: 1px solid var(--st-line); padding: 3px 8px; }
.st2tab tbody th { text-align: left; font-weight: 800; white-space: nowrap; }
.st2tab td.num { text-align: center; font-weight: 800; }
.st2tab td.sbig { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; width: 38%; }
.st2tab tr.sum th, .st2tab tr.sum td { background: rgba(0,0,0,.5); color: var(--st-acc); }
.st2list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.srow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; background: var(--st-cell); border: 1px solid var(--st-line); padding: 3px 8px; font-size: 12.5px; }
.srow span { color: var(--st-sub); font-size: 11.5px; white-space: nowrap; }
.srow b { font-weight: 800; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow b i { font-style: normal; } .srow b i.r1 { color: #ffd76a; } .srow b i.r2 { color: #dfe7ee; } .srow b i.r3 { color: #e6a26a; }
.st2list .srow:last-child, .st2list .srow:nth-last-child(2) { grid-column: 1 / -1; }
.st2list { flex: 1; align-content: start; }
@media (max-height: 520px) {
  .st2 { padding: 8px 12px; } .st2head { margin-bottom: 5px; } .st2head h2 { font-size: 17px; } .st2name { font-size: 14px; }
  .st2tab { font-size: 11.5px; } .st2tab tbody th, .st2tab tbody td { padding: 2px 6px; } .srow { padding: 2px 6px; font-size: 11.5px; } .srow span { font-size: 10.5px; }
  .st2title { font-size: 13px; padding: 4px; } .st2cap { padding: 2px 6px; }
}
@media (orientation: portrait) and (max-width: 640px) { .st2body { grid-template-columns: 1fr; overflow-y: auto; } .st2card { height: 220px; } .st2list { grid-template-columns: 1fr; } }
/* チャット・記録（2026-11-13 ステータス・ランキングと同じ見た目）：深い藍の地に斜めのすじ、明るい文字 */
.dkpanel { --st-cell: rgba(4, 18, 32, 0.55); --st-line: rgba(160, 210, 240, 0.28); --st-sub: #9cc0d8; --st-acc: #7fd0ff; --sub: #9cc0d8; --line: rgba(160, 210, 240, 0.28);
  color: #eaf4fb; border: 1px solid rgba(160,210,240,.25);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 6px, rgba(0,0,0,0) 6px 14px), linear-gradient(160deg, #133b5a, #0b2740) !important; }
.dkpanel h2 { color: #fff; letter-spacing: .12em; font-weight: 900; }
.dkpanel .chip { background: rgba(0,0,0,.3); color: #cfe3f0; border-color: var(--st-line); }
.dkpanel .chip.on { background: rgba(127,208,255,.28); color: #fff; border-color: var(--st-acc); }
.dkpanel .btn.ghost, .dkpanel .btn:not(.warm) { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
/* チャット */
.dkpanel .chlist { background: rgba(0,0,0,.28); border-color: var(--st-line); }
.dkpanel .chmsg { background: var(--st-cell); border: 1px solid var(--st-line); box-shadow: none; color: #eaf4fb; }
.dkpanel .chmsg.mine { background: rgba(127,208,255,.18); border-color: rgba(127,208,255,.45); }
.dkpanel .chmsg.stampmsg { background: transparent; border: none; }
.dkpanel .chhead b { color: #fff; } .dkpanel .chhead small, .dkpanel .chact { color: var(--st-sub); }
.dkpanel .chuser { color: #9fdcff; }
.dkpanel .chcatch { background: rgba(127,208,255,.16); color: #eaf4fb; }
.dkpanel .chnote, .dkpanel .chrule, .dkpanel .chturn, .dkpanel .chlock { color: var(--st-sub); }
.dkpanel .chform select, .dkpanel .chrow textarea { background: rgba(0,0,0,.35); color: #fff; border-color: var(--st-line); }
.dkpanel .chrow textarea::placeholder { color: rgba(207,227,240,.55); }
.dkpanel .chtray { background: rgba(0,0,0,.4); border-color: var(--st-line); }
.dkpanel .chtst:not(:disabled):hover { background: rgba(255,255,255,.08); }
.dkpanel .chtbuy { color: #fff; }
.dkpanel .cherr { color: #ff9a8a; }
/* 記録 */
.dkpanel .ztally { color: var(--st-sub); }
.dkpanel .zcard { background: var(--st-cell); border-color: var(--st-line); color: #eaf4fb; border-radius: 0; }
.dkpanel .zcard .zsub { color: var(--st-sub); }
.dkpanel .zcard.unk { background: rgba(0,0,0,.35); color: rgba(207,227,240,.45); }
.dkpanel .zcard .zimg { background: radial-gradient(ellipse at 50% 60%, rgba(160,210,240,.22), rgba(160,210,240,.06)); }
.dkpanel .zcard.unk .zimg { filter: brightness(0) invert(1) opacity(0.18); }
.dkpanel .zalb { background: rgba(255,255,255,.07); border-color: var(--st-line); }
.dkpanel .zalb b { color: #ffb0c8; } .dkpanel .zalb.v-golden b { color: #ffd76a; } .dkpanel .zalb.v-melanic b { color: #e8eaf0; } .dkpanel .zalb.v-scarred b { color: #e6b08a; }
.dkpanel .zalb small { color: var(--st-sub); }
.dkpanel .table { border-collapse: separate; border-spacing: 0 2px; }
.dkpanel .table th { color: var(--st-sub); border-bottom: none; letter-spacing: .08em; font-size: 10.5px; }
.dkpanel .table td { background: var(--st-cell); border-bottom: none; border-top: 1px solid var(--st-line); }
.dkpanel .table td b { color: #fff; }
.dkpanel .gyonote { color: var(--st-sub); }
.dkpanel .gyoitem { background: var(--st-cell); border-color: var(--st-line); color: #eaf4fb; border-radius: 0; }
.dkpanel .gyoitem small { color: var(--st-sub); }
.dkpanel .gyoitem img { filter: grayscale(1) brightness(1.6) contrast(1.1); }
/* ランキング（ステータスと同じ並び・文字）。色は明るいベージュ〜白（2026-11-13：藍は見づらかったので） */
.rankpanel.rk2 { --st-cell: #ffffff; --st-line: #e2d8c4; --st-sub: #7a6f60; --st-acc: #e8743a;
  width: min(900px, 100%); color: #2a2620; padding: 12px 16px;
  background: repeating-linear-gradient(-45deg, rgba(160,130,90,0.045) 0 6px, rgba(0,0,0,0) 6px 14px), linear-gradient(160deg, #fbf7ee, #f1e9da); border: 1px solid #e2d8c4; }
.rk2 .rkhead h2 { color: #1f2a36; letter-spacing: .14em; font-weight: 900; }
.rk2 .rkspan { color: var(--st-sub); }
.rk2 .rkcat { color: var(--st-sub); } .rk2 .rkcat.on { color: #1f2a36; border-bottom-color: var(--st-acc); }
.rk2 .seg { background: #e9e1d0; } .rk2 .seg button { color: var(--st-sub); } .rk2 .seg button.on { background: #fff; color: #1f2a36; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.rk2body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(130px, 24%) 1fr; gap: 10px; }
.rk2 .rkcard { min-height: 0; background: #fffdf8; border-color: var(--st-line); }
.rk2 .rkcard .st2cap { color: var(--st-sub); }
.rk2 .rkcard .st2title { background: #efe6d4; color: #1f2a36; border-top-color: var(--st-line); }
.rk2 .rkbody { min-width: 0; min-height: 0; overflow-y: auto; }
.rk2 .rklist { display: flex; flex-direction: column; gap: 2px; }
.rk2 .rkrow { background: var(--st-cell); border: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); padding: 3px 8px; gap: 8px; font-size: 13px; }
.rk2 .rkrow.me { background: #fff1e4; border-color: #f0c39e; border-radius: 0; }
.rk2 .rkrow.rkth { background: none; border: none; padding: 0 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--st-sub); }
.rk2 .rkrow.rkth span:last-child { text-align: right; }
.rk2 .rkno { color: var(--st-sub); width: 22px; height: 22px; font-size: 12px; }
.rk2 .rknm { color: #1f2a36; }
.rk2 .rkfs { color: var(--st-sub); } .rk2 .rkfs .vnorm { color: #aaa199; }
.rk2 .rklen { color: var(--st-sub); } .rk2 .rklen b { color: #1f2a36; }
.rk2 .rkuser { color: #1f4f78; }
.rk2 .rkfr { background: #dff0e4; color: #2f7d47; }
.rk2 .rkme { background: #fffdf8; border: 1px solid var(--st-line); border-radius: 0; color: #2a2620; margin-top: 6px; }
.rk2 .rkme.none, .rk2 .rkrule, .rk2 .rknote, .rk2 .rkfoot, .rk2 .rkgap { color: var(--st-sub); }
@media (max-height: 520px) { .rankpanel.rk2 { padding: 8px 12px; max-height: calc(100vh - 16px); } .rk2 .rkrow { padding: 2px 6px; font-size: 12px; } .rk2 .rkhead { margin-bottom: 4px; } }
@media (orientation: portrait) and (max-width: 640px) { .rk2body { grid-template-columns: 1fr; } .rk2 .rkcard { display: none; } }
/* ステータス：リザルト画面ふう。暗い地に、称号の大きな紋章をうすく敷く */
.statuspanel.result { position: relative; isolation: isolate; color: #eef3f7; background: linear-gradient(160deg, #3a4652 0%, #222b35 55%, #161c24 100%); border: 1px solid rgba(255,255,255,.14); }
.statuspanel.result > *:not(.screst) { position: relative; z-index: 1; }
.statuspanel.result .screst { position: absolute; z-index: 0; right: -4%; top: 50%; height: 135%; aspect-ratio: 1; transform: translateY(-50%) rotate(-12deg); opacity: .16; pointer-events: none; }
.statuspanel.result .screst svg { width: 100%; height: 100%; display: block; }
.statuspanel.result.ranker .screst { opacity: .24; }
.statuspanel.result.champ .screst { opacity: .3; filter: drop-shadow(0 0 18px rgba(255, 210, 90, .35)); }
.statuspanel.result.champ { background: linear-gradient(160deg, #4a3e22 0%, #262016 55%, #14110b 100%); }
.statuspanel.result h2 { color: #fff; letter-spacing: .08em; display: flex; align-items: baseline; gap: 10px; }
.statuspanel.result h2 small { font-size: 12px; font-weight: 700; color: #a9b8c6; letter-spacing: 0; }
.statuspanel.result .stitle { margin-left: auto; margin-right: 12px; text-align: right; line-height: 1.1; }
.statuspanel.result .sshare { margin-right: 10px; background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.statuspanel.result .stitle small { display: block; font-size: 10px; color: #a9b8c6; font-weight: 700; }
.statuspanel.result .stitle b { font-size: 22px; font-weight: 900; letter-spacing: .06em; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.statuspanel.result.tier-gold .stitle b, .statuspanel.result.champ .stitle b { color: #ffd76a; }
.statuspanel.result.tier-legend .stitle b { background: linear-gradient(90deg, #ff9ac0, #ffe07a, #7ef0b8, #8fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statuspanel.result.ranker .stitle b { color: #e8eef4; }
.statuspanel.result .sk { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); color: #fff; }
.statuspanel.result .sk span, .statuspanel.result h3, .statuspanel.result .snone, .statuspanel.result .ssub { color: #a9b8c6; }
.statuspanel.result .sbar { color: #e6edf3; }
.statuspanel.result .sbar i { background: linear-gradient(90deg, #6fb6d8, #a6e1f2); }
.statuspanel.result .sachrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.statuspanel.result .sachrow small, .statuspanel.result .sachp { color: #a9b8c6; }
.statuspanel.result .shead { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 6px; }
@media (max-height: 520px) { .statuspanel.result .stitle b { font-size: 17px; } .statuspanel.result h2 small { font-size: 11px; } }
/* ステータス：スクロールしない 1 画面（見出しと×は上に固定、数字 3 つ、下に 3 列） */
.statuspanel.fit { width: min(980px, 100%); max-height: calc(100vh - 24px); overflow: hidden; display: flex; flex-direction: column; }
.statuspanel.fit .shead { display: flex; align-items: center; justify-content: space-between; flex: none; }
.statuspanel.fit .shead h2 { margin: 0; }
.statuspanel.fit .shead .xclose { position: static; margin: 0; flex: none; }
.statuspanel.fit .sgrid { flex: none; }
.scol3 { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; margin-top: 4px; }
.scol3 section { min-width: 0; min-height: 0; overflow: hidden; }
.scol3 .sbar { grid-template-columns: minmax(0, 9.5em) 1fr 3em; }
.scol3 .sachrow { flex-direction: column; align-items: flex-start; gap: 0; padding: 5px 8px; }
.scol3 .sachrow small { margin-left: 0; }
@media (max-height: 520px) {
  .statuspanel.fit { padding: 10px 14px; max-height: calc(100vh - 16px); }
  .statuspanel.fit .shead h2 { font-size: 16px; }
  .statuspanel.fit .sgrid { margin-top: 4px; gap: 6px; }
  .statuspanel.fit .sk { padding: 4px 10px; flex-direction: row; align-items: baseline; gap: 8px; }
  .statuspanel.fit .sk b { font-size: 16px; }
  .statuspanel.fit h3 { margin: 8px 0 4px; font-size: 12px; }
  .scol3 { gap: 10px; }
  .scol3 .sbars { gap: 2px; }
  .scol3 .sbar { font-size: 11px; } .scol3 .sbar b { font-size: 12px; } .scol3 .sbar i { height: 6px; }
  .scol3 .sachrow { font-size: 12px; } .scol3 .sachr { font-size: 15px; }
}
/* 縦長の画面（スマホ縦など）は 1 列に並べる。入りきらなければ、この画面だけスクロール */
@media (orientation: portrait) and (max-width: 640px) { .scol3 { display: block; overflow-y: auto; } .scol3 section { overflow: visible; margin-bottom: 6px; } .statuspanel.fit .sgrid { grid-template-columns: repeat(3, 1fr); } }
/* 小さい横向き（古い小さいスマホ）：3 列のまま、文字と名前の幅をつめる */
@media (orientation: landscape) and (max-width: 700px) {
  .scol3 { grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; }
  .scol3 .sbar { grid-template-columns: minmax(0, 6.2em) 1fr 2.6em; gap: 4px; font-size: 10.5px; }
  .statuspanel.fit .sk { padding: 3px 8px; } .statuspanel.fit .sk span { font-size: 10px; } .statuspanel.fit .sk b { font-size: 14px; }
  .scol3 .sachrow { font-size: 11px; padding: 3px 6px; } .scol3 .sachr { font-size: 13px; }
}
@media (orientation: landscape) and (max-height: 340px) { .statuspanel.fit h3 { margin: 5px 0 3px; } .scol3 .sachrow small { display: none; } }
.sachrow { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; font-size: 13px; flex-wrap: wrap; }
.sachp { font-size: 11px; color: var(--sub); }
.sachr { font-size: 18px; } .sachr.r1 { color: #c9a227; } .sachr.r2 { color: #8f9aa3; } .sachr.r3 { color: #b0703a; }
.sachrow small { color: var(--sub); margin-left: auto; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ttl { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #f3f2ee; text-align: left; color: var(--faint); font: inherit; }
.ttl.got { background: #fff; color: var(--ink); cursor: pointer; }
.ttl.got:hover, .ttl.got:focus-visible { border-color: var(--accent); }
.ttl.pin { border: 2px solid var(--warm); }
.ttl b { display: block; font-size: 14px; }
.ttl small { display: block; font-size: 11px; color: var(--sub); line-height: 1.4; }
.ttl .tprog { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: #e2e0d8; overflow: hidden; }
.ttl .tprog i { display: block; height: 100%; background: #b8b4a6; }
.tmark { flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.newtitles { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .sgrid { grid-template-columns: repeat(2, 1fr); } .scols, .tgrid { grid-template-columns: 1fr; } }

/* 水の中の断面図 */
.depthfig { margin-top: 8px; }
.depthfig:empty { display: none; }
.depthfig svg { display: block; width: 100%; height: auto; border-radius: 8px; background: #eef1f0; font-family: var(--num), sans-serif; }
#f-hud.infight .depthfig { display: none; }

/* 音のオン・オフ */
.sndbtn.off { opacity: 0.6; text-decoration: line-through; }
.title .tsnd { position: absolute; top: 14px; right: 16px; }
.title .tfull { position: static; }
/* ログイン（左上）・入口・名前・ランキング */
.title .tacct { position: absolute; top: 14px; left: 16px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title .tacct.on { color: #1d6a3a; }
.acctpop { position: fixed; z-index: 56; }
.acctpop .panel { width: min(560px, 100%); position: relative; padding: 18px 20px; }
.acctpop h2 { margin: 0 0 10px; font-size: 19px; }
.acctpop p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; }
.entrygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ebtn { text-align: left; border: 2px solid #c9c0ad; background: #fffaf0; border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 6px; }
.ebtn b { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.ebtn span { font-size: 12px; color: var(--sub); line-height: 1.5; }
.ebtn.warm { border-color: #e8743a; background: #fff1e4; }
.ebtn:disabled { opacity: 0.6; }
.gmark { font-style: normal; display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #ccc; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #4285f4; }
.namerow { display: flex; gap: 8px; }
.namerow input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 8px 10px; border: 2px solid #c9c0ad; border-radius: 8px; background: #fff; }
/* タイトル左上：ログインと遊び方 */
.title .ttop { position: absolute; top: 14px; left: 16px; display: flex; gap: 8px; max-width: 60vw; }
.title .ttop .tacct { position: static; }
/* チャット */
.chatpanel { width: min(760px, 100%); height: calc(100vh - 32px); max-height: 640px; display: flex; flex-direction: column; position: relative; }
.chatpanel h2 { margin-bottom: 6px; }
.chtabs { margin-bottom: 6px; flex-wrap: wrap; }
.chlist { flex: 1; min-height: 0; overflow-y: auto; background: #f7f3ea; border: 1px solid #e6dfd0; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.chnote { color: var(--sub); text-align: center; margin: auto; font-size: 13px; }
.chmore { align-self: center; }
.chmsg { background: #fff; border-radius: 10px; padding: 6px 10px; max-width: 86%; align-self: flex-start; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.chmsg.mine { align-self: flex-end; background: #fff1e4; }
.chhead { display: flex; align-items: baseline; gap: 8px; font-size: 12px; }
.chhead b { font-size: 13px; } .chhead small { color: var(--sub); }
.chact { margin-left: auto; border: none; background: none; color: var(--sub); font-size: 11px; cursor: pointer; padding: 0 2px; text-decoration: underline; }
.chbody { font-size: 14px; line-height: 1.55; word-break: break-word; }
.chcatch { display: inline-flex; align-items: center; gap: 6px; background: #e9f3f6; border-radius: 8px; padding: 2px 8px; margin: 3px 0; font-size: 13px; }
.chcatch .num { font-weight: 800; }
.chcatch .vname { font-size: 11px; font-weight: 800; padding: 0 5px; border-radius: 6px; background: #f3e3b5; color: #7a5a00; }
.chform { margin-top: 6px; }
.chform select { width: 100%; margin-bottom: 4px; font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 8px; border: 1px solid #c9c0ad; background: #fff; }
.chrow { display: flex; gap: 6px; }
.chrow textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 7px 10px; border: 2px solid #c9c0ad; border-radius: 8px; resize: none; height: 40px; background: #fff; }
/* スタンプ */
.chrow .chstampb { padding: 0 10px; font-size: 13px; white-space: nowrap; }
.chtray { margin-top: 6px; background: #fff; border: 1px solid #e6dfd0; border-radius: 10px; padding: 6px; max-height: 40vh; overflow-y: auto; }
.chtgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 4px; }
.chtst img { max-width: 92px; margin: 0 auto; }
@media (max-height: 520px) { .chtray { max-height: 32vh; } .chtgrid { grid-template-columns: repeat(10, 1fr); } }
.chtgrid.locked img { opacity: .55; filter: saturate(.7); }
.chtst { border: none; background: none; padding: 2px; border-radius: 8px; cursor: pointer; }
.chtst:not(:disabled):hover { background: #f3eee2; }
.chtst img { display: block; width: 100%; aspect-ratio: 6 / 5; }
.chtbuy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 800; }
.chmsg.stampmsg { background: transparent; box-shadow: none; padding: 2px 4px; }
.chstamp { display: block; width: 120px; height: 100px; margin-top: 2px; }
.cherr { color: #b8231c; font-size: 12px; margin: 2px 0 0; min-height: 0; }
.chlock { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.chrule { font-size: 11px; color: var(--sub); margin: 4px 0 0; }
@media (max-height: 520px) { .chatpanel { height: calc(100vh - 16px); padding: 10px 14px; } .chatpanel h2 { font-size: 16px; margin: 0 0 4px; } .chrule { display: none; } }
/* チャットは、いま見えている範囲（キーボードを除いた高さ）にぴったり合わせる */
.sheet.chatsheet { position: fixed; left: 0; right: 0; top: var(--vvtop, 0px); bottom: auto; height: var(--vvh, 100%); padding: 8px; box-sizing: border-box;
  padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
/* スマホ縦：上の時計・電池の表示（ノッチ）にかからないよう、少し下げる */
@media (orientation: portrait) { .sheet.chatsheet { padding-top: max(20px, calc(env(safe-area-inset-top) + 10px)); } }
.chatsheet .chatpanel { height: 100% !important; max-height: 640px; }
/* 書きこみ中：見出し・部屋の切りかえ・注意書きをしまい、書きこみの一覧を広く */
.chatpanel.typing h2, .chatpanel.typing .chtabs, .chatpanel.typing .chrule, .chatpanel.typing .chturn { display: none; }
.chatpanel.typing { padding-top: 6px; padding-bottom: 6px; }
.chatpanel.typing .chform { margin-top: 4px; }
.chatpanel.typing .chform select { font-size: 12px; padding: 2px 4px; margin-bottom: 3px; }
.chatpanel.typing .chlist { padding: 6px; }
.chatpanel.typing .xclose { display: none; }
.chatpanel.tiny .chform select, .chatpanel.tiny .cherr:empty { display: none; }
.chatpanel.tiny { padding: 4px 8px; }
.chatpanel.tiny .chrow textarea { height: 34px; padding: 4px 8px; }
/* 今日の日課（タイトルの右下） */
.title .tdaily:empty { display: none; }
.title .tdaily { position: relative; margin-top: 14px; width: min(420px, 92vw); background: rgba(250, 247, 240, 0.94); color: #1f2a36; border-radius: 12px; padding: 8px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.3); font-size: 12px; }
.tdhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; } .tdhead b { font-size: 13px; } .tdhead small { color: var(--sub); font-size: 10px; }
.tdrow { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px solid #ebe4d6; }
.tdchk { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #c9c0ad; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #fff; }
.tdrow.done .tdchk, .tdrow.got .tdchk { background: #3d9a5b; border-color: #3d9a5b; }
.tdtxt { flex: 1; min-width: 0; font-weight: 700; } .tdrow.got .tdtxt { color: var(--sub); text-decoration: line-through; }
.tdst { color: var(--sub); font-size: 11px; white-space: nowrap; font-weight: 700; }
.tdget { padding: 3px 8px !important; font-size: 11px !important; white-space: nowrap; }
.tdnote { color: var(--sub); font-size: 10.5px; font-weight: 700; }
/* フレンド */
.title .tfr { position: relative; }
.tfrn { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d8342e; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.tfrn[hidden] { display: none; }
.tfeed { margin-top: 8px; min-height: 20px; font-size: 12px; color: #eaf2f6; text-align: center; cursor: pointer; }
.tfeed:empty { display: none; }
.tfeedin { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(10,20,30,.55); animation: tfeedin .5s ease-out; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes tfeedin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.frpanel { width: min(640px, 100%); max-height: calc(100vh - 24px); overflow: auto; }
.frpanel h3 { font-size: 13px; color: var(--sub); margin: 12px 0 6px; }
.frnote { color: var(--sub); font-size: 13px; line-height: 1.7; }
.frrow { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); margin-bottom: 6px; }
.frrow b { font-size: 14px; } .frrow small { color: var(--sub); font-size: 11px; }
.frbtns { margin-left: auto; display: flex; gap: 6px; }
.frst { font-size: 12px; font-weight: 800; color: #2f7d47; }
.frout { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.frcancel { border: none; background: none; color: var(--sub); text-decoration: underline; font-size: 11px; cursor: pointer; }
.frsearch { display: flex; gap: 6px; margin: 6px 0 10px; }
.frsearch input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 7px 10px; border: 2px solid #c9c0ad; border-radius: 8px; }
.frfeed { display: flex; flex-direction: column; gap: 6px; }
.fritem { padding: 7px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.fritem small { margin-left: auto; color: var(--sub); font-size: 11px; }
.frbest { font-style: normal; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: #ffe6a8; color: #7a5200; font-size: 11px; font-weight: 800; }
.rkuser, .chuser { border: none; background: none; padding: 0; font: inherit; font-weight: 800; color: #1f4f78; text-decoration: underline dotted; cursor: pointer; }
.chuser { font-size: 13px; }
.rkfr { font-style: normal; margin-left: 6px; padding: 0 5px; border-radius: 6px; background: #dff0e4; color: #2f7d47; font-size: 10px; font-weight: 800; }
.rkhead .rkscope { margin-left: auto; }
/* 釣り手帳（7 日のスタンプ） */
.tstamp { margin-top: 4px; padding-top: 4px; border-top: 1px solid #ebe4d6; }
.tshead { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.tshead b { font-size: 12px; } .tshead small { color: var(--sub); font-size: 10px; font-weight: 700; }
.tsrow { display: flex; justify-content: space-between; gap: 2px; margin-top: 2px; }
.tsday { display: flex; flex-direction: column; align-items: center; gap: 0; flex: 1; }
.tsday i { font-style: normal; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed #c9bfa8; color: #b0a68e; font-size: 11px; font-weight: 800; }
.tsday.on i { border: 2px solid #b8282e; background: #c8343a; color: #fff6ea; font-family: 'Yuji Syuku', 'Zen Kaku Gothic New', serif; font-size: 13px; transform: rotate(-8deg); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.tsday.now i { animation: tspop .5s ease-out; }
.tsday small { font-size: 9px; font-weight: 800; color: #1f4f78; min-height: 11px; line-height: 11px; }
@keyframes tspop { 0% { transform: scale(1.6) rotate(-20deg); opacity: 0; } 100% { transform: rotate(-8deg); opacity: 1; } }
@media (max-height: 520px) { .tsday i { width: 20px; height: 20px; font-size: 10px; } .tsday.on i { font-size: 11px; } .tsday small { font-size: 8px; min-height: 9px; line-height: 9px; } .tstamp { margin-top: 2px; padding-top: 2px; } }
.tdfoot { display: flex; justify-content: flex-end; align-items: center; min-height: 22px; padding-top: 4px; border-top: 1px solid #ebe4d6; }
.tdrow.done .tdst { color: #2f7d47; }
@media (max-height: 760px) { .title .foot { display: none; } }
/* 横向きで高さが足りない画面（タブレット・小さめのパソコン）：左にロゴ、右にメニューと日課（縦に積むとはみ出して重なるため） */
@media (orientation: landscape) and (min-height: 521px) and (max-height: 860px) {
  .title { display: grid; grid-template-columns: auto minmax(0, 400px); grid-template-rows: auto auto; justify-content: center; align-content: center; column-gap: 32px; row-gap: 14px; padding: 64px 24px 16px; }
  .title .logo { grid-column: 1; grid-row: 1 / 3; margin: 0; align-self: center; }
  .title .tlogo { width: min(560px, 48vw); }
  .title .logo .mlist { max-width: min(560px, 48vw); margin: 0 auto; }
  .title .menu { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; align-self: end; }
  .title .tdaily { grid-column: 2; grid-row: 2; width: auto; margin: 0; align-self: start; }
}
@media (max-height: 520px) { .title .tdaily { margin-top: 0; padding: 6px 8px; } .tdrow { padding: 3px 0; } .title .logo .sub small { display: none; } }
/* タイトルのポイント */
.title .tpt { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #2c4f7a, #1d3554); color: #fff; border: 1px solid rgba(255,255,255,.25); font-weight: 800; }
.title .tpt i { font-style: normal; color: #8fd3ff; font-size: 12px; }
/* ポイントの画面（2026-11-12 作り直し） */
.ptpop .panel { width: min(600px, 100%); max-height: calc(100vh - 24px); overflow-y: auto; }
.pthero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #2c4f7a, #172a44); color: #fff; margin: 0 0 12px; }
.ptgem { width: 44px; height: 44px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #8fd3ff, #3a8fd8); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.pthero small { display: block; font-size: 11px; opacity: .75; font-weight: 700; }
.pthero b { display: block; font-size: 15px; } .pthero b .num { font-size: 30px; margin-right: 3px; }
.pthero em { display: block; font-style: normal; font-size: 11px; opacity: .8; margin-top: 1px; }
.ptlead { font-size: 13px; }
.ptgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ptcard { position: relative; font: inherit; color: #1f2a36; border: 1.5px solid #e2dbcc; background: #fff; border-radius: 12px; padding: 14px 6px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .1s, border-color .1s; }
.ptcard:hover { border-color: #3a8fd8; transform: translateY(-1px); } .ptcard:active { transform: scale(.98); } .ptcard:disabled { opacity: .5; }
.ptcard.best { border-color: #e8743a; box-shadow: 0 0 0 2px rgba(232,116,58,.15); }
.ptbadge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 900; color: #fff; background: #e8743a; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.ptamt { display: flex; align-items: baseline; gap: 1px; } .ptamt .num { font-size: 22px; font-weight: 800; } .ptamt small { font-size: 11px; font-weight: 800; color: var(--sub); }
.ptsub { font-size: 10px; color: var(--sub); }
.ptyen { margin-top: 6px; width: 100%; text-align: center; font-size: 13px; font-weight: 800; color: #fff; background: #1f2a36; border-radius: 8px; padding: 4px 0; }
.ptcard.best .ptyen { background: #e8743a; }
.ptrule { font-size: 11px !important; color: var(--sub); margin: 10px 0 4px !important; }
.ptlinks { font-size: 11px !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 4px 12px; } .ptlinks a { color: var(--sub); }
@media (max-height: 520px) { .pthero { padding: 8px 12px; margin-bottom: 8px; } .pthero b .num { font-size: 24px; } .ptgem { width: 36px; height: 36px; font-size: 18px; } .ptcard { padding: 12px 4px 8px; } .ptamt .num { font-size: 19px; } }
/* ポイント・もう一度挑戦 */
.ptbal { font-size: 15px; margin: 4px 0 6px; } .ptbal b { font-size: 30px; margin-right: 2px; } .ptbal small { display: block; color: var(--sub); font-size: 12px; }
.ptnote { background: #fff1e4; border-radius: 8px; padding: 6px 10px; font-weight: 700; }
.ptuse { font-size: 13px; }
.ptpacks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0; }
.ptpack { font: inherit; border: 2px solid #c9c0ad; background: #fffaf0; border-radius: 10px; padding: 8px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ptpack b { font-size: 16px; } .ptpack span { font-size: 12px; color: var(--sub); }
.ptpack:hover { border-color: #e8743a; } .ptpack:disabled { opacity: .5; }
.ptrule { font-size: 11px !important; color: var(--sub); }
.ptlinks { font-size: 11px !important; } .ptlinks a { color: var(--sub); margin-right: 8px; }
.rpcost { margin: 6px 0 10px; font-size: 14px; } .rpcost b { font-size: 26px; margin-right: 2px; } .rpcost small { display: block; color: var(--sub); font-size: 12px; }
.rpnote { color: #b8231c; font-size: 12px !important; }
.lpitch { margin: 8px 0 4px; padding: 8px 10px; border-radius: 10px; background: #fff1e4; border: 1px solid #f2c9a5; font-size: 13px; line-height: 1.5; text-align: left; }
.lpitch span { display: block; font-weight: 700; } .lpitch b { color: #c2453a; }
.lpitch small { display: block; color: var(--sub); margin-top: 2px; } .lpitch small b { color: #e8743a; }
.lpitch .lprank { display: block; color: #1f2a36; margin-bottom: 3px; } .lpitch .lprank em { font-style: normal; color: #e8743a; font-size: 16px; }
.lostcard #l-retry { background: #e8743a; color: #fff; border-color: #e8743a; }
.lostcard #l-retry:disabled { background: #ddd; color: #888; border-color: #ddd; }
.lostcard #l-retry small { display: block; font-size: 11px; opacity: .8; }
@media (max-width: 560px) { .ptpacks { grid-template-columns: repeat(2, 1fr); } }
/* 図鑑のくわしい画面 */
.zcard[data-id] { cursor: pointer; }
.zcard[data-id]:active { transform: scale(0.97); }
.zdetail .panel { width: min(460px, 100%); max-height: calc(100vh - 24px); overflow-y: auto; }
.zdimg { background: radial-gradient(ellipse at 50% 60%, #dfeef3, #b9d3de); border-radius: 12px; margin: 0 0 8px; }
.zdimg img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.zdetail h2 { display: flex; align-items: center; gap: 8px; }
.zdetail .vname { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #f3e3b5; color: #7a5a00; margin-right: 4px; }
.zdbig { font-size: 15px; margin-bottom: 6px; } .zdbig b { font-size: 24px; } .zdbig small { margin-left: 8px; color: var(--sub); font-size: 12px; }
.zdtab { width: 100%; border-collapse: collapse; font-size: 13px; }
.zdtab th { text-align: left; color: var(--sub); font-weight: 600; padding: 3px 10px 3px 0; white-space: nowrap; width: 7em; vertical-align: top; }
.zdtab td { padding: 3px 0; border-bottom: 1px solid #e6dfd0; }
.zdrare { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; } .zdrare small { color: var(--sub); margin-right: 4px; }
@media (max-height: 520px) { .zdetail .panel { width: min(680px, 100%); display: grid; grid-template-columns: 44% 1fr; gap: 0 12px; align-items: start; } .zdetail .zdimg { grid-row: 1 / 5; align-self: center; } .zdetail h2 { margin: 0; } }
.nmwait { background: #fff1e4; border-radius: 8px; padding: 6px 10px; }
.namerow input:disabled { background: #eee; color: #888; }
.nmerr { color: #b8231c; min-height: 1em; margin-top: 6px !important; }
.acbtns { display: flex; gap: 8px; justify-content: flex-end; }
.rankpanel { width: min(760px, 100%); position: relative; }
.rkweek { font-size: 12px; color: var(--sub); margin: 0 0 8px; }
.rkcols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rkcol h3 { margin: 0 0 4px; font-size: 15px; }
.rktable { width: 100%; border-collapse: collapse; font-size: 13px; }
.rktable td { padding: 3px 6px; border-bottom: 1px solid #e6dfd0; }
.rktable td.rk { width: 2em; text-align: center; font-weight: 900; font-family: var(--num), sans-serif; }
.rktable td.top1 { color: #c9a227; } .rktable td.top2 { color: #8f9aa3; } .rktable td.top3 { color: #b0703a; }
.rktable td.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9em; }
.rktable td.n { text-align: right; font-family: var(--num), sans-serif; font-weight: 700; }
.rktable tr.me td { background: #fff1e4; }
.rktable td.rknone { color: var(--sub); text-align: center; padding: 10px; }
.rkmine { font-size: 12px; margin-top: 4px; color: var(--sub); }
/* ランキング（2026-11-12 作り直し） */
.rankpanel { width: min(640px, 100%); max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
.rkhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; padding-right: 44px; }
.rkhead h2 { margin: 0; }
.rkspan { color: var(--sub); font-size: 13px; font-weight: 700; }
.rkbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rkcats { display: flex; gap: 4px; }
.rkcat { font: inherit; font-weight: 800; font-size: 15px; border: none; background: none; padding: 4px 10px 6px; border-bottom: 3px solid transparent; color: var(--sub); cursor: pointer; }
.rkcat small { display: block; font-size: 10px; font-weight: 600; }
.rkcat.on { color: var(--ink, #1f2a36); border-bottom-color: #e8743a; }
.seg { display: inline-flex; background: #e9e3d6; border-radius: 999px; padding: 3px; }
.seg button { font: inherit; font-size: 12px; font-weight: 700; border: none; background: none; padding: 5px 12px; border-radius: 999px; color: var(--sub); cursor: pointer; }
.seg button.on { background: #fff; color: #1f2a36; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.rkbody { flex: 1; min-height: 0; overflow-y: auto; }
.rklist { display: flex; flex-direction: column; }
.rkrow { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto 5.2em; align-items: center; gap: 10px; padding: 7px 6px; border-bottom: 1px solid #ebe4d6; font-size: 14px; }
.rkrow.me { background: #fff1e4; border-radius: 8px; }
.rkno { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: var(--sub); font-family: var(--num), sans-serif; }
.rkno.m1 { background: #e9c45a; color: #fff; } .rkno.m2 { background: #a9b3bb; color: #fff; } .rkno.m3 { background: #c98a52; color: #fff; }
.rknm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rkfs { font-size: 12px; color: var(--sub); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.rkfs i { font-style: normal; }
.rkfs .vname { font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 5px; background: #f3e3b5; color: #7a5a00; }
.rkfs .vname.v-albino { background: #f4f1ff; color: #6a5aa8; } .rkfs .vname.v-melanic { background: #333; color: #fff; }
.rkfs .vname.v-golden { background: #ffe58a; color: #7a5a00; } .rkfs .vname.v-scarred { background: #e8d6c8; color: #6a3a1a; }
.rkfs .vnorm { font-size: 10px; color: #aaa199; }
.rklen { text-align: right; font-size: 12px; color: var(--sub); } .rklen b { font-size: 16px; color: #1f2a36; font-family: var(--num), sans-serif; margin-right: 1px; }
.rkme { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #ebe4d6; font-size: 13px; flex-wrap: wrap; }
.rkme.none { color: var(--sub); }
.rkmel { font-size: 11px; color: var(--sub); font-weight: 700; }
.rkme .vname { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 5px; background: #f3e3b5; color: #7a5a00; }
.rkmelen { margin-left: auto; } .rkmelen b { font-size: 17px; font-family: var(--num), sans-serif; }
.rkmerank { font-weight: 900; color: #e8743a; }
.rkbottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rkbottom .rkrule { margin: 0; }
.rkgap { text-align: center; color: var(--sub); line-height: 1; padding: 2px 0; }
.rkfoot { font-size: 13px; margin: 10px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rkrule { font-size: 11px; color: var(--sub); margin: 6px 0 0; }
@media (max-height: 520px) { .rkhead { margin-bottom: 4px; } .rkbar { margin-bottom: 4px; } .rkrow { padding: 4px 6px; } .rkcat { padding: 2px 8px 4px; } }
.rktabs { margin-bottom: 6px; flex-wrap: wrap; align-items: center; }
.rksep { width: 1px; height: 18px; background: #c9c0ad; margin: 0 4px; }
.rktable td.fs { white-space: nowrap; }
.rktable .vname, .rkmine .vname { margin-left: 4px; font-size: 11px; font-weight: 800; padding: 1px 5px; border-radius: 6px; background: #f3e3b5; color: #7a5a00; }
.rktable .vname.v-albino { background: #f4f1ff; color: #6a5aa8; } .rktable .vname.v-melanic { background: #333; color: #fff; }
.rktable .vname.v-golden { background: #ffe58a; color: #7a5a00; } .rktable .vname.v-scarred { background: #e8d6c8; color: #6a3a1a; }
.rktable .vnorm, .rkmine .vnorm { margin-left: 4px; font-size: 11px; color: var(--sub); }
.rknote { font-size: 13px; margin: 10px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-height: 520px) {
  .acctpop .panel { padding: 12px 14px; }
  .acctpop h2 { font-size: 16px; margin-bottom: 6px; }
  .ebtn { padding: 8px 10px; } .ebtn b { font-size: 14px; }
  .rktable { font-size: 12px; } .rktable td { padding: 2px 5px; }
}
/* チュートリアル（約1分）：絵と短い説明を1枚ずつ */
.tutorial { position: fixed; z-index: 55; }
.tutorial .panel { width: min(520px, 100%); display: grid; grid-template-columns: 96px 1fr; gap: 6px 16px; align-items: center; padding: 18px 20px; }
.tutorial .tic { grid-row: 1; width: 96px; height: 96px; border-radius: 18px; background: #1f3a52; display: flex; align-items: center; justify-content: center; }
.tutorial .tic svg { width: 72px; height: 72px; }
.tutorial .ttx small { color: var(--sub); font-size: 11px; font-weight: 700; }
.tutorial h2 { margin: 2px 0 6px; font-size: 19px; }
.tutorial p { margin: 0; font-size: 13.5px; line-height: 1.65; }
.tutorial .tbtn { grid-column: 1 / 3; display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.tutorial .dots { display: flex; gap: 5px; }
.tutorial .dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9c4b8; }
.tutorial .dots i.on { background: #e8743a; }
@media (max-height: 520px) { .tutorial .panel { grid-template-columns: 72px 1fr; padding: 12px 14px; } .tutorial .tic { width: 72px; height: 72px; } .tutorial .tic svg { width: 54px; height: 54px; } .tutorial h2 { font-size: 16px; } .tutorial p { font-size: 12.5px; } }
/* iPhone の全画面のやり方 */
.fullhelp { position: fixed; z-index: 60; }
.fullhelp .panel { width: min(460px, 100%); }
.fullhelp h2 { font-size: 18px; }
.fullhelp ol { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: st; }
.fullhelp li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; counter-increment: st; }
.fullhelp li::before { content: counter(st); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1f4f78; color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.fullhelp li small { display: block; color: var(--sub); font-size: 12px; }
.fullhelp .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #eef1f4; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #1a73e8; font-size: 20px; }
.fullhelp .ic img { width: 44px; height: 44px; border-radius: 10px; }
.fullhelp .fhnote { margin: 0 0 10px; font-size: 12px; color: var(--sub); }
.fullhelp li.fhtip { counter-increment: none; font-size: 12px; color: var(--sub); }
.fullhelp li.fhtip::before { content: '!'; background: #b8862a; }
.fullhelp .panel { max-height: calc(100% - 16px); overflow: auto; }
.fullhelp .share { display: flex; align-items: center; justify-content: center; }
.fullhelp .share i { position: relative; width: 18px; height: 16px; border: 2.5px solid #1a73e8; border-top: none; border-radius: 0 0 3px 3px; margin-top: 8px; }
.fullhelp .share i::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2.5px; height: 16px; margin-left: -1.25px; background: #1a73e8; }
.fullhelp .share i::after { content: ''; position: absolute; left: 50%; top: -15px; width: 8px; height: 8px; margin-left: -5px; border-left: 2.5px solid #1a73e8; border-top: 2.5px solid #1a73e8; transform: rotate(45deg); }

/* ---------- スマホ（指の操作・横向き） ---------- */
canvas#gl { touch-action: none; }
body.touch { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
body.touch kbd { display: none; }
#ui { left: env(safe-area-inset-left); right: env(safe-area-inset-right); }
.dragset { display: inline-flex; align-items: center; gap: 6px; }
.dragset button { width: 30px; height: 26px; padding: 0; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; font-weight: 900; line-height: 1; touch-action: manipulation; }
.dragset button:active { background: var(--accent); color: #fff; }
.dragset b { min-width: 14px; text-align: center; font-size: 17px; }
/* ドラグ（2026-11-12）：数字ではなく位置で */
.dmini { display: inline-block; width: 64px; height: 8px; border-radius: 4px; background: #e4dfd3; overflow: hidden; }
.dmini i { display: block; height: 100%; background: linear-gradient(90deg, #6fb3c9, #e8743a); }
.fight .fbar .meter.rod i { background: #3d9a5b; transition: width .15s; }
.fight .fbar .meter.rod i.mid { background: #e0a32a; } .fight .fbar .meter.rod i.low { background: #c2453a; }
.dslider { flex: 1; position: relative; height: 26px; border-radius: 13px; background: linear-gradient(90deg, #d8ecf1, #f6d9c4); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; touch-action: none; cursor: ew-resize; user-select: none; }
.dslider em { font-style: normal; font-size: 11px; color: var(--sub); font-weight: 700; pointer-events: none; }
.dslider i { position: absolute; top: 2px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fff; border: 3px solid #1f2a36; box-shadow: 0 1px 3px rgba(0,0,0,.3); pointer-events: none; }
.dslider { --pad: 13px; } .dslider i { left: 0; }
.fight .fwarn { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.fight .fwarn small { color: var(--sub); font-size: 11px; white-space: nowrap; }
.fight .fwarn .warn { margin: 0; }
.only-compact { display: none; }
/* 縦向きのときは「横にしてください」 */
#rotate { display: none; }
@media (orientation: portrait) {
  body.touch #rotate { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: #0b1420; color: #fff; }
}
/* チャットのあいだは縦でも使える */
body.chatting #rotate { display: none !important; }
.chturn { display: none; font-size: 12px; color: var(--sub); margin: 4px 0 0; }
@media (orientation: landscape) and (max-height: 520px) { .chturn { display: block; } }
@media (orientation: portrait) {
  .chatpanel { height: calc(100vh - 24px); max-height: none; }
  .chatsheet .chatpanel { max-height: none; }
  .chmsg { max-width: 92%; }
  .chtabs .chip { font-size: 13px; }
}
#rotate .ph { width: 58px; height: 96px; margin: 0 auto 22px; border: 4px solid #fff; border-radius: 12px; animation: tilt 2.4s ease-in-out infinite; }
#rotate b { display: block; font-size: 18px; }
#rotate small { display: block; margin-top: 6px; font-size: 13px; opacity: .75; }
/* 全画面にできる端末（Android など）は「全画面で遊ぶ」ボタン。できない端末（iPhone）は、横にする・ホーム画面に追加の案内 */
#rotate .rotbtn { display: none; margin: 18px auto 0; padding: 14px 28px; border: none; border-radius: 99px; background: #ffb050; color: #1a1408; font-size: 17px; font-weight: 900; }
body.canfull #rotate .rotbtn { display: block; }
body.canfull #rot-ios, body.canfull #rot-turn, body.standalone #rot-ios { display: none; }
#rot-turn { margin-top: 14px !important; font-size: 15px !important; opacity: 1 !important; }
#rot-ios { margin-top: 10px !important; line-height: 1.7; }
@keyframes tilt { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
/* 釣りのボタン：右手の親指で押す位置にまとめる */
.tkeys { left: auto; right: 14px; bottom: 12px; transform: none; display: grid; grid-template-columns: auto auto; grid-template-areas: "walk walk" "pick main"; gap: 10px; align-items: end; justify-items: center; }
.tkeys #k-main.big { width: 132px; height: 132px; }
/* ヘチの左右に歩くボタン：上に積むと右上の穂先の窓とかさなるので、回収ボタンの左に横に並べる */
.tkeys.haswalk { grid-template-columns: auto auto auto; grid-template-areas: "walk pick main"; }
.tkeys.haswalk .walk { justify-self: center; align-self: end; }
.tkeys #k-main.flick { background: var(--warm); color: #fff; transform: translateY(-6px); transition: transform 0.1s; }
.tkeys .walk { grid-area: walk; display: flex; gap: 10px; justify-self: end; }
.tkeys .walk .fkey { min-width: 0; width: 62px; height: 46px; padding: 0; font-size: 18px; }
.tkeys #k-pick { grid-area: pick; min-width: 0; width: 76px; padding: 8px 0; border-radius: 99px; font-size: 13px; }
.tkeys #k-hook { grid-area: hook; min-width: 0; width: 82px; height: 82px; padding: 0; border-radius: 50%; font-size: 14px; line-height: 1.25; }
.tkeys #k-main { grid-area: main; min-width: 0; width: 116px; height: 116px; padding: 0 8px; border-radius: 50%; font-size: 19px; }
.tkeys .fkey small { font-size: 10px; line-height: 1.3; }
.tkeys .crank { position: relative; background: radial-gradient(circle, rgba(250, 248, 243, 0.96) 0 40%, rgba(214, 222, 228, 0.93) 41% 100%); }
.tkeys .crank.active { background: radial-gradient(circle, var(--accent) 0 40%, rgba(214, 222, 228, 0.93) 41% 100%); }
.tkeys .crank .knob { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.tkeys .crank .knob::after { content: ''; position: absolute; left: 50%; top: 5px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--warm); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }

/* とくに低い画面（ブラウザの枠が出ている横向きのスマホ）：釣行の準備の見出しも消す */
@media (max-height: 340px) {
  .prep h2 { display: none; }
  .prep .panel { padding-top: 8px !important; }
}
/* 高さの低い画面（横向きのスマホ）：表示を小さく、端に寄せる */
@media (max-height: 520px) {
  .only-compact { display: inline-flex; }
  /* 2026-11-11：画面の文字を減らす（ゲームの画面を広く見せる） */
  .hud-tl .clock .d, .hud-tl canvas.minitide, .tideinfo .flow, .tideinfo > span:nth-child(2) { display: none; }
  .hud-tl { width: auto; }
  .hud-tl .tidebar { margin-top: 0; }
  .hud-tr { display: none; }
  .hints { animation: hintOut 0.6s 5s forwards; }
  .hud-bl { width: auto; max-width: 300px; }
  .hud-bl .lurebox .nm, .hud-bl .lurebox .cl, .methods kbd { display: none; }
  .hud-bl .lurebox > div[style] { flex: 0 !important; }
  .spotpanel:not(.more) .ds, .spotpanel:not(.more) .obs, .spotpanel:not(.more) .meth { display: none; }
  /* 状況とルアー（エサ）だけは、くわしくを開かなくても出す（2026-11-13） */
  .spotpanel:not(.more) .guide .gr:not(.key) { display: none; }
  .spotpanel:not(.more) .guide { margin-bottom: 8px !important; }
  .spotpanel .moreb { display: block; }
  .spotpanel .xclose { display: block; }
  .spotpanel { width: 240px !important; }
  .fishhud-l #f-depth, .fishhud-l #f-inset-t, .fishhud-l .row2:not(.dragrow):not(.btnrow) > span small { display: none; }
  .fishhud-l { width: 190px; padding: 6px 8px !important; }
  .fishhud-l .depthfig svg { height: 62px; }
  .fishhud-l > .row2:not(.dragrow):not(.btnrow), .fishhud-l #f-guide-t { display: none !important; }
  .fishhud-l .speed button { padding: 1px 0; font-size: 13px; }
  .fishhud-l .dragrow { margin-top: 4px !important; font-size: 11px; }
  .fishhud-l .btnrow .btn { padding: 3px 8px; font-size: 11px; }
  .hud-tl { left: 10px; top: 8px; width: 210px; padding: 7px 10px; }
  .clock .t { font-size: 26px; }
  .clock .d { font-size: 10.5px; line-height: 1.3; }
  .tidebar { margin-top: 4px; }
  canvas.minitide { height: 30px; }
  .tideinfo { font-size: 10.5px; }
  .tideinfo b { font-size: 13px; }
  .tideinfo .flow { padding: 1px 6px; }
  .tideinfo .flow .arrow { font-size: 14px; }
  .hud-tr { top: 8px; right: 10px; padding: 6px 10px; font-size: 11px; min-width: 0; }
  .hud-tr .wx { grid-template-columns: auto auto auto auto; gap: 2px 8px; }
  .hud-tc { top: 8px; padding: 4px; gap: 6px; }
  .hud-tc .an, .hud-tc .rest { display: none; }
  body.fighting .hud-tl, body.fighting .hud-tr { display: none; }
  .hud-bl { left: 10px; bottom: 8px; width: 300px; padding: 8px 10px; }
  .hud-bl h3 { display: none; }
  .methods { flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
  .methods .chip { flex: 0 0 auto; padding: 5px 9px; font-size: 12px; }
  .lureicon { width: 36px; height: 36px; }
  .lureicon svg { width: 32px; height: 32px; }
  .spotpanel { top: 60px; right: 10px; width: 300px; max-height: calc(100% - 70px); overflow: auto; padding: 10px 12px; }
  .spothint { top: 60px; right: 10px; width: 250px; padding: 8px 10px; font-size: 12px; }
  .spotpanel .nm { font-size: 15px; }
  .spotpanel .ds { margin-bottom: 6px; }
  .spotpanel #s-go { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 3px 0 #a55f15, 0 -6px 14px rgba(250, 248, 243, 0.95); }
  .drawer { top: 8px; bottom: 8px; left: 10px; width: min(440px, 62vw); max-height: none; }
  .talkprompt { bottom: 10px; left: auto; right: 10px; transform: none; }
  /* スマホ：画面の上にはみ出さないよう、下から 10px に置いて高さを画面に収める。文字は小さめ（2026-11-13） */
  .talkbox { bottom: 10px; top: auto; left: 10px; transform: none; max-height: calc(100% - 20px); overflow: auto; padding: 10px 14px; width: min(560px, calc(100% - 190px)); background: #faf8f3; z-index: 5; }   /* 右の歩くパッドにかからないよう、左に寄せる。下の案内が透けないように */
  .talkbox .who { font-size: 13px; margin-bottom: 4px; }
  .talkbox .who small { font-size: 11px; }
  .talkbox p { font-size: 12.5px; line-height: 1.5; margin-bottom: 4px; padding-left: 9px; }
  .talkbox .ttag { font-size: 10px; line-height: 16px; padding: 0 6px; }
  .talkbox .btn.small { padding: 4px 12px; font-size: 12px; }
  .fishhud-l { left: 10px; bottom: 8px; width: 236px; padding: 8px 10px; font-size: 12px; max-height: calc(100% - 152px); overflow: auto; }
  .fishhud-l .lurebox { display: none; }
  .fishhud-l > .row2:first-child { margin-top: 0; }
  .fishhud-l .row2 { margin-top: 5px; }
  .fishhud-l .btnrow { margin-top: 6px !important; }
  .speed button { padding: 3px 0; font-size: 15px; }
  #f-hud:not(.showguide) .fishhud-l .guide { display: none; }
  #f-hud.infight .fishhud-l > :not(.dragrow) { display: none; }
  .fight { top: 54px; padding: 8px 10px; width: min(400px, calc(100vw - 300px)); }
  .fight .fstate { min-height: 40px; }
  .fight .fstate b { font-size: 15px; }
  .status { top: 50px; }
  .castgauge { top: 50px; bottom: auto; width: 240px; }
  .catch { top: 8px; bottom: 8px; right: 4%; width: 340px; transform: none; overflow: auto; padding: 12px 16px; }
  .catch .sp { font-size: 22px; }
  .catch .main b { font-size: 34px; }
  .lostcard { top: 8px; right: 4%; transform: none; max-height: calc(100% - 16px); overflow: auto; padding: 12px 14px; }
  .lostcard .limg { height: 80px; }
  /* 横向きのスマホ：絵を横に並べて小さく、ボタンが下で切れないように */
  .lostcard { width: 400px; display: grid; grid-template-columns: 110px 1fr; gap: 0 10px; text-align: left; }
  .lostcard .lk { grid-column: 1 / 3; }
  .lostcard .limg { grid-row: 2 / 5; height: 70px; margin: 4px 0 0; }
  .lostcard .limg img { max-height: 64px; }
  .lostcard .sp { font-size: 16px; } .lostcard .lline, .lostcard .lmsg { margin-top: 0; font-size: 11px; }
  .lostcard .lpitch, .lostcard .btns { grid-column: 1 / 3; }
  .lostcard .lpitch { margin: 6px 0 0; padding: 5px 8px; font-size: 12px; }
  .lostcard .btns { margin-top: 8px; }
  .sheet, .prep { padding: 8px; }
  .sheet .panel, .prep .panel { padding: 14px 16px; }
  .prep .go { bottom: -14px; margin: 10px -16px -14px; padding: 10px 16px; }
  /* 釣行の準備：スクロールしなくていいように、地図・出発の時間・出発だけにする（天気と潮は1行にまとめる） */
  .prep .panel { padding: 10px 14px 0; }
  .prep h2 { font-size: 16px; margin-bottom: 6px; }
  .prep .lead, .mapinfo p, .prep .pseason, .prep .ptide, .prep .daycard, .prep .ptimenote { display: none; }
  .prep .psum { display: block; }
  .prep .mapinfo, .prep .pdate > label, .prep .pseasonsel > label { display: none; }
  .prep .pseasonsel { margin-bottom: 6px; }
  .prep .pdate { margin-bottom: 6px; }
  .prep .parea { display: flex; }
  .prep .grid { grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
  .mapbox { width: calc(100vh - 140px); min-width: 0; max-width: 300px; }
  .mapinfo { margin-top: 6px; padding: 5px 8px; }
  .mapinfo b { font-size: 14px; }
  .mapinfo .mths span { font-size: 10.5px; padding: 1px 6px; }
  .prep .row { margin-bottom: 10px; }
  .prep .row > label { margin-bottom: 4px; }
  .prep .chip { padding: 5px 9px; font-size: 12px; }
  .prep .go { bottom: 0; margin: 8px -14px 0; padding: 8px 14px; }
  .prep .go .btn.big { padding: 8px 22px; font-size: 15px; }
  #toast { top: 30%; }
  #toast .t { font-size: 15px; padding: 8px 16px; }
  /* タイトル：左にロゴ、右に遊び方とメニュー */
  /* 上の「音 ON」などのボタンと重ならないよう上を空け、日課はメニューの下に並べる（ロゴ・魚の札とも重ならない） */
  .title { display: grid; grid-template-columns: auto minmax(0, 300px); grid-template-rows: auto auto; justify-content: center; align-content: center; column-gap: 24px; row-gap: 8px; padding: 58px 16px 8px; }
  .title .menu { grid-column: 2; grid-row: 1; }
  .title .tdaily { position: static; grid-column: 2; grid-row: 2; width: auto; align-self: start; }
  .title .logo { grid-row: 1 / 3; margin: 0; align-self: center; }
  .tlogo { width: min(400px, 50vw); }
  .logo .sub { gap: 5px; }
  .logo .sub b { font-size: 14px; }
  .logo .sub small { font-size: 11px; }
  .logo .mlist { max-width: min(400px, 50vw); margin: 0 auto; }
  .logo .mlist i { font-size: 11px; padding: 2px 7px; }
  .title .modes { flex-direction: column; margin: 0; align-self: end; }
  .title .mode { min-width: 0; width: 100%; padding: 7px 12px; }
  .title .menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0; align-self: end; }
  .title .menu .btn.big { padding: 8px 8px; font-size: 14px; }
  .title .foot { display: none; }
}

/* チャットのいいね（2026-11-13） */
.chfoot { display: flex; justify-content: flex-end; min-height: 0; }
.chfoot:empty { display: none; }
.chlike { border: 1px solid #e3d6c2; background: #fffaf2; color: #a89a86; border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1.6; margin-top: 3px; }
.chlike span:empty { display: none; }
.chlike.on { color: #e0507a; border-color: #f2b5c6; background: #fff0f4; }
.chlike.ro { cursor: default; border-color: transparent; background: none; color: #e0507a; padding: 0 2px; }
.chlike:active:not(.ro) { transform: scale(.94); }
/* 先週の結果発表 */
.wkpop .panel { max-width: 440px; width: 100%; }
.wkspan { margin: -4px 0 10px; color: #7a6a52; font-size: 13px; }
.wkrows { display: grid; gap: 6px; }
.wkrow { display: grid; grid-template-columns: 1fr auto 56px; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fbf6ec; border: 1px solid #e8dcc6; font-size: 14px; }
.wkrow > span { color: #7a6a52; font-weight: 700; }
.wkrow > i { font-style: normal; font-weight: 900; text-align: right; }
.wkrow > i.r1 { color: #c48a00; } .wkrow > i.r2, .wkrow > i.r3 { color: #6d7a86; }
.wkhonor { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #173a57, #0b2740); color: #fff; }
.wkhonor img { width: 64px; height: 75px; object-fit: contain; }
.wkhonor small { display: block; color: #9cc0d8; font-size: 12px; }
.wkhonor b { font-size: 20px; color: #ffd76a; }
.wknote { margin: 12px 0 0; font-size: 13px; color: #7a6a52; }
.wkbtns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }

/* チャットの未読（2026-11-13） */
.title .tchat { position: relative; }
.tchat .tfrn { top: -9px; right: -9px; min-width: 24px; height: 24px; line-height: 24px; border-radius: 12px; padding: 0 7px; font-size: 13px; font-weight: 900; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); z-index: 2; }
.tchat .tfrn.liked::before { content: '♥'; margin-right: 2px; }

/* 図鑑：全体を見る（2026-11-13） */
.ztally .zallb { float: right; margin-left: 8px; padding: 2px 10px; font-size: 12px; }
.zall { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #f6f1e6; padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
.zallhead { display: flex; align-items: center; gap: 12px; padding: 0 44px 6px 2px; font-size: 13px; color: #5a4a36; position: relative; flex-wrap: wrap; }
.zallhead > b { font-size: 18px; color: #2a2016; }
.zallhead small { margin-left: auto; color: #a8957a; font-weight: 700; }
.zallhead .xclose { position: absolute; right: 0; top: -2px; }
.zallv { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.zallv i, .zat em i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.zallv i { margin-left: 6px; }
.zallgrid { flex: 1; min-height: 0; display: grid; gap: 4px; }
.zat { min-height: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #e3d6c2; border-radius: 6px; padding: 2px; font-size: var(--zfs, 11px); line-height: 1.2; position: relative; overflow: hidden; }
.zat .zimg { flex: 1; min-height: 0; width: 100%; aspect-ratio: auto; margin: 0 0 1px; border-radius: 4px; }
.zat b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.zat .num { color: #7a6a52; }
.zat em { position: absolute; top: 3px; right: 3px; display: flex; gap: 2px; }
.zat.unk { color: #b8ad9a; background: #efe9dc; }
.zat.unk .zimg { filter: brightness(0) opacity(0.25); background: none; }

/* 初心者向けのガイド（いまやること）2026-11-13 */
.coach { position: absolute; left: 50%; top: 74px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px; max-width: min(620px, calc(100% - 32px)); padding: 8px 10px 8px 12px; border-radius: 14px; background: rgba(16, 32, 50, 0.86); color: #f4f8fb; font-size: 14px; font-weight: 700; line-height: 1.45; box-shadow: 0 4px 16px rgba(0,0,0,.3); pointer-events: auto; }
.coach[hidden] { display: none; }
.coach .cn { flex: none; font-size: 20px; color: #ffcf6a; }
.coach .cn:empty { display: none; }
.coach .ct em { display: block; font-style: normal; font-size: 11px; color: #ffcf6a; letter-spacing: .05em; }
.coach .ct small { font-size: 12px; font-weight: 500; color: #bcd3e2; }
.coach b.cg { color: #8fe39a; } .coach b.cm { color: #ffd76a; } .coach b.cb { color: #ff9d8a; }
.coach .cx { flex: none; margin-left: 4px; border: none; background: rgba(255,255,255,.12); color: #dfe9f1; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.coach.hot { background: rgba(196, 52, 30, 0.94); animation: coachHot .35s ease-in-out infinite alternate; }
@keyframes coachHot { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.05); } }
@media (max-height: 520px) {
  .coach { top: 52px; font-size: 12.5px; padding: 6px 8px 6px 10px; max-width: calc(100% - 340px); min-width: 260px; }
  .coach .cn { font-size: 16px; }
  .coach .ct small { font-size: 11px; }
}

body.coaching #toast { top: 44%; }
@media (max-height: 520px) { body.coaching #toast { top: 52%; } }

/* 図鑑の数（1 行に小さく）・レア個体の行 2026-11-13 */
.ztally { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; font-size: 12px; white-space: nowrap; overflow: hidden; }
.ztally .zt1 b { font-size: 16px; color: #2a2016; } .ztally .zt1 small { color: var(--sub); }
.ztally .ztv { display: flex; gap: 8px; min-width: 0; overflow: hidden; }
.ztally .zallb { float: none; margin-left: auto; flex: none; }
.zrare { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--sub); white-space: nowrap; }
.zrare i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); background: #f2b6c8; flex: none; }
.zrare.v-melanic i { background: #2a2c33; } .zrare.v-golden i { background: #e0ad2e; } .zrare.v-scarred i { background: #9a6040; }
.zrare b { color: #3a2f22; font-size: 12px; }
.zrare small { font-size: 10px; }
.zcard .zrare { display: flex; margin-top: 2px; overflow: hidden; }
/* チャット：LINE のような吹き出し 2026-11-13 */
.chmsg { background: none !important; box-shadow: none !important; border: none !important; padding: 0 !important; max-width: 88%; }
.chmsg .chhead { font-size: 11px; margin: 0 0 1px 6px; }
.chmsg .chhead b, .chmsg .chuser { font-size: 11px; }
.chline { display: flex; align-items: flex-end; gap: 5px; }
.chmsg.mine .chline { flex-direction: row-reverse; }
.chbub { min-width: 0; background: #fff; border-radius: 14px; padding: 5px 11px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.chmsg:not(.mine) .chbub { border-top-left-radius: 4px; }
.chmsg.mine .chbub { background: #ffe1bd; border-top-right-radius: 4px; }
.chmsg.stampmsg .chbub { background: transparent; box-shadow: none; padding: 0; }
.chbub .chbody { font-size: 13.5px; line-height: 1.45; }
.chbub .chcatch { margin: 1px 0 3px; font-size: 12px; }
.chmeta { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 10px; color: var(--sub); line-height: 1.3; }
.chmsg.mine .chmeta { align-items: flex-end; }
.chmeta small { font-size: 10px; }
.chmeta .chact { margin: 0; font-size: 10px; }
.chmeta .chfoot { display: inline-flex; }
.chmeta .chlike { margin: 0; padding: 0 7px; font-size: 11px; }
.chstamp { width: 100px; height: 84px; }
.dkpanel .chbub { background: var(--st-cell); color: #eaf4fb; }

/* 魚のイベント（準備画面）2026-11-13 */
.pevent { margin: 4px 0; padding: 4px 10px; border-radius: 8px; background: #fff3d6; border: 1px solid #f0d08a; color: #7a5200; font-size: 12px; font-weight: 700; }
.pevent.here { background: #ffe2b8; border-color: #e8a040; color: #8a3a00; }

/* 模様がえのタブ 2026-11-13 */
.lktabs { display: flex; gap: 6px; margin: 4px 0 8px; }
.lktabs .chip small { margin-left: 4px; font-size: 10px; opacity: .7; }

/* 着せかえ 2026-11-13：名前の色 */
.nc-gold { background: linear-gradient(90deg, #a8740a, #f4c84a, #a8740a); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 900; text-decoration: none !important; }
.nc-shu { color: #d23a22 !important; font-weight: 900; }
.nc-ai { color: #1c4a96 !important; font-weight: 900; }
.nc-moegi { color: #5f9a10 !important; font-weight: 900; }
/* 吹き出し */
.chbub.bb-fish { background-color: #e6f4fb !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='28'%3E%3Cpath d='M6 14c4-6 12-6 16 0-4 6-12 6-16 0zm16 0l6-5v10z' fill='%235aa8d0' fill-opacity='.55'/%3E%3C/svg%3E"); }
.chbub.bb-wave { background-color: #eaf1fb !important; background-image: radial-gradient(circle at 50% 100%, transparent 6px, rgba(60,110,180,.32) 7px, transparent 8.5px, transparent 11px, rgba(60,110,180,.32) 12px, transparent 13px); background-size: 26px 13px; }
.chbub.bb-sakura { background-color: #fff0f4 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='%23f08cab' fill-opacity='.6'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='28' cy='26' r='2.5'/%3E%3Ccircle cx='34' cy='6' r='1.6'/%3E%3C/g%3E%3C/svg%3E"); border: 1px solid #f6c8d6; }
.chbub.bb-night { background: linear-gradient(160deg, #1a2c50, #0a1428) !important; color: #e8f0ff; box-shadow: 0 0 0 1px rgba(160,190,255,.25) !important; }
.chbub.bb-night .chcatch { background: rgba(255,255,255,.12); color: #e8f0ff; }
/* ステータスカードの背景 */
.st2.cb-gold { --st-bg: #6a4a10; --st-bg2: #1e1404; --st-acc: #ffd76a; --st-sub: #e8cf8f; background-image: repeating-linear-gradient(90deg, rgba(255,215,110,.06) 0 40px, rgba(255,215,110,.12) 40px 80px), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; }
.st2.cb-sunset { --st-bg: #c0704e; --st-bg2: #2e1830; --st-acc: #ffd0a0; --st-sub: #f0c8b0; background-image: radial-gradient(circle at 82% 22%, rgba(255,220,150,.35), transparent 26%), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; }
.st2.cb-wave { --st-bg: #1c4a7a; --st-bg2: #061a30; background-image: radial-gradient(circle at 50% 100%, transparent 18px, rgba(220,236,255,.1) 19px, transparent 21px, transparent 28px, rgba(220,236,255,.1) 29px, transparent 31px), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; background-size: 72px 36px, auto !important; }
.st2.cb-star { --st-bg: #0c1630; --st-bg2: #02040c; background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 200px 40px, #fff, transparent), radial-gradient(1px 1px at 60px 140px, rgba(255,255,255,.7), transparent), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; background-size: 240px 180px, 240px 180px, 240px 180px, 240px 180px, auto !important; }
/* 着せかえの画面 */
.stylepop .panel { max-width: 520px; }
.sytabs { margin: 4px 0 8px; }
.synote { font-size: 12px !important; color: var(--sub); }
.sygrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.syopt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; border-radius: 12px; border: 1px solid #e3d6c2; background: #fffdf8; cursor: pointer; font: inherit; }
.syopt.on { border-color: #e0892c; box-shadow: 0 0 0 2px rgba(224,137,44,.35); }
.syopt b { font-size: 13px; } .syopt small { font-size: 11px; color: var(--sub); }
.sypv { font-size: 15px; font-weight: 900; }
.sypv.chbub { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.cbsw { display: block; width: 100%; height: 46px; border-radius: 8px; background: linear-gradient(160deg, #133b5a, #0b2740); }
.cbsw.cb-gold { background: repeating-linear-gradient(90deg, rgba(255,215,110,.12) 0 14px, rgba(255,215,110,.22) 14px 28px), linear-gradient(160deg, #6a4a10, #1e1404); }
.cbsw.cb-sunset { background: radial-gradient(circle at 82% 30%, rgba(255,220,150,.5), transparent 30%), linear-gradient(160deg, #e89a5a, #3a1e3a); }
.cbsw.cb-wave { background: radial-gradient(circle at 50% 100%, transparent 8px, rgba(220,236,255,.18) 9px, transparent 11px), linear-gradient(160deg, #1c4a7a, #061a30); background-size: 28px 14px, auto; }
.cbsw.cb-star { background: radial-gradient(1px 1px at 10px 10px, #fff, transparent), radial-gradient(1px 1px at 40px 30px, #fff, transparent), linear-gradient(160deg, #0c1630, #02040c); background-size: 60px 46px, 60px 46px, auto; }
.chstyleb { margin-left: 10px; vertical-align: middle; padding: 2px 10px; font-size: 11px; }

/* テンションゲージ（2026-11-13） */
.tgauge { position: relative; height: 18px; margin: 6px 0 2px; border-radius: 9px; background: linear-gradient(90deg, #6a8aa8 0%, #b8c8d4 18%, #e8e2d2 50%, #f0c8a0 82%, #e05a3a 100%); box-shadow: inset 0 1px 3px rgba(0,0,0,.35); overflow: hidden; }
.tgauge .tz { position: absolute; top: 0; bottom: 0; background: rgba(60, 190, 90, 0.75); border-left: 2px solid #1e8a40; border-right: 2px solid #1e8a40; transition: left .08s linear, width .2s; }
.tgauge .tred { position: absolute; top: 0; bottom: 0; right: 0; width: 4.8%; background: repeating-linear-gradient(45deg, #c8281a 0 4px, #e84a32 4px 8px); }
.tgauge i { position: absolute; top: -2px; bottom: -2px; width: 6px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px #1f2a36, 0 0 6px rgba(0,0,0,.5); }
.tgauge i.ok { box-shadow: 0 0 0 2px #1e8a40, 0 0 8px rgba(80,220,120,.8); }
.tgauge i.hi { background: #ffdcd4; box-shadow: 0 0 0 2px #c8281a, 0 0 10px rgba(255,60,40,.9); }
.tgauge i.lo { box-shadow: 0 0 0 2px #2a5a9a, 0 0 8px rgba(80,140,255,.8); }
.tgauge.danger { animation: tgDanger .25s ease-in-out infinite alternate; }
@keyframes tgDanger { from { box-shadow: inset 0 1px 3px rgba(0,0,0,.35); } to { box-shadow: inset 0 1px 3px rgba(0,0,0,.35), 0 0 0 3px rgba(232,74,50,.7); } }
.tglab { display: flex; justify-content: space-between; font-size: 10px; color: var(--sub); margin-bottom: 4px; }
.tglab span:nth-child(2) { color: #1e8a40; font-weight: 800; }
.fight.easy .tgauge, .fight.easy .tglab { display: none; }
.fishhud-l .dragrow { display: none !important; }

/* 2026-11-13：タイトルの知らせの行は高さを固定（出ても出なくても、下の「今日の日課」が動かないように） */
.tfeed { height: 22px; min-height: 0 !important; overflow: hidden; white-space: nowrap; }
.tfeed:empty { display: block !important; visibility: hidden; }
.tfeedin { max-width: 100%; }
/* アカウント・投稿・魚拓カードの文字を小さく、すっきり */
.acctmenu .panel { width: min(420px, 100%); padding: 14px 16px; }
.acctmenu h2 { font-size: 16px !important; margin-bottom: 6px !important; }
.acctmenu p { font-size: 12px !important; line-height: 1.6 !important; }
.acctmenu p small { font-size: 11px; }
.acctmenu .acbtns .btn { padding: 6px 12px; font-size: 12.5px; }
.gyopop h2, .sharepop h2 { font-size: 15px !important; margin: 0 0 6px !important; }
.sharebtns { gap: 6px; }
.sharebtns .btn { padding: 6px 12px !important; font-size: 12.5px !important; }
.sharenote { font-size: 10.5px !important; margin-top: 6px !important; }
.gyonote { font-size: 12px !important; line-height: 1.6 !important; }
.gyolist { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 8px !important; }
.gyoitem { padding: 6px 6px !important; }
.gyoitem img { width: 96px !important; height: 48px !important; }
.gyoitem b { font-size: 12px !important; } .gyoitem small { font-size: 10px !important; }
.retrypop p { font-size: 12.5px; }
/* 糸のゲージ（やり取り） */
.fight .fline .meter.rod i { background: #3aa0d8; }
.fight .fline .meter.rod i.mid { background: #e0ad2e; } .fight .fline .meter.rod i.low { background: #d8432a; }

.tfeed { width: min(440px, 100%); margin-left: auto; margin-right: auto; box-sizing: border-box; }
.tfeedin { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top; }

/* 長い知らせでも、まわりの幅を広げない（幅 0 から親の幅いっぱいに） */
.tfeed { width: 0 !important; min-width: 100%; max-width: 100%; }

/* ご意見・不具合の報告 2026-11-13 */
.fblink { border: none; background: none; color: #cfe4f2; text-decoration: underline; font: inherit; font-size: 11px; cursor: pointer; padding: 0; margin-left: 6px; }
.fbpop .panel { max-width: 480px; }
.fbpop h2 { font-size: 16px !important; }
.fbnote { font-size: 12px !important; color: var(--sub); }
.fbkind { margin: 4px 0 8px; }
.fbpop textarea, .fbpop input { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #d8ccb4; border-radius: 8px; margin-bottom: 8px; background: #fffdf8; }

/* 2026-11-13：知らせは省略せず全部出す（2行まで・小さめの文字）。高さは固定なので、下の日課は動かない */
.tfeed { height: 34px !important; white-space: normal !important; display: flex !important; align-items: center; justify-content: center; }
.tfeedin { white-space: normal !important; overflow: hidden; text-overflow: clip; font-size: 11px; line-height: 1.35; padding: 2px 10px !important; border-radius: 10px !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }

/* カードの背景 追加（2026-11-13） */
.st2.cb-simple { --st-bg: #2a2f35; --st-bg2: #1c2025; background-image: linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; }
.st2.cb-tatami { --st-bg: #a8a060; --st-bg2: #86804a; --st-acc: #ffe9a0; --st-sub: #efe6c0; background-image: linear-gradient(rgba(20,18,8,.42), rgba(20,18,8,.42)), repeating-linear-gradient(90deg, transparent 0 286px, #2a3626 286px 300px), repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 5px), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; }
.st2.cb-asanoha { --st-bg: #24324a; --st-bg2: #121a28; --st-acc: #f0d890; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cg stroke='%23dcc896' stroke-opacity='.2' fill='none'%3E%3Cpath d='M0 26h60M15 0l30 52M45 0L15 52M0 0l30 26 30-26M0 52l30-26 30 26'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; }
.st2.cb-camo { --st-bg: #55663c; --st-bg2: #4a5834; --st-acc: #e8f0a0; --st-sub: #d8e0b8; background-image: linear-gradient(rgba(10,14,6,.35), rgba(10,14,6,.35)), radial-gradient(ellipse 60px 34px at 20% 30%, #3a4a28 98%, transparent 100%), radial-gradient(ellipse 70px 40px at 70% 65%, #6a5a3a 98%, transparent 100%), radial-gradient(ellipse 50px 30px at 45% 85%, #2a3420 98%, transparent 100%), radial-gradient(ellipse 55px 32px at 88% 18%, #7a7448 98%, transparent 100%), linear-gradient(#55663c, #55663c) !important; background-size: auto, 220px 160px, 220px 160px, 220px 160px, 220px 160px, auto !important; }
.st2.cb-rainbow { --st-acc: #fff3a0; --st-sub: #f0f0ff; background-image: linear-gradient(rgba(10,12,24,.42), rgba(10,12,24,.42)), linear-gradient(120deg, #e8505b, #f0a040, #e8d050, #5cc87a, #4a9ae0, #8a64d0) !important; }
.cbsw.cb-simple { background: linear-gradient(160deg, #2a2f35, #1c2025); }
.cbsw.cb-tatami { background: repeating-linear-gradient(90deg, transparent 0 54px, #2a3626 54px 60px), repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 2px, transparent 2px 5px), linear-gradient(160deg, #b8b070, #8a844c); }
.cbsw.cb-asanoha { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='26'%3E%3Cg stroke='%23dcc896' stroke-opacity='.45' fill='none'%3E%3Cpath d='M0 13h30M7.5 0l15 26M22.5 0L7.5 26M0 0l15 13 15-13M0 26l15-13 15 13'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, #24324a, #121a28); }
.cbsw.cb-camo { background: radial-gradient(ellipse 18px 10px at 20% 30%, #3a4a28 98%, transparent 100%), radial-gradient(ellipse 22px 12px at 70% 65%, #6a5a3a 98%, transparent 100%), radial-gradient(ellipse 16px 9px at 45% 85%, #2a3420 98%, transparent 100%), radial-gradient(ellipse 15px 9px at 88% 20%, #7a7448 98%, transparent 100%), #55663c; background-size: 70px 46px; }
.cbsw.cb-rainbow { background: linear-gradient(120deg, #e8505b, #f0a040, #e8d050, #5cc87a, #4a9ae0, #8a64d0); }
.sygrid { max-height: 60vh; overflow-y: auto; }

/* タイトル上のボタン：折り返さない。スマホは少し小さく（2026-11-13） */
.ttop .btn { white-space: nowrap; }
@media (max-height: 520px) { .ttop { gap: 4px !important; } .ttop .btn { padding: 4px 8px !important; font-size: 11px !important; } .ttop .tacct { max-width: 110px; overflow: hidden; text-overflow: ellipsis; } }

/* タイトルの曲の切りかえ（2026-11-13）：音 ON/OFF の下 */
.title .tsndbox { position: absolute; top: 14px; right: 16px; display: flex; gap: 6px; align-items: center; }
.title .tsndbox .tsnd { position: static; }

/* 模様がえで試しているあいだ：パネルを下の小さな帯にして、水槽を見せる（2026-11-13） */
.lookpanel.lkpeek { top: auto; bottom: 12px; width: min(420px, 70vw); padding: 8px 10px; }
.lookpanel.lkpeek h3, .lookpanel.lkpeek .lktabs, .lookpanel.lkpeek .lkscroll { display: none; }
.lookpanel.lkpeek .lkbar { margin-top: 0; padding-top: 0; border-top: 0; padding-right: 34px; }
.lookpanel .lkbtns { flex-wrap: wrap; }

/* タモ入れ（2026-11-13）：ゲージの赤をかくし、緑を目立たせる */
.tgauge.net .tred { display: none; }
.tgauge.net .tz { background: rgba(80, 200, 120, 0.85); box-shadow: 0 0 8px rgba(80, 220, 130, 0.8); }
.netting .tglab { visibility: hidden; }

/* 新魚種（2026-11-14）：釣果カードの上に金色の帯 */
.catch.isnew { box-shadow: 0 0 0 2px #e8b23a, 0 10px 40px rgba(232, 178, 58, 0.45); }
.catch .newsp { margin: -4px -4px 10px; padding: 8px 12px; border-radius: 10px; background: linear-gradient(135deg, #fff3c4, #f6cf5a 55%, #e8a92a); color: #4a3006; text-align: center; animation: newsp-pop 0.55s cubic-bezier(.2, 1.6, .4, 1) both; }
.catch .newsp b { display: block; font-size: 22px; letter-spacing: .12em; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); }
.catch .newsp span { display: block; font-size: 13px; font-weight: 700; margin-top: 2px; }
.catch .newsp small { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(74, 48, 6, 0.12); font-size: 11px; font-weight: 700; }
.catch .multi .nw { display: inline-block; padding: 0 5px; border-radius: 4px; background: #e8a92a; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
@keyframes newsp-pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
/* 釣行の準備：スマホ横向き（低い画面）で、イベントの帯が出てもスクロールしないように詰める（2026-11-14） */
@media (max-height: 520px) {
  .pevent { margin: 2px 0; padding: 1px 8px; font-size: 11px; line-height: 1.5; }
  .prep .pperk { font-size: 11px; margin: 0 0 2px; }
  .prep .psum { margin-bottom: 6px; padding: 4px 8px; font-size: 12px; }
  .prep .parea { gap: 3px; margin-bottom: 4px; }
  .prep .parea b { font-size: 13.5px; margin-right: 2px; }
  .prep .grid > div { min-width: 0; }
  .prep .tideslots { height: 70px; }
  .prep .parea span { padding: 0 5px; font-size: 10px; white-space: nowrap; }
}

/* 図鑑：魚種のレア度（2026-11-14）。ノーマル・レア（青）・スーパーレア（金）で分けてならべ、カードのふちも色分け */
.zsec { margin-top: 10px; }
.zsec h4 { display: flex; align-items: baseline; gap: 6px; margin: 0 0 6px; font-size: 13px; }
.zsec h4 .zrk { padding: 1px 10px; border-radius: 99px; background: #8a8478; color: #fff; font-size: 12px; letter-spacing: .06em; }
.zsec.zs-r h4 .zrk { background: linear-gradient(135deg, #5d93c6, #3a6ea5); }
.zsec.zs-sr h4 .zrk { background: linear-gradient(135deg, #f3cf5c, #d99a1e); color: #4a3006; }
.zsec h4 b { font-size: 16px; } .zsec h4 small { color: var(--sub); font-size: 11px; }
.zsec h4 em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--sub); }
.zcard.zk-r { border: 1.5px solid #7fa9d4; box-shadow: inset 0 0 0 1px rgba(127, 169, 212, .25); }
.zcard.zk-sr { border: 1.5px solid #e0ad2e; background: linear-gradient(180deg, #fffaf0, #fff 60%); box-shadow: 0 0 6px rgba(224, 173, 46, .35); }
.zcard.unk.zk-r { border: 1.5px dashed #9bbbe0; } .zcard.unk.zk-sr { border: 1.5px dashed #e8c06a; background: #f7f1e4; }
.ztally .ztier { display: inline-flex; align-items: baseline; gap: 2px; padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,.05); font-size: 11px; }
.ztally .ztier em { font-style: normal; font-weight: 800; font-size: 10px; margin-right: 2px; color: #6a6258; }
.ztally .ztier.zt-r em { color: #3a6ea5; } .ztally .ztier.zt-sr em { color: #b07a1a; }
.ztally .ztier b { font-size: 13px; color: #2a2016; } .ztally .ztier small { color: var(--sub); font-size: 10px; }
.zat.zk-r { box-shadow: inset 0 0 0 1.5px #7fa9d4; } .zat.zk-sr { box-shadow: inset 0 0 0 1.5px #e0ad2e; }
.zallrk { display: inline-flex; gap: 8px; font-size: 11px; } .zallrk .zt-r { color: #3a6ea5; } .zallrk .zt-sr { color: #b07a1a; }
.dkpanel .zsec h4 small, .dkpanel .zsec h4 em { color: var(--st-sub); }
.catch .newsp .nrk { margin-left: 4px; padding: 0 7px; border-radius: 99px; font-style: normal; font-size: 11px; color: #fff; background: #3a6ea5; }
.catch .newsp .nrk-sr { background: #b0306a; }

/* 竿・リール・ラインの着せかえ（2026-11-14）：釣り画面の右上に出す（手元の竿が見えるように） */
.tkpanel { position: absolute; right: 12px; top: 64px; width: min(330px, 46vw); max-height: calc(100% - 150px); display: flex; flex-direction: column; padding: 10px 12px; background: rgba(250, 248, 243, 0.94); z-index: 40; }
.tkpanel h3 { margin: 0 0 4px; font-size: 15px; padding-right: 30px; }
.tkpanel .xclose { position: absolute; top: 8px; right: 8px; margin: 0; }
.tkpanel .tkscroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; min-height: 60px; }
.tkpanel .tkrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.tkopt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 8px 6px 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.tkopt b { font-size: 12.5px; } .tkopt small { font-size: 10px; color: var(--sub); } .tkopt em { font-style: normal; font-size: 10px; color: var(--sub); line-height: 1.35; }
.tkopt .tksw { position: absolute; left: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); box-shadow: inset 0 -3px 5px rgba(0,0,0,.25); }
.tkopt.on { border-color: #2a7a5a; box-shadow: 0 0 0 1.5px #2a7a5a inset; } .tkopt.trying { border-color: #e8a92a; box-shadow: 0 0 0 1.5px #e8a92a inset; }
.tkopt.locked b { color: #6a6258; }
.tkpanel .lkbar { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; }
.tkpanel .lkbtns { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-height: 520px) { .tkpanel { top: 50px; max-height: calc(100% - 120px); } .tkpanel h3 { font-size: 13px; } }
/* ショップ（2026-11-14）：ポイントで買えるものを 1 か所に */
.pttabs { margin: 0 34px 8px 0; }
.shbal { margin: 0 0 6px; font-size: 13px; color: var(--sub); } .shbal b { font-size: 18px; color: #2a2016; } .shbal small { font-size: 11px; margin-left: 6px; }
.shtabs { margin-bottom: 6px; flex-wrap: wrap; }   /* スマホでは2段に折り返す（2026-11-15：釣具（湾奥）・釣具（トラウト）で名前が長くなった） */
.shlist { max-height: min(52vh, 420px); overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding-right: 2px; }
.shlist h4 { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12px; color: var(--sub); }
.shitem { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 6px 8px 6px 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.shitem b { font-size: 12.5px; line-height: 1.3; } .shitem small { font-size: 10.5px; color: #b5571f; font-weight: 700; }
.shitem.own small { color: var(--sub); font-weight: 400; } .shitem.on { border-color: #2a7a5a; box-shadow: 0 0 0 1.5px #2a7a5a inset; } .shitem.on small { color: #2a7a5a; font-weight: 700; }
.shsw { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); box-shadow: inset 0 -3px 5px rgba(0,0,0,.2); }
.shsw.shtxt { display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff; font-style: normal; font-weight: 800; font-size: 13px; box-shadow: none; }
.shsw.chbub { border-radius: 8px 8px 8px 2px; box-shadow: none; padding: 0; min-width: 0; }
.shsw.cbsw { border-radius: 5px; }
.shsw.shic { border-radius: 6px; background: #e7f1f4; box-shadow: none; }
.shic-bg { background: linear-gradient(180deg, #8fc6e0, #2a6a8a) !important; } .shic-sand { background: linear-gradient(180deg, #8fc6e0 45%, #d9c49a 45%) !important; }
.shic-deco { background: radial-gradient(circle at 50% 70%, #8a6a4a 40%, #cfe6ef 42%) !important; } .shic-slot { background: repeating-linear-gradient(90deg, #cfe6ef 0 9px, #5a8aa8 9px 11px) !important; }
.shic-stamp { background: radial-gradient(circle, #f2c94c 45%, #fff 47%) !important; }

/* 2026-11-14：釣れたあと「どこで食ったか」 */
#c-card .cwhy{margin:6px auto 2px;padding:4px 12px;border-radius:999px;background:rgba(255,160,30,.16);color:#a85a00;font-weight:800;font-size:13px;width:max-content;max-width:100%;letter-spacing:.04em}

/* 2026-11-14：釣り方のむずかしさの札 */
.mlv{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:999px;font-style:normal;font-size:10px;font-weight:800;line-height:1.5;vertical-align:middle;letter-spacing:.02em;white-space:nowrap}
.mlv-easy{background:#d9f3e1;color:#1d7a3e}
.mlv-mid{background:#ffe6cc;color:#b25600}
.chip.on .mlv-easy{background:#e9fbef}
.chip.on .mlv-mid{background:#fff1e0}

/* 2026-11-14：管理釣り場 */
.mlv-adv{background:#e8dcff;color:#5a2fa8}
.chip.on .mlv-adv{background:#f2ebff}
#c-card .cwhy.cpond{background:rgba(90,140,200,.14);color:#2f5f94;font-size:12px}

/* 2026-11-14：エリアトラウトのスプーン選び */
.trdrawer .trrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.trdrawer .trk{font-size:12px;font-weight:800;color:var(--sub);width:34px}
.trdrawer .trdesc{font-size:11.5px;color:var(--sub);margin:2px 0 6px;line-height:1.5}
.trdrawer .trown{font-size:11px;color:var(--sub);font-weight:600;margin-left:8px}
.spcols{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:5px}
.spcol{display:flex;align-items:center;gap:6px;padding:5px 7px;border-radius:9px;border:1.5px solid rgba(0,0,0,.08);background:#fff;font-size:11.5px;text-align:left;cursor:pointer;min-width:0}
.spcol b{flex:1;min-width:0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spcol small{font-size:10px;color:#b25600;font-weight:800}
.spcol.on{border-color:#e08a2a;background:#fff4e6}
.spcol.locked{opacity:.72;background:#f4f2ee}
.spsw{display:inline-block;width:18px;height:24px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;border:1px solid rgba(0,0,0,.25);flex:none}
.spsw.matte{filter:saturate(.85) brightness(.95)}

.spcol .spn{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.spcol .spn b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spcol .spn em{font-style:normal;font-size:10px;color:var(--sub)}
.spcol.locked .spn em{color:#b25600;font-weight:700}

/* 2026-11-15：釣り場のむずかしさの色（地図の印） */
.m-pin.lv-easy .mark{fill:#2e9a55}.m-pin.lv-easy .lbl rect{stroke:#2e9a55}
.m-pin.lv-mid .mark{fill:#e07a1e}.m-pin.lv-mid .lbl rect{stroke:#e07a1e}
.m-pin.lv-adv .mark{fill:#7a3fc0}.m-pin.lv-adv .lbl rect{stroke:#7a3fc0}
.m-pin.on.lv-easy .lbl rect{fill:#2e9a55}.m-pin.on.lv-mid .lbl rect{fill:#e07a1e}.m-pin.on.lv-adv .lbl rect{fill:#7a3fc0}
.m-pin.on.lv-easy .mark{fill:#2e9a55}.m-pin.on.lv-mid .mark{fill:#e07a1e}.m-pin.on.lv-adv .mark{fill:#7a3fc0}
.m-pin.on.lv-easy .ring{stroke:#2e9a55}.m-pin.on.lv-mid .ring{stroke:#e07a1e}.m-pin.on.lv-adv .ring{stroke:#7a3fc0}
.m-pin.on .mark{stroke:#1a1a1a;stroke-width:2.5}
.m-lvkey rect{fill:rgba(255,255,255,.9);stroke:rgba(0,0,0,.15)}
.m-lvkey text{font-size:13px;font-weight:800;fill:#2a2a2a}
.m-lvkey .k-easy{fill:#2e9a55}.m-lvkey .k-mid{fill:#e07a1e}.m-lvkey .k-adv{fill:#7a3fc0}
.mapinfo .alv{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:800;color:#fff;vertical-align:middle}
.alv-easy{background:#2e9a55}.alv-mid{background:#e07a1e}.alv-adv{background:#7a3fc0}
.parea .alv{display:inline-block;margin:0 4px;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:800;color:#fff;font-style:normal}
.mapinfo .alv{font-style:normal}

/* 2026-11-15：ランキングの湾奥・管理釣り場の切りかえ */
.rkgrp{margin:0 0 8px}

/* 2026-11-15：タイトルの釣り方を、むずかしさの色で */
.logo .mlist i.ml-easy{background:rgba(46,154,85,.62);border-color:rgba(150,230,170,.7)}
.logo .mlist i.ml-mid{background:rgba(224,122,30,.66);border-color:rgba(255,200,140,.7)}
.logo .mlist i.ml-adv{background:rgba(122,63,192,.72);border-color:rgba(205,170,255,.7)}

/* 2026-11-15：釣り座で開く仕掛えの画面（左の操作パネルと重ならないように） */
.fdrawer .drawer{left:auto;right:16px;top:70px;bottom:auto;max-height:calc(100% - 200px);width:min(430px,46vw);z-index:30}
@media (max-height: 520px){.fdrawer .drawer{top:8px;bottom:8px;right:10px;left:auto;width:min(440px,62vw);max-height:none}}

/* 管理釣り場の入場（2026-11-15） */
.prep .go .note .pentry { display: block; font-size: 12px; margin-top: 2px; color: var(--muted, #5b6b78); }
.prep .go .note .pentry b { color: #2e9a55; }
.pecards { display: flex; gap: 10px; margin: 12px 0 6px; }
.pecard { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; border: 2px solid #d5dde3; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.pecard b { font-size: 15px; }
.pecard span { font-size: 22px; font-weight: 700; color: #c2571a; }
.pecard small { font-size: 11px; color: #6b7a86; }
.pecard.best { border-color: #e07a1e; background: #fff7ef; }
.pecard:disabled { opacity: .5; cursor: default; }

/* カードの背景（2026-11-15）：幾何学模様・星の枠（ふちだけ金の星） */
.st2.cb-geo { --st-bg: #1a2238; --st-bg2: #0e1424; --st-acc: #8ee0e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 0L24 24L0 48Z' fill='%2356c8c8' fill-opacity='.10'/%3E%3Cpath d='M48 0L24 24L48 48Z' fill='%23a070e0' fill-opacity='.10'/%3E%3Cpath d='M0 0L48 48M48 0L0 48M24 0V48M0 24H48' stroke='%23e6f0ff' stroke-opacity='.12' fill='none'/%3E%3C/svg%3E"), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; background-size: 48px 48px, auto !important; }
.st2.cb-starframe { --st-bg: #1c2440; --st-bg2: #10152a; --st-acc: #f0d278; --st-sub: #e6dcc0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), linear-gradient(160deg, var(--st-bg), var(--st-bg2)) !important; background-size: 22px 22px, 22px 22px, 22px 22px, 22px 22px, auto !important; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y, no-repeat !important; background-position: 0 4px, 0 calc(100% - 4px), 4px 0, calc(100% - 4px) 0, 0 0 !important; }
.cbsw.cb-geo { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 0L24 24L0 48Z' fill='%2356c8c8' fill-opacity='.22'/%3E%3Cpath d='M48 0L24 24L48 48Z' fill='%23a070e0' fill-opacity='.22'/%3E%3Cpath d='M0 0L48 48M48 0L0 48M24 0V48M0 24H48' stroke='%23e6f0ff' stroke-opacity='.25' fill='none'/%3E%3C/svg%3E"), linear-gradient(160deg, #1a2238, #0e1424); background-size: 24px 24px, auto; }
.cbsw.cb-starframe { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 5L13.8 9.6L18.7 9.8L14.9 12.9L16.1 17.7L12 15L7.9 17.7L9.1 12.9L5.3 9.8L10.2 9.6Z' fill='%23f0d278' fill-opacity='.85'/%3E%3C/svg%3E"), linear-gradient(160deg, #1c2440, #10152a); background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px, auto; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y, no-repeat; background-position: 0 1px, 0 calc(100% - 1px), 1px 0, calc(100% - 1px) 0, 0 0; }

/* ルアーの深さの変わり方（2026-11-15） */
.lz { font-size: 11px; padding: 0 4px; border-radius: 4px; margin-left: 4px; }
.lz.down { background: rgba(80,140,255,.25); }
.lz.up { background: rgba(255,170,60,.25); }
.lz.flat { background: rgba(90,220,140,.25); }

/* ひとつのタブだけで遊ぶ（2026-11-15） */
#tablock { position: fixed; inset: 0; z-index: 100000; background: rgba(8,18,28,.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
#tablock .tlbox { max-width: 420px; background: #fff; color: #1d2a33; border-radius: 14px; padding: 22px 20px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
#tablock .tlbox b { display: block; font-size: 18px; margin-bottom: 8px; }
#tablock .tlbox p { font-size: 13px; color: #4a5a66; margin: 0 0 16px; }
