:root { color-scheme: dark; --gold: #ddc181; --border: #29453b; --muted: #9fb2a8; --panel: #102a22; }
.support-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 16px; color: #f4ce76; background: #17392f; border: 1px solid #ddc181; border-radius: 8px; }
.room-players details { display: inline-block; margin-left: 8px; }
.room-players details button { float: none; display: block; }
.support-detail { border-top: 1px solid #365247; white-space: pre-wrap; }
body { display: block; overflow: auto; background: #071b16; color: #e4ebe3; font: 13px/1.45 'Segoe UI', Arial, sans-serif; }
button, select { font: inherit; }
.game-layout * { box-sizing: border-box; }
.game-layout { min-height: 100dvh; background: radial-gradient(ellipse at 50% 0, #173a2c77, transparent 65%); }
.game-layout button { cursor: pointer; border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; color: #dae5dd; background: #19392f; transition: background .15s, border-color .15s; }
.game-layout button:hover { background: #284d3e; border-color: #788665; }
.game-layout :is(button, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.game-layout button:disabled { opacity: .45; cursor: default; }
.game-layout .gold { color: #263324; background: linear-gradient(135deg, #efdaa0, #b99650); border-color: #e2c17c; box-shadow: inset 0 1px #fff4, 0 4px 16px #0003; }
.game-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.game-loading { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: #081b17; color: var(--gold); text-align: center; }
.game-loading[hidden] { display: none; }
.game-loading div { max-width: 440px; padding: 24px; }
.game-loading p { color: var(--muted); line-height: 1.5; }
.game-topbar { display: flex; align-items: center; gap: 20px; min-height: 68px; padding: 10px 20px; border-bottom: 1px solid #b79c5140; background: linear-gradient(90deg, #0b211cf5, #102e24ee, #081b17); }
.game-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.game-brand-mark { color: var(--gold); display: grid; place-items: center; width: 52px; height: 43px; border: 1px solid #b79c5155; border-radius: 50% 50% 35% 35%; }
.game-brand-mark .game-icon { width: 40px; height: 32px; }
.game-brand strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: .7px; }
.game-brand strong span { font-weight: 300; color: #c3cfc5; }
.game-brand small { color: var(--muted); font-size: 8px; letter-spacing: .5px; }
.game-nav { display: flex; align-items: center; flex: 1; gap: 3px; }
.game-nav button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; white-space: nowrap; border-color: transparent; background: transparent; padding: 10px; font-size: 12px; }
.game-profile-slot .profile-card { position: static !important; width: 114px !important; height: 40px !important; font-size: 12px !important; white-space: nowrap; padding: 8px 12px; color: var(--gold); background: #bba66312; border: 1px solid #bba66333; display: block; }
.game-audio-slot { margin-left: auto; }
.game-audio-slot .audio-settings { position: relative !important; left: auto !important; top: auto !important; }
.game-audio-slot summary { display: flex; align-items: center; gap: 6px; padding: 9px; background: transparent; }
.game-audio-slot .audio-settings > div { z-index: 12; top: 42px; }
.game-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; padding: 12px 16px; max-width: 1920px; margin: auto; }
.game-main { min-width: 0; }
.game-wallet { color: var(--gold); font-size: 22px; white-space: nowrap; }
.game-water-view { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); }
/* Preserve the existing 1280x720 input coordinates while showing only the water scene. */
#game { position: relative; width: 100%; height: clamp(260px, calc(100dvh - 510px), 520px); overflow: hidden; }
#game canvas { display: block; width: 137.634409% !important; height: 156.521739% !important; margin: 0 !important; position: absolute; top: 0; left: -2.150538%; transform: translateY(-13.194444%); }
.game-spot { position: absolute; top: 12px; left: 14px; right: 14px; border-radius: 7px; padding: 9px 14px; background: #d8e3cfdb; color: #19392e; pointer-events: none; font-size: 13px; }
.game-zones { position: absolute; inset: 0; pointer-events: none; }
.game-zone { position: absolute; left: 18px; right: 18px; color: #f1f6e9; text-shadow: 0 1px 3px #000; border-top: 1px solid #d1e6d333; padding-top: 5px; font-size: 12px; }
.game-status { padding: 12px 4px; min-height: 46px; color: var(--gold); }
.game-controls { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 18px; padding: 18px; }
.game-control-section { min-width: 0; overflow-wrap: anywhere; }
.game-control-section + .game-control-section { border-left: 1px solid var(--border); padding-left: 18px; }
.game-control-section h2 { font-size: 15px; margin-bottom: 12px; }
.game-kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.game-kit > div, .game-kit-card { text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 10px 5px; font-size: 12px; }
.game-kit b { display: block; color: var(--gold); font-size: 24px; font-weight: normal; }
.game-kit span { display: block; }
.game-kit strong { font-weight: normal; color: var(--muted); font-size: 11px; }
.game-kit span { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.game-drag { display: flex; gap: 4px; margin: 8px 0; flex-wrap: wrap; }
.game-drag button { padding: 5px 8px; font-size: 12px; }
.game-drag button[aria-pressed=true] { background: #9e813e; color: #fff; }
.game-meter { display: grid; grid-template-columns: 90px 1fr 30px; gap: 7px; align-items: center; margin: 6px 0; font-size: 11px; }
.game-meter progress { width: 100%; height: 9px; accent-color: var(--gold); }
.game-meter progress[data-level=danger] { accent-color: #ef766c; }
.game-meter [data-meter-label="3"] { white-space: nowrap; font-size: 9px; }
.game-fight-hint { min-height: 2.4em; margin: 4px 0 0; }
.game-control-section .game-subtle { font-size: 11px; margin-top: 8px; }
.game-action { width: 100%; min-height: 88px; font-size: 16px; font-weight: bold; touch-action: none; user-select: none; }
.game-control-section [data-action=sell], .game-control-section [data-action=kit] { display: block; width: 100%; padding: 7px; margin-top: 8px; font-size: 12px; }
.game-sidebar { min-width: 0; }
.game-sidebar > .waterbody-panel { position: static; width: 100%; height: auto; max-height: none; padding: 16px; border-left: 1px solid var(--border); font-size: 13px; }
.game-sidebar .waterbody-panel summary { font-size: 16px; }
.game-sidebar .waterbody-panel h2 { font-size: 14px; }
.game-sidebar .waterbody-panel h3 { border-top: 1px solid var(--border); padding-top: 14px; color: #eaf0e9; }
.game-sidebar .waterbody-panel time { float: left; width: 44px; margin-right: 8px; padding-top: 3px; }
.game-sidebar .waterbody-panel li { padding: 10px 0; }
.game-sidebar .room-events { max-height: 320px; overflow-y: auto; }
@media (max-width: 1150px) { .game-columns { grid-template-columns: minmax(0, 1fr) 270px; padding: 10px; gap: 10px; } .game-controls { grid-template-columns: 1fr 1fr; } .game-control-section:nth-child(3) { border-left: 0; padding-left: 0; } .game-topbar { gap: 12px; padding: 12px; } }
body { overflow: hidden; font-size: 12px; }
.game-layout { height: 100dvh; display: flex; flex-direction: column; }
.game-controls, .game-sidebar > .waterbody-panel { border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(135deg, #133229, #0b231c); }
.game-topbar { padding: 6px 12px; gap: 12px; flex-shrink: 0; }
.game-brand { min-width: 145px; }
.game-brand strong { font-size: 18px; }
.game-brand small { font-size: 8px; }
.game-nav { gap: 3px; flex-wrap: wrap; min-width: 0; }
.game-nav button { padding: 5px 8px; font-size: 12px; }
.game-profile-slot .profile-card { height: 32px !important; width: 125px !important; font-size: 12px !important; }
.game-columns { flex: 1; min-height: 0; max-width: none; margin: 0; padding: 8px; gap: 8px; grid-template-columns: minmax(0, 1fr) 290px; }
.game-main { display: flex; flex-direction: column; min-height: 0; }
.game-water-view { flex: 1; min-height: 120px; }
.game-canvas-slot { position: absolute; inset: 0; }
#game { height: 100%; }
.game-status { min-height: 25px; padding: 4px 2px; font-size: 12px; flex-shrink: 0; }
.game-controls { grid-template-columns: 1.25fr .85fr 1fr .7fr; gap: 10px; padding: 10px; flex-shrink: 0; }
.game-control-section + .game-control-section { padding-left: 10px; }
.game-control-section h2 { font-size: 13px; margin-bottom: 7px; }
.game-world-info h1 { font-size: 19px; line-height: 1.2; margin-bottom: 4px; }
.game-world-info p { color: var(--muted); font-size: 11px; }
.game-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; font-size: 12px; }
.game-stat-grid .game-wallet { font-size: 12px; }
.game-kit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-kit > div, .game-kit-card { padding: 5px 2px; font-size: 10px; }
.game-kit b { font-size: 18px; }
.game-kit strong { font-size: 10px; }
.game-drag { margin: 5px 0; }
.game-drag button { padding: 3px 6px; font-size: 10px; }
.game-meter { grid-template-columns: 70px minmax(0, 1fr) 42px; font-size: 10px; margin: 8px 0; }
.game-action { min-height: 56px; font-size: 13px; padding: 6px; }
.game-control-section .game-subtle { font-size: 10px; margin-top: 5px; }
.game-control-section [data-action=cancel] { font-size: 10px; padding: 3px 7px; margin-top: 4px; }
.game-sidebar { min-height: 0; }
.game-sidebar > .waterbody-panel { display: flex; flex-direction: column; height: 100%; padding: 12px; font-size: 12px; overflow: hidden; }
.room-members { max-height: 30%; display: flex; flex-direction: column; flex-shrink: 0; }
.room-players { overflow-y: auto; }
.game-sidebar .waterbody-panel h2 { margin: 0 0 8px; font-size: 13px; }
.room-conversation { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 10px; }
.game-sidebar .waterbody-panel h3 { font-size: 13px; margin: 0; padding: 8px 0; }
.game-sidebar .waterbody-panel li { padding: 6px 0; }
.game-sidebar .room-status { margin: 0; padding: 4px 0; font-size: 11px; }
.game-sidebar .room-status[hidden] { display: none; }
.game-sidebar .room-events { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
.game-sidebar .room-event-presence { color: #ee9292; }
.game-sidebar .room-event-catch { color: #9edc9f; }
.game-sidebar .room-event-message { color: #fff; }
.room-compose { display: flex; gap: 6px; padding-top: 10px; flex-shrink: 0; }
.room-compose input { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: #102b23; color: #fff; }
.room-compose input:disabled { opacity: .7; }
@media (max-width: 1150px) { .game-brand { display: none; } .game-columns { grid-template-columns: minmax(0, 1fr) 240px; } .game-controls { grid-template-columns: 1.25fr .85fr 1fr .7fr; } .game-control-section:nth-child(3) { border-left: 1px solid var(--border); padding-left: 10px; } .game-stat-grid { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 780px) { body { overflow-y: auto; } .game-layout { height: auto; min-height: 100dvh; } .game-columns { display: flex; flex-direction: column; } .game-water-view { flex: none; height: 45dvh; } .game-controls { grid-template-columns: 1fr 1fr; } .game-control-section:nth-child(3) { border-left: 0; padding-left: 0; } .game-sidebar { height: 360px; } .game-stat-grid { grid-template-columns: 1fr 1fr; } .game-spot { font-size: 10px; } }

.game-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.game-brand-mark { color: var(--gold); display: grid; place-items: center; width: 52px; height: 43px; border: 1px solid #b79c5155; border-radius: 50% 50% 35% 35%; }
.game-brand-mark .game-icon { width: 40px; height: 32px; }
.game-catch { position: absolute; right: 20px; bottom: 24px; width: 410px; padding: 18px; border: 1px solid #c4ab66; border-radius: 10px; background: #09231eef; box-shadow: 0 8px 30px #00171188; pointer-events: auto; }
.game-catch[hidden] { display: none; }
.game-catch header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.game-catch h2 { color: var(--gold); font-size: 24px; font-weight: 600; }
.game-catch strong { font-size: 21px; font-weight: 400; }
.game-catch-fish { position: relative; display: grid; place-items: center; width: 160px; height: 104px; flex: 0 0 160px; overflow: hidden; border: 1px solid #c4ab6670; border-radius: 7px; background: #061b16; color: #c9bd91; }
.game-catch-image { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-size: 200% 200%; background-position: left top; }
.game-catch-image[data-tier="normal"] { background-position: right top; }
.game-catch-image[data-tier="large"] { background-position: left bottom; }
.game-catch-image[data-tier="trophy"] { background-position: right bottom; }
.game-catch-tier { position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; border-radius: 4px; background: #061b16d9; color: #d9e9dc; font-size: 11px; font-weight: 600; }
.game-catch-close { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #d9e9dc; font-size: 0; cursor: pointer; }
.game-catch-close::before, .game-catch-close::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.game-catch-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.game-catch-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.game-catch-close:hover, .game-catch-close:focus-visible { background: #ffffff1f; color: #fff; }
.game-catch[data-tier="trophy"] { top: 50%; right: auto; bottom: auto; left: 50%; width: min(560px, calc(100% - 48px)); padding: 24px; transform: translate(-50%, -50%); border-color: #e4c66b; box-shadow: 0 8px 30px #00171188, 0 0 32px #c4ab6677; }
.game-catch[data-tier="trophy"] .game-catch-fish { width: 260px; height: 168px; flex-basis: 260px; border-color: #e4c66b; }
.game-catch[data-tier="trophy"] h2 { font-size: 30px; }
.game-catch[data-tier="trophy"] strong { font-size: 25px; }
.game-catch-fish:has(.game-catch-image[data-tier="trophy"]) { border-color: #e4c66b; }
.game-catch-fallback .game-icon { width: 65px; height: 45px; stroke-width: 1; }
.game-catch-trophy { margin-left: auto; align-self: flex-start; color: var(--gold); }
.game-catch p { font-size: 12px; color: #c2d2c2; margin-top: 3px; }
.game-catch small { display: block; font-size: 11px; color: #93ae9b; margin-top: 8px; }
.game-nav .game-icon, .game-audio-slot .game-icon { width: 16px; height: 16px; }
.game-kit b .game-icon { width: 22px; height: 22px; }
.game-brand { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1150px) { .game-brand { display: none; } }
.game-brand-mark { width: 34px; height: 30px; }
.game-brand-mark .game-icon { width: 28px; height: 24px; }
.game-summary { display: flex; align-items: center; gap: 24px; margin: 6px 8px 0; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; background: #102a22; flex-shrink: 0; }
.game-summary h1 { font-size: 18px; }
.game-summary p { font-size: 11px; color: var(--muted); }
.game-summary .game-stat-grid { margin-left: auto; grid-template-columns: repeat(4, auto); gap: 20px; }
.game-columns { grid-template-columns: minmax(0, 1fr) 350px; }
.game-participants .room-members { height: 110px; max-height: none; display: flex; flex-direction: column; }
.game-participants h2 { margin-bottom: 6px; }
.game-participants .room-players { overflow-y: auto; min-height: 0; margin: 0; padding: 0; list-style: none; }
.game-participants li { padding: 3px 0; font-size: 11px; }
.game-participants .room-count { padding: 1px 5px; border-radius: 10px; background: #365348; }
.game-sidebar .room-conversation { border-top: 0; padding-top: 0; }
.game-sidebar .room-conversation h3 { border-top: 0; padding-top: 0; }
.room-filters { display: flex; flex-wrap: wrap; gap: 6px 12px; border: 0; padding: 6px 0 10px; margin: 0; color: var(--muted); font-size: 11px; }
.room-filters legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.room-filters label { display: flex; gap: 4px; align-items: center; cursor: pointer; }
.room-filters input { accent-color: var(--gold); }
.game-sidebar .room-events { overflow-anchor: none; }
.room-chat-error { color: #ee9292; font-size: 11px; padding-top: 6px; overflow-wrap: anywhere; }
.room-chat-error[hidden] { display: none; }

.game-sidebar .room-voice { display: flex; flex-direction: column; flex: 0 0 25%; min-height: 130px; max-height: 260px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.game-sidebar .room-voice h3 { border: 0; padding-top: 0; }
.voice-count { color: var(--muted); font-weight: normal; margin-left: 5px; }
.voice-controls { display: flex; flex-wrap: wrap; gap: 4px; flex-shrink: 0; }
.voice-controls button, .voice-players button { font-size: 10px; padding: 4px 6px; }
.voice-controls [aria-pressed=true] { border-color: var(--gold); }
.voice-status { font-size: 11px; color: var(--muted); margin: 6px 0; overflow-wrap: anywhere; }
.voice-status:empty { display: none; }
.voice-players { flex: 1; min-height: 0; overflow-y: auto; }
.game-sidebar .voice-players li { display: flex; gap: 6px; align-items: center; padding: 4px 0; }
.voice-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 11px; }
.voice-indicator { color: var(--muted); font-size: 9px; }
.voice-speaking .voice-name, .voice-speaking .voice-indicator { color: #9edc9f; }
.room-voice [hidden] { display: none; }
@media (max-width: 780px) { .game-sidebar { height: 500px; } }
.game-topbar { gap: 14px; min-height: 64px; }
.game-location { position: relative; flex: 0 0 185px; z-index: 10; }
.game-location summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.game-location summary::-webkit-details-marker { display: none; }
.game-location strong { display: block; font-size: 14px; }
.game-location small { display: block; font-size: 10px; color: var(--muted); }
.game-location-picture { display: grid; place-items: center; flex: 0 0 48px; height: 42px; border: 1px solid var(--border); border-radius: 6px; background: linear-gradient(#749ba0 45%, #214757 46%, #163a27); color: #e2dbc4; }
.game-location-picture[data-water=stone-quarry] { background: linear-gradient(#7b888b 45%, #394f62 46%, #1c353f); }
.game-location-pond { background: url('assets/scenery/quiet-pond.jpg') center / cover; }
.game-location-pond .game-icon { display: none; }
.game-location-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 210px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: #122d24; box-shadow: 0 8px 25px #0008; }
.game-location-menu button { display: flex; justify-content: space-between; width: 100%; margin: 3px 0; text-align: left; }
.game-header-stats { flex-shrink: 0; grid-template-columns: repeat(2, auto); gap: 3px 14px; margin-top: 0; font-size: 11px; }
.game-header-stats .game-wallet { font-size: 11px; }
.game-room-clock { color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.game-participants { display: flex; flex-direction: column; }
.game-participants .room-members { flex: 1; height: auto; min-height: 60px; max-height: 95px; }
.game-columns { grid-template-columns: minmax(0, 1fr) 400px; }
.profile-audio-settings { margin: 12px 0; }
.profile-audio-settings .audio-settings { position: static !important; left: auto !important; top: auto !important; width: 100%; }
.profile-audio-settings .audio-settings > div { position: static; width: 100%; margin-top: 6px; }
.profile-audio-settings summary { display: flex; align-items: center; gap: 6px; }
.locations-dialog { width: min(760px, 94vw); }
.locations-columns { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 16px; margin: 16px 0; }
.locations-list { display: flex; flex-direction: column; gap: 8px; }
.locations-dialog button { font: inherit; cursor: pointer; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; background: #19392f; color: #e4ebe3; }
.locations-dialog button:disabled { opacity: .5; cursor: default; }
.locations-list button[aria-pressed=true] { border-color: var(--gold); color: var(--gold); }
.locations-water { padding: 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.locations-water.is-locked { background: #071b16; }
.locations-water p { margin: 6px 0 10px; color: var(--muted); }
.locations-status { color: var(--gold); }
.shops-navigation, .shops-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.shops-navigation button[aria-pressed=true] { border-color: var(--gold); color: var(--gold); }
.shops-status { color: var(--gold); }
.shops-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.shops-dialog h2 { padding-right: 38px; }
.shops-dialog.save-dialog .dialog-close { position: absolute; top: 12px; right: 12px; margin: 0; float: none; }
.shops-dialog > :not(.shops-content) { flex-shrink: 0; }
.shops-sale-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #102c23; }
.shops-sale-actions[hidden] { display: none; }
.shops-sale-actions button:last-child { border-color: var(--gold); color: var(--gold); margin-left: auto; }
.waterbody-info-dialog { width: min(1280px, 96vw); max-width: none; }
.waterbody-info-status { color: var(--muted); }
.waterbody-info-table { max-height: 55dvh; overflow: auto; }
.waterbody-info-table table { width: 100%; border-collapse: collapse; }
.waterbody-info-table th, .waterbody-info-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); overflow-wrap: normal; }
.waterbody-info-table table { min-width: 740px; }
.waterbody-fish-baits { min-width: 240px; line-height: 1.5; }
.waterbody-info-table { overflow-x: auto; }
.waterbody-own-record { font-weight: 700; color: var(--gold); }
.server-journal-dialog { width: min(1360px, 96vw); max-width: none; }
.keepnet-dialog { width: min(1280px, 96vw); max-width: none; }
.server-records-dialog { width: min(1360px, 96vw); max-width: none; }
.keepnet-filters, .keepnet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.keepnet-confirm { padding: 14px; border: 1px solid var(--gold); border-radius: 8px; margin-top: 14px; }
.keepnet-confirm button { margin-right: 8px; }
.game-header-stats .game-basket { color: var(--gold); border: 1px solid #bba66355; padding: 4px 8px; font-size: inherit; white-space: nowrap; }
.game-profile-slot .profile-card { width: 170px !important; max-width: 210px; border: 1px solid var(--gold); border-radius: 8px; background: #294538; box-shadow: inset 0 0 0 1px #bba66322; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.game-profile-slot .profile-card:hover { background: #365343; }
.profile-experience { padding: 16px; margin: 12px 0 18px; border: 1px solid #bba66366; border-radius: 10px; background: #193c31; }
.profile-experience h3 { margin: 0 0 10px; color: var(--gold); font-size: 24px; }
.profile-experience p { margin: 8px 0; overflow-wrap: anywhere; }
.profile-experience progress { display: block; width: 100%; height: 14px; accent-color: #d8b96c; }
.profile-experience-remaining { font-weight: 600; }
.profile-experience-total { color: var(--muted); font-size: 13px; }
.game-profile-slot .profile-card { display: flex; align-items: center; justify-content: center; gap: 4px; }
.profile-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.profile-level { flex-shrink: 0; }
.experience-notice { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 35; width: min(460px, calc(100vw - 32px)); box-sizing: border-box; padding: 16px 44px 16px 18px; color: #f3ead2; background: #183c30; border: 1px solid #d8b96c; border-radius: 12px; box-shadow: 0 8px 28px #0008; overflow-wrap: anywhere; }
.experience-notice[popover] { top: auto; right: auto; margin: 0; }
.experience-notice[hidden] { display: none; }
.experience-notice strong { display: block; color: #f0cf7b; font-size: 20px; }
.experience-notice p { margin: 8px 0 0; line-height: 1.5; }
.experience-notice button { position: absolute; top: 5px; right: 8px; background: transparent; border: 0; color: inherit; font-size: 24px; cursor: pointer; }
.waterbody-info-table th { color: var(--gold); }
.guide-intro { color: var(--muted); }
.guide-dialog { box-sizing: border-box; width: min(1280px, 92vw); max-width: none; max-height: calc(100dvh - 32px); margin: auto; border-radius: 12px; }
.fish-catalogue { margin: 16px 0; }
.fish-catalogue header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fish-catalogue h3 { margin: 0; color: var(--gold); }
.fish-catalogue-summary { margin: 0; color: var(--muted); font-size: 13px; }
.fish-catalogue-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fish-catalogue-tabs button { padding: 7px 11px; border: 1px solid var(--border); border-radius: 6px; background: #19392f; color: #e4ebe3; font: inherit; cursor: pointer; }
.fish-catalogue-tabs button[aria-pressed=true] { border-color: var(--gold); color: var(--gold); background: #294538; }
.fish-catalogue-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.fish-catalogue-card { display: grid; grid-template-columns: 185px minmax(0, 1fr); column-gap: 16px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: #102a22; }
.fish-catalogue-meta { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fish-catalogue-card h4 { margin: 0 0 8px; color: var(--gold); text-align: center; }
.fish-catalogue-card p { margin: 0 0 5px; font-size: 13px; }
.fish-catalogue-card small { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; }
.fish-catalogue-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fish-catalogue-image { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #c4ab6670; border-radius: 5px; background-color: #0b211b; background-repeat: no-repeat; background-size: 200% 200%; }
.fish-catalogue-card.is-wide .fish-catalogue-image { aspect-ratio: 3 / 2; background-size: 200% auto; }
.fish-catalogue-image.tier-0 { background-position: left top; }
.fish-catalogue-image.tier-1 { background-position: right top; }
.fish-catalogue-image.tier-2 { background-position: left bottom; }
.fish-catalogue-image.tier-3 { background-position: right bottom; }
.fish-catalogue-image span { position: absolute; right: 2px; bottom: 2px; left: 2px; padding: 2px 0; border-radius: 3px; background: #061b16d9; color: #e5eee6; font-size: 9px; line-height: 1; text-align: center; }
.fish-catalogue-image:not(.is-unlocked) { display: grid; place-items: center; background-image: none !important; }
.fish-catalogue-image:not(.is-unlocked)::before { content: '?'; color: #a9bcb0; font-size: 20px; font-weight: 700; }
.fish-catalogue-card.is-hidden { border-style: dashed; opacity: .78; }
.guide-rules { border-top: 1px solid var(--border); padding-top: 12px; }
.guide-rules summary { color: var(--gold); cursor: pointer; font-weight: 600; }
.guide-rules > div { padding-top: 6px; }
@media (max-width: 700px) { .fish-catalogue-card { display: block; } .fish-catalogue-tiers { margin: 10px 0; } }
@media (max-width: 600px) { .waterbody-info-table th, .waterbody-info-table td { padding: 8px 4px; font-size: 12px; } }
.shops-content { max-height: 55dvh; min-height: 0; flex: 1 1 auto; overflow-y: auto; }
.shop-card h3 { margin-top: 0; overflow-wrap: anywhere; }
.shop-card label { display: block; padding: 6px 0; cursor: pointer; }
@media (max-width: 600px) { .locations-columns { grid-template-columns: 1fr; } }
@media (max-width: 1150px) { .game-columns { grid-template-columns: minmax(0, 1fr) 330px; } .game-topbar { flex-wrap: wrap; gap: 8px 12px; } .game-nav { flex: 1 1 400px; } .game-header-stats { width: 100%; grid-template-columns: repeat(4, auto); justify-content: space-between; } }
@media (max-width: 780px) { .game-location { flex-basis: 185px; } .game-nav { flex-basis: 100%; } .game-header-stats { grid-template-columns: repeat(2, auto); } }
@media (max-width: 1150px) { .game-columns { grid-template-columns: minmax(0, 1fr) 300px; } .game-summary { gap: 12px; } .game-summary .game-stat-grid { grid-template-columns: repeat(2, auto); gap: 3px 12px; } }
@media (max-width: 780px) { .game-summary { flex-wrap: wrap; gap: 6px 12px; } .game-summary .game-stat-grid { margin-left: 0; width: 100%; } }
@media (max-width: 780px) { .game-catch { right: 8px; bottom: 8px; width: min(300px, calc(100% - 16px)); padding: 10px; } .game-catch h2 { font-size: 17px; } .game-catch strong { font-size: 16px; } .game-catch-fish { width: 104px; height: 68px; flex-basis: 104px; } .game-catch[data-tier="trophy"] { width: min(330px, calc(100% - 20px)); padding: 16px; } .game-catch[data-tier="trophy"] .game-catch-fish { width: 150px; height: 96px; flex-basis: 150px; } .game-catch[data-tier="trophy"] h2 { font-size: 22px; } .game-catch[data-tier="trophy"] strong { font-size: 19px; } .game-catch-fallback .game-icon { width: 38px; height: 30px; } }
.save-dialog { max-height: calc(100dvh - 24px); box-sizing: border-box; }
.save-dialog .dialog-close { position: sticky; top: 0; float: right; margin: -12px -12px 0 12px; z-index: 10; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: #19392f; color: #e4ebe3; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.save-dialog .dialog-close:hover, .save-dialog .dialog-close:focus-visible { color: var(--gold); border-color: var(--gold); }
.game-kit-card { font: inherit; background: transparent; color: inherit; cursor: pointer; min-width: 0; }
.game-kit-card:hover, .game-kit-card:focus-visible { border-color: var(--gold); background: #203f33; }
.rig-dialog { width: min(460px, 94vw); }
.rig-content { max-height: 55dvh; overflow-y: auto; }
.rig-content form { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.rig-content input { display: block; max-width: 180px; box-sizing: border-box; padding: 10px; background: #09251c; color: #e4ebe3; border: 1px solid var(--border); border-radius: 6px; font: inherit; }
.rig-status { color: var(--muted); }
 .support-dialog { width: min(760px, 95vw); }
 .support-dialog label { display: block; margin: 10px 0; }
 .support-dialog textarea { display: block; width: 100%; font: inherit; padding: 8px; }
 .support-dialog article { border-top: 1px solid #365247; padding: 12px 0; }
 .support-dialog article p { white-space: pre-wrap; overflow-wrap: anywhere; }
 .support-restrictions { color: #ee806d; }
 .room-players button { float: right; padding: 0 5px; }
.game-rod-tabs { display: flex; gap: 6px; margin-bottom: 6px; }
.game-rod-tabs button { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 11px; padding: 5px; text-align: left; }
.game-rod-tabs kbd { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 5px; font-family: inherit; font-size: 16px; font-weight: bold; }
.game-rod-tabs [aria-pressed=true] { border-color: #dfbf70; color: #f7dd98; background: #354334; box-shadow: inset 0 0 0 1px #dfbf70; }
.game-rod-tabs .rod-bite { background: #704e17; border-color: #ffe080; color: #fff3ad; }
.rod-setup-fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.rod-setup-fields label { display: flex; flex-direction: column; gap: 4px; }

.room-players .member-row { height: 36px; min-height: 36px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 4px 0; position: relative; }
.room-players .member-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-players .member-spacer { border: 0; padding: 0; margin: 0; min-height: 0; list-style: none; }
.room-players details { position: relative; flex-shrink: 0; }
.room-players .member-actions { position: absolute; z-index: 10; right: 0; top: 100%; min-width: 180px; background: #102d24; border: 1px solid #456154; padding: 5px; }

.room-players .member-actions:popover-open { position: fixed; inset: var(--menu-top) auto auto var(--menu-left); margin: 0; }

.game-session-blocked { position: fixed; inset: 80px 16px 16px; z-index: 1000; background: #102d24; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; text-align: center; padding: 24px; border: 1px solid #bba45f; border-radius: 12px; }
.news-dialog.save-dialog { width: min(760px, 95vw); }
.news-dialog article { border-top: 1px solid #365247; padding: 12px 0; overflow-wrap: anywhere; }
.news-dialog article p { white-space: pre-wrap; }
.news-dialog time { color: #b9cbbf; font-size: 13px; }
.news-toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; width: min(640px, calc(100vw - 24px)); padding: 10px; color: #f4ce76; background: #17392f; border: 1px solid #ddc181; border-radius: 8px; box-shadow: 0 8px 24px #0006; }
.news-toast[hidden] { display: none; }
.news-toast button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.news-toast-open { flex: 1; min-width: 0; text-align: left; overflow-wrap: anywhere; }
.news-toast .news-toast-close { align-self: start; padding: 0 8px; font-size: 24px; }
.achievements-dialog.save-dialog { width: min(760px, 95vw); }
.achievements-dialog article { border-top: 1px solid #365247; padding: 14px 0; overflow-wrap: anywhere; }
.achievements-dialog article p { white-space: pre-wrap; }
.achievements-dialog article small { display: block; color: #b9cbbf; margin-bottom: 12px; }
.quests-dialog.save-dialog { width: min(760px, 95vw); }
.quests-dialog article { border-top: 1px solid #365247; padding: 14px 0; overflow-wrap: anywhere; }
.quests-dialog article p { white-space: pre-wrap; }
.quests-dialog li { margin: 10px 0; }
.tournament-leaderboard { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tournament-leaderboard th, .tournament-leaderboard td { padding: 8px 4px; border-bottom: 1px solid #365247; text-align: left; overflow-wrap: anywhere; }
.tournament-leaderboard th:first-child { width: 16%; }
.tournament-own { color: #e6c56e; }
.tournament-content article > button { margin: 4px; }
.quest-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.quest-tabs [aria-pressed=true] { border-color: #e6c56e; color: #e6c56e; }
