/* 游戏画面与操作区分层：主操作稳定在拇指可达位置，详情按需展开。 */
.farm-v5{--garden-ink:#304b3d;--garden-paper:#fffdf6;--garden-green:#537560}
#points-page .farm-v5 .farm-world-top{left:20px;right:20px;top:max(16px,env(safe-area-inset-top));padding:0;background:none;border:0;backdrop-filter:none;text-shadow:none;gap:8px;color:var(--garden-ink)}
.farm-v5 .farm-world-title{background:#fffdf3e8;border:1px solid #ffffff80;border-radius:13px;padding:9px 16px;box-shadow:0 3px 18px #29462c12}.farm-v5 .farm-world-title strong{font-size:17px;letter-spacing:.5px}.farm-v5 .farm-world-title>span{font-size:9px;color:#788571}
#points-page .farm-v5 .farm-world-back,#points-page .farm-v5 .farm-world-help{background:#fffdf3ed;color:#45624d;border:1px solid #ffffff8a;width:40px;height:40px;font-weight:400;box-shadow:0 3px 16px #29462c12}
.farm-v5 .farm-world-balance{background:#fffdf3e8;border:1px solid #ffffff80;border-radius:13px;padding:9px 14px;gap:8px;color:#7e8978}.farm-v5 .farm-world-balance b{color:#8c7046;font-size:20px;font-variant-numeric:tabular-nums}
.farm-v5 .farm-world-fields{top:93px;left:20px;z-index:5}.farm-v5 .farm-world-fields summary{background:#fffdf3e8;color:#42624d;border:1px solid #fff;border-radius:11px;padding:9px 13px;font-size:11px}.farm-v5 .farm-world-fields>div{background:#fffdf6;border:1px solid #e1e5d6;box-shadow:0 8px 24px #29462c22}
.farm-v5 .farm-world-actions{right:20px;top:93px;gap:7px}
#points-page .farm-v5 .farm-world-actions button{min-height:39px;background:#fffdf3e8;border:1px solid #ffffff9c;border-radius:11px;color:#45654f;padding:10px 15px;font-size:11px;box-shadow:0 4px 14px #29462c10}
#points-page .farm-v5 .farm-world-actions .farm-world-harvest{background:#486b54;border-color:#89a38b;color:#fff9e7;box-shadow:0 3px 8px #25472c20;white-space:nowrap}
#points-page .farm-v5 .farm-world-dock{bottom:max(16px,env(safe-area-inset-bottom));border-radius:17px;border:1px solid #ffffffad;background:#fffdf3ed;box-shadow:0 7px 30px #203e2d20;padding:5px;gap:3px;width:max-content;box-sizing:border-box}
#points-page .farm-v5 .farm-world-dock button{color:#697d69;min-width:68px;padding:10px 15px;gap:6px;border-radius:12px;font-size:11px;flex-direction:row}
#points-page .farm-v5 .farm-world-dock button[aria-pressed=true]{background:#506f57;color:#fff9e9;box-shadow:none}.farm-v5 .farm-world-dock button>span{font-size:18px}
.farm-v5 .farm-scene-controls{left:auto;right:20px;bottom:93px;flex-direction:column;gap:5px}
#points-page .farm-v5 .farm-scene-controls button{background:#fffdf3db;border:1px solid #fff;border-radius:10px;width:33px;height:33px;color:#526e53;box-shadow:0 2px 9px #284b3212}
.farm-v5 .farm-world-hint{left:22px;bottom:22px;max-width:156px;color:#325b3f;text-shadow:0 1px 3px #ffffff99;font-size:9px}
#points-page .farm-v5 .farm-map-labels button{min-width:26px;min-height:26px;padding:4px 8px;border-radius:9px;background:#fffcefde;color:#4b664b;border:1px solid #fff9;box-shadow:0 3px 7px #253b2518;font-size:10px}.farm-v5 .farm-map-labels button span{display:none}
#points-page .farm-v5 .farm-map-labels button[aria-pressed=true]{background:#4c7155;color:#fffbe9;border-color:#d5e2c4}.farm-v5 .farm-map-labels button[data-stage=ripe]{background:#f5e9bb!important;color:#8a6b36!important;border-color:#e8cfa0!important}
.farm-v5 .farm-inspector,.farm-v5 .farm-world-panel{background:#fffdf6f5;border:1px solid #ffffffe6;border-radius:18px;color:#355442;box-shadow:0 15px 45px #183d3130;backdrop-filter:blur(12px)}
.farm-v5 .farm-world-panel{top:91px;bottom:84px;right:67px;left:auto;width:375px}.farm-v5 .farm-inspector{right:67px;bottom:84px;width:305px}
#points-page .farm-v5 .farm-world-panel>header,#points-page .farm-v5 .farm-inspector>header{padding:9px 14px;min-height:47px;border-bottom:1px solid #ebece1;background:#fffdf6;box-sizing:border-box}.farm-v5 .farm-world-panel>header strong{font-size:16px;letter-spacing:.5px}
#points-page .farm-v5 .farm-world-panel>header button,#points-page .farm-v5 .farm-inspector>header button{background:#eef0e6;color:#6c7a64;width:32px;height:32px;min-width:32px;flex-basis:32px;border-radius:50%;font-size:21px}
#points-page .farm-v5 .farm-world-panel-body{padding:14px;min-height:0;scrollbar-width:thin}.farm-v5 .farm-section-title h3{font-size:14px;margin:0 0 5px}.farm-v5 .farm-section-title p{font-size:11px;margin:0 0 12px;color:#87917e}
#points-page .farm-v5 .farm-pet-card{display:block;background:#fffefa;border:1px solid #e7e8dc;border-radius:15px;padding:12px;margin:0 0 12px;box-shadow:none}
.farm-v5 .farm-pet-profile{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:center}.farm-v5 .farm-pet-profile h3{font-size:17px;line-height:1.5;margin:0}.farm-v5 .farm-pet-profile h3>span{display:inline-block;vertical-align:middle;font-size:9px;font-weight:400;background:#edf1e3;color:#76856c;padding:3px 6px;border-radius:5px}.farm-v5 .farm-pet-profile p{font-size:10px;color:#84907c;margin:5px 0 9px}
#points-page .farm-v5 .farm-pet-card .farm-pet-portrait{width:112px;min-height:0;padding:0;border:0;background:none;box-shadow:none;align-self:start}.farm-v5 .farm-pet-3d{width:100%;max-width:100%;background:radial-gradient(ellipse at 50% 68%,#e3e9d930,transparent 70%);border-radius:12px}.farm-v5 .farm-pet-3d small{font-size:8px;color:#99a18f}.farm-v5 .farm-pet-3d canvas{background:none}
.farm-v5 .farm-pet-description{min-width:0;width:100%;margin-top:8px}.farm-v5 .farm-pet-description p{font-size:11px;line-height:1.6;margin:8px 0}.farm-v5 .farm-feed-time{background:#f2f5e9;padding:8px 10px;border-radius:8px;color:#57704c}
#points-page .farm-v5 .farm-pet-card button,#points-page .farm-v5 .farm-pet-products button{border-radius:8px;background:#edf1e4;color:#516e51;border:1px solid #e1e7d7;padding:8px 9px;font-size:10px;min-height:34px}.farm-v5 .farm-pet-actions{display:flex;gap:6px;flex-wrap:wrap}.farm-v5 .farm-pet-actions button{flex:1;white-space:nowrap}.farm-v5 .farm-pet-actions button:disabled{opacity:.48}
.farm-v5 .farm-pet-care-details{border-top:1px solid #eeeee4;margin-top:10px;padding-top:8px}.farm-v5 .farm-pet-care-details summary{font-size:10px;color:#8a9481;cursor:pointer;padding:3px 0}.farm-v5 .farm-pet-stages{margin-top:10px}
.farm-v5 .farm-pet-shop{margin-top:10px;border:1px solid #e4e8d9;border-radius:13px;padding:12px;background:#f7f8f0}.farm-v5 .farm-pet-shop>summary{font-size:13px;font-weight:600;cursor:pointer}.farm-v5 .farm-pet-products{gap:9px;margin-top:12px}.farm-v5 .farm-pet-products>article{background:#fffefa;border:1px solid #e8e9df;border-radius:12px;padding:10px;min-width:0}.farm-v5 .farm-pet-products small{font-size:9px}.farm-v5 .farm-pet-products .farm-pet-3d{width:140px;max-width:100%;margin:auto}.farm-v5 .farm-art-credits{font-size:9px;color:#98a28d;display:block;margin-top:12px;text-align:right}
#points-page .farm-v5 button:focus-visible{outline:3px solid #ba9b66;outline-offset:3px}.farm-v5 .farm-visit-home{top:143px}.farm-v5 .farm-walk-stop{top:190px}
@media(max-width:700px){
 #points-page .farm-v5 .farm-world-top{left:12px;right:12px;top:max(12px,env(safe-area-inset-top));gap:6px}.farm-v5 .farm-world-title{padding:8px 10px;border-radius:11px}.farm-v5 .farm-world-title strong{font-size:14px;max-width:119px}.farm-v5 .farm-world-title>span{font-size:8px}.farm-v5 .farm-world-balance{padding:8px 10px;gap:2px}.farm-v5 .farm-world-balance small{font-size:8px}.farm-v5 .farm-world-balance b{font-size:15px}
 #points-page .farm-v5 .farm-world-back,#points-page .farm-v5 .farm-world-help{width:36px;height:36px;flex-shrink:0}.farm-v5 .farm-world-fields{top:83px;left:12px}.farm-v5 .farm-world-fields summary{padding:8px 10px;font-size:9px}.farm-v5 .farm-world-actions{top:83px;right:12px;gap:6px}#points-page .farm-v5 .farm-world-actions button{min-height:34px;padding:8px 10px;font-size:9px}
 #points-page .farm-v5 .farm-world-dock{bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:4px;gap:0;border-radius:15px}#points-page .farm-v5 .farm-world-dock button{flex:1;min-width:0;font-size:9px;padding:8px 2px;gap:5px;flex-direction:column;border-radius:11px}#points-page .farm-v5 .farm-world-dock button>span{font-size:17px}
 .farm-v5 .farm-world-panel{top:auto;bottom:79px;left:12px;right:12px;width:auto;height:55dvh;max-height:calc(100dvh - 163px);border-radius:17px}.farm-v5 .farm-world-panel-body{padding:12px!important}.farm-v5 .farm-inspector{top:auto;bottom:79px;left:12px;right:12px;width:auto;max-height:42dvh;border-radius:17px}
 .farm-v5 .farm-pet-profile{grid-template-columns:98px minmax(0,1fr);gap:10px}#points-page .farm-v5 .farm-pet-card .farm-pet-portrait{width:98px}.farm-v5 .farm-pet-profile h3{font-size:16px}.farm-v5 .farm-pet-actions{gap:5px}#points-page .farm-v5 .farm-pet-card button{font-size:9px;padding:8px;min-height:32px}.farm-v5 .farm-pet-description{margin-top:3px}
 .farm-v5 .farm-scene-controls{right:12px;left:auto;bottom:91px;gap:4px}#points-page .farm-v5 .farm-scene-controls button{width:30px;height:30px;border-radius:9px;font-size:15px}.farm-v5 .farm-world-hint{left:13px;bottom:86px;font-size:8px;max-width:130px}.farm-v5 .farm-visit-home{top:128px}
}
@media(orientation:landscape) and (max-height:550px){
 #points-page .farm-v5 .farm-world-top{top:10px;left:13px;right:13px}.farm-v5 .farm-world-title{padding:6px 11px}.farm-v5 .farm-world-title strong{font-size:13px}.farm-v5 .farm-world-title>span{font-size:8px}.farm-v5 .farm-world-balance{padding:6px 11px}.farm-v5 .farm-world-balance b{font-size:16px}.farm-v5 .farm-world-fields{top:66px}.farm-v5 .farm-world-actions{top:66px}
 #points-page .farm-v5 .farm-world-dock{bottom:9px;width:max-content}#points-page .farm-v5 .farm-world-dock button{padding:8px 13px;min-width:57px;font-size:10px;flex-direction:row}.farm-v5 .farm-scene-controls{bottom:69px;right:14px;left:auto;gap:3px}#points-page .farm-v5 .farm-scene-controls button{width:27px;height:27px}.farm-v5 .farm-world-hint{bottom:17px}.farm-v5 .farm-world-panel{left:auto;right:56px;top:66px;bottom:63px;height:auto;max-height:none;width:345px}.farm-v5 .farm-inspector{left:auto;right:56px;top:66px;bottom:63px;max-height:none;width:290px}
}
@media(prefers-reduced-motion:reduce){.farm-v5 button{transition:none!important}}

/* 正文与操作按钮保持可读字号，主操作不依赖小字或精确点击。 */
.farm-v5 .farm-pet-profile p,.farm-v5 .farm-pet-description p{font-size:12px}.farm-v5 .farm-pet-profile h3{font-size:18px}.farm-v5 .farm-pet-care-details summary{font-size:11px}.farm-v5 .farm-section-title h3{font-size:15px;margin-bottom:12px}
#points-page .farm-v5 .farm-pet-card button{font-size:12px;min-height:36px}.farm-v5 .farm-pet-shop>summary{font-size:14px}.farm-v5 .farm-pet-actions{gap:8px}
@media(max-width:700px){.farm-v5 .farm-pet-profile h3{font-size:17px}.farm-v5 .farm-pet-profile p{font-size:11px}#points-page .farm-v5 .farm-world-dock button{font-size:10px}}

@media(orientation:landscape) and (max-height:550px){
 .farm-v5 .farm-world-panel .farm-section-title{display:none}.farm-v5 .farm-pet-profile{grid-template-columns:74px minmax(0,1fr);gap:10px}#points-page .farm-v5 .farm-pet-card .farm-pet-portrait{width:74px}.farm-v5 .farm-pet-profile h3{font-size:15px}.farm-v5 .farm-pet-profile p{font-size:10px;margin:3px 0 5px}#points-page .farm-v5 .farm-pet-card{padding:9px}.farm-v5 .farm-feed-time{padding:5px 8px}.farm-v5 .farm-pet-description{margin-top:2px}.farm-v5 .farm-pet-description p{margin:5px 0;font-size:11px}#points-page .farm-v5 .farm-pet-card button{font-size:11px;min-height:30px;padding:6px 8px}.farm-v5 .farm-pet-care-details{margin-top:7px;padding-top:5px}
}

/* 大厅不是全屏游戏：即使旧游戏延迟回调留下锁定标记，也不能锁住大厅。 */
html:has(#points-page[data-entertainment-view="lobby"]),
html:has(#points-page[data-entertainment-view="points"]),
body:has(#points-page[data-entertainment-view="lobby"]),
body:has(#points-page[data-entertainment-view="points"]){overflow-y:auto;overscroll-behavior-y:auto;touch-action:auto}
#points-page[data-entertainment-view="lobby"]{touch-action:pan-y;min-height:0}
body:has(#points-page[data-entertainment-view="game"] #fishing-section:not([hidden]) .fishing-ocean){overflow:hidden}

/* 以游戏画布自身方向布局，手动旋转时不受手机原始方向影响。 */
html:has(#points-page .fishing-ocean),body:has(#points-page .fishing-ocean){overflow:hidden;overscroll-behavior:none}
#points-page .fishing-ocean{position:fixed;inset:auto;top:50%;left:50%;z-index:125;max-width:none;margin:0;padding:0;display:block;border:0;border-radius:0;background:#083d50;box-shadow:none;overflow:hidden;box-sizing:border-box;transform-origin:center;--ocean-gap:16px}
#points-page .fishing-ocean *{box-sizing:border-box}
#points-page .fishing-ocean button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border-radius:9px;font-size:12px;line-height:1.2;white-space:nowrap;touch-action:manipulation;cursor:pointer;background:#174b59;border:1px solid #c8e2d93b;color:#eef4e3}
#points-page .fishing-ocean button:focus-visible{outline:3px solid #ecdb9b;outline-offset:2px}
#points-page .fishing-ocean .fishing-stage{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:none}
#points-page .fishing-ocean canvas{width:100%;height:100%;aspect-ratio:auto;display:block;touch-action:none}
#points-page .fishing-ocean .fishing-heading{position:absolute;z-index:5;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;margin:0;color:#eff6e9;pointer-events:none}
#points-page .fishing-ocean .fishing-heading h2{font-size:16px;margin:0;letter-spacing:1px;flex:1;text-shadow:0 2px 6px #163947}
#points-page .fishing-ocean .fishing-heading [data-f-render]{background:#294f40;color:#eee5b7;border-color:#a6bb8155}
@media(max-width:360px){#points-page .fishing-ocean[data-layout=portrait] .fishing-heading h2{display:none}}
#points-page .fishing-ocean .fishing-heading button,#points-page .fishing-ocean .fishing-orientation{pointer-events:auto;flex:none}
#points-page .fishing-ocean .ocean-back{width:58px;font-size:12px;background:#0b3449e6}
#points-page .fishing-orientation{display:flex;align-items:center;gap:3px;background:#dfe9df;border-radius:12px;padding:3px;width:max-content}
#points-page .fishing-orientation button{min-width:44px;min-height:44px;padding:8px 10px;border:0;border-radius:9px;color:#557069;background:transparent;font-size:12px;line-height:1.2}
#points-page .fishing-orientation button[aria-pressed=true]{color:#274a46;background:#edd9a9;box-shadow:0 2px 6px #092d3020}
#points-page .fishing-ocean .fishing-orientation{background:#0b3449e6;padding:0;gap:3px}
#points-page .fishing-ocean .fishing-orientation button{color:#cee1d6;min-width:36px;min-height:34px;padding:6px 8px;font-size:11px}
#points-page .fishing-ocean .fishing-orientation button[aria-pressed=true]{color:#274a46}
#points-page .fishing-ocean .fishing-topbar{position:absolute;z-index:2;top:56px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:none;padding:0;color:#e5f2ec;pointer-events:none}
#points-page .fishing-ocean .fishing-score,#points-page .fishing-ocean .fishing-timer{display:flex;align-items:center;gap:6px;min-width:0;padding:6px 9px;border:1px solid #c6e2d736;border-radius:9px;background:#0a3448d9}
#points-page .fishing-ocean .fishing-score span,#points-page .fishing-ocean .fishing-timer small{font-size:10px;color:#bbd8d4}
#points-page .fishing-ocean .fishing-score strong,#points-page .fishing-ocean .fishing-timer b{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;color:#f1e6b8;line-height:1.2}
#points-page .fishing-ocean .fishing-zone{font-size:10px;margin:0;padding:5px 9px;letter-spacing:1px;border:1px solid #adcac150;border-radius:8px;background:#0a3448c9;color:#deefe5}
#points-page .fishing-ocean .fishing-console{position:absolute;z-index:3;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(338px,calc(100% - 20px));padding:9px;border:1px solid #afc9bd80;border-radius:14px;background:#123e4cf5;box-shadow:0 10px 34px #03222c50;color:#dce9e2}
#points-page .fishing-ocean .fishing-records{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px;font-size:10px;color:#b3cbc7}
#points-page .fishing-ocean .fishing-records b{color:#e6d8a9;font-weight:600}
#points-page .fishing-ocean .fishing-bottom{position:static;display:grid;grid-template-columns:minmax(0,1fr) 80px;align-items:center;gap:8px;padding:0 0 6px;background:none;border:0;min-height:0}
#points-page .fishing-ocean .fishing-powers{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}
#points-page .fishing-ocean .fishing-powers>span{min-width:38px;text-align:center}
#points-page .fishing-ocean .fishing-powers>span>b{font-size:20px;line-height:1;color:#f4e9c3;font-weight:600}
#points-page .fishing-ocean .fishing-powers small{display:block;margin:2px 0 0;color:#abc9c2;font-size:9px;line-height:1.2}
#points-page .fishing-ocean .fishing-powers button{width:34px;height:34px;flex:0 0 34px;padding:0;border:1px solid #e5d8b3;background:#ded0a8;color:#355754;font-size:21px;font-weight:400}
#points-page .fishing-ocean [data-f-auto]{width:100%;min-height:34px;background:#548783;border:1px solid #93b7a5;color:#f3f4df;font-size:11px;padding:6px}
#points-page .fishing-ocean [data-f-auto][aria-pressed=true]{background:#d9c99b;color:#344f4c}
#points-page .fishing-ocean .fishing-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 48px 58px;align-items:center;gap:6px;padding:6px 0 0;margin:0;border-top:1px solid #bdd6c629;background:none;height:auto}
#points-page .fishing-ocean .fishing-toolbar>*{grid-column:auto;grid-row:auto}
#points-page .fishing-ocean .fishing-toolbar>span{font-size:10px;color:#bdd3c6}
#points-page .fishing-ocean .fishing-toolbar button{min-height:32px;padding:6px;font-size:11px;border-radius:8px}
#points-page .fishing-ocean .fishing-overlay{position:absolute;z-index:4;inset:auto;top:40%;left:50%;transform:translate(-50%,-50%);width:min(310px,calc(100% - 48px));height:auto;padding:24px;background:#0a3549ed;border:1px solid #cde2ce60;border-radius:22px;display:flex;flex-direction:column;align-items:center;text-align:center}
#points-page .fishing-ocean .fishing-overlay[hidden]{display:none}
#points-page .fishing-ocean .fishing-overlay>small{font-size:11px;letter-spacing:4px;color:#b3d5ca}
#points-page .fishing-ocean .fishing-overlay h3{font-size:25px;color:#f5e7bb;margin:12px 0;line-height:1.3}
#points-page .fishing-ocean .fishing-overlay p{font-size:13px;line-height:1.8;color:#c0dad1;margin:0}
#points-page .fishing-ocean .fishing-status{position:absolute;z-index:4;top:100px;left:16px;right:16px;width:fit-content;max-width:calc(100% - 32px);margin:auto;padding:10px 14px;background:#0b3449ec;border-radius:10px;color:#f3e3b8;font-size:12px;line-height:1.6;pointer-events:none}
#points-page .fishing-ocean .fishing-status:empty{display:none}
#points-page .fishing-ocean[data-layout=portrait] .fishing-heading h2{display:none}
#points-page .fishing-ocean[data-layout=portrait] .fishing-zone{display:none}
#points-page .fishing-ocean[data-layout=portrait] .fishing-score,#points-page .fishing-ocean[data-layout=portrait] .fishing-timer{gap:6px;padding:6px 8px}
#points-page .fishing-ocean[data-layout=portrait] .fishing-score strong,#points-page .fishing-ocean[data-layout=portrait] .fishing-timer b{font-size:18px}
/* 手机横屏将全部操作放在同一行，上方只保留一行本局统计。 */
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] button{min-height:32px;padding:5px 8px;font-size:11px;border-radius:8px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-heading{top:max(8px,env(safe-area-inset-top));height:32px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-topbar{top:48px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-score,#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-timer{padding:5px 8px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-score strong,#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-timer b{font-size:17px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-console{bottom:max(8px,env(safe-area-inset-bottom));left:auto;right:max(10px,env(safe-area-inset-right));transform:none;width:300px;max-width:calc(100% - 20px);padding:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;border-radius:12px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-records{grid-column:1/-1;margin:0;line-height:1.2}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-bottom{grid-column:1;grid-row:2;display:flex;gap:6px;padding:0}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-powers{gap:4px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-powers button{width:32px;height:32px;flex-basis:32px;padding:0;font-size:20px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-powers>span{min-width:30px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-powers>span>b{font-size:18px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] [data-f-auto]{width:68px;flex:0 0 68px;padding:5px 4px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-toolbar{grid-column:2;grid-row:2;display:flex;gap:4px;padding:0;border:0}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-toolbar>span{display:none}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-toolbar button{padding:5px 4px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] [data-f-pause]{width:40px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] [data-f-sound]{width:48px}
#points-page .fishing-ocean[data-layout=landscape][data-compact=true] .fishing-status{top:90px;left:12px;right:auto;max-width:calc(100% - 324px);font-size:11px}

body:has(#fishing-section:not([hidden]) .fishing-lobby){overflow-y:auto;overscroll-behavior-y:auto;touch-action:auto}
#points-page:has(#fishing-section:not([hidden]))>.entertainment-hero,
#points-page:has(#fishing-section:not([hidden]))>#points-body>.points-entry-card,
#points-page:has(#fishing-section:not([hidden]))>#points-body>.points-notice,
#fishing-section>.game-section-heading{display:none}
.fishing-lobby{--sea-ink:#23454b;--sea-muted:#6c8282;color:var(--sea-ink);padding-bottom:24px;touch-action:pan-y}
.fishing-lobby-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;color:var(--sea-muted);font-size:12px}
#points-page .fishing-lobby-nav button{background:#eaf0ec;border:1px solid #d7e2da;color:#47655f;border-radius:10px;min-height:44px;padding:10px 14px;font-size:13px}
.fishing-lobby-hero{position:relative;isolation:isolate;overflow:hidden;min-height:330px;display:flex;align-items:center;padding:36px 40px;border-radius:25px;background:#0c5361 url('/assets/fishing/reef-natural-v2.png') center 55%/cover;color:#f4f2de}
.fishing-lobby-hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#072f40f0 0%,#073e49bb 42%,#0b53682b 100%)}
.fishing-lobby-eyebrow{font-size:11px;letter-spacing:3px;color:#aed3c8}
.fishing-lobby-copy h1{font-size:42px;letter-spacing:3px;font-weight:650;color:#f6ebc8;margin:14px 0 12px;line-height:1.2}
.fishing-lobby-copy>p{font-size:14px;line-height:1.9;color:#d0e3da;margin:0 0 18px}
.fishing-lobby-tags{display:flex;gap:8px;margin-bottom:22px}
.fishing-lobby-tags span{font-size:11px;padding:6px 10px;border:1px solid #bbd6c555;border-radius:7px;background:#cde9d510;color:#d4e9d9}
#points-page .fishing-lobby .fishing-start{display:flex;align-items:center;justify-content:space-between;gap:40px;min-height:50px;width:205px;border-radius:13px;padding:14px 20px;font-size:16px;font-weight:600;border:1px solid #f5dfaf;background:#ead5a5;color:#34534b;box-shadow:0 5px 20px #00233225}
.fishing-lobby-copy>small{display:block;margin-top:11px;font-size:11px;color:#b2cec5}
.fishing-lobby-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0 26px;border:1px solid #dce7de;background:#fffef8;border-radius:18px;padding:22px 0}
.fishing-lobby-stats>div{padding:0 24px;display:flex;flex-direction:column;gap:8px;border-right:1px solid #e4e9dc}
.fishing-lobby-stats>div:last-child{border:0}
.fishing-lobby-stats span{font-size:12px;color:#728781}
.fishing-lobby-stats strong{font-size:27px;line-height:1.2;font-variant-numeric:tabular-nums;font-weight:650}
.fishing-lobby-stats strong small{font-size:11px;font-weight:400;color:#8b9c91;margin-left:7px}
.fishing-lobby-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.fishing-lobby-card{border:1px solid #dce5da;background:#fffef9;border-radius:20px;padding:25px;min-width:0}
.fishing-lobby-section-title>span{font-size:9px;letter-spacing:2px;color:#8d9c8c}
.fishing-lobby-section-title h2{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:19px;font-weight:600;margin:9px 0 22px;color:#31544f}
.fishing-lobby-section-title h2 small{font-size:10px;font-weight:400;color:#8a9a8d}
.fishing-rules{margin:0;padding:0;list-style:none;counter-reset:fish-rules}
.fishing-rules li{position:relative;padding:0 0 18px 33px;counter-increment:fish-rules}
.fishing-rules li::before{content:counter(fish-rules);position:absolute;top:0;left:0;display:grid;place-items:center;width:23px;height:23px;font-size:11px;background:#edf1e8;color:#6b8770;border-radius:7px}
.fishing-rules b{font-size:13px;font-weight:600}
.fishing-rules p{font-size:12px;line-height:1.9;color:#7a8c80;margin:6px 0 0}
.fishing-points-explain{font-size:12px;line-height:1.9;margin:0;background:#f0f3e9;border:1px solid #e2e8d9;border-radius:12px;padding:13px 15px;color:#638069}
.fishing-history-list{list-style:none;padding:0;margin:0;max-height:460px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.fishing-history-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e8ecdf}
.fishing-history-list li:first-child{padding-top:0}
.fishing-history-list li:last-child{border-bottom:0}
.fishing-history-list li>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.fishing-history-list li>div:last-child{text-align:right}
.fishing-history-list strong{font-size:22px;font-weight:600;color:#365e55;font-variant-numeric:tabular-nums}
.fishing-history-list strong small{font-size:11px;font-weight:400;color:#86947d}
.fishing-history-list b{font-size:13px;font-weight:500}
.fishing-history-list span{font-size:11px;color:#92a08e}
.fishing-history-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 8px 40px;min-height:200px;text-align:center}
.fishing-history-empty>span{font-size:32px;color:#94b1a4;margin-bottom:18px}
.fishing-history-empty strong{font-size:14px;font-weight:500;color:#668578}
.fishing-history-empty p{font-size:12px;line-height:1.8;color:#95a28d;margin:10px 0}
.fishing-history-note{padding-top:14px;border-top:1px solid #e6ebdf;color:#91a18d;font-size:10px;margin:12px 0 0;line-height:1.7}
#points-page .fishing-ocean .fishing-overlay [data-f-back-lobby]{margin-top:10px;background:transparent;box-shadow:none;color:#c7dfd2;border-color:#92b3a46b;font-size:13px}
@media(max-width:700px){
 .fishing-lobby-nav{font-size:11px;margin-bottom:12px}
 .fishing-lobby-hero{min-height:320px;padding:28px 24px;border-radius:20px;background-position:58% center}
 .fishing-lobby-hero::before{background:linear-gradient(90deg,#073544eb,#073e498c)}
 .fishing-lobby-copy h1{font-size:36px}
 .fishing-lobby-copy>p{font-size:13px}
 .fishing-lobby-stats{margin:14px 0 18px;padding:18px 0;border-radius:15px}
 .fishing-lobby-stats>div{padding:0 12px}
 .fishing-lobby-stats span{font-size:10px}
 .fishing-lobby-stats strong{font-size:22px}
 .fishing-lobby-stats strong small{font-size:10px;margin-left:3px}
 .fishing-lobby-columns{grid-template-columns:minmax(0,1fr);gap:16px}
 .fishing-lobby-card{padding:20px;border-radius:17px}
 .fishing-history-list{max-height:none;overflow:visible}
 .fishing-lobby-section-title h2{font-size:18px;margin-bottom:18px}
}

/* 大厅先选择玩法，积分与方向都在进入游戏前可见。 */
.fishing-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:470px;margin:22px 0 14px}
#points-page .fishing-mode-choices button{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;min-height:88px;padding:18px 20px;background:#e8d3a2;color:#304f47;border:1px solid #f4e4bb;border-radius:14px;text-align:left}
#points-page .fishing-mode-choices button:first-child{background:#163f4edb;border-color:#a9c8bc80;color:#e8edda}
.fishing-mode-choices strong{display:flex;justify-content:space-between;font-size:20px;font-weight:600;gap:40px}
.fishing-mode-choices small{font-size:11px;opacity:.85}
.fishing-lobby-options{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:18px 0 24px;padding:18px 22px;border:1px solid #dce7de;background:#fffef8;border-radius:16px}
.fishing-lobby-options>div{display:flex;flex-direction:column;gap:8px}.fishing-lobby-options>div>span{color:#728781;font-size:11px}.fishing-lobby-options strong{font-size:25px;font-variant-numeric:tabular-nums}
.fishing-daily{grid-column:1/-1}.fishing-daily[hidden]{display:none}.fishing-daily h2{font-size:17px;margin:0 0 15px}.fishing-daily h2 small{font-size:11px;font-weight:400}.fishing-daily p{font-size:13px;line-height:1.8}
@media(max-width:480px){.fishing-mode-choices{gap:9px}#points-page .fishing-mode-choices button{padding:15px 13px}.fishing-mode-choices strong{gap:30px}.fishing-mode-choices small{font-size:10px}.fishing-lobby-options{padding:14px 12px;gap:10px}.fishing-lobby-options strong{font-size:21px}#points-page .fishing-lobby .fishing-orientation button{min-width:42px;padding:8px}}
