
:root{
  --bg:#f3efe6; --surface:#fffdf8; --card:#ffffff;
  --ink:#1d2422; --ink2:#43514c; --mut:#77847e;
  --sea:#0b6e5d; --sea-d:#074f43; --sea-t:#e2efe9;
  --sun:#e4572e; --sun-t:#fdeee7;
  --gold:#c08a1e;
  --line:#e3ddd0; --line2:#d5cfbf;
  --r-lg:20px; --r-md:14px; --r-sm:10px;
  --shadow:0 1px 2px rgba(29,36,34,.06),0 10px 28px rgba(29,36,34,.10);
  --shadow-sm:0 1px 2px rgba(29,36,34,.07),0 4px 14px rgba(29,36,34,.07);
  --tab-h:62px; --head-h:54px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans JP",sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.65;-webkit-text-size-adjust:100%}
a{color:var(--sea);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit}
h1,h2,h3{line-height:1.35;margin:0}
.num{font-family:"Avenir Next","Segoe UI",Verdana,sans-serif;font-variant-numeric:tabular-nums}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.view{display:none}
.view.on{display:block}
.note{color:var(--mut);font-size:12.5px}
.empty{border:1.5px dashed var(--line2);border-radius:var(--r-md);padding:26px;text-align:center;color:var(--mut);background:var(--card)}

/* ===== top bar ===== */
header.site{position:sticky;top:0;z-index:800;background:rgba(255,253,248,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header.site .bar{display:flex;align-items:center;gap:14px;height:var(--head-h);max-width:1180px;margin:0 auto;padding:0 16px}
.logo{font-size:21px;font-weight:800;color:var(--ink);white-space:nowrap;letter-spacing:.01em;line-height:1.05}
.logo .dot{color:var(--sun)}
.logo small{display:block;font-size:9.5px;font-weight:600;color:var(--mut);letter-spacing:.14em}
nav.main{display:flex;gap:4px;margin-left:10px}
nav.main button{background:none;border:0;color:var(--ink2);padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap}
nav.main button:hover{background:var(--sea-t);color:var(--sea-d)}
nav.main button.on{background:var(--sea);color:#fff}
.hsearch{margin-left:auto;display:flex;gap:6px}
.hsearch input{width:200px;padding:8px 12px;border:1px solid var(--line2);border-radius:999px;background:#fff;color:var(--ink)}
.hsearch button{background:var(--sun);color:#fff;border:0;border-radius:999px;padding:8px 16px;font-weight:700}
.hsearch button:hover{background:#c9481f}

/* ===== map-first home ===== */
.mapstage{position:relative}
.mapbox{position:relative;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#home-map{background:#dfe9e2;height:min(54vh,520px);min-height:300px;width:100%}
.map-top{max-width:1180px;margin:0 auto;padding:14px 16px 12px;display:flex;flex-direction:column;gap:10px}
.floatsearch{display:flex;gap:8px;background:#fff;border-radius:999px;padding:5px 5px 5px 18px;box-shadow:var(--shadow);border:1px solid rgba(29,36,34,.06)}
.floatsearch input{flex:1;border:0;outline:0;font-size:16px;min-width:0;background:transparent;color:var(--ink)}
.floatsearch button{background:var(--sea);color:#fff;border:0;border-radius:999px;padding:10px 22px;font-size:15px;font-weight:700;flex:none}
.floatsearch button:hover{background:var(--sea-d)}
.chip{border:1px solid var(--line2);background:#fff;border-radius:999px;padding:6px 13px;font-size:13px;min-height:34px;color:var(--ink)}
.chip:hover{border-color:var(--sea);color:var(--sea-d)}
.chip.on{background:var(--sea);color:#fff;border-color:var(--sea);font-weight:700}
.locatebtn{position:absolute;right:12px;bottom:12px;z-index:600;background:#fff;border:1px solid var(--line2);color:var(--ink);border-radius:999px;padding:9px 15px;font-size:13.5px;font-weight:700;box-shadow:var(--shadow);display:inline-flex;align-items:center;gap:6px;min-height:40px}
.locatebtn:hover{border-color:var(--sea);color:var(--sea-d)}
.locatebtn svg{width:16px;height:16px;flex:none}
#home-map-status{position:absolute;z-index:600;left:12px;bottom:12px;max-width:min(430px,80vw);background:rgba(29,36,34,.82);color:#fff;border-radius:10px;padding:6px 12px;font-size:12.5px;margin:0}
#home-map-status:empty{display:none}
.sheet{background:var(--bg)}
.sheet-handle{display:none}
.sheet-sec{padding:20px 16px 4px;max-width:1180px;margin:0 auto}
.sheet-sec.flush{padding-left:0;padding-right:0}
.sheet-sec.flush .sec-head{padding:0 16px}
.sec-head{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.sec-head h2{font-size:19px;font-weight:800;color:var(--ink)}
.sec-head h2::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--sun);margin-right:8px;vertical-align:2px}
.sec-head .more{margin-left:auto;font-size:13px;font-weight:700}
.sec-head .sub{flex-basis:100%;color:var(--mut);font-size:12.5px;margin-top:1px}
.sec-badge{display:inline-block;background:var(--ink);color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:2px 11px}
.todayline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.todayline .tdate{font-size:13px;font-weight:700;color:var(--sea-d);background:var(--sea-t);border-radius:999px;padding:3px 12px}

/* swipe rows */
.swipe{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 16px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.swipe::-webkit-scrollbar{display:none}
.swipe>.card{flex:0 0 min(78vw,320px);scroll-snap-align:start}
.swipe.sm>.card{flex-basis:min(64vw,250px)}

/* ===== spot card (photo-first) ===== */
.card{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-sm)}
.card:hover{border-color:#bcd4ca;box-shadow:var(--shadow)}
.card .body{padding:13px 15px 15px;display:flex;flex-direction:column;gap:7px;flex:1}
.card .top{display:flex;align-items:flex-start;gap:8px}
.card h3{font-size:16.5px}
.card h3 a{color:var(--ink)}
.card h3 a:hover{color:var(--sea-d);text-decoration:none}
.place{color:var(--mut);font-size:12.5px}
.ph{position:relative;background:var(--sea-t);overflow:hidden;flex:none}
.ph img{display:block;width:100%;height:100%;object-fit:cover}
.ph .cap{position:absolute;right:8px;bottom:8px;background:rgba(20,28,25,.72);color:#fff;font-size:10.5px;border-radius:6px;padding:1px 7px;z-index:2}
a.cap{color:#fff}
.aerial{position:absolute;inset:0;overflow:hidden;background:var(--sea-t)}
.aerial img{position:absolute;display:block}
.ph.card-img{aspect-ratio:16/10}
.ph.region-img{aspect-ratio:16/9}
.ph.fish-img{aspect-ratio:16/9}
.idxbadge{position:absolute;top:10px;right:10px;z-index:3;background:#fff;border-radius:999px;padding:5px 12px 5px 8px;box-shadow:0 3px 10px rgba(20,28,25,.28);display:flex;align-items:baseline;gap:4px;line-height:1}
.idxbadge b{font-size:20px;font-weight:800;color:var(--sea-d)}
.idxbadge small{font-size:9.5px;color:var(--mut);font-weight:700}
.idxbadge.hi{background:var(--sun)}
.idxbadge.hi b{color:#fff}
.idxbadge.hi small{color:#ffe1d3}
.catbadge{position:absolute;left:10px;top:10px;z-index:3;background:rgba(20,28,25,.82);color:#fff;font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 10px}
.tagrow{display:flex;flex-wrap:wrap;gap:5px}
.tag{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:1px 9px;font-size:12px;color:var(--ink2)}
.tag.fish{background:#fff}
.cat{font-size:11.5px;background:var(--sea);color:#fff;border-radius:999px;padding:2px 9px;font-weight:700;white-space:nowrap}
.hl-list{list-style:none;margin:2px 0 0;padding:9px 0 0;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:5px}
.hl-list li{font-size:12.5px;color:var(--ink2);display:flex;gap:7px;align-items:flex-start;line-height:1.5}
.hl-list li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--sea);margin-top:7px}
.hl-list b{color:var(--ink)}
.cardfoot{margin-top:auto;padding-top:9px;display:flex;align-items:center;gap:8px}
.cardfoot a{margin-left:auto;font-size:13px;font-weight:700}
.minibar{flex:1;height:7px;background:var(--sea-t);border-radius:4px;overflow:hidden;min-width:36px}
.minibar i{display:block;height:100%;background:var(--sea)}
.cmrow{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink2)}
.cmrow .cml{flex:none;width:58px;color:var(--mut);font-size:11.5px;font-weight:700}
.cmrow b{color:var(--ink)}
.favbtn{border:1px solid var(--line2);background:#fff;border-radius:50%;width:38px;height:38px;font-size:17px;color:#c3cbc6;flex:none;line-height:1}
.favbtn.on{color:#e8a017;border-color:#e8c56a;background:#fffaf0}

/* grids */
.grid{display:grid;gap:16px}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
section.blk{padding:26px 0 6px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}

/* weekend planner */
.plannerbox{background:var(--ink);border-radius:var(--r-lg);padding:18px;color:#e9efec}
.plannerbox{background:var(--ink);border-radius:var(--r-lg);padding:18px;color:#e9efec;box-shadow:var(--shadow)}
.plannerbox .filters{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 12px}
.plannerbox .filters label.fl{color:#b9c8c1}
.plannerbox select{background:#fff}
.plannerbox .note{color:#a7b8b0}
.plancard{background:#fff;color:var(--ink);border-radius:var(--r-md);padding:16px}
.plancard .pday{font-size:12.5px;font-weight:700;color:var(--sun)}
.plancard h3{font-size:21px;margin:2px 0}
.planstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px;margin-top:12px}
.planstat{background:var(--bg);border-radius:var(--r-sm);padding:9px 12px;font-size:12.5px;color:var(--ink2)}
.planstat b{display:block;font-size:16.5px;color:var(--ink)}
.wkcmp{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.wkday{border:1px solid var(--line);border-radius:var(--r-sm);padding:9px 12px;background:#fff;font-size:13px;color:var(--ink2)}
.wkday.win{border-color:var(--sun);background:var(--sun-t)}
.wkday b{font-size:15px;color:var(--ink)}

/* filters & buttons */
.filters{border:1px solid var(--line);border-radius:var(--r-md);padding:15px;background:var(--card);margin-bottom:16px;box-shadow:var(--shadow-sm)}
.filters .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.filters .row:last-child{margin-bottom:0}
.filters label.fl{font-size:13px;font-weight:700;color:var(--ink);min-width:60px}
.filters input[type=text],.filters select{padding:9px 11px;border:1px solid var(--line2);border-radius:10px;background:#fff;min-height:40px}
.filters input[type=text]{flex:1;min-width:170px}
.btn{display:inline-block;background:var(--sea);color:#fff;border:0;border-radius:999px;padding:10px 20px;font-weight:700;font-size:14.5px}
.btn:hover{background:var(--sea-d)}
.btn.sub{background:#fff;color:var(--sea-d);border:1px solid var(--sea)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line2)}
.btn.acc{background:var(--sun)}
.btn:disabled{opacity:.5}
.pager{text-align:center;margin:18px 0}
#map{height:400px;border:1px solid var(--line);border-radius:var(--r-md);z-index:1}
.mapwrap{margin-bottom:16px}
.mappop b{font-size:14.5px;color:var(--ink)}
.mappop .mp-place{color:var(--mut);font-size:12.5px}
.mappop .mp-idx{margin:3px 0 5px;font-size:13px}
.mappop .mp-idx b{font-size:17px;color:var(--sea-d)}
.mappop a.mp-link{font-weight:700;font-size:13.5px}

/* prefectures */
.prefgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(102px,1fr));gap:8px}
.prefgrid button{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:11px 6px;text-align:center;font-size:14px;font-weight:600}
.prefgrid button:hover{border-color:var(--sea);color:var(--sea-d)}
.prefgrid small{display:block;color:var(--mut);font-size:11.5px;font-weight:400}

/* fish */
.fishgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:10px}
.fishcard{border:1px solid var(--line);border-radius:var(--r-md);padding:0;overflow:hidden;background:#fff;text-align:left;width:100%;box-shadow:var(--shadow-sm)}
.fishcard:hover{border-color:var(--sea)}
.fishcard .fbody{padding:11px 13px 13px;display:flex;flex-direction:column;gap:5px}
.fishcard b{font-size:16px;display:block}
.fishcard .sz{font-size:12px;color:var(--mut);display:block}
.fishcard .cnt{font-size:12.5px;color:var(--sea-d);font-weight:700;display:block}
.seasonbadge{display:inline-block;font-size:11px;border-radius:999px;padding:1px 8px;background:var(--sea-t);color:var(--sea-d);font-weight:700}
.seasonbadge.now{background:var(--sun);color:#fff}
.fishphoto{margin:0 0 14px;border-radius:var(--r-lg);overflow:hidden;position:relative;background:var(--sea-t);box-shadow:var(--shadow-sm)}
.fishphoto img{width:100%;height:230px;object-fit:cover;display:block}
.fishphoto figcaption{position:absolute;left:10px;bottom:10px;background:rgba(20,28,25,.72);color:#fff;font-size:11px;padding:2px 9px;border-radius:6px}
.fishphoto figcaption a{color:#fff;text-decoration:underline}

/* ranking */
.ranklist{border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:#fff}
.rankrow{display:flex;align-items:center;gap:12px;padding:11px 15px;border-bottom:1px solid var(--line)}
.rankrow:last-child{border-bottom:0}
.rankrow:hover{background:var(--bg)}
.rk{font-size:17px;font-weight:800;color:var(--mut);width:28px;text-align:center;flex:none}
.rk.top{color:var(--sun)}
.rankrow .who{flex:1;min-width:0}
.rankrow .who b{font-size:15px}
.rankrow .who small{display:block;color:var(--mut);font-size:12px}
.rankthumb{width:92px;height:64px;border-radius:10px;overflow:hidden;position:relative;flex:none;background:var(--sea-t)}
.rankthumb>img{width:100%;height:100%;object-fit:cover;display:block}
.rankthumb .cap{position:absolute;left:3px;bottom:3px;background:rgba(20,28,25,.72);color:#fff;font-size:8.5px;line-height:1.45;border-radius:4px;padding:0 4px;max-width:calc(100% - 6px);z-index:2}
.idx{margin-left:auto;text-align:center;flex:none}
.idx .num{display:block;font-size:24px;font-weight:800;line-height:1;color:var(--sea-d)}
.idx .lbl{font-size:10.5px;color:var(--mut)}
.idx.hi .num{color:var(--sun)}

/* ===== detail (immersive) ===== */
.d-hero{position:relative;height:min(54vh,480px);min-height:300px;background:var(--sea-t);overflow:hidden}
.d-hero .ph,.d-hero .aerial{position:absolute;inset:0}
.d-hero>img{width:100%;height:100%;object-fit:cover;display:block}
.d-hero .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,22,19,.34) 0%,rgba(15,22,19,0) 34%,rgba(15,22,19,0) 52%,rgba(15,22,19,.66) 100%);z-index:2}
.d-hero .cap{position:absolute;right:12px;top:64px;background:rgba(20,28,25,.72);color:#fff;font-size:10.5px;border-radius:6px;padding:1px 8px;z-index:4}
a.d-hero .cap{color:#fff}
.d-topbar{position:absolute;top:12px;left:12px;right:12px;z-index:5;display:flex;gap:8px;align-items:center}
.d-back{background:rgba(255,255,255,.94);border:0;border-radius:999px;padding:9px 16px;font-weight:700;font-size:13.5px;color:var(--ink);box-shadow:var(--shadow-sm)}
.d-fav{margin-left:auto;width:44px;height:44px;font-size:20px;box-shadow:var(--shadow-sm)}
.d-title{position:absolute;left:16px;right:16px;bottom:34px;z-index:4;color:#fff}
.d-title h1{font-size:29px;font-weight:800;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.d-title .place{color:#e6ede9;font-size:13.5px}
.d-title .tagrow{margin-top:8px}
.d-title .tag{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.4);color:#fff;backdrop-filter:blur(4px)}
.d-title .cat{background:var(--sun)}
.d-sheet{position:relative;z-index:6;background:var(--bg);border-radius:26px 26px 0 0;margin-top:-22px;padding:6px 0 10px}
.d-wrap{max-width:900px;margin:0 auto;padding:0 16px}
.panel{border:1px solid var(--line);border-radius:var(--r-lg);padding:19px;margin:14px 0;background:var(--card);box-shadow:var(--shadow-sm)}
.panel h2{font-size:17.5px;font-weight:800;margin-bottom:10px}
.panel h2::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--sun);margin-right:8px;vertical-align:2px}
.panel h3{font-size:14.5px;margin:13px 0 6px}
.intro{font-size:15px}
.highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 2px}
.hl-box{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--sea);border-radius:var(--r-md);padding:12px 14px;box-shadow:var(--shadow-sm)}
.hl-box.sun{border-top-color:var(--sun)}
.hl-box .hl-k{font-size:11px;font-weight:700;color:var(--mut);letter-spacing:.06em}
.hl-box b{display:block;font-size:16.5px;line-height:1.45;margin:2px 0}
.hl-box p{margin:0;font-size:12.5px;color:var(--ink2)}
.quickfacts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 0}
.qf{background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);padding:10px 13px 12px;box-shadow:var(--shadow-sm)}
.qf .qfl{display:block;font-size:11px;color:var(--mut);font-weight:700}
.qf b{font-size:29px;font-weight:800;color:var(--sea-d);line-height:1.15}
.qf b.hi{color:var(--sun)}
.qf b.txt{font-size:18px;color:var(--ink)}
.qf .qfu{font-size:11.5px;color:var(--mut);margin-left:5px}
.bigidx{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.bigidx .score{font-size:50px;font-weight:800;color:var(--sea-d);line-height:1}
.bigidx .score small{font-size:15px;color:var(--mut);font-weight:400}
.bars{flex:1;min-width:240px}
.bar{display:flex;align-items:center;gap:8px;margin:5px 0;font-size:12.5px}
.bar .bl{width:128px;flex:none;color:var(--ink2)}
.bar .track{flex:1;height:9px;background:var(--sea-t);border-radius:5px;overflow:hidden}
.bar .fill{display:block;height:100%;background:var(--sea)}
.bar .bv{width:28px;text-align:right;font-weight:700}
table.tbl{border-collapse:collapse;width:100%;font-size:13.5px}
table.tbl th,table.tbl td{border:1px solid var(--line);padding:6px 9px;text-align:left}
table.tbl th{background:var(--bg);font-weight:700}
table.tbl.info th{width:132px;white-space:nowrap;vertical-align:top}
.months{display:flex;gap:2px}
.months i{flex:1;height:14px;background:#e9e4d6;border-radius:2px}
.months i.in{background:var(--sea)}
.months i.cur{outline:2px solid var(--sun);outline-offset:0}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cal .d{border:1px solid var(--line);border-radius:9px;padding:5px 6px;font-size:11.5px;min-height:56px;background:#fff;text-align:left;width:100%}
.cal .d:hover{border-color:var(--sea)}
.cal .d.sel{border-color:var(--sun);background:var(--sun-t)}
.cal .d b{font-size:13px}
.cal .d .tn{color:var(--sea-d);font-weight:700}
.cal .d .ix{color:var(--mut)}
.cal .hd{font-size:11.5px;color:var(--mut);text-align:center;padding:2px}
.wxgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px}
.wxbox{background:var(--bg);border-radius:var(--r-sm);padding:10px;font-size:12.5px}
.wxbox b{font-size:17px}
.cautionbox{background:#fdf3ec;border:1px solid #ecc9ae;border-radius:var(--r-sm);padding:12px 14px;font-size:13.5px}
.datebar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0 2px}
.datebar input[type=date]{padding:8px;border:1px solid var(--line2);border-radius:9px;min-height:40px}
svg.tidechart{width:100%;height:auto;display:block;background:#fbfaf5;border:1px solid var(--line);border-radius:var(--r-sm)}
.jiairow{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:8px;background:#fff;flex-wrap:wrap}
.jiairow.best{border-color:var(--sun);background:var(--sun-t)}
.jiairow .jt{min-width:160px}
.jiairow .jt b{display:block;font-size:15.5px}
.jiairow .jt span{font-size:12px;color:var(--mut)}
.jiairow .jtags{display:flex;gap:5px;flex-wrap:wrap;flex:1;min-width:110px}
.jtag{font-size:11.5px;background:var(--sea-t);color:var(--sea-d);border-radius:999px;padding:1px 8px;font-weight:700}
.jtag.besttag{background:var(--sun);color:#fff}
.jscore{text-align:center;margin-left:auto;flex:none}
.jscore b{display:block;font-size:20px;color:var(--sea-d);line-height:1.1}
.jscore span{font-size:11px;color:var(--mut)}

/* guide + faq */
.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gstep{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:15px 17px;box-shadow:var(--shadow-sm)}
.gstep .gnum{display:inline-block;background:var(--sea);color:#fff;font-weight:800;font-size:13px;border-radius:50%;width:26px;height:26px;line-height:26px;text-align:center;margin-bottom:8px}
.gstep h3{font-size:15px;margin-bottom:4px}
.gstep p{margin:0;font-size:13px;color:var(--ink2)}
.faq{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;overflow:hidden}
.faq details{border-bottom:1px solid var(--line)}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;padding:13px 17px;font-weight:700;font-size:14.5px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"Q";display:inline-block;background:var(--sea);color:#fff;border-radius:6px;font-size:12px;padding:0 7px;margin-right:9px}
.faq .fans{padding:0 17px 15px 43px;font-size:13.5px;color:var(--ink2)}

/* log */
.logform{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.logform .full{grid-column:1/-1}
.logform input,.logform textarea{padding:10px;border:1px solid var(--line2);border-radius:9px;width:100%}
.logform label{font-size:12.5px;font-weight:700;display:block;margin-bottom:3px}
.logitem{border:1px solid var(--line);border-radius:var(--r-md);padding:12px 14px;display:flex;gap:12px;align-items:flex-start;background:#fff}
.logitem .del{margin-left:auto}

/* footer + tabbar */
footer.site{border-top:1px solid var(--line);background:var(--surface);padding:22px 0 34px;margin-top:30px;font-size:12.5px;color:var(--mut)}
footer.site .cols{display:flex;gap:26px;flex-wrap:wrap}
footer.site b{color:var(--ink)}
main{padding-bottom:30px}
.tabbar{display:none}

/* ===== desktop map layout ===== */
@media (min-width:901px){
  #home-map{height:min(58vh,560px)}
  .locatebtn{right:16px;bottom:16px}
  #home-map-status{left:16px;bottom:16px}
}
@media (max-width:900px){
  .grid.c4,.grid.c3{grid-template-columns:repeat(2,1fr)}
  .two{grid-template-columns:1fr}
  .quickfacts{grid-template-columns:repeat(2,1fr)}
  .highlights{grid-template-columns:1fr}
  .guide{grid-template-columns:1fr}
}
/* ===== mobile app layout ===== */
@media (max-width:820px){
  nav.main,.hsearch{display:none}
  header.site .bar{height:50px}
  :root{--head-h:50px}
  main{padding-bottom:calc(var(--tab-h) + 14px)}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:900;background:rgba(255,253,248,.97);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
  .tabbar button{flex:1;background:none;border:0;padding:7px 0 6px;font-size:10.5px;color:var(--mut);display:flex;flex-direction:column;align-items:center;gap:2px;min-height:var(--tab-h);justify-content:center;font-weight:600}
  .tabbar button .ic{display:block;line-height:0}
  .tabbar button .ic svg{width:22px;height:22px;display:block}
  .tabbar button.on{color:var(--sea-d)}
  .tabbar button.on .ic{color:var(--sun)}
  #home-map{height:44vh;min-height:280px}
  .sheet-handle{display:none}
  #home-map-status{max-width:calc(100vw - 150px)}
  #map{height:300px}
  .grid.c2,.grid.c3,.grid.c4{grid-template-columns:1fr}
  .logform{grid-template-columns:1fr 1fr}
  .d-hero{height:46vh;min-height:270px}
  .d-title h1{font-size:24px}
  .d-title{bottom:30px}
  .cal .d{min-height:48px;font-size:10.5px}
  .bar .bl{width:104px}
  table.tbl.info th{width:92px;white-space:normal}
  .qf b{font-size:24px}
  .wkcmp{grid-template-columns:1fr}
  footer.site{margin-bottom:0}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} .sheet{transition:none} }

/* --- static multi-page additions: the artifact is an SPA whose chrome uses
   <button> elements; the static pages use <a> for the same parts. Palette
   variables (--sea / --sun / --ink2 ...) come from the artifact CSS above. */
/* 2026-11-10: wide tables scroll sideways inside their panel on narrow
   screens instead of squeezing every column (fish list 6 cols, area list
   5 cols, detail 7-day table 5 cols). When the table fits (desktop) it
   keeps its full width; only when it overflows does the wrapper scroll. */
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tblwrap>table.tbl{width:max-content;min-width:100%}
nav.main a{color:var(--ink2);padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap}
nav.main a:hover{background:var(--sea-t);color:var(--sea-d);text-decoration:none}
nav.main a.on{background:var(--sea);color:#fff}
.tabbar a{flex:1;padding:7px 0 6px;font-size:10.5px;color:var(--mut);display:flex;flex-direction:column;align-items:center;gap:2px;min-height:var(--tab-h);justify-content:center;font-weight:600}
.tabbar a .ic{display:block;line-height:0}
.tabbar a .ic svg{width:22px;height:22px;display:block}
.tabbar a.on{color:var(--sea-d)}
.tabbar a.on .ic{color:var(--sun)}
.tabbar a:hover{text-decoration:none}
/* 2026-11-21: favourite-count badge on the tabbar's "マイ" tab. The icon
   span is the positioning context; the badge is a small sunset-orange
   pill overlapping its top-right corner. No display rule here, so the
   [hidden] attribute keeps it hidden at 0 favourites. */
.tabbar a .ic{position:relative}
.tab-badge{position:absolute;top:-7px;right:-11px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--sun);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-sizing:border-box;pointer-events:none}
.tab-badge[hidden]{display:none}
/* 2026-11-26: day's fishing index line inside the detail AI panel's
   7-day weekstrip cells (.wcell) — a small second line under the AI
   grade, same muted colour as the cell date. */
.wcell .widx{display:block;font-size:11px;color:var(--ink2);white-space:nowrap}
/* 2026-11-28: day's tide-name line in the same weekstrip cells — same
   size/colour as the index line, so the strip stays compact. */
.wcell .wtide{display:block;font-size:11px;color:var(--ink2);white-space:nowrap}
.prefgrid a{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:11px 6px;text-align:center;font-size:14px;font-weight:600;color:var(--ink);display:block}
.prefgrid a:hover{border-color:var(--sea);color:var(--sea-d);text-decoration:none}
.prefgrid small{display:block;color:var(--mut);font-size:11.5px;font-weight:400}
/* 2026-11-30: map link inside combo-page "other prefectures" grid cells —
   each cell is a <div class="prefcell"> now (nested <a> is invalid), with
   the article link (.pref-main) and a spots.html?pref=&fish= map link
   (.pref-map) below it. The box style moves from .prefgrid a to the cell;
   the inner links reset .prefgrid a's box rules (that rule matches every
   descendant <a>, so these more specific rules override it). Same
   two-link cell pattern as the fish cards' .fc-map (2026-11-28). */
.prefgrid .prefcell{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:11px 6px;text-align:center}
.prefgrid .prefcell:hover{border-color:var(--sea)}
.prefgrid .prefcell a.pref-main{display:block;background:none;border:0;padding:0;font-size:14px;font-weight:600;color:var(--ink)}
.prefgrid .prefcell a.pref-main:hover{color:var(--sea-d);text-decoration:none}
.prefgrid .prefcell a.pref-map{display:block;background:none;border:0;border-top:1px solid var(--line);padding:7px 0 0;margin-top:7px;font-size:12.5px;font-weight:700;color:var(--sea-d)}
.fishcard a.fc-main{display:block;color:var(--ink)}
.fishcard a.fc-main:hover{text-decoration:none}
/* 2026-11-28: footer map link on fish species cards — a small link row
   under the main fish-page link (the card is a <div> now, so the old
   a.fishcard rules above moved to .fc-main); same sea-green link colour
   as the other "地図で見る" links, separated by the card's border line. */
.fishcard .fc-map{display:block;padding:9px 13px;border-top:1px solid var(--line);font-size:13px;font-weight:700;color:var(--sea-d)}
a.chip{color:var(--ink);display:inline-block}
a.chip:hover{text-decoration:none;border-color:var(--sea)}
/* --- みんなの釣果 (posts.html + home latest-posts section) --- */
.postcard{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:13px 15px;margin:0 0 10px}
.pc-head{display:flex;gap:8px;align-items:baseline}
.pc-nick{font-weight:700;font-size:14px;word-break:break-word}
.pc-time{color:var(--mut);font-size:12px;margin-left:auto;white-space:nowrap}
.pc-fishline{margin-top:5px;font-size:15.5px}
.pc-fish{font-weight:800;color:var(--sea-d)}
/* 2026-11-05: post-card fish names now link to their fish page — keep
   the look identical to the old plain text (inherit colour, no underline),
   same treatment as the hero fish-tag links. */
.pc-fish a{color:inherit;text-decoration:none}
.pc-size{font-weight:700}
.pc-spot{font-size:13px;color:var(--ink2);margin-top:2px;word-break:break-word}
.pc-body{margin:6px 0 0;font-size:14px;white-space:pre-wrap;word-break:break-word}
.pc-foot{margin-top:8px;text-align:right}
.pc-report{font-size:12px;padding:4px 12px;min-height:30px}
.pc-report[disabled]{opacity:.55}
.crumb{font-size:13px;color:var(--mut);max-width:1180px;margin:0 auto;padding:14px 16px 10px}
.crumb a{color:var(--sea-d)}
.d-topbar a.d-back{text-decoration:none}
/* --- 2026-11-04 detail jump nav: sticky header (54px) would cover an
   anchor target, so anchored detail sections get a scroll margin --- */
#sec-about,#sec-ai,#sec-info,#sec-fish,#sec-tide,#sec-near{scroll-margin-top:70px}
/* --- 2026-11-04 ranking jump nav: same sticky-header offset for the
   ranking page's anchored sections --- */
#rank-today,#rank-anaba,#rank-weekend,#rank-region{scroll-margin-top:70px}
/* --- 2026-11-04 season jump nav: same sticky-header offset for the
   season feature page's anchored sections --- */
/* 2026-12-03: #season-last joins the list — the new "season ends this
   month" section is a jump-nav target too. */
#season-fish,#season-last,#season-spots,#season-pickup-0,#season-pickup-1,#season-pickup-2,#season-pickup-3,#season-pickup-4,#season-pickup-5{scroll-margin-top:70px}
/* 2026-12-03: "season ends this month" badge on fish.html's section
   headings — deep sea-green fill with white text, distinct from the
   sunset-orange "いま旬" badge and the pale base badge. */
.seasonbadge.end{background:var(--sea);color:#fff}
/* --- 2026-11-04 home jump nav: same sticky-header offset for the
   top page's anchored sections --- */
/* 2026-11-27: #home-map joins the list — the guide's step 1 now links
   to the map itself, and without the offset the map's top edge would
   hide under the sticky header on the jump. */
#home-map,#home-sec-top,#home-sec-near,#home-sec-ai,#home-sec-radio,#home-sec-planner,#home-sec-photo,#home-sec-season,#home-sec-pref{scroll-margin-top:70px}
/* --- 2026-11-04 posts jump nav: same sticky-header offset for the
   posts page's form and timeline anchors --- */
#post-form,#posts-tl{scroll-margin-top:70px}
/* --- 2026-11-04 concierge scroll: keep the results block clear of the
   sticky header when scrolling to it (both the success and the 0-result
   paths scroll to #cz-results) --- */
#cz-results{scroll-margin-top:70px}
/* --- 2026-11-04 concierge back-to-form: the "change conditions" button
   anchors to #cz-days (Q1), so it needs the same sticky-header offset --- */
#cz-days{scroll-margin-top:70px}
/* --- 2026-11-04 log jump nav: same sticky-header offset for the my page's
   anchored sections (favs section, catch-log form, catch-log list) --- */
#log-favs,#log-form,#log-list{scroll-margin-top:70px}
/* --- 2026-11-05 fish-page jump nav: same sticky-header offset for the
   individual fish page's anchored sections --- */
#fish-sec-intro,#fish-sec-ai,#fish-sec-top,#fish-sec-list,#fish-sec-pref,#fish-sec-rel{scroll-margin-top:70px}
/* --- 2026-11-05 tide jump nav: same sticky-header offset for the
   tide page's anchored sections (form, chart, extrema table, calendar) --- */
#tide-form,#tide-sec-chart,#tide-sec-extrema,#tide-sec-cal{scroll-margin-top:70px}
/* --- 2026-11-14 area jump nav: same sticky-header offset for the
   prefecture page's anchored sections --- */
#area-sec-top,#area-sec-fish,#area-sec-list,#area-sec-city,#area-sec-combo,#area-sec-sib{scroll-margin-top:70px}
/* --- 2026-11-14 new-article jump nav: same sticky-header offset for the
   combo (prefecture x fish) and city article pages' anchored sections --- */
#combo-sec-intro,#combo-sec-top3,#combo-sec-list,#combo-sec-breakdown,#combo-sec-season,#combo-sec-samepref,#combo-sec-otherpref,#combo-sec-faq{scroll-margin-top:70px}
#city-sec-intro,#city-sec-top3,#city-sec-list,#city-sec-fish,#city-sec-breakdown,#city-sec-other,#city-sec-faq{scroll-margin-top:70px}
/* --- 2026-11-04 fish back-to-top: fish.html is 104 sections long, so a
   floating button appears after scrolling 600px and returns to the top
   (filter box / fish cards) in one tap; bottom offset clears the tabbar --- */
#fish-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#fish-topbtn.show{display:block}
#fish-topbtn:hover{background:var(--sea)}
/* --- 2026-11-04 detail back-to-top: detail pages are long (hero +
   panels + near spots), and the jump nav (01:44) sits only at the top,
   so a floating button appears after scrolling 600px and returns to the
   top in one tap; bottom offset clears the tabbar; own id/CSS so it
   never collides with the fish pages' #fish-topbtn --- */
#detail-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#detail-topbtn.show{display:block}
#detail-topbtn:hover{background:var(--sea)}
/* 2026-11-14: prev/next pager at the bottom of detail pages — walk the
   prefecture's spots in ports.json order. (Not .pager: that name is the
   spots.html "もっと見る" wrapper.) Prev/next look like the other
   bordered buttons; the middle prefecture link is plain, and the
   first/last end labels are muted text.
   2026-11-16: .fish-pager shares these rules — the same pager at the
   bottom of fish pages, walking species in FISHES order.
   2026-11-22: .area-pager shares these rules — the same pager at the
   bottom of prefecture pages, walking prefectures in PREFS order.
   2026-11-23: .combo-pager/.city-pager share these rules — the same
   pager at the bottom of prefecture x fish and municipality article
   pages, walking fish / municipalities within the prefecture in
   spot-count order. */
.port-pager,.fish-pager,.area-pager,.combo-pager,.city-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0 6px}
.port-pager a,.fish-pager a,.area-pager a,.combo-pager a,.city-pager a{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:10px 14px;font-size:14px;font-weight:600;color:var(--sea-d);text-decoration:none;max-width:46%;word-break:break-word}
.port-pager a:hover,.fish-pager a:hover,.area-pager a:hover,.combo-pager a:hover,.city-pager a:hover{border-color:var(--sea);text-decoration:none}
.port-pager a.pg-list,.fish-pager a.pg-list,.area-pager a.pg-list,.combo-pager a.pg-list,.city-pager a.pg-list{border-color:transparent;background:transparent;color:var(--mut);font-weight:400;padding:10px 4px}
.port-pager .pg-none,.fish-pager .pg-none,.area-pager .pg-none,.combo-pager .pg-none,.city-pager .pg-none{color:var(--mut);font-size:13px;padding:10px 4px}
/* --- 2026-11-04 spots back-to-top: spots.html holds the filter form and
   map at the top, then a result list that can grow to all 1,590 spots
   via "more" plus the prefecture grid below, so after 600px of scrolling
   show a floating button that returns to the filter form in one tap;
   bottom offset clears the tabbar; own id/CSS so it never collides with
   the fish/detail pages' top buttons --- */
#spots-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#spots-topbtn.show{display:block}
#spots-topbtn:hover{background:var(--sea)}
/* --- 2026-11-04 ranking back-to-top: ranking.html holds the 30-row
   today list, 20-row hidden-gem list, weekend lists and region lists,
   and the jump nav (06:44) sits only at the top, so after 600px of
   scrolling show a floating button that returns to the top in one tap;
   bottom offset clears the tabbar; own id/CSS so it never collides
   with the fish/detail/spots pages' top buttons --- */
#rank-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#rank-topbtn.show{display:block}
#rank-topbtn:hover{background:var(--sea)}
/* --- 2026-11-04 season back-to-top: season.html holds the month's fish
   grid, top-spots grid and six pickup sections, and the jump nav
   (07:44) sits only at the top, so after 600px of scrolling show a
   floating button that returns to the top in one tap; bottom offset
   clears the tabbar; own id/CSS so it never collides with the
   fish/detail/spots/ranking pages' top buttons --- */
#season-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#season-topbtn.show{display:block}
#season-topbtn:hover{background:var(--sea)}
/* --- 2026-11-05 home back-to-top: index.html holds the map plus a long
   sheet (today picks, near spots, AI picks, radio, planner, photos,
   posts, season fish, prefectures, guide, FAQ), and the jump nav
   (10:44) sits only at the top, so after 600px of scrolling show a
   floating button that returns to the top (map/search) in one tap;
   bottom offset clears the tabbar; own id/CSS so it never collides
   with the fish/detail/spots/ranking/season pages' top buttons --- */
#home-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#home-topbtn.show{display:block}
#home-topbtn:hover{background:var(--sea)}
/* --- 2026-11-05 posts back-to-top: posts.html holds the post form at
   the top and a timeline of up to 50 posts below, and the jump nav
   (11:44) sits only at the top, so after 600px of scrolling show a
   floating button that returns to the top (post form) in one tap;
   bottom offset clears the tabbar; own id/CSS so it never collides
   with the fish/detail/spots/ranking/season/home pages' top buttons --- */
#posts-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#posts-topbtn.show{display:block}
#posts-topbtn:hover{background:var(--sea)}
/* --- 2026-11-05 tide back-to-top: tide.html holds the port/date form
   at the top and the tide chart, extrema table and monthly calendar
   below, and the jump nav (08:44) sits only at the top, so after 600px
   of scrolling show a floating button that returns to the top
   (port/date form) in one tap; bottom offset clears the tabbar; own
   id/CSS so it never collides with the other pages' top buttons --- */
#tide-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#tide-topbtn.show{display:block}
#tide-topbtn:hover{background:var(--sea)}
/* --- 2026-11-05 area back-to-top: area pages hold the top-6 cards,
   12 fish cards, the full spot table (up to 130 rows) and sibling
   prefectures, with no jump nav, so a floating button after 600px of
   scrolling returns to the top in one tap; bottom offset clears the
   tabbar; own id/CSS so it never collides with the other pages' top
   buttons --- */
#area-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#area-topbtn.show{display:block}
#area-topbtn:hover{background:var(--sea)}
/* --- 2026-11-06 log back-to-top: log.html holds the favorites grid,
   the catch-log form and the catch-log list below, and the jump nav
   (15:44) sits only at the top, so after 600px of scrolling show a
   floating button that returns to the top (favorites / log form) in
   one tap; bottom offset clears the tabbar; own id/CSS so it never
   collides with the other pages' top buttons --- */
#log-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#log-topbtn.show{display:block}
#log-topbtn:hover{background:var(--sea)}
/* --- 2026-11-14 combo/city back-to-top: the new article pages (pref x
   fish, 468; city, 330) are long (key-points box, top-3 table, full spot
   list, breakdown, FAQ) with no jump nav, so after 600px of scrolling
   show a floating button that returns to the top in one tap; bottom
   offset clears the tabbar; own ids so they never collide with the
   area page's #area-topbtn --- */
#combo-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#combo-topbtn.show{display:block}
#combo-topbtn:hover{background:var(--sea)}
#city-topbtn{display:none;position:fixed;right:16px;bottom:76px;z-index:60;background:var(--sea-d);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-size:14px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.25);cursor:pointer}
#city-topbtn.show{display:block}
#city-topbtn:hover{background:var(--sea)}
/* --- 2026-11-05 tide calendar today: the calendar marks only the
   selected day (.sel, sun-tinted), so after picking another day today
   was invisible. .today adds an inset sea-green frame (no layout shift,
   and it stays visible when today is also the selected day) --- */
.cal .d.today{box-shadow:inset 0 0 0 2px var(--sea)}
/* --- 2026-11-06 tide calendar high tide: each calendar cell now also
   shows the day's first high tide ("満 HH:MM") so a month can be
   compared at a glance. Same sea-green bold as the tide-name line. --- */
.cal .d .ht{color:var(--sea-d);font-weight:700}
/* --- 2026-11-09 tide calendar low tide: each cell now also shows the
   day's first low tide ("干 HH:MM") under the high tide, so a month can
   be compared by both extrema at a glance. Muted dark grey bold, so it
   reads as secondary to the sea-green high tide. --- */
.cal .d .lt{color:var(--ink2);font-weight:700}
/* --- 2026-11-13 tide calendar weekend: the calendar is the month planner
   for weekend trips, but every day number looked the same, so Saturdays
   and Sundays were invisible at a glance. Colour only the day number
   (and the weekday header): Saturday blue (#0b5cad, the tide-chart line
   colour), Sunday sunset orange (var(--sun)). Selected day (.sel) and
   today's green frame (.today) are untouched. --- */
.cal .d.sat b{color:#0b5cad}
.cal .d.sun b{color:var(--sun)}
.cal .hd:nth-child(1){color:var(--sun);font-weight:700}
.cal .hd:nth-child(7){color:#0b5cad;font-weight:700}
/* --- 2026-11-22 tide calendar spring tide: the calendar already shows
   each day's tide name, but finding the spring-tide days in a month meant
   reading every cell's text. 大潮 cells now get the .spring class (added
   in the frag_tide calHTML patch next to the 2026-11-13 weekend classes)
   and only the tide-name line turns sunset orange — same idea as the
   weekend day-number colours, and a different property from the selected
   day's background (.sel), today's green frame (.today) and the weekend
   number colours (.sat/.sun), so none of them clash. Inland ports have
   no tide name and never get the class. --- */
.cal .d.spring .tn{color:var(--sun)}
/* --- 2026-11-05 detail 7-day table today row: the 7 rows looked
   identical, so today was only findable by reading the dates. The first
   row (today) gets a pale sea-green background + a 「今日」 badge.
   tbody selector matches the zebra rule's specificity, and CSS_EXTRA is
   appended after the base CSS, so it wins over the zebra stripe. --- */
.tbl tbody tr.today-row{background:var(--sea-t)}
.today-badge{display:inline-block;background:var(--sea);color:#fff;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:700;margin-left:4px;vertical-align:1px}
/* --- 2026-11-16 detail 7-day table best day: the index numbers had to be
   compared across 7 rows to find the best day, so the highest-index day
   gets a 「ベスト」 badge next to its date (sunset orange, same shape as
   .today-badge; the .hsearch button and .idxbadge.hi already use
   var(--sun) with white text). Ties go to the earliest day only, and
   when today is the best day both badges show, like sel+sun. --- */
.best-badge{display:inline-block;background:var(--sun);color:#fff;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:700;margin-left:4px;vertical-align:1px}
/* --- 2026-11-16 detail 7-day table weekend: the 7 rows looked identical
   except today's green row, so weekend trip days were only findable by
   reading the weekday in parentheses. Colour only the date link, the
   same colours as the tide calendar's weekend cells (11/13): Saturday
   blue (#0b5cad, the tide-chart line colour), Sunday sunset orange
   (var(--sun)). The today row keeps its green background + badge; when
   today is a weekend both apply, like sel+sun in the calendar. --- */
.tbl tbody tr.wk-sat td:first-child a{color:#0b5cad;font-weight:700}
.tbl tbody tr.wk-sun td:first-child a{color:var(--sun);font-weight:700}
/* --- 2026-11-06 detail fish-table sorting: the sort buttons sit in a
   plain .panel (not .filters), so the .filters .row flex rule does not
   apply. Give the row its own flex layout (same gap/wrap as the
   fish-list sort row) --- */
.fishsort-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
/* --- 2026-11-04 header/map overlap fix (user report, screenshots):
   Leaflet's zoom control (+/-) and attribution (the "Leaflet | ..." map
   license line) live at z-index:1000 inside the map, while the sticky
   header is z-index:800 and the fixed tabbar z-index:900. With no
   stacking context on the map container, those controls painted over
   the header logo and ticker whenever the map scrolled underneath.
   position:relative + z-index:0 on both map containers confines every
   Leaflet layer (panes, popups, controls) inside the map box. --- */
#home-map{position:relative;z-index:0}
#map{position:relative;z-index:0}
@media (max-width:820px){ .tabbar a{min-height:54px;padding:6px 0 5px} }
/* --- 2026-11-03 renewal: fishing-info-site chrome + AI feature parts ---
   Header becomes a deep-sea bar with a dark ticker strip (today's top
   spot), section heads get a sea-green accent bar, tables get zebra rows.
   New parts: AI forecast rows/grades/reason chips, congestion badges, the
   7-day week strip, the radio box, the concierge wizard. */
header.site{background:linear-gradient(90deg,var(--sea-d),var(--sea) 70%);border-bottom:none;backdrop-filter:none}
header.site .logo{color:#fff}
header.site .logo small{color:#bcd8d0}
header.site nav.main a{color:#dcefe8}
header.site nav.main a:hover{background:rgba(255,255,255,.16);color:#fff}
header.site nav.main a.on{background:#fff;color:var(--sea-d)}
header.site .hsearch input{border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.96)}
header.site .hsearch button{background:var(--sun);color:#fff;border:0}
.ticker{background:var(--ink);color:#e9e6dc;font-size:12.5px}
.ticker-in{max-width:1180px;margin:0 auto;padding:6px 16px;display:flex;gap:14px;align-items:center;overflow:hidden;white-space:nowrap}
.ticker .tk-date{color:#f0b429;font-weight:700}
.ticker .tk-item a{color:#fff;font-weight:700}
.ticker .tk-link{margin-left:auto;color:#f0b429;font-weight:700}
@media (max-width:640px){ .ticker .tk-link{display:none} }
.sec-head h2{border-left:5px solid var(--sea);padding-left:10px}
.panel h2{border-bottom:2px solid var(--sea-t);padding-bottom:8px}
.tbl tbody tr:nth-child(even){background:#faf7ef}
.tabbar{box-shadow:0 -2px 12px rgba(29,36,34,.08)}
@media (hover:hover){ .card:hover{box-shadow:0 4px 8px rgba(29,36,34,.10),0 12px 28px rgba(29,36,34,.13)} }
.statrow{display:flex;gap:8px;flex-wrap:wrap;padding:2px 16px 10px}
.statchip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--ink2)}
.statchip b{color:var(--sea-d);font-size:15px}
.airow{display:flex;align-items:center;gap:11px;padding:11px 16px;border-bottom:1px solid var(--line);background:#fff}
.airow:last-child{border-bottom:none}
.airow .rk{font-weight:800;color:var(--mut);width:20px;text-align:center;flex:none}
.airow .who{flex:1;min-width:0}
.airow .who .nm{font-weight:700;font-size:15.5px}
.airow .who .pl{font-size:12.5px;color:var(--mut)}
.aigrade{font-weight:800;font-size:19px;flex:none}
.aigrade.g0{color:var(--sun)}
.aigrade.g1{color:var(--sea)}
.aigrade.g2{color:#b07d2b}
.aigrade.g3{color:var(--mut)}
.rchip{display:inline-block;background:var(--sea-t);color:var(--sea-d);border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:600;margin:2px 4px 0 0}
.cong{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.cong0{background:#e2efe9;color:var(--sea-d)}
.cong1{background:#f5ead0;color:#7a5b12}
.cong2{background:#f9ddd2;color:#a33312}
.weekstrip{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:10px}
.wcell{text-align:center;border:1px solid var(--line);border-radius:10px;padding:7px 2px 6px;font-size:11.5px;background:#fff;color:var(--ink2)}
.wcell b{display:block;font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wcell .aigrade{font-size:16px}
.radiobox{background:linear-gradient(120deg,var(--sea-d),var(--sea));border-radius:var(--r-lg);padding:18px;color:#fff;margin:0 16px}
.radiobox h3{font-size:17px;margin-bottom:6px}
.radiobox p{font-size:13.5px;color:#dcefe8}
.radiobtns{display:flex;gap:10px;margin-top:12px;align-items:center}
.radiobtn{background:var(--sun);color:#fff;border:0;border-radius:999px;padding:11px 22px;font-weight:800;font-size:15px;cursor:pointer}
.radiobtn.sub{background:rgba(255,255,255,.18);font-weight:700}
.radioscript{margin:12px 16px 0;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:12px 15px;font-size:13.5px;color:var(--ink2);white-space:pre-wrap}
.aibanner{margin:0 16px;background:#fff;border:2px solid var(--sea);border-radius:var(--r-lg);padding:16px;display:flex;gap:12px;align-items:center}
.aibanner .ab-t{flex:1}
.aibanner .ab-t b{font-size:16px;color:var(--sea-d)}
.aibanner .ab-t p{font-size:13px;color:var(--ink2);margin-top:3px}
.cz-q{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:16px;margin:12px 0;box-shadow:var(--shadow-sm)}
.cz-q h3{font-size:15.5px;margin-bottom:10px}
.cz-q h3 .step{background:var(--sea);color:#fff;border-radius:999px;font-size:12px;padding:2px 9px;margin-right:8px;font-weight:700}
.cz-opts{display:flex;gap:8px;flex-wrap:wrap}
.cz-opt{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600;cursor:pointer;color:var(--ink)}
.cz-opt[aria-pressed="true"]{background:var(--sea);border-color:var(--sea);color:#fff}
.cz-opt:hover{border-color:var(--sea)}
/* --- 釣り場詳細ヒーローのお気に入りボタンは文字ラベル付きピル型にする
   （カード一覧の星ボタンは従来どおり）。d-fav の幅だけ上書きする。 */
.d-fav{width:auto;padding:0 14px;border-radius:999px;font-size:14px;font-weight:700;white-space:nowrap}
/* --- 釣り場詳細ヒーローの魚タグは魚ページへのリンクにする（2026-11-03
   23:44定期改善）。ヒーロー上の白文字タグの見た目はそのままに、下線だけ
   消してリンクであることを保つ。カード一覧の魚タグは従来どおり文字のみ。 */
.d-title .tagrow a.tag{text-decoration:none}
.d-title .tagrow a.tag:hover{text-decoration:underline}
/* --- 2026-11-05 detail share button: the hero topbar holds only back +
   favourite, so sharing a spot meant using the browser address bar
   (awkward on phones). .d-share is a white pill like .d-fav, pushed
   right by margin-left:auto; the favourite keeps its place beside it
   with a fixed 8px gap instead of its own auto margin. --- */
.d-share{margin-left:auto;background:#fff;border:1px solid var(--line2);border-radius:999px;padding:0 14px;height:44px;font-size:14px;font-weight:700;color:var(--ink);white-space:nowrap;box-shadow:var(--shadow-sm);cursor:pointer}
.d-topbar .d-fav{margin-left:8px}
/* --- 2026-11-06 PC map sizing fix (user report with a photo of a wide
   monitor): the map column is 1180px wide while the height is capped at
   520px, so the box aspect (about 2.3:1) is far wider than Japan's
   fitted shape (about 0.85:1, wide:tall). fitBounds filled the height
   and left Japan as a small island in the middle with sea on both
   sides. The user said the map does not need to span edge to edge, so
   cap the map width and give it more height on wide screens; Japan
   then fills the frame. Mobile is unchanged (its column is already
   narrower than the cap). Same treatment for the spots page map. --- */
#home-map{max-width:680px;margin-left:auto;margin-right:auto}
#map{max-width:680px;margin-left:auto;margin-right:auto}
@media (min-width:901px){
  #home-map{height:min(66vh,620px)}
  #map{height:500px}
}
/* --- 2026-11-06 posts form prefecture select: the base .logform rules
   style inputs and textareas only, so the new select gets the same
   padding, border and radius (and a white background) here. --- */
.logform select{padding:10px;border:1px solid var(--line2);border-radius:9px;width:100%;background:#fff}
/* --- 2026-11-17 spots card -> map jump: the result cards could open the
   detail page and today's tide table, but not the spot's pin on the map
   at the top of the page, so a visitor who had scrolled down the list
   had to scroll back up and hunt for the orange pin. The new text-style
   button in the card foot scrolls to the map and opens that pin's popup.
   The foot is flex without wrapping, so allow a wrap on narrow cards;
   the map needs a scroll margin so the sticky header does not cover it
   after the jump. --- */
.cardfoot{flex-wrap:wrap}
.cardfoot button.maplink{background:none;border:none;padding:0;margin-left:0;font-size:13px;font-weight:700;color:var(--sea-d);cursor:pointer;text-decoration:underline}
#map{scroll-margin-top:70px}
/* --- 2026-11-18 map popup favourite: the pin popup now has a star
   button next to the spot name, the same round .favbtn as the cards,
   so a spot found on the map can be saved without opening its detail
   page. The head row keeps the name on the left and the star at the
   top-right of the small popup; the star is slightly smaller here. --- */
.mp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.mp-head>b{flex:1;min-width:0}
.mp-head .favbtn{width:32px;height:32px;font-size:15px}
/* --- 2026-11-23 map popup fish line: the popup now names the spot's
   top 3 fish, so the row reads as a quiet sub-line under the index. --- */
.mp-fish{font-size:13px;color:var(--mut);margin:2px 0 0}
