.battleship_page___vmGg{--bg:#d3d6d0;--panel:#e2e1d8;--panel2:#d6d5ca;--line:#b9b8a6;--text:#24262f;--muted:#676b78;--accent:#d9a441;--accentText:#9c5f00;--danger:#c33b3b;--sea:#8fb9c4;min-height:100vh;background:linear-gradient(180deg,#9fc3cf 0,#c4d2d2 260px,var(--bg) 620px);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;padding:12px 16px 40px;box-sizing:border-box}.battleship_page___vmGg *,.battleship_page___vmGg :after,.battleship_page___vmGg :before{box-sizing:border-box}.battleship_muted__ZXru5{color:var(--muted);font-size:.85rem}.battleship_error__hpm4X{color:var(--danger);text-align:center;margin-top:8px}.battleship_lobby__K3z1T{max-width:520px;margin:24px auto;display:grid;grid-gap:14px;gap:14px}.battleship_title__ioIpC{margin:0;font-size:1.8rem}.battleship_lead___jwlE{margin:0;color:var(--muted);line-height:1.5}.battleship_lobbyShip__tMxMh{width:60%;justify-self:center;filter:drop-shadow(0 3px 2px rgba(0,0,0,.15))}.battleship_field__tRsMM{display:grid;grid-gap:6px;gap:6px}.battleship_field__tRsMM>span{color:var(--muted);font-size:.9rem}.battleship_field__tRsMM input,.battleship_field__tRsMM select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;width:100%}.battleship_seatRow__nrYtZ{display:flex;gap:8px}.battleship_primary__H1z8Z,.battleship_secondary__tg0Ku{border-radius:10px;font:inherit;cursor:pointer}.battleship_primary__H1z8Z{background:var(--accent);color:#1b1b1b;border:0;padding:10px 18px;font-weight:600}.battleship_primary__H1z8Z:disabled{opacity:.45;cursor:default}.battleship_secondary__tg0Ku{background:transparent;color:var(--text);border:1px solid var(--line);padding:8px 14px;white-space:nowrap}.battleship_actions__4S_Ho{display:flex;flex-wrap:wrap;gap:8px}.battleship_rules__aiuX0{background:var(--panel);border-radius:12px;padding:10px 14px;line-height:1.5}.battleship_rules__aiuX0 summary{cursor:pointer;font-weight:600}.battleship_rules__aiuX0 ol{padding-left:20px;margin:8px 0 0}.battleship_topbar__WpUur{display:flex;flex-wrap:wrap;gap:16px;align-items:center;max-width:1100px;margin:0 auto 6px;font-size:.95rem}.battleship_brand__jHu0M{font-weight:700;color:var(--text);text-decoration:none}.battleship_yourTurn__oheRW{color:var(--accentText);font-weight:700}.battleship_lastShot__YUoka{text-align:center;min-height:1.4em;margin:4px 0 10px;color:var(--muted)}.battleship_boards__1rwf7{max-width:1100px;margin:0 auto;display:grid;grid-gap:20px;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.battleship_boardWrap__Z40ZH{--bsize:min(460px,calc(100vw - 72px));background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:10px;justify-self:center}.battleship_boardWrap__Z40ZH.battleship_small__mFhGI{--bsize:min(360px,calc(100vw - 72px))}.battleship_boardWrap__Z40ZH.battleship_active__gBF6m{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.battleship_boardTitle__Vz_Yn{font-weight:600;margin:0 0 6px 22px}.battleship_withLabels__OJEK0{display:grid;grid-template-columns:20px var(--bsize);grid-template-rows:18px var(--bsize)}.battleship_colLabels__14BiB{grid-column:2;display:grid;grid-template-columns:repeat(10,1fr);text-align:center;font-size:.72rem;color:var(--muted)}.battleship_rowLabels__Jz37z{grid-row:2;display:grid;grid-template-rows:repeat(10,1fr);align-items:center;text-align:right;padding-right:4px;font-size:.72rem;color:var(--muted)}.battleship_board__3S19v{grid-column:2;grid-row:2;position:relative;width:var(--bsize);height:var(--bsize);background:var(--sea) url(/games/battleship/sea.webp) center /50% repeat;border:2px solid #5f8792;border-radius:4px;overflow:hidden}.battleship_grid__i7bex{position:absolute;inset:0;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(10,1fr);z-index:2}.battleship_cell__rBj7C{border:0;border-right:1px solid rgba(40,80,95,.22);border-bottom:1px solid rgba(40,80,95,.22);background:transparent;padding:0;position:relative;cursor:default}.battleship_cell__rBj7C.battleship_clickable__sYies{cursor:crosshair}.battleship_cell__rBj7C.battleship_aim__rgmGL{background:rgba(217,164,65,.35);box-shadow:inset 0 0 0 2px var(--accent)}.battleship_cell__rBj7C.battleship_last__xFN3b{box-shadow:inset 0 0 0 2px var(--accentText)}.battleship_ship__7frro{position:absolute;z-index:1;pointer-events:none}.battleship_ship__7frro img{display:block;max-width:none}.battleship_shipImg__24Njl{width:100%;height:100%;object-fit:fill}.battleship_shipImgV__dz_gG{position:absolute;left:0;top:0;object-fit:fill;transform-origin:top left;transform:rotate(90deg) translateY(-100%)}.battleship_sunkShip__wc6bP img{filter:grayscale(.8) brightness(.6)}.battleship_preview__FaR6V{opacity:.65}.battleship_preview__FaR6V.battleship_bad__2HQuk{opacity:.45;filter:sepia(1) hue-rotate(-50deg) saturate(4)}.battleship_mark__qOB_T{position:absolute;inset:8%;background:50%/contain no-repeat}.battleship_miss__QsIwE{background-image:url(/games/battleship/miss.webp)}.battleship_auto__8Xav2{inset:38%;border-radius:50%;background:rgba(30,60,75,.45)}.battleship_hit__3h1sq{background-image:url(/games/battleship/hit.webp)}.battleship_sunk__LDnGp{background-image:url(/games/battleship/sunk.webp)}.battleship_fleetLeft__Tmile{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin-top:6px}.battleship_fleetIcon__xfq8M{height:14px;object-fit:fill}.battleship_fleetDead__Rxrjd{filter:grayscale(1);opacity:.3}.battleship_placement__mZxTp{max-width:1000px;margin:0 auto;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:flex-start}.battleship_dock__Xahoz{max-width:360px;display:grid;grid-gap:12px;gap:12px}.battleship_dockShips__bz8cw{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:34px}.battleship_dockShip__1cSJL{height:30px;object-fit:fill;opacity:.55}.battleship_dockShip__1cSJL.battleship_next__0Ax3i{opacity:1;outline:2px dashed var(--accent);outline-offset:3px;border-radius:4px}.battleship_back__CkdCI{color:var(--muted);text-decoration:none;font-size:.9rem;justify-self:start}.battleship_back__CkdCI:hover{color:var(--text)}.battleship_soundBtn__ZnnxF{margin-left:auto;background:none;border:1px solid var(--line);border-radius:999px;padding:4px 10px;cursor:pointer;font-size:1rem}.battleship_last__xFN3b .battleship_mark__qOB_T{animation:battleship_pop___Xf6k .45s cubic-bezier(.2,1.6,.4,1)}@keyframes battleship_pop___Xf6k{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}.battleship_resultBack__gRDR2{position:fixed;inset:0;z-index:60;background:rgba(20,30,40,.55);display:flex;align-items:center;justify-content:center;padding:16px;animation:battleship_fadeIn__uL_kf .3s ease}.battleship_result__ZNC4J{width:min(440px,100%);border-radius:22px;padding:26px 22px 22px;text-align:center;display:grid;grid-gap:10px;gap:10px;box-shadow:0 20px 60px rgba(0,0,0,.35);animation:battleship_rise__ZYkyU .6s cubic-bezier(.2,1.4,.4,1)}.battleship_result__ZNC4J h2{margin:0;font-size:2.6rem;letter-spacing:.02em}.battleship_result__ZNC4J p{margin:0 0 6px;font-size:1.05rem}.battleship_win__3myHN{background:linear-gradient(160deg,#fff4d6,#f1c96a);color:#4a3205;border:3px solid #e0a93a}.battleship_win__3myHN h2{color:#9c5f00;text-shadow:0 2px 0 #fff3cf}.battleship_lose__Xc8cl{background:linear-gradient(160deg,#d9dee3,#8f9aa5);color:#1f262d;border:3px solid #6b7784}.battleship_lose__Xc8cl h2{color:#7a1f1f}.battleship_resultArt__6ySbQ{width:70%;justify-self:center;filter:drop-shadow(0 6px 6px rgba(0,0,0,.25))}.battleship_lose__Xc8cl .battleship_resultArt__6ySbQ{width:34%}.battleship_win__3myHN .battleship_resultArt__6ySbQ{animation:battleship_sail__RZCw_ 2.4s ease-in-out infinite}@keyframes battleship_sail__RZCw_{50%{transform:translateY(-6px) rotate(-2deg)}}@keyframes battleship_rise__ZYkyU{0%{transform:translateY(40px) scale(.85);opacity:0}to{transform:none;opacity:1}}@keyframes battleship_fadeIn__uL_kf{0%{opacity:0}}.battleship_result__ZNC4J .battleship_secondary__tg0Ku{text-decoration:none;color:inherit;display:inline-flex;align-items:center}.gameshell_shell__cKTpx{--sh-text:var(--text,#24262f);--sh-muted:var(--muted,#6e7183);--sh-line:var(--line,#bfb4a0);--sh-panel:var(--panel,#e2dccf);--sh-accent:var(--accent,#d9a441);--sh-accentText:var(--accentText,#9c5f00);max-width:1100px;margin:0 auto;padding:10px 0 8px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:.92rem;line-height:1.2;color:var(--sh-text);border-bottom:1px solid color-mix(in srgb,var(--sh-line) 70%,transparent);position:relative;z-index:30}.gameshell_shell__cKTpx *,.gameshell_shell__cKTpx :after,.gameshell_shell__cKTpx :before{box-sizing:border-box}.gameshell_crumbs__7NsEy{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;flex-wrap:wrap}.gameshell_crumbs__7NsEy a{color:inherit;text-decoration:none}.gameshell_logo__zseLK{display:inline-flex;align-items:center;gap:7px;font-weight:700;letter-spacing:-.01em;padding:4px 10px 4px 4px;border-radius:999px;background:rgba(255,255,255,.38);border:1px solid color-mix(in srgb,var(--sh-line) 60%,transparent);transition:background .15s ease,border-color .15s ease}.gameshell_logo__zseLK:hover{background:rgba(255,255,255,.6);border-color:var(--sh-accent)}.gameshell_logo__zseLK img{width:24px;height:24px;border-radius:50%;display:block}.gameshell_logoText__4riTU i{font-style:normal;color:var(--sh-muted);font-weight:600}.gameshell_logoShort__4u99X{display:none}.gameshell_sep__6_BWZ{color:var(--sh-muted);opacity:.55;font-weight:300}.gameshell_crumb__fCvRP{color:var(--sh-muted);padding:2px 0;border-bottom:1px solid transparent;white-space:nowrap}a.gameshell_crumb__fCvRP:hover{color:var(--sh-text);border-bottom-color:var(--sh-accent)}.gameshell_current__AXjLN{color:var(--sh-text);font-weight:600}.gameshell_right__uI7T5{display:flex;align-items:center;gap:10px;margin-left:auto}.gameshell_visits___vdTi{display:inline-flex;align-items:center;gap:5px;color:var(--sh-muted);font-size:.8rem;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.gameshell_visits___vdTi svg{width:14px;height:14px;fill:currentColor;opacity:.7}.gameshell_switch__JKasS{position:relative}.gameshell_switch__JKasS summary{list-style:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:999px;border:1px solid var(--sh-line);background:var(--sh-panel);font-weight:600;color:var(--sh-text)}.gameshell_switch__JKasS summary::-webkit-details-marker{display:none}.gameshell_switch__JKasS summary:hover,.gameshell_switch__JKasS[open] summary{border-color:var(--sh-accent)}.gameshell_caret__QvZbd{font-size:.75em;color:var(--sh-muted);transition:transform .15s ease}.gameshell_switch__JKasS[open] .gameshell_caret__QvZbd{transform:rotate(180deg)}.gameshell_switch__JKasS ul{position:absolute;right:0;top:calc(100% + 6px);min-width:240px;margin:0;padding:6px;list-style:none;background:#f1ece2;border:1px solid var(--sh-line);border-radius:14px;box-shadow:0 12px 28px rgba(60,50,30,.18);display:grid;grid-gap:2px;gap:2px}.gameshell_switch__JKasS li a{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;color:var(--sh-text);text-decoration:none}.gameshell_switch__JKasS li a:hover{background:rgba(217,164,65,.16)}.gameshell_switch__JKasS small{color:var(--sh-muted);font-size:.75em}.gameshell_all__1p_ui{border-top:1px solid color-mix(in srgb,var(--sh-line) 60%,transparent);margin-top:4px;padding-top:4px}.gameshell_all__1p_ui a{color:var(--sh-accentText)!important;font-weight:600;justify-content:flex-end}.gameshell_thumb__x05nz{width:34px;height:34px;border-radius:9px;flex:none;overflow:hidden;display:block;background:#cfc6b4;border:1px solid color-mix(in srgb,var(--sh-line) 70%,transparent)}.gameshell_thumb__x05nz img{width:100%;height:100%;object-fit:cover;display:block}.gameshell_thumb_morskoy_boy__iyHLR{background:#8fb9c4 url(/games/battleship/sea.webp) 50%/60px}.gameshell_thumb_morskoy_boy__iyHLR img{object-fit:contain;padding:4px}.gameshell_thumb_preferans___YOiX{background:#2f5d45 url(/games/preferans/felt.webp) 50%/80px}.gameshell_thumb_preferans___YOiX img{object-fit:contain;padding:2px}.gameshell_thumb_parchis__fTbFt{background:conic-gradient(from 45deg,#e2b93b 0 25%,#3d78c4 0 50%,#d2504a 0 75%,#3f9a5b 0)}@media (max-width:560px){.gameshell_shell__cKTpx{gap:8px;font-size:.88rem}.gameshell_logoText__4riTU{display:none}.gameshell_logoShort__4u99X{display:inline}.gameshell_switch__JKasS ul{min-width:220px}}.gameshell_langs__wVTif{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:999px;border:1px solid color-mix(in srgb,var(--sh-line) 70%,transparent)}.gameshell_langs__wVTif a,.gameshell_langs__wVTif span{font-size:.75rem;font-weight:600;letter-spacing:.02em;padding:3px 7px;border-radius:999px;color:var(--sh-muted);text-decoration:none;line-height:1}.gameshell_langs__wVTif a:hover{color:var(--sh-text);background:rgba(217,164,65,.16)}.gameshell_langs__wVTif .gameshell_langOn___Mc8A{color:var(--sh-text);background:var(--sh-panel)}