/* Fishery selection shares the lobby palette. The fishery itself owns its in-game surfaces. */
.rb-venue.fc-chart {
 --fc-ink:#141a29; --fc-muted:#505d72; --fc-line:#d6dfeb; --fc-blue:#294ddd;
 --fc-pad:clamp(12px,3.5vw,60px);
 position:relative; isolation:isolate; box-sizing:border-box; width:100%; height:100vh; height:100dvh;
 min-height:0; container:fish-chart / size; display:grid; grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; background:#f6f7fb; color:var(--fc-ink);
 font-family:"Inter",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; color-scheme:light;
}
html[data-browse-landscape] .rb-venue.fc-chart { height:100% }
.rb-venue.fc-chart::before { content:none }
.fc-chart :is(button,a) { font-family:inherit; touch-action:manipulation; text-decoration:none }
.fc-chart :is(button:enabled,a) { cursor:pointer }
.fc-chart :is(button,a):focus-visible { outline:3px solid #426bff; outline-offset:2px }
.fc-chart :is(.fc-tool,.fc-start) > svg { width:19px; height:19px; flex:none }
.fc-head,.fc-foot {
 box-sizing:border-box; display:flex; align-items:center; min-width:0; gap:clamp(7px,1cqw,16px);
 padding-inline:max(var(--fc-pad),var(--browse-left,env(safe-area-inset-left))) max(var(--fc-pad),var(--browse-right,env(safe-area-inset-right)));
 background:white;
}
.fc-head { z-index:3; border-bottom:1px solid var(--fc-line); padding-block:max(8px,var(--browse-top,env(safe-area-inset-top))) 8px; min-height:68px }
.fc-head h1 { margin:0 auto 0 0; color:var(--fc-ink); font-family:inherit; font-size:clamp(19px,2.2cqw,32px); line-height:1.15; font-weight:760; text-wrap:balance }
.fc-head :is(.fc-tool,.fc-user,.fc-wallet),.fc-actions .fc-start {
 box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:7px;
 min-width:0; min-height:42px; margin:0; padding:7px 11px; border:1px solid var(--fc-line); border-radius:7px;
 background:white; color:var(--fc-ink); box-shadow:none; font-size:14px; line-height:1.2; font-weight:650;
}
.fc-head .fc-back,.fc-head [data-rb="chartMenu"] { flex:none; width:42px; padding-inline:0 }
.fc-head .fc-user { border-color:transparent; padding:2px 5px; background:transparent }
.fc-user b { display:block; max-width:14ch; overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
.fc-user .player-portrait { --portrait-size:34px; border:1px solid var(--fc-line); box-shadow:none }
.fc-user .player-level { color:#fff; background:#3658bc; border-color:white }
.fc-head .fc-wallet { flex:none; background:#f1f4fa; font-variant-numeric:tabular-nums }
.fc-wallet i { display:grid; place-items:center; flex:none; width:22px; height:22px; border-radius:50%; color:#324d9e; background:#e0e7fb; font-style:normal; font-size:13px }
.fc-head nav { position:relative; display:flex; align-items:center; gap:6px }
.fc-head [aria-expanded=true] { color:var(--fc-blue); border-color:#acbdf3; background:#eef3ff }
.fc-menu { position:absolute; z-index:5; inset:auto 0 auto auto; top:calc(100% + 6px); width:max-content; min-width:11em; max-width:80cqw; max-height:65cqh; overflow:auto; padding:6px; border:1px solid var(--fc-line); border-radius:9px; background:#fff; box-shadow:0 8px 25px #15254829 }
.fc-menu :is(a,button) { display:flex; align-items:center; min-height:42px; width:100%; margin:0; padding:7px 11px; text-align:start; border:0; border-radius:5px; background:white; color:var(--fc-ink); font-size:14px }

.rb-venue.fc-chart .fc-ocean {
 box-sizing:border-box; grid-column:1; grid-row:2; display:grid; grid-template-columns:minmax(0,1fr);
 align-content:start; min-width:0; min-height:0; max-width:none; width:100%; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin;
 padding:clamp(16px,4cqh,52px) max(var(--fc-pad),var(--browse-right,env(safe-area-inset-right))) 18px max(var(--fc-pad),var(--browse-left,env(safe-area-inset-left)));
}
.fc-ocean h2 { display:flex; align-items:center; gap:11px; margin:0 0 clamp(14px,2.6cqh,26px); color:var(--fc-ink); font-family:inherit; font-size:clamp(23px,3.15cqw,46px); font-weight:780; line-height:1.15 }
.fc-ocean h2::before { content:""; flex:none; width:5px; height:.85em; transform:skew(-12deg); border-radius:1px; background:var(--fc-blue) }
.fc-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; gap:clamp(10px,1.3cqw,24px) }
.fc-chart .fc-island {
 position:relative; display:flex; flex-direction:column; align-items:stretch; min-width:0; min-height:0; margin:0; padding:0; overflow:hidden;
 background:#fff; border:1px solid var(--fc-line); border-radius:11px; color:var(--fc-ink); box-shadow:0 2px 5px #24345009; text-align:start;
}
.fc-island .fc-art { display:grid; place-items:center; height:clamp(110px,min(23cqw,36cqh),350px); background:linear-gradient(125deg,#e3ebfb,#f2f6ff) }
.fc-island[data-entry-value="09"] .fc-art { background:linear-gradient(125deg,#dcefe6,#f0f7ee) }
.fc-island[data-entry-value="10"] .fc-art { background:linear-gradient(125deg,#dceef3,#eff9fa) }
.fc-island.fc-pk .fc-art { background:linear-gradient(125deg,#f2e4d9,#fbf2e8) }
.fc-art img { width:92%; height:92%; min-height:0; object-fit:contain; background:transparent; pointer-events:none; filter:drop-shadow(0 3px 3px #2b40532b) }
.fc-plaque { display:grid; align-content:start; gap:6px; flex:1; min-width:0; padding:clamp(10px,1.2cqw,20px); border-top:1px solid #e3e9f1; color:var(--fc-ink) }
.fc-plaque strong { color:var(--fc-ink); font-size:clamp(15px,1.6cqw,25px); font-weight:730; line-height:1.25; overflow-wrap:anywhere }
.fc-plaque small { color:var(--fc-muted); font-size:clamp(12px,1cqw,15px); line-height:1.35; font-weight:500; font-variant-numeric:tabular-nums; overflow-wrap:anywhere }
.fc-plaque .fc-paused { color:#784000; font-weight:700 }
.fc-chart .fc-island[aria-pressed=true] { border-color:var(--fc-blue); box-shadow:0 0 0 1px var(--fc-blue) }
.fc-chart .fc-island[aria-pressed=true]::after { content:""; position:absolute; right:8px; top:8px; width:21px; height:21px; border-radius:50%; background:var(--fc-blue) }
.fc-chart .fc-island[aria-pressed=true]::before { content:""; position:absolute; z-index:1; right:15px; top:12px; width:5px; height:9px; border:solid white; border-width:0 2px 2px 0; transform:rotate(43deg) }
.fc-empty { margin:0; padding:16px; color:var(--fc-muted); background:white; border:1px solid var(--fc-line); border-radius:8px }
.fc-foot { flex-wrap:wrap; gap:7px 12px; min-height:66px; padding-block:10px max(10px,var(--browse-bottom,env(safe-area-inset-bottom))); border-top:1px solid var(--fc-line) }
.fc-current { color:var(--fc-ink); font-size:clamp(15px,1.7cqw,22px); font-weight:720; overflow-wrap:anywhere }
.fc-foot .fc-reason:not(:empty) { color:#763710; background:#fff2df; border-radius:5px; padding:3px 8px; font-weight:600; font-size:13px; overflow-wrap:anywhere }
.fc-foot .fc-reason:empty { display:none }
.fc-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-inline-start:auto; max-width:100% }
.fc-actions .fc-start { border-color:#bcc9e8; color:#25419a; background:#eef2ff; padding:8px 16px; font-weight:700; white-space:normal }
.fc-actions .fc-fast,.fc-actions a.fc-start { background:var(--fc-blue); color:#fff; border-color:var(--fc-blue) }
.fc-chart button:disabled { color:#667183; background:#e5e9ef; border-color:#d9dfe8; cursor:default; opacity:1 }
@media (hover:hover) {
 .fc-head :is(.fc-tool,.fc-user,.fc-wallet):enabled:hover,.fc-head a.fc-tool:hover,.fc-menu :is(a,button):hover { color:var(--fc-blue); background:#edf2ff }
 .fc-chart .fc-island:hover { border-color:#7b97eb }
 .fc-actions .fc-fast:enabled:hover,.fc-actions a.fc-start:hover { background:#1d3cbb }
}
@container fish-chart (max-width:760px) {
 .fc-head { gap:5px; min-height:56px }
 .fc-user b { max-width:8ch }
 .fc-choices { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .fc-art img { height:90%; width:90% }
}
@container fish-chart (max-width:550px) {
 .fc-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:4px 6px; padding-block:max(5px,var(--browse-top,env(safe-area-inset-top))) 5px }
 .fc-back { grid-area:1/1 }
 .fc-head h1 { grid-area:1/2 }
 .fc-head nav { grid-area:1/3; justify-self:end }
 .fc-head .fc-user { grid-area:2/1/3/3; justify-self:start; max-width:100%; min-height:36px; padding-inline:0 }
 .fc-user b { max-width:15ch }
 .fc-head .fc-wallet { grid-area:2/3; justify-self:end; min-height:34px; font-size:13px }
 .fc-head .fc-tool span { display:none }
 .fc-user .player-portrait { --portrait-size:28px }
 .fc-plaque { gap:4px }
 .fc-current { font-size:14px }
 .fc-actions .fc-start { padding-inline:10px; font-size:13px }
 .fc-foot { min-height:54px; gap:5px 8px; padding-block:6px max(6px,var(--browse-bottom,env(safe-area-inset-bottom))) }
 .fc-island .fc-art { height:clamp(105px,35cqw,180px) }
}
@container fish-chart (max-height:500px) and (min-aspect-ratio:1/1) {
 .fc-head,.fc-foot { min-height:0; padding-block:4px }
 .fc-head { padding-top:max(4px,var(--browse-top,env(safe-area-inset-top))) }
 .fc-foot { padding-bottom:max(4px,var(--browse-bottom,env(safe-area-inset-bottom))) }
 .fc-head h1 { font-size:19px }
 .fc-head :is(.fc-tool,.fc-user,.fc-wallet),.fc-actions .fc-start { min-height:34px; font-size:13px }
 .rb-venue.fc-chart .fc-ocean { padding-block:8px 10px }
 .fc-ocean h2 { font-size:21px; margin-bottom:8px }
 .fc-choices { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px }
 .fc-island .fc-art { height:clamp(58px,30cqh,150px) }
 .fc-plaque { padding:6px 8px; gap:2px }
 .fc-plaque strong { font-size:14px }
 .fc-plaque small { font-size:11px }
}

/* Shared in-game guide; room selection overrides its cards below. */
.fc-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.fc-guide-grid figure{display:grid;place-items:center;margin:0;min-width:0;padding:4px;background:linear-gradient(#134b62,#0a354e);border:1px solid #477789;border-radius:8px;color:#e5f4f7;text-align:center}.fc-guide-grid img{width:100%;height:clamp(35px,6vw,70px);object-fit:contain}.fc-guide-grid figcaption{font-size:clamp(11px,1.7vw,15px);line-height:1.2}.fc-guide-grid figcaption small{display:block;color:#f3d795;font-weight:700;font-variant-numeric:tabular-nums;margin-top:2px}.fc-guide nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:7px}.fc-guide nav button{width:44px;min-height:37px;padding:0;font-size:23px;border-radius:10px}
#app:has(.fc-chart) ~ #overlay .fc-guide-grid { gap:8px }
#app:has(.fc-chart) ~ #overlay .fc-guide-grid figure { padding:6px; border:1px solid #d6dfeb; border-radius:7px; background:#f2f6fc; color:#141a29 }
#app:has(.fc-chart) ~ #overlay .fc-guide-grid figcaption small { color:#2948ac }
#app:has(.fc-chart) ~ #overlay .fc-guide nav button { min-height:40px; border:1px solid #c1cde5; border-radius:6px; background:white; color:#28459c }
#app:has(.fc-chart) ~ #overlay .fc-guide nav button:disabled { background:#edf0f5; border-color:#dce1e8; color:#747e8a }
