#estate-fishing{position:absolute;inset:0;pointer-events:none;color:#f4e8c6;font-size:11px;line-height:1.4}
#estate-fishing button{pointer-events:auto;border:1px solid #bcb98d99;background:#193d32ee;color:#f4e8c6;min-height:44px;padding:8px 10px}
#estate-fishing button:disabled,#estate-dialog button:disabled{opacity:.45;cursor:default}
.estate-methods{position:absolute;top:72px;left:16px;right:16px;display:flex;background:#193d32ee;border:1px solid #bcb98d88}
#estate-fishing .estate-methods button{flex:1;min-width:0;min-height:34px;border:0;background:transparent;font-size:11px;font-weight:bold}
#estate-fishing .estate-methods button[aria-pressed=true]{background:#dbc58a;color:#304c36}
.estate-status,.estate-fight{position:absolute;top:119px;left:16px;right:16px;background:#19392ff0;border:1px solid #bcb98d88;padding:10px 12px;box-shadow:0 3px 0 #1c322666}
.estate-status strong{display:block;font:18px/1.2 Georgia,serif}.estate-status span{display:block;margin-top:4px;font-size:10px;color:#e1dfba}
.estate-fight{display:grid;grid-template-columns:1fr 100px;gap:8px 12px;pointer-events:none}.estate-fight>div{display:flex;gap:5px;align-items:baseline}.estate-fight strong{font:27px Georgia,serif}.estate-fight small{font-size:7px;white-space:nowrap}.estate-fight label{display:block;font-size:8px;letter-spacing:1px}.estate-fight meter{display:block;width:100%;height:10px;margin-top:5px;accent-color:#b4c486}.estate-tension{grid-column:1/-1}.estate-tension>span{float:right}.tension-track{position:relative;height:10px;margin-top:5px;border:1px solid #dfd9aa;background:linear-gradient(90deg,#c4a05a 0 15%,#729562 15% 75%,#c4a05a 75% 89%,#b75841 89%)}.tension-track i{position:absolute;top:-4px;height:16px;width:3px;background:#f8edc7;transform:translateX(-50%)}.estate-fight p{grid-column:1/-1;margin:0;font-size:10px;min-height:14px}
.estate-loadout{position:absolute;bottom:140px;left:16px;right:16px;display:flex;gap:8px;justify-content:center;align-items:center}
#estate-fishing .estate-stock-button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-width:116px;height:65px;padding:4px 8px 16px;border-color:#c0b582}
#game .estate-stock-button canvas,#game #estate-dialog canvas{position:static;inset:auto;z-index:auto;object-fit:contain;image-rendering:pixelated}
#game .estate-stock-button canvas{width:42px;height:42px}.estate-stock-button span{font-size:17px;font-weight:bold}.estate-stock-button small{position:absolute;bottom:5px;left:3px;right:3px;text-align:center;font-size:7px;letter-spacing:.5px}.no-feed{display:block;font:35px Georgia,serif}
#estate-fishing #estate-feed-swim{width:44px;padding:8px}#estate-feed-swim svg{width:26px;height:26px;stroke:#e0cf91;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}#estate-feed-swim.is-fed{background:#57663e}
.estate-cast-wrap{position:absolute;bottom:47px;left:50%;transform:translateX(-50%);width:220px;text-align:center;pointer-events:auto}
#estate-fishing #estate-cast{width:100%;background:#385f40f2;min-height:48px;font-weight:bold;font-size:11px;letter-spacing:.6px;touch-action:none;user-select:none}
.estate-cast-power{height:4px;margin-top:4px;background:#17352ce8}.estate-cast-power i{display:block;height:100%;width:0;background:#e2c67b}.estate-cast-wrap small{display:block;font-size:8px;text-shadow:0 1px 3px #071c12;margin-top:5px}
.estate-rig-status{position:absolute;bottom:222px;left:16px;right:16px;display:flex;gap:6px}.estate-rig-status>span{flex:1;min-width:0;padding:5px 7px;background:#18392ee8;border:1px solid #b5ae7880;font-size:9px}.estate-rig-status b{display:inline-block;color:#f1d28c;margin-right:3px}.estate-rig-status .taking{border-color:#f0c772;background:#526342}
#estate-fishing .estate-reset,#estate-fishing .estate-gear-open{position:absolute;right:16px;bottom:10px;min-height:30px;font-size:9px;padding:5px 10px}.estate-gear-open{left:16px;right:auto!important}
#estate-fishing #estate-rod-hits button{position:absolute;background:transparent;border:0;box-shadow:none;z-index:1;touch-action:manipulation}
#estate-fishing .estate-strike{position:absolute;bottom:calc(var(--estate-reel,240px) + 80px);left:50%;transform:translateX(-50%);min-width:140px;background:#be9c50;color:#233e2c;font-weight:bold;z-index:3}
.estate-winding{position:absolute;bottom:43px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:auto;width:100%}
.estate-reel{position:relative;margin:auto;touch-action:none;user-select:none;isolation:isolate}
#game .estate-reel canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
#estate-fishing #estate-wind-hold{position:relative;min-height:35px;margin-top:3px;padding:6px 10px;font-size:9px;touch-action:none;user-select:none}
#estate-dialog{color-scheme:light;color:#354b33;background:#f3e6c3;border:3px solid #88633e;box-shadow:0 0 0 1px #d5c08a,0 18px 50px #0006;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 38px);padding:16px;font-size:12px;line-height:1.5}
#estate-dialog::backdrop{background:#071b15a8}#estate-dialog button{min-height:44px;border:1px solid #9a9b72;background:#3f6343;color:#fff1ca;padding:7px 10px;font-size:11px;font-weight:bold}
.estate-dialog-head{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #b8aa7b;padding-bottom:10px}.estate-dialog-head h2{font:27px/1.1 Georgia,serif;margin:0}.estate-dialog-head button{font-size:24px!important;background:transparent!important;color:#47583c!important;width:44px;padding:0!important}
#estate-dialog-message{color:#6a4e25;margin:8px 0;font-size:11px}#estate-dialog-message:empty{display:none}
.estate-balance{display:flex;justify-content:space-between;font-weight:bold;color:#46573b}.estate-balance span{font-size:10px;font-weight:normal}.estate-carried{padding:8px;background:#e4d7af;font-size:11px}
.estate-shop-tabs{display:flex;gap:6px;position:sticky;top:-16px;z-index:2;background:#f3e6c3;padding:8px 0}.estate-shop-tabs button{flex:1;background:#e1d4ab!important;color:#40583a!important}.estate-shop-tabs button[aria-pressed=true]{background:#3f6343!important;color:#f5e7bf!important}
.estate-shop-list{display:grid}.estate-shop-list article{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;border-bottom:1px solid #bbae83;padding:12px 0;align-items:center}#game #estate-dialog .estate-shop-list canvas{width:84px;height:84px}.estate-shop-list h3{font-size:15px;margin:0 0 4px}.estate-shop-list p{font-size:11px;margin:0 0 4px}.estate-shop-list small{display:block;font-size:10px;color:#6a6c4a}.estate-shop-list button{margin-top:7px;min-width:130px}
.estate-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.estate-picker button{display:grid;grid-template-columns:1fr auto;align-items:center;background:#e5d9b3!important;color:#3d5437!important;padding:8px!important}.estate-picker button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #446846;background:#d2d4a4!important}#game #estate-dialog .estate-picker canvas{grid-column:1/-1;justify-self:center;width:70px;height:70px}.estate-picker b{font-size:12px;text-align:left}.estate-picker span{font-size:15px}.estate-picker small{grid-column:1/-1;font-size:8px;letter-spacing:1px;text-align:left;margin-top:4px}.estate-picker .no-feed{grid-column:1/-1;font-size:45px;height:70px}
.estate-wide{width:100%;margin:12px 0 0}.estate-help-link{width:100%;margin-top:16px;background:transparent!important;color:#50613d!important;font-size:10px!important;min-height:38px!important}.estate-test-row{display:flex;gap:6px;margin-top:10px}.estate-test-row button{flex:1}.estate-practice-note{font-size:10px;color:#717455}.estate-catch-name{text-align:center;font:28px Georgia,serif;margin:18px 0 0}#game #estate-dialog #estate-catch-fish{display:block;width:100%;height:auto;aspect-ratio:2;margin:0 auto}.estate-catch-size{display:flex;justify-content:space-around;text-align:center}.estate-catch-size strong{font:32px Georgia,serif}.estate-catch-size small{display:block;font:9px 'Trebuchet MS',sans-serif;letter-spacing:1px;margin-top:3px}
@media(max-width:350px){.estate-loadout{gap:5px;left:10px;right:10px}#estate-fishing .estate-stock-button{min-width:106px;padding-left:5px;padding-right:5px}.estate-methods,.estate-status,.estate-fight{left:10px;right:10px}.phone.is-peg .hud strong{font-size:13px}.estate-fight{grid-template-columns:1fr 85px}}
@media(max-height:650px){.estate-loadout{bottom:124px}.estate-rig-status{bottom:203px}.estate-cast-wrap{bottom:43px}.estate-status{padding:8px 10px}.estate-status strong{font-size:17px}.estate-status span{font-size:9px}.estate-fight{gap:4px 10px;padding:8px 10px}.estate-fight p{font-size:9px}.estate-fight strong{font-size:23px}}

#estate-fishing .estate-controls-open{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:32px;min-height:32px;padding:3px;font:18px Georgia,serif}
.estate-art{display:inline-block;position:relative;flex-shrink:0;width:84px;height:84px}.estate-art svg{position:absolute;right:0;bottom:0;width:28px;height:28px;filter:drop-shadow(0 1px 1px #17392f66);shape-rendering:crispEdges}.estate-stock-button .estate-art{width:42px;height:42px}.estate-stock-button .estate-art svg{width:20px;height:20px;right:-2px;bottom:-2px}.estate-picker .estate-art{grid-column:1/-1;justify-self:center;width:70px;height:70px}
.estate-model-list article{border-bottom:1px solid #b8aa7b;text-align:center;padding:12px 0}#game #estate-dialog .estate-model-list canvas{display:block;width:100%;height:auto;aspect-ratio:2;position:static}.estate-model-list b,.estate-model-list small{display:block}.estate-model-list b{font:20px Georgia,serif}.estate-model-list small{font-size:11px;color:#6a704b}.estate-specimen-label{display:flex;justify-content:center;align-items:center;gap:5px;font-weight:bold}.estate-specimen-label svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}


/* The shared game shell owns navigation, instructions, controls and settings. */
#game #estate-fishing{z-index:3}
#estate-fishing.estate-native .estate-methods,#estate-fishing.estate-native .estate-reset,#estate-fishing.estate-native .estate-gear-open,#estate-fishing.estate-native .estate-controls-open,#estate-fishing.estate-native .estate-rig-status{display:none!important}
#estate-fishing.estate-native .estate-status{top:calc(env(safe-area-inset-top,0px) + 94px);padding:8px 12px;text-align:center;width:fit-content;max-width:calc(100% - 32px);margin:auto;font-size:11px}
#estate-fishing.estate-native .estate-status strong{font:inherit;font-weight:bold}
#estate-fishing.estate-native .estate-status span{font-size:10px}
#estate-fishing.estate-native .estate-fight{top:calc(env(safe-area-inset-top,0px) + 94px)}
#estate-fishing.estate-native .estate-loadout{bottom:calc(env(safe-area-inset-bottom,0px) + 135px)}
#estate-fishing.estate-native[data-controls=motion] .estate-cast-wrap{display:none}
#estate-fishing.estate-native[data-controls=motion] .estate-loadout{bottom:calc(env(safe-area-inset-bottom,0px) + 28px)}
#estate-fishing.estate-native .estate-cast-wrap{bottom:calc(env(safe-area-inset-bottom,0px) + 40px)}
#estate-fishing.estate-native .estate-winding{bottom:calc(env(safe-area-inset-bottom,0px) + 22px)}
#estate-fishing.estate-native .estate-strike{bottom:calc(var(--estate-reel,240px) + 65px);z-index:5}
#estate-fishing.estate-native .estate-stock-button{min-width:100px;height:64px}
#game:has(#estate-dialog[open]) .casting-tools{pointer-events:none}
#game:has(#settings[open]) #estate-fishing button{pointer-events:none}
#estate-dialog.estate-native-dialog{font-size:14px;width:min(520px,calc(100vw - 24px));padding:20px;max-height:calc(100dvh - 36px)}
#estate-dialog.estate-native-dialog button{font-size:13px}
#estate-dialog.estate-native-dialog .estate-help-link{display:none}
@media(orientation:landscape){#estate-fishing.estate-native .estate-fight{right:52%;top:88px}#estate-fishing.estate-native .estate-winding{width:46%;left:75%;bottom:20px}#estate-fishing.estate-native .estate-strike{left:75%;bottom:calc(var(--estate-reel,150px) + 65px)}}
.estate-cast-distance{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 28px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:8px 14px;pointer-events:none;white-space:nowrap}
.estate-cast-distance>small{font-size:10px;font-weight:bold;letter-spacing:1px;color:#e9dca7}

#estate-dialog.estate-native-dialog .estate-catch-release{background:transparent;color:var(--ink,#263c31);border:0;box-shadow:none;text-decoration:underline;min-height:40px;margin-top:8px}
.estate-fight.present-retrieve{grid-template-columns:1fr}
.estate-fight.present-retrieve>label{display:none}
