/* =====================================================================
   GMRS-Link Battleship - the one stylesheet for every Battleship page
     1. Site basics: page background, nav bar, headings
     2. Battleship home page (battleship.html)
     3. Game pages: play, spectate, Game Master, fleet cards, sound test
        (rules start with :where(.gp) so they only apply inside <main class="gp">)
     4. How to Play page (rules start with :where(.hp))
   ===================================================================== */

/* ---------- 1. Site basics ---------- */
:root { background-color: rgba(0, 0, 21, 1); }
a { text-decoration: none; }
body { margin: 0; }
.topnav { overflow: hidden; background-color: #333; }
.topnav a { float: left; display: block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 15px; }
.topnav a:hover { background-color: #292929; color: lime; }
.topnav a.active { background-color: #330099; color: white; }
.topnav a.active2 { background-color: #FF0000; color: white; }
.topnav .icon { display: none; }
main { width:80% !important; margin: auto !important; }
.title { color:white; font-weight: 600; font-size: 40px; margin:50px 0px; text-align: center; }
h1 { color: red; font-size: 60px; text-align: center; }
h2 { color:orange; font-size: 15px; text-align: center; }
h3 { color:orange; font-size: 25px; text-align: center; }
h4 { color:lime; font-size: 25px; text-align: center; }
.bs-list { margin: 25px; padding: 15px; }
.bs-list:hover { transform: scale(1.05); }
.bshome { display: flex; flex-wrap: wrap; align-items: center;  justify-content: center; }
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; }
@media screen and (max-width: 1024px) {
    main { width:100% !important; margin: auto !important; }
}
@media screen and (max-width: 768px) {
    .title { text-align: center; font-size: 30px; }
}
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) { display: none; }
    .topnav a.icon { float: right; display: block; }
}
@media screen and (max-width: 600px) {
    .topnav.responsive { position: relative; }
    .topnav.responsive .icon { position: absolute; right: 0; top: 0; }
    .topnav.responsive a { float: none; display: block; text-align: left; }
}
@media screen and (max-width: 480px) {
    .title { text-align: center; font-size: 25px; }
    p { font-size: 12px; }
}

/* nav bar: same font and spacing as the rest of gmrs-link.com (w3.css base) */
.topnav { font-family: Verdana, sans-serif; line-height: 1.5; }
.topnav *, .topnav *::before, .topnav *::after { box-sizing: border-box; }

/* ---------- 2. Battleship home page ---------- */
.bs-hero { text-align: center; padding: 34px 12px 10px; background: radial-gradient(ellipse at 50% 60%, rgba(106,61,255,.22), transparent 65%); }
.bs-hero .bs-logo { width: 100%; max-width: 780px; height: auto; display: block; margin: 0 auto; }
.bs-hero p { font-family: "Saira", "Segoe UI", Arial, sans-serif; font-weight: 600; color: #9aa3cc; font-size: 18px; margin-top: 10px; }
.bs-hero p b { color: #86ff4d; }
.bshome h3 { font-family: "Saira", "Segoe UI", Arial, sans-serif; font-weight: 700; margin-top: 10px; }
.bshome .bs-list { margin: 15px 8px; }
.bs-list svg { transition: filter .2s; }
.bs-list:hover svg { filter: drop-shadow(0 0 12px rgba(134,255,77,.45)); }

/* ---------- 3. Game pages ---------- */
.gp { --sea: #000015; --deep: #070b2a; --deeper: #04061c; --line: #1d2657; --ink: #e9ecff; --muted: #9aa3cc; --orange: #ff9f1c; --lime: #86ff4d; --red: #ff3d4a; --blue: #3f8dff; --purple: #6a3dff; --shipc: #3a4270; --display: "Saira Stencil One", "Impact", "Arial Narrow Bold", sans-serif; --body: "Saira", "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-family: var(--body); color: var(--ink); line-height: 1.5; font-size: 16px; }
main.gp { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 0 40px; }
.gp * { box-sizing: border-box; }
.gp h1, .gp h2, .gp h3, .gp h4 { text-align: left; margin: 0; }
.gp a { color: var(--orange); }
.gp :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.gp p { font-size: inherit; }
.gp [hidden] { display: none !important; }
:where(.gp) .gwrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
:where(.gp) .ghead { padding: 30px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; background: radial-gradient(ellipse at 50% 140%, rgba(106,61,255,.25), transparent 60%); }
:where(.gp) .ghead .gwrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.gp .ghead h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 54px); line-height: 1; color: var(--ink); }
.gp .ghead h1 small { display: block; font-size: .45em; color: var(--orange); letter-spacing: .03em; margin-bottom: 4px; }
:where(.gp) .meta { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.gp) .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--deep); color: var(--ink); }
:where(.gp) .pill.a { border-color: var(--red); color: var(--red); }
:where(.gp) .pill.b { border-color: var(--blue); color: var(--blue); }
:where(.gp) .pill.lime { border-color: var(--lime); color: var(--lime); }
:where(.gp) .pill.warn { border-color: var(--orange); color: var(--orange); }
:where(.gp) .code { font-family: var(--display); letter-spacing: .08em; }
:where(.gp) .demo-note { background: rgba(255,159,28,.1); border: 1px dashed var(--orange); color: var(--ink); border-radius: 8px; padding: 10px 14px; margin: 0 0 18px; font-size: 14px; }
:where(.gp) .panel { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.gp .panel h2 { font-size: 22px; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.gp .panel h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 16px 0 8px; }
:where(.gp) .muted { color: var(--muted); }
:where(.gp) .small { font-size: 14px; }
:where(.gp) .stack { display: grid; gap: 18px; }
:where(.gp) .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
:where(.gp) .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gp label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; color: var(--muted); }
.gp input[type=text], .gp input[type=email], .gp input[type=password], .gp select { width: 100%; font: inherit; color: var(--ink); background: var(--sea); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.gp input:focus, .gp select:focus { border-color: var(--orange); outline: none; }
.gp input.big { font-family: var(--display); font-size: 28px; letter-spacing: .15em; text-transform: uppercase; text-align: center; }
:where(.gp) .gbtn { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--sea); color: var(--ink); text-decoration: none; }
:where(.gp) .gbtn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
:where(.gp) .gbtn.primary { background: var(--orange); border-color: var(--orange); color: #1a0c00; }
:where(.gp) .gbtn.primary:hover:not(:disabled) { background: #ffb44d; color: #1a0c00; }
:where(.gp) .gbtn.danger { border-color: var(--red); color: var(--red); }
:where(.gp) .gbtn.danger:hover:not(:disabled) { background: var(--red); color: #fff; }
:where(.gp) .gbtn.sm { padding: 5px 10px; font-size: 13px; }
:where(.gp) .gbtn:disabled { opacity: .4; cursor: default; }
:where(.gp) .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
:where(.gp) .err { color: var(--red); font-weight: 600; min-height: 1.5em; margin-top: 8px; }
:where(.gp) .joincard { max-width: 460px; margin: 20px auto; }
:where(.gp) .roster { list-style: none; margin: 0; padding: 0; }
:where(.gp) .roster li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
:where(.gp) .roster li:last-child { border-bottom: 0; }
:where(.gp) .roster .nm { flex: 1 1 auto; font-weight: 600; }
:where(.gp) .roster .cs { color: var(--muted); font-size: 13px; font-weight: 500; margin-left: 4px; }
:where(.gp) .roster .num { font-family: var(--display); color: var(--orange); width: 22px; }
:where(.gp) .tag { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 3px; background: var(--orange); color: var(--sea); }
:where(.gp) .tag.you { background: var(--lime); }
:where(.gp) .teamcard { border-top: 5px solid var(--line); }
:where(.gp) .teamcard.a { border-top-color: var(--red); }
:where(.gp) .teamcard.b { border-top-color: var(--blue); }
.gp .teamcard.a h2 { color: var(--red); }
.gp .teamcard.b h2 { color: var(--blue); }
:where(.gp) .layouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
:where(.gp) .lcard { background: var(--sea); border: 2px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
:where(.gp) .lcard:hover { border-color: var(--orange); }
:where(.gp) .lcard.mine { border-color: var(--lime); }
:where(.gp) .lcard.locked { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,159,28,.3); }
:where(.gp) .lcard .lname { font-family: var(--display); font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
:where(.gp) .lcard .votes { font-size: 12px; color: var(--muted); min-height: 1.4em; margin-top: 4px; }
:where(.gp) .mini { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 6px; }
:where(.gp) .mini i { aspect-ratio: 1; background: var(--sea); }
:where(.gp) .mini { position: relative; }
:where(.gp) .mini > b.shipart { z-index: 1; }
:where(.gp) .boards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
:where(.gp) .board h3 { font-size: 16px !important; margin: 0 0 8px !important; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
:where(.gp) .grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: 6px; overflow: hidden; }
:where(.gp) .grid > * { aspect-ratio: 1; background: var(--sea); display: grid; place-items: center; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: clamp(9px, 1.4vw, 14px); color: var(--muted); line-height: 1; }
:where(.gp) .grid .hd { background: var(--deep); }
:where(.gp) .grid > * { position: relative; z-index: 2; }
:where(.gp) .grid .ship, :where(.gp) .grid .sunk { background: transparent; }
:where(.gp) .grid .ship.x, :where(.gp) .grid .sunk.x { background: radial-gradient(circle, rgba(255,120,40,.55), rgba(255,61,74,.15) 70%); }
:where(.gp) .grid button { cursor: pointer; }
:where(.gp) .grid button:hover:not(:disabled) { background: #13205a; }
:where(.gp) .grid button:disabled { cursor: default; }
:where(.gp) .grid .x::after { content: "X"; color: var(--red); font-family: var(--display); font-size: 1.5em; font-weight: 400; }
:where(.gp) .grid .o::after { content: "O"; color: var(--ink); font-family: var(--display); font-size: 1.3em; font-weight: 400; opacity: .8; }
:where(.gp) .grid .pick { background: rgba(134,255,77,.25) !important; box-shadow: inset 0 0 0 2px var(--lime); }
:where(.gp) .grid .last { box-shadow: inset 0 0 0 2px var(--orange); }
:where(.gp) .grid .ghost { background: rgba(134,255,77,.35); }
:where(.gp) .grid .ghost.bad { background: rgba(255,61,74,.4); }
:where(.gp) .turn { border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--deep); border: 2px solid var(--line); }
:where(.gp) .turn.a { border-color: var(--red); }
:where(.gp) .turn.b { border-color: var(--blue); }
:where(.gp) .turn.mine { box-shadow: 0 0 0 4px rgba(134,255,77,.25); border-color: var(--lime); }
:where(.gp) .turn .big { font-family: var(--display); font-size: clamp(24px, 4vw, 36px); line-height: 1.1; }
:where(.gp) .turn .sub { color: var(--muted); }
:where(.gp) .lastshot { text-align: right; }
:where(.gp) .lastshot .res { font-family: var(--display); font-size: clamp(26px, 4.5vw, 40px); line-height: 1; }
:where(.gp) .lastshot .res.hit { color: var(--red); }
:where(.gp) .fire { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--deeper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
:where(.gp) .fire .coord { font-family: var(--display); font-size: 34px; color: var(--lime); min-width: 70px; }
:where(.gp) .fire .say { flex: 1 1 180px; color: var(--muted); font-size: 14px; }
:where(.gp) .fleet { list-style: none; margin: 8px 0 0; padding: 0; }
:where(.gp) .fleet li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
:where(.gp) .fleet li.gone { color: var(--muted); text-decoration: line-through; }
:where(.gp) .fleet .pegs { display: inline-flex; gap: 3px; }
:where(.gp) .fleet .pegs i { width: 12px; height: 12px; border-radius: 2px; background: var(--shipc); }
:where(.gp) .fleet .pegs i.h { background: var(--red); }
:where(.gp) .log { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
:where(.gp) .log li { border-left: 4px solid var(--line); background: var(--sea); border-radius: 6px; padding: 7px 12px; margin-bottom: 6px; font-size: 14px; }
:where(.gp) .log li.a { border-left-color: var(--red); }
:where(.gp) .log li.b { border-left-color: var(--blue); }
:where(.gp) .log .c { font-family: var(--display); font-size: 18px; color: var(--lime); }
:where(.gp) .log .r.hit { color: var(--red); font-weight: 700; }
:where(.gp) .log .r.miss { font-weight: 700; }
:where(.gp) .over { text-align: center; border-radius: 12px; padding: 30px 20px; margin-bottom: 18px; border: 2px solid var(--red); background: repeating-linear-gradient(-45deg, rgba(255,61,74,.08) 0 14px, transparent 14px 28px), var(--deeper); }
:where(.gp) .over.win { border-color: var(--lime); background: repeating-linear-gradient(-45deg, rgba(134,255,77,.07) 0 14px, transparent 14px 28px), var(--deeper); }
:where(.gp) .over .shout { font-family: var(--display); font-size: clamp(28px, 6vw, 54px); color: var(--red); line-height: 1.05; margin: 8px 0; }
:where(.gp) .over.win .shout { color: var(--lime); }
:where(.gp) .coin { width: 110px; height: 110px; border-radius: 50%; margin: 10px auto; display: grid; place-items: center; font-family: var(--display); font-size: 36px; background: var(--orange); color: #1a0c00; border: 4px solid #ffcc80; }
:where(.gp) .coin.spin { animation: coin .9s linear infinite; }
@keyframes coin { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }
:where(.gp) .tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
:where(.gp) .tabs button { font: inherit; font-weight: 700; background: none; border: 0; color: var(--muted); padding: 10px 16px; cursor: pointer; border-bottom: 3px solid transparent; }
:where(.gp) .tabs button[aria-selected=true] { color: var(--orange); border-bottom-color: var(--orange); }
:where(.gp) .gtable { width: 100%; border-collapse: collapse; font-size: 15px; }
:where(.gp) .gtable th, :where(.gp) .gtable td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
:where(.gp) .gtable th { color: var(--muted); font-size: 13px; font-weight: 600; }
:where(.gp) .gtable select { padding: 5px 8px !important; width: auto !important; }
:where(.gp) .shiplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
:where(.gp) .shiplist button { width: 100%; justify-content: space-between; }
:where(.gp) .shiplist button.sel { border-color: var(--lime); color: var(--lime); }
:where(.gp) .shiplist button.done::after { content: "\2713"; color: var(--lime); }
:where(.gp) .refimg { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 50; max-width: 92vw; text-align: center; background: #070b2a; color: #e9ecff; border: 2px solid #ff9f1c; box-shadow: 0 6px 24px rgba(0,0,0,.6); padding: 12px 20px; border-radius: 8px; font: 600 16px "Saira", "Segoe UI", Arial, sans-serif; }
:where(.gp) .notice { background: rgba(255,159,28,.12); border: 1px solid var(--orange); color: var(--ink); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-weight: 600; }
:where(.gp) .log li.note { border-left-color: var(--orange); color: var(--muted); }
@media (max-width: 860px) {
    :where(.gp) .cols2, :where(.gp) .cols3, :where(.gp) .boards { grid-template-columns: 1fr; }
    :where(.gp) .lastshot { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    :where(.gp) .coin.spin { animation: none; }
}
:where(.gp) .edcols { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 14px; }
@media (max-width: 960px) {
    :where(.gp) .edcols { grid-template-columns: 1fr; }
}
:where(.gp) .grid .tgt { box-shadow: inset 0 0 0 3px var(--lime); animation: tgt .8s ease-in-out infinite alternate; }
@keyframes tgt { from { background: rgba(134,255,77,.45); } to { background: transparent; } }
:where(.gp) .incoming { text-align: center; border-radius: 12px; padding: 22px 18px; margin-bottom: 18px; border: 3px solid var(--lime); background: repeating-linear-gradient(-45deg, rgba(134,255,77,.07) 0 14px, transparent 14px 28px), var(--deeper); }
:where(.gp) .incoming .inc-coord { font-family: var(--display); font-size: clamp(64px, 16vw, 120px); line-height: 1; color: var(--lime); }
:where(.gp) .incoming .inc-phon { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
:where(.gp) .incoming p { color: var(--muted); max-width: 520px; margin: 0 auto 16px; }
:where(.gp) .answer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
:where(.gp) .ans { font-family: var(--display); font-size: clamp(36px, 8vw, 56px); padding: 18px 10px; border-radius: 12px; cursor: pointer; border: 3px solid; line-height: 1; }
:where(.gp) .ans.hit { background: var(--red); border-color: #ff8a92; color: #fff; }
:where(.gp) .ans.miss { background: var(--sea); border-color: var(--ink); color: var(--ink); }
:where(.gp) .ans:hover { filter: brightness(1.15); }
:where(.gp) .oncall { margin-top: 10px; background: rgba(255,61,74,.12); border: 1px solid var(--red); border-radius: 8px; padding: 8px 12px; font-size: 15px; }
:where(.gp) .modepick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
:where(.gp) .modepick button { text-align: left; font: inherit; color: var(--ink); background: var(--sea); border: 2px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; }
:where(.gp) .modepick button[aria-pressed=true] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,159,28,.25); }
:where(.gp) .modepick b { display: block; font-size: 17px; color: var(--orange); }
:where(.gp) .modepick span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
    :where(.gp) .modepick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    :where(.gp) .grid .tgt { animation: none; background: rgba(134,255,77,.35); }
}
:where(.gp) .shipart { aspect-ratio: auto !important; background: var(--sea) !important; z-index: 1 !important; pointer-events: none; padding: 2px !important; display: block !important; }
:where(.gp) .shipart { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
:where(.gp) .shipart svg { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); display: block; }
:where(.gp) .mini > b.shipart svg { inset: 0; width: 100%; height: 100%; }
:where(.gp) .shipart .hull { fill: #7c89b3; stroke: #c9d2f2; stroke-width: 3; }
:where(.gp) .shipart .deck { fill: #4a5585; }
:where(.gp) .shipart .det { fill: #2b3360; }
:where(.gp) .shipart .det2 { fill: #aeb8dc; stroke: #2b3360; stroke-width: 2; }
:where(.gp) .shipart .mark { stroke: #e9ecff; stroke-width: 3; fill: none; opacity: .7; }
:where(.gp) .shipart.down .hull { fill: #6b2230; stroke: #ff3d4a; }
:where(.gp) .shipart.down .deck { fill: #3d1320; }
:where(.gp) .shipart.down .det2 { fill: #8a3a47; }
:where(.gp) .shipart.down svg { opacity: .9; }
:where(.gp) .mini > b.shipart { padding: 0 !important; background: transparent !important; }
:where(.gp) .mini > b.shipart .hull { fill: var(--lime); stroke: none; }
:where(.gp) .mini > b.shipart .deck { fill: #4fa82a; }
:where(.gp) .mini > b.shipart .det, :where(.gp) .mini > b.shipart .det2, :where(.gp) .mini > b.shipart .mark { display: none; }
:where(.gp) .fleet .ficon { display: inline-block; height: 16px; flex: none; margin-right: 10px; }
:where(.gp) .fleet .ficon svg { width: 100%; height: 100%; display: block; }
:where(.gp) .fleet .ficon .hull { fill: #7c89b3; stroke: #c9d2f2; stroke-width: 3; }
:where(.gp) .fleet .ficon .deck { fill: #4a5585; }
:where(.gp) .fleet .ficon .det { fill: #2b3360; }
:where(.gp) .fleet .ficon .det2 { fill: #aeb8dc; }
:where(.gp) .fleet .ficon .mark { stroke: #e9ecff; stroke-width: 3; fill: none; }
:where(.gp) .fleet li.gone .ficon .hull { fill: #6b2230; stroke: #ff3d4a; }
:where(.gp) .fleet .fname { flex: 1 1 auto; }
:where(.gp) .lcard { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
:where(.gp) .lcard .votes { display: block; }
.bs-banner { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,21,.55), rgba(0,0,21,.88)); animation: bsBannerFade 3.4s ease forwards; }
.bs-banner div { font-family: "Saira Stencil One", Impact, "Arial Black", sans-serif; font-size: clamp(40px, 8vw, 112px); line-height: 1; color: #ffffff; text-align: center; padding: 0 20px; text-shadow: 0 0 28px #6a3dff, 0 0 70px rgba(255,61,74,.7); animation: bsBannerZoom 3.4s cubic-bezier(.2,.9,.3,1) forwards; }
.bs-banner small { display: block; margin-top: 16px; font: 700 clamp(14px, 2vw, 22px) "Saira", "Segoe UI", Arial, sans-serif; color: #ff9f1c; letter-spacing: .12em; text-shadow: none; }
@keyframes bsBannerFade { 0% { opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bsBannerZoom { 0% { transform: scale(1.7); } 14% { transform: scale(1); } 100% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
    .bs-banner div { animation: none; }
}

/* fleet cards page */
:where(.gp) .cardwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
:where(.gp) .fcard { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
:where(.gp) .fcard h2 { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ink) !important; margin: 0 0 8px !important; }
:where(.gp) .fcard .grid > * { font-size: 10px; }

/* sound test page */
:where(.gp) .sfxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
:where(.gp) .sfxgrid .gbtn { justify-content: flex-start; padding: 14px 16px; font-size: 16px; }
:where(.gp) .sfxgrid .gbtn.big { grid-column: 1 / -1; justify-content: center; font-size: 20px; padding: 16px; }
:where(.gp) .ok { color: var(--lime); font-weight: 700; }
:where(.gp) .bad { color: var(--red); font-weight: 700; }
:where(.gp) .warn { color: var(--orange); font-weight: 700; }

/* ---------- 4. How to Play page ---------- */
.hp { --sea: #000015; --deep: #070b2a; --deeper: #04061c; --line: #1d2657; --ink: #e9ecff; --muted: #9aa3cc; --orange: #ff9f1c; --lime: #86ff4d; --red: #ff3d4a; --blue: #3f8dff; --purple: #6a3dff; --display: "Saira Stencil One", "Impact", "Arial Narrow Bold", sans-serif; --body: "Saira", "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-family: var(--body); color: var(--ink); line-height: 1.6; font-size: 17px; }
main.hp { width: 100% !important; max-width: none !important; margin: 0 !important; padding-bottom: 40px; }
.hp * { box-sizing: border-box; }
.hp p { font-size: inherit; }
.hp h2, .hp h3, .hp h4 { text-align: left; }
.hp a { color: var(--orange); }
.hp :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
:where(.hp) .wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
:where(.hp) .hero-bs { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(106,61,255,.28), transparent 60%), var(--sea); }
:where(.hp) .hero-bs .gridbg { position: absolute; inset: 0; background-image: linear-gradient(rgba(134,255,77,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(134,255,77,.07) 1px, transparent 1px); background-size: 48px 48px; background-position: center center; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
:where(.hp) .radar { position: absolute; width: 760px; height: 760px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
:where(.hp) .radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 94px, rgba(134,255,77,.12) 95px 96px); }
:where(.hp) .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 300deg, rgba(134,255,77,0) 300deg, rgba(134,255,77,.24) 358deg, rgba(134,255,77,.55) 359.2deg, transparent 360deg); animation: sweep 6s linear infinite; }
:where(.hp) .blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); opacity: 0; animation: blip 6s linear infinite; }
:where(.hp) .blip.b1 { left: 64%; top: 30%; animation-delay: .9s; }
:where(.hp) .blip.b2 { left: 27%; top: 64%; animation-delay: 3.9s; }
:where(.hp) .blip.b3 { left: 78%; top: 62%; animation-delay: 2.2s; background: var(--ink); box-shadow: 0 0 12px var(--ink); }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
:where(.hp) .hero-inner { position: relative; text-align: center; }
:where(.hp) .hero-kicker { display: inline-block; font-weight: 600; color: var(--lime); border: 1px solid rgba(134,255,77,.4); padding: 4px 14px; border-radius: 999px; font-size: 15px; letter-spacing: .02em; background: rgba(0,0,21,.6); }
:where(.hp) .hero-bs h1 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(46px, 10vw, 112px); line-height: .95; margin: 22px 0 18px; text-align: center; text-shadow: 0 0 40px rgba(106,61,255,.55); }
:where(.hp) .hero-bs h1 span { display: block; color: var(--orange); font-size: .52em; letter-spacing: .04em; margin-bottom: 8px; }
:where(.hp) .hero-lede { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 19px; }
:where(.hp) .jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
:where(.hp) .jump a, :where(.hp) .btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: rgba(7,11,42,.85); transition: border-color .15s, color .15s; }
:where(.hp) .jump a:hover, :where(.hp) .btn:hover { border-color: var(--orange); color: var(--orange); }
:where(.hp) .jump a.primary, :where(.hp) .btn.primary { background: var(--orange); border-color: var(--orange); color: #1a0c00; }
:where(.hp) .jump a.primary:hover, :where(.hp) .btn.primary:hover { background: #ffb44d; color: #1a0c00; }
:where(.hp) .sec { padding: 72px 0 24px; scroll-margin-top: 20px; }
:where(.hp) .sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
:where(.hp) .sec-head .coord { font-family: var(--display); color: var(--sea); background: var(--lime); padding: 2px 10px; border-radius: 4px; font-size: 22px; line-height: 1.3; }
.hp .sec-head h2 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(34px, 6vw, 52px); line-height: 1; margin: 0; }
:where(.hp) .sec-intro { color: var(--muted); max-width: 640px; margin-bottom: 32px; }
:where(.hp) .steps { list-style: none; position: relative; margin: 0; padding: 0; counter-reset: step; }
:where(.hp) .steps::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), var(--purple)); }
:where(.hp) .steps li { position: relative; padding: 0 0 30px 72px; counter-increment: step; }
:where(.hp) .steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 22px; color: var(--orange); background: var(--sea); border: 2px solid var(--orange); }
.hp .steps h3 { color: var(--ink); font-size: 22px; font-weight: 700; margin: 6px 0 4px; }
:where(.hp) .steps p { color: var(--muted); max-width: 620px; }
:where(.hp) .steps strong { color: var(--ink); }
:where(.hp) .t-minus { display: inline-block; margin-left: 10px; vertical-align: 3px; font-size: 14px; font-weight: 700; color: var(--sea); background: var(--orange); padding: 1px 9px; border-radius: 3px; }
:where(.hp) .inline-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
:where(.hp) .inline-links .btn { font-size: 15px; padding: 7px 14px; }
:where(.hp) .protip { margin: 10px 0 0 72px; border: 1px dashed rgba(134,255,77,.5); border-radius: 10px; padding: 20px 22px; background: rgba(134,255,77,.04); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
:where(.hp) .protip .fa { font-size: 26px; color: var(--lime); margin-top: 4px; }
.hp .protip h3 { color: var(--lime); font-size: 20px; margin: 0 0 6px; }
:where(.hp) .protip ul { margin: 0; padding-left: 18px; color: var(--ink); }
:where(.hp) .protip li { margin: 4px 0; }
:where(.hp) .rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
:where(.hp) .rule { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
:where(.hp) .rule.wide { grid-column: 1 / -1; }
.hp .rule h3 { color: var(--orange); font-size: 22px; font-weight: 700; margin: 0 0 8px; }
:where(.hp) .rule p { color: var(--muted); }
:where(.hp) .rule p strong { color: var(--ink); }
:where(.hp) .tx { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: var(--deeper); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
:where(.hp) .tx-call { font-family: var(--display); font-size: clamp(34px, 7vw, 56px); color: var(--lime); line-height: 1; }
:where(.hp) .tx-pause { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; }
:where(.hp) .tx-pause .wave { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; justify-content: center; }
:where(.hp) .tx-pause .wave i { width: 3px; background: var(--line); border-radius: 2px; height: 6px; }
:where(.hp) .tx-pause em { position: relative; font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--deeper); padding: 0 10px; }
:where(.hp) .tx-note { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin-top: 2px; }
:where(.hp) .marks { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
:where(.hp) .mark { display: flex; align-items: center; gap: 12px; }
:where(.hp) .mark .glyph { width: 64px; height: 64px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-size: 42px; line-height: 1; background: var(--deeper); border: 1px solid var(--line); }
:where(.hp) .mark.hit .glyph { color: var(--red); border-color: rgba(255,61,74,.6); }
:where(.hp) .mark.miss .glyph { color: var(--ink); }
:where(.hp) .mark b { display: block; font-size: 20px; }
:where(.hp) .mark.hit b { color: var(--red); }
:where(.hp) .mark span { color: var(--muted); font-size: 15px; }
:where(.hp) .fleet { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 16px; }
:where(.hp) .fleet td { padding: 7px 0; border-bottom: 1px solid var(--line); }
:where(.hp) .fleet td:last-child { text-align: right; }
:where(.hp) .pegs { display: inline-flex; gap: 3px; vertical-align: middle; }
:where(.hp) .pegs i { width: 14px; height: 14px; border-radius: 3px; background: var(--muted); opacity: .8; }
:where(.hp) .win { margin-top: 18px; text-align: center; border-radius: 12px; padding: 40px 20px; background: repeating-linear-gradient(-45deg, rgba(255,61,74,.08) 0 14px, transparent 14px 28px), var(--deeper); border: 2px solid var(--red); }
:where(.hp) .win p { color: var(--muted); max-width: 520px; margin: 0 auto; }
:where(.hp) .win .shout { font-family: var(--display); color: var(--red); font-size: clamp(30px, 6.5vw, 60px); line-height: 1.05; margin: 12px 0; text-shadow: 0 0 28px rgba(255,61,74,.45); }
:where(.hp) .roster { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
:where(.hp) .team { border-radius: 12px; padding: 20px 22px; background: var(--deep); border-top: 5px solid; }
:where(.hp) .team.a { border-color: var(--red); }
:where(.hp) .team.b { border-color: var(--blue); }
.hp .team h3 { font-size: 22px; margin: 0 0 10px; }
.hp .team.a h3 { color: var(--red); }
.hp .team.b h3 { color: var(--blue); }
:where(.hp) .team ul { list-style: none; margin: 0; padding: 0; }
:where(.hp) .team li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
:where(.hp) .team li:last-child { border-bottom: 0; }
:where(.hp) .cap { font-size: 13px; font-weight: 700; color: var(--sea); background: var(--orange); padding: 1px 8px; border-radius: 3px; align-self: center; }
:where(.hp) .sim { background: var(--deeper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
:where(.hp) .order { display: flex; gap: 6px; padding: 14px 18px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--deep); align-items: center; }
:where(.hp) .order .lbl { color: var(--muted); font-size: 14px; margin-right: 6px; white-space: nowrap; }
:where(.hp) .chip { white-space: nowrap; font-size: 14px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
:where(.hp) .chip.a.on { background: var(--red); border-color: var(--red); color: #fff; }
:where(.hp) .chip.b.on { background: var(--blue); border-color: var(--blue); color: #fff; }
:where(.hp) .sim-body { display: grid; grid-template-columns: 1.05fr 1fr; }
:where(.hp) .log { padding: 18px; border-right: 1px solid var(--line); min-height: 360px; display: flex; flex-direction: column; gap: 10px; }
:where(.hp) .msg { border-radius: 10px; padding: 10px 14px; background: var(--deep); border-left: 4px solid var(--muted); animation: pop .25s ease-out; }
:where(.hp) .msg.a { border-left-color: var(--red); }
:where(.hp) .msg.b { border-left-color: var(--blue); }
:where(.hp) .msg.sys { border-left-color: var(--lime); background: rgba(134,255,77,.05); }
:where(.hp) .msg .who { font-size: 13px; font-weight: 700; color: var(--muted); }
:where(.hp) .msg .said { font-size: 19px; font-weight: 600; }
:where(.hp) .msg .said.call { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--lime); }
:where(.hp) .msg .said.hit { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--red); }
:where(.hp) .msg .said.miss { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ink); }
:where(.hp) .msg .said.shout { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--red); }
:where(.hp) .msg .said.note { font-size: 16px; font-weight: 500; color: var(--ink); }
:where(.hp) .log .older { opacity: .55; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
:where(.hp) .boards { padding: 18px; display: grid; gap: 18px; align-content: start; }
:where(.hp) .board-team .bt-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
:where(.hp) .board-team.a .bt-title { color: var(--red); }
:where(.hp) .board-team.b .bt-title { color: var(--blue); }
:where(.hp) .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
:where(.hp) .gcap { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
:where(.hp) .grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
:where(.hp) .grid > * { position: relative; z-index: 2; aspect-ratio: 1; background: var(--sea); display: grid; place-items: center; font-size: clamp(7px, 1vw, 10px); line-height: 1; color: var(--muted); font-weight: 700; }
:where(.hp) .grid .hd { background: var(--deep); }
:where(.hp) .grid .ship, :where(.hp) .grid .sunk { background: transparent; }
:where(.hp) .grid .x::after { content: "X"; color: var(--red); font-family: var(--display); font-size: 1.6em; font-weight: 400; }
:where(.hp) .grid .o::after { content: "O"; color: var(--ink); font-family: var(--display); font-size: 1.4em; font-weight: 400; opacity: .85; }
:where(.hp) .grid .ship.x { background: radial-gradient(circle, rgba(255,120,40,.55), rgba(255,61,74,.15) 70%); }
:where(.hp) .grid .tgt { box-shadow: inset 0 0 0 2px var(--lime); animation: tgt .8s ease-in-out infinite alternate; }
@keyframes tgt { from { background: rgba(134,255,77,.45); } to { background: transparent; } }
:where(.hp) .grid > .shipart { z-index: 1; aspect-ratio: auto; background: var(--sea); pointer-events: none; min-width: 0; min-height: 0; overflow: hidden; padding: 0; display: block; }
:where(.hp) .shipart svg { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); display: block; }
:where(.hp) .shipart .hull { fill: #7c89b3; stroke: #c9d2f2; stroke-width: 3; }
:where(.hp) .shipart .deck { fill: #4a5585; }
:where(.hp) .shipart .det { fill: #2b3360; }
:where(.hp) .shipart .det2 { fill: #aeb8dc; stroke: #2b3360; stroke-width: 2; }
:where(.hp) .shipart .mark { stroke: #e9ecff; stroke-width: 3; fill: none; opacity: .7; }
:where(.hp) .shipart.down .hull { fill: #6b2230; stroke: #ff3d4a; }
:where(.hp) .cards-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; max-width: 760px; }
:where(.hp) .cardprev { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
:where(.hp) .cardprev b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 700px) {
    :where(.hp) .cards-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
:where(.hp) .sim-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--deep); }
:where(.hp) .caption { color: var(--ink); font-weight: 600; flex: 1 1 260px; }
:where(.hp) .caption small { display: block; color: var(--muted); font-weight: 500; font-size: 14px; }
:where(.hp) .ctrls { display: flex; gap: 8px; }
:where(.hp) .ctrls button { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--sea); color: var(--ink); }
:where(.hp) .ctrls button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
:where(.hp) .ctrls button.next { background: var(--orange); border-color: var(--orange); color: #1a0c00; }
:where(.hp) .ctrls button.next:hover:not(:disabled) { background: #ffb44d; color: #1a0c00; }
:where(.hp) .ctrls button:disabled { opacity: .4; cursor: default; }
:where(.hp) .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.hp) .modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
:where(.hp) .mode { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 24px; border-top: 5px solid var(--lime); }
:where(.hp) .mode.auto { border-top-color: var(--orange); }
.hp .mode h3 { font-size: 24px; font-weight: 700; margin: 0 0 4px; color: var(--lime); }
.hp .mode.auto h3 { color: var(--orange); }
:where(.hp) .mode-tag { color: var(--muted); margin-bottom: 14px; }
:where(.hp) .mode ol { margin: 0; padding-left: 22px; }
:where(.hp) .mode li { margin: 8px 0; padding-left: 4px; }
:where(.hp) .mode li::marker { font-family: var(--display); color: var(--lime); }
:where(.hp) .mode.auto li::marker { color: var(--orange); }
:where(.hp) .mode strong { color: var(--ink); }
:where(.hp) .small-note { margin-top: 14px; font-size: 15px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
:where(.hp) .fleet .ficon { display: inline-block; height: 18px; vertical-align: middle; margin-right: 10px; }
:where(.hp) .fleet .ficon svg { width: 100%; height: 100%; display: block; }
:where(.hp) .fleet .ficon .hull { fill: #7c89b3; stroke: #c9d2f2; stroke-width: 3; }
:where(.hp) .fleet .ficon .deck { fill: #4a5585; }
:where(.hp) .fleet .ficon .det { fill: #2b3360; }
:where(.hp) .fleet .ficon .det2 { fill: #aeb8dc; }
:where(.hp) .fleet .ficon .mark { stroke: #e9ecff; stroke-width: 3; fill: none; }
:where(.hp) .closing { text-align: center; padding: 70px 0 30px; }
:where(.hp) .closing p { max-width: 620px; margin-left: auto; margin-right: auto; }
.hp .closing h2 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(30px, 5vw, 44px); text-align: center; margin: 0 0 10px; }
:where(.hp) .closing p { color: var(--muted); margin-bottom: 22px; }
:where(.hp) .closing .jump { margin-top: 0; }
@media (max-width: 820px) {
    :where(.hp) .rules, :where(.hp) .modes { grid-template-columns: 1fr; }
    :where(.hp) .sim-body { grid-template-columns: 1fr; }
    :where(.hp) .log { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
}
@media (max-width: 560px) {
    .hp { font-size: 16px; }
    :where(.hp) .roster { grid-template-columns: 1fr; }
    :where(.hp) .steps li { padding-left: 60px; }
    :where(.hp) .steps::before { left: 19px; }
    :where(.hp) .steps li::before { width: 40px; height: 40px; font-size: 18px; }
    :where(.hp) .protip { margin-left: 0; grid-template-columns: 1fr; }
    :where(.hp) .tx { grid-template-columns: 1fr; text-align: center; }
    :where(.hp) .tx-pause { height: 28px; }
    :where(.hp) .radar { width: 520px; height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
    :where(.hp) .radar::after, :where(.hp) .blip, :where(.hp) .msg, :where(.hp) .grid .tgt { animation: none; }
    :where(.hp) .blip { opacity: .7; }
}
