#panel[data-page="fishHouse"]{width:min(94vw,900px);max-height:92dvh}
#panel[data-page="fishHouse"] #content{padding:0;overflow:auto}
.fh-panel{display:grid;grid-template-columns:1.24fr 1fr;color:#4c594c;background:#fff1d8;min-height:215px}
.fh-water{position:relative;isolation:isolate;min-width:0;min-height:215px;overflow:hidden;background:radial-gradient(ellipse at 18% 0%,#e1edcf,transparent 56%),linear-gradient(160deg,#a7c5b4 0%,#bbd1bd 48%,#c6ba93 80%,#bcab85);border-right:2px solid #bb9f75}
.fh-water:before{content:"";position:absolute;bottom:0;left:-20%;width:140%;height:24%;transform:skewY(-3deg);background:linear-gradient(#b29b73,#cebc96);opacity:.6}
#fish-house-view{position:absolute;inset:0 2px 12px;min-width:0}
#fish-house-view canvas{display:block;width:100%;height:100%}
.fh-caption{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);max-width:95%;display:flex;align-items:center;gap:7px;white-space:nowrap;padding:3px 12px;background:#f9f0d6ed;border:1px solid #cab48b;border-radius:10px;color:#4c6356;line-height:1.2}
.fh-caption span{font-weight:750;max-width:12em;text-overflow:ellipsis;overflow:hidden}.fh-caption small,.fh-book small{color:#6b7565;font-size:.79em}
.fh-book{display:flex;flex-direction:column;min-width:0;gap:10px;padding:12px 14px;background:linear-gradient(120deg,#fff3dc,#f8ead0)}
.fh-book button{appearance:none;margin:0;max-width:none;min-height:36px;border:1px solid #bfab86;border-radius:8px;background:#fcf4df;color:#455e51;font:inherit;font-weight:700;cursor:pointer;box-shadow:none}
.fh-book button:disabled{opacity:.52}.fh-book button.primary{background:#507760;color:white;border-color:#40684f;padding:6px 13px}
.fh-tabs,.fh-editor>div,.fh-record span{display:flex;gap:5px;align-items:center}
.fh-tabs{border-bottom:1px solid #dbc9a7;padding-bottom:6px}.fh-tabs button{min-width:0;flex:1 1 auto}.fh-tabs button small{margin-left:4px}
.fh-tabs button[aria-pressed="true"]{background:#dce9d4;border-color:#76977f;color:#375946}
.fh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;align-content:start;flex:1}
.fh-row{display:flex;align-items:center;gap:7px;text-align:left;padding:4px 6px;line-height:1.14;min-width:0}
.fh-row span{display:flex;min-width:0;flex-direction:column;gap:2px}.fh-row b{font-size:.92em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fh-row svg{width:27px;height:27px;flex:0 0 auto}.fh-row[aria-pressed="true"]{border-color:#738e72;background:#e6ebd5}
.fh-action,.fh-record,.fh-editor{border-top:1px solid #d8c9aa;padding-top:8px}
.fh-caption{box-shadow:0 2px 5px #4b5c4540,inset 0 0 0 2px #fff8df;border-radius:25px 25px 10px 10px}
.fh-book{border-left:4px solid #a2b7a2;background:linear-gradient(90deg,#e4ddbd,#fff6df 6%,#f9edd6)}
.fh-list .fh-row{border-radius:13px 6px 13px 6px}
.fh-list .fh-row svg{background:#e3eada;border-radius:50%;padding:2px}
.fh-list .fh-row[aria-pressed=true]{box-shadow:inset 3px 0 #749a87}
.fh-action,.fh-record{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}.fh-action>span{font-size:.84em}.fh-record button{padding:4px 7px}
.fh-editor label{display:block;font-weight:700;margin:0 0 4px}.fh-editor label small{margin-left:5px;font-weight:normal}.fh-editor input{font:inherit;min-width:0;width:0;flex:1;padding:6px;border:1px solid #a59273;border-radius:6px;background:#fffaea;color:#394b40}.fh-editor button{padding:4px 8px}
.fh-empty{display:grid;place-items:center;align-content:center;gap:5px;flex:1;text-align:center}.fh-empty svg{width:42px;height:34px}.fh-empty p{font-size:.89em;margin:0 0 3px}
@media(orientation:landscape) and (max-height:480px){.fh-panel{min-height:min(58dvh,260px)}.fh-water{min-height:200px}.fh-book{padding:8px;gap:6px}.fh-book button{min-height:32px}.fh-row{gap:4px}.fh-action,.fh-record,.fh-editor{padding-top:5px}}
@media(max-width:580px) and (orientation:portrait){.fh-panel{grid-template-columns:1fr}.fh-water{height:clamp(180px,28dvh,250px);border-right:0;border-bottom:2px solid #bb9f75}.fh-book{padding:12px}.fh-book button{min-height:40px}}
