*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10182b;background:#f7f9fc;line-height:1.6}a{text-decoration:none;color:inherit}.wrap{width:min(1120px,92%);margin:auto}header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #e5eaf2}.nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:52px;height:52px;object-fit:contain}.brand strong,.brand small{display:block}.brand small{font-size:10px;letter-spacing:2px;color:#63718a}.nav nav{display:flex;gap:20px;font-size:14px;font-weight:700;color:#40506b}.hero{background:linear-gradient(135deg,#071b42,#0b3978 60%,#0e5aa7);color:#fff;padding:100px 0}.grid{display:grid;grid-template-columns:1.5fr .8fr;gap:55px;align-items:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#5e80b4;margin:0 0 12px}.hero .eyebrow{color:#bcd7ff}.hero-identity{display:flex;align-items:center;gap:24px}.hero-identity>img{width:125px;height:125px;object-fit:contain}.hero h1{font-size:clamp(45px,8vw,88px);line-height:.95;margin:0;letter-spacing:-3px}.hero h2{font-size:clamp(22px,4vw,34px);letter-spacing:7px;font-weight:500;margin:16px 0 24px}.lead{font-size:20px;max-width:700px;color:#e1ecff}.btn{display:inline-block;padding:13px 20px;border-radius:9px;font-weight:800;margin:8px 8px 0 0}.light{background:#fff;color:#0b2d68}.outline{border:1px solid #9bb9df}.panel{background:#ffffff16;border:1px solid #ffffff3b;border-radius:18px;padding:28px}.panel i{display:block;width:11px;height:11px;border-radius:50%;background:#79d89c;margin-bottom:18px}.panel small{color:#b9cae4}.section{padding:82px 0}.alt{background:#eef3f9}.section h2{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:0 0 22px;letter-spacing:-1px}.section>div>p:not(.eyebrow){max-width:850px}.notice{margin-top:30px;padding:22px 24px;border-left:4px solid #1c5eac;background:#edf4ff;border-radius:0 10px 10px 0}.notice p{margin-bottom:0}.cards,.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:30px}.cards article,.steps article{background:#fff;border:1px solid #e0e6ef;border-radius:15px;padding:25px;box-shadow:0 8px 30px #182d500d}.cards h3,.steps h3{margin-top:0}.steps{grid-template-columns:repeat(4,1fr)}.steps b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#0b2d68;color:#fff}.docs{border-top:1px solid #dce3ec;margin-top:30px}.docs>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 4px;border-bottom:1px solid #dce3ec}.docs>div>div{display:grid;gap:4px}.docs span{color:#718099;font-size:14px}.docbtn{background:#0b2d68;color:#fff;padding:8px 14px;border-radius:8px;font-weight:800;font-size:13px}.textlink{display:inline-block;color:#0b4f9f;font-weight:800;margin:12px 18px 0 0}.links{margin-top:18px}.compact{padding-top:35px;padding-bottom:55px}.contact{background:#0b2d68;color:#fff;padding:75px 0}.contact .eyebrow{color:#bcd7ff}.contact p{max-width:750px}footer{background:#061a3b;color:#b8c8df;padding:30px 0}@media(max-width:800px){.nav nav{display:none}.grid,.cards,.steps{grid-template-columns:1fr 1fr}.hero{padding:70px 0}}@media(max-width:550px){.hero-identity{align-items:flex-start}.hero-identity>img{width:82px;height:82px}.grid,.cards,.steps{grid-template-columns:1fr}.hero h1{letter-spacing:-2px}.docs div{display:block}.docs span{display:block;margin-top:5px}}

.social-section{background:#f7f9fc}
.social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:32px}
.social-card{display:flex;align-items:center;gap:13px;min-width:0;padding:20px 16px;background:#fff;border:1px solid #e0e6ef;border-radius:16px;box-shadow:0 8px 30px #182d500d;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.social-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px #182d5018;border-color:#b7c8df}
.social-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;background:#0b2d68;color:#fff;font-size:23px;font-weight:900}
.social-copy{display:grid;gap:3px;min-width:0}
.social-copy strong{font-size:15px;color:#10182b}
.social-copy small{font-size:12px;color:#718099;line-height:1.35}
.social-arrow{margin-left:auto;align-self:flex-start;color:#8190a7;font-size:18px}
.social-card.discord .social-icon{background:#5865f2}
.social-card.youtube .social-icon{background:#e62117}
.social-card.tiktok .social-icon{background:#111}
.social-card.instagram .social-icon{background:linear-gradient(135deg,#7846c8,#e1306c,#f9a03f)}
@media(max-width:900px){.social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.social-grid{grid-template-columns:1fr}.social-card{padding:17px}}


.contact-email-section{background:#fff}
.email-link{display:flex;align-items:center;gap:16px;max-width:680px;margin:28px auto 0;padding:20px 22px;background:#f7f9fc;border:1px solid #dfe6f0;border-radius:16px;text-decoration:none;box-shadow:0 8px 28px #182d500d;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.email-link:hover{transform:translateY(-3px);box-shadow:0 13px 32px #182d5017;border-color:#b7c8df}
.email-mark{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:#0b2d68;color:#fff;font-size:24px}
.email-text{display:grid;gap:5px;min-width:0}
.email-text strong{color:#10182b;font-size:15px}
.email-text span{color:#52627a;overflow-wrap:anywhere;font-size:14px}
.email-arrow{margin-left:auto;color:#8190a7;font-size:20px}

/* Compact, understated network/platform logo row */
.network-logos{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,24px);flex-wrap:wrap;margin:16px auto 8px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
.network-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:72px;max-width:135px;color:var(--muted,#aab4c4);text-decoration:none;opacity:.58;transition:opacity .2s ease}
.network-logo:hover{opacity:.9}
.network-logo img{display:block;width:auto;max-width:108px;height:25px;object-fit:contain}
.network-logo span{font-size:.62rem;letter-spacing:.05em;text-transform:uppercase;text-align:center}
@media(max-width:600px){.network-logos{gap:10px}.network-logo{min-width:60px}.network-logo img{max-width:82px;height:20px}.network-logo span{font-size:.56rem}}

.training-chart{display:block;width:100%;max-width:1100px;height:auto;margin:24px auto;border-radius:10px;border:1px solid rgba(255,255,255,.12)}
.training-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.training-cards article{padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(5,20,42,.45)}
.training-cards h3{margin-top:0}
.training-cards p{margin:.5em 0}

/* Squadron live flights panel — static Cloudflare Pages compatible */
.live-flights-section{background:#f5f7fb;color:#10182b}
.live-flights-section .wrap>p:not(.eyebrow){max-width:900px}
.live-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 16px;color:#66758d;font-size:13px}
.live-toolbar .btn{cursor:pointer;border:0}
.live-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.live-network-card{min-width:0;background:#fff;border:1px solid #dfe6f0;border-radius:16px;padding:20px;box-shadow:0 8px 28px #182d500d}
.live-network-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edf4;padding-bottom:12px;margin-bottom:12px}
.live-network-heading h3{margin:0;color:#0b2d68}
.live-count{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 9px;border-radius:999px;background:#0b2d68;color:#fff;font-weight:700}
.live-list{display:grid;gap:10px}
.live-flight{border:1px solid #e6ebf3;border-radius:12px;padding:13px;background:#fbfcfe}
.live-flight-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.live-flight-callsign{font-weight:800;color:#0b2d68;font-size:16px}
.live-flight-member{font-size:12px;color:#61718a}
.live-flight-route{margin:8px 0 5px;font-weight:700;color:#17233a}
.live-flight-meta{display:flex;gap:8px;flex-wrap:wrap;color:#6b7890;font-size:12px}
.live-flight-meta span{background:#eef2f8;padding:4px 7px;border-radius:6px}
.live-empty{margin:0;color:#718099;font-size:13px;padding:12px 0}
.live-footnote{font-size:12px;color:#68768d;margin-top:18px}
@media(max-width:700px){.live-network-grid{grid-template-columns:1fr}.live-toolbar{align-items:flex-start;flex-direction:column}}

/* Enhanced V13 live flight map — map-only presentation layer */
#squadron-live-map-section .wrap{max-width:1320px}
#squadron-live-map-section #squadron-live-map{height:min(68vh,680px);min-height:440px;width:100%;border:1px solid #cbd5e1;border-radius:18px;overflow:hidden;background:#dce6ef;box-shadow:0 18px 45px rgba(11,35,68,.16);z-index:0}
#squadron-live-map-section .live-footnote{margin-top:12px;color:#607086;font-size:12px;line-height:1.55}
.s303-plane-marker{background:transparent!important;border:0!important}
.s303-plane-badge{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.94);border:2px solid var(--plane-color);box-shadow:0 2px 9px rgba(5,20,42,.32);color:var(--plane-color);box-sizing:border-box}
.s303-plane-wrap{width:29px;height:29px;display:grid;place-items:center;transform-origin:50% 50%;transition:filter .15s ease}
.s303-plane-svg{display:block;width:29px;height:29px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.3))}
.s303-plane-marker:hover .s303-plane-badge{transform:scale(1.12);box-shadow:0 3px 13px rgba(5,20,42,.42)}
.s303-map-popup{font-family:inherit;min-width:205px;color:#14243a;padding:2px 1px}
.s303-popup-title{font-size:17px;font-weight:800;letter-spacing:.03em;color:#0b2d68}
.s303-popup-sub{font-size:12px;color:#5b6b80;margin:2px 0 8px}
.s303-network-pill{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:10px;background:#e8eef7;color:#24466e;font-size:10px;font-weight:700}
.s303-popup-aircraft{font-size:13px;font-weight:700;margin-bottom:8px}
.s303-popup-route{display:flex;align-items:center;justify-content:space-between;gap:7px;background:#f2f5f9;border-radius:7px;padding:7px 8px;font-size:12px;font-weight:700}
.s303-popup-route b{color:#6c7c91}
.s303-popup-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.s303-popup-grid>div{display:flex;flex-direction:column;gap:2px}
.s303-popup-grid small{font-size:9px;color:#738197;font-weight:800;letter-spacing:.07em}
.s303-popup-grid strong{font-size:12px;color:#172a43}
#squadron-live-map-section .leaflet-control-layers{border-radius:8px;box-shadow:0 2px 12px #12274426}
#squadron-live-map-section .leaflet-popup-content-wrapper{border-radius:11px}
@media(max-width:700px){#squadron-live-map-section #squadron-live-map{height:58vh;min-height:350px;border-radius:12px}.s303-plane-badge{width:34px;height:34px}.s303-plane-wrap,.s303-plane-svg{width:26px;height:26px}}

/* GIOC + J2 mission layer — isolated additions */
.s303-missions-panel{margin-top:18px;padding:18px;border:1px solid rgba(127,127,127,.28);border-radius:14px;background:var(--card,#fff)}
.s303-missions-head{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.s303-missions-head h3{margin:0}
#s303-missions-updated{font-size:.85rem;opacity:.7}
.s303-mission-item{padding:12px 0;border-top:1px solid rgba(127,127,127,.2)}
.s303-mission-item strong{display:block}
.s303-mission-meta{font-size:.88rem;opacity:.78;margin-top:4px}
.s303-mission-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}

/* GIOC + J2 panel and permanent base references — isolated additions */
.s303-missions-panel{margin-top:18px;padding:clamp(14px,2.5vw,24px);border:1px solid #dce4ef;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(11,35,68,.06)}
.s303-missions-head{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.s303-missions-head h3{margin:0;color:#0b2d68}#s303-missions-updated{font-size:.82rem;color:#68768d}
.s303-counts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.s303-counts span{padding:7px 10px;border-radius:9px;background:#f0f3f8;font-size:13px}.s303-counts b{font-size:17px}.s303-counts .c-emergency{color:#b71c1c}.s303-counts .c-spanish{color:#1557a0}.s303-counts .c-allied{color:#23743a}.s303-counts .c-bases{color:#666}
.s303-mission-group{margin-top:20px}.s303-mission-group h4{display:flex;align-items:center;gap:8px;margin:0 0 7px;font-size:14px;letter-spacing:.04em}.s303-mission-group h4>span{width:10px;height:10px;border-radius:50%}.s303-mission-group h4 small{font-weight:500;color:#718099}.s303-mission-item{padding:12px 0;border-top:1px solid #e8edf4}.s303-mission-focus{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.s303-mission-focus strong{display:block;color:#172b48;font-size:14px}.s303-mission-focus:hover strong{text-decoration:underline}.s303-mission-meta{display:block;font-size:12px;color:#66758d;margin-top:4px}.s303-mission-item details{margin-top:7px;font-size:13px;color:#45546a}.s303-mission-item summary{cursor:pointer;font-weight:700;color:#24558c}.s303-mission-item details p{margin:8px 0}.s303-mission-item dl{display:grid;grid-template-columns:minmax(110px,.35fr) 1fr;gap:5px 12px;margin:8px 0}.s303-mission-item dt{font-weight:700;color:#63718a}.s303-mission-item dd{margin:0}.s303-approx{margin:6px 0;padding:5px 7px;background:#fff7e6;border-radius:6px;color:#805b16;font-size:11px}
.s303-map-popup{min-width:210px;max-width:300px;line-height:1.45}.s303-map-popup strong{display:block;margin-bottom:5px;color:#0b2d68}.s303-map-popup p{margin:7px 0}.s303-map-popup a{color:#1557a0;text-decoration:underline}
@media(max-width:600px){.s303-mission-item dl{grid-template-columns:1fr;gap:2px}.s303-mission-item dd{margin-bottom:7px}}


/* Interactive recurring route catalogue — isolated from live network tracking */
.route-catalog-panel{margin-top:18px;padding:clamp(14px,2.5vw,24px);border:1px solid #dce4ef;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(11,35,68,.06);color:#172b48}
.route-catalog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.route-catalog-head .eyebrow{margin:0 0 5px}.route-catalog-head h3{margin:0;color:#0b2d68}.route-catalog-head p:not(.eyebrow){margin:6px 0;color:#64748b;font-size:13px}
#route-title{margin:14px 0 8px;color:#183b68;font-size:16px}#route-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:9px}
.route-card{display:flex;flex-direction:column;gap:6px;text-align:left;padding:12px;border:1px solid #dbe3ee;border-radius:11px;background:#f8fafc;color:#20324a;cursor:pointer;font:inherit}.route-card:hover,.route-card:focus-visible{border-color:#2b6cb0;background:#eef5ff;outline:none}.route-card.chosen{border:2px solid #1769aa;background:#edf5ff}.route-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.route-card-top b{font-size:13px}.route-card-top i{font-size:11px;color:#52657d;white-space:nowrap;font-style:normal}.route-card>span:nth-child(2){font-size:12px;color:#52657d}.route-card small{font-size:12px;line-height:1.45}.route-card em{font-size:11px;color:#167044;font-style:normal;font-weight:700}.route-detail{padding:14px;border-radius:11px;background:#f4f7fb;line-height:1.5}.route-detail p{margin:7px 0}.route-back,#route-reset{padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1d4b7a;font-weight:700;cursor:pointer}.route-footnote{margin:12px 0 0;color:#64748b;font-size:11px;line-height:1.5}.route-base-label{font-size:11px;font-weight:700}
@media(max-width:600px){.route-catalog-head h3{font-size:18px}.route-card-top{flex-wrap:wrap}}

/* V22: persistent map clear-selection control */
.s303-map-clear-control{border:1px solid rgba(20,30,45,.25);border-radius:7px;box-shadow:0 1px 5px rgba(0,0,0,.28);}
.s303-map-clear-control button:hover{background:#eef3f8!important;}

/* Etiquetas permanentes para identificar las zonas de patrulla en el mapa */
.s303-patrol-label-wrap{background:transparent!important;border:0!important;white-space:nowrap!important;pointer-events:none!important}
.s303-patrol-label{display:inline-flex;flex-direction:column;gap:1px;transform:translate(-50%,-50%);padding:2px 5px;border:1px solid color-mix(in srgb,var(--patrol-color) 48%,transparent);border-left:2px solid color-mix(in srgb,var(--patrol-color) 58%,transparent);border-radius:4px;background:rgba(12,18,28,.38);color:rgba(255,255,255,.78);font:8px/1.1 system-ui,sans-serif;box-shadow:0 1px 3px rgba(0,0,0,.16);text-shadow:0 1px 2px rgba(0,0,0,.5);opacity:.58;backdrop-filter:blur(2px);max-width:150px;white-space:normal;text-align:center}
.s303-patrol-label b{font-size:8px;letter-spacing:.04em;color:rgba(255,255,255,.82)}
.s303-patrol-label span{font-size:8px;color:rgba(241,245,249,.76)}

/* V27: base markers are DOM icons above all other map layers and always clickable. */
.s303-base-marker-wrap{background:transparent!important;border:0!important;pointer-events:auto!important;z-index:760!important}
.s303-base-marker{display:block;width:20px;height:20px;border:3px solid #fff;border-radius:50%;background:var(--base-color);box-shadow:0 1px 7px rgba(0,0,0,.75);box-sizing:border-box;cursor:pointer;pointer-events:auto}
.s303-base-marker-wrap.leaflet-marker-icon{pointer-events:auto!important}


/* V28 — Pilot personal records. Isolated styles; existing V27 components untouched. */
.pilots-page{padding:42px 0 70px}.pilots-page h1{color:#0b2d68}.pilot-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px;margin-top:24px}.pilot-tile{display:block;padding:17px;border:1px solid #dbe3ee;border-radius:15px;background:linear-gradient(145deg,#fff,#f3f6fa);box-shadow:0 8px 24px rgba(11,35,68,.06);color:#172b48;transition:transform .15s,border-color .15s}.pilot-tile:hover{transform:translateY(-2px);border-color:#9bb4d1}.pilot-tile-head{display:flex;align-items:center;gap:11px}.pilot-tile-head>div:nth-child(2){display:flex;flex-direction:column;flex:1}.pilot-tile-head strong{font-size:16px;color:#0b2d68}.pilot-tile-head small{font-size:12px;color:#61718a}.pilot-shield,.profile-crest{display:grid;place-items:center;background:linear-gradient(145deg,#102c55,#07172d);color:#e9c66e;border:2px solid #c5a65b;font-weight:900;letter-spacing:.04em;clip-path:polygon(8% 0,92% 0,100% 75%,50% 100%,0 75%)}.pilot-shield{width:42px;height:48px;font-size:13px}.pilot-tile-stats{display:flex;gap:14px;flex-wrap:wrap;margin:17px 0 12px;color:#63718a;font-size:12px}.pilot-tile-stats b{color:#102d55;font-size:17px}.pilot-open{font-size:12px;font-weight:800;color:#1d5d9b}.rank-insignia{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:46px;padding:5px 7px;border-radius:7px;background:linear-gradient(135deg,#14243a,#263d5c);border:1px solid #bda05e;box-shadow:inset 0 0 0 1px #ffffff16}.rank-stars{min-height:12px;color:#f2d47d;font-size:10px;letter-spacing:2px;white-space:nowrap}.rank-stripes{display:flex;gap:3px;height:5px}.rank-stripes i{display:block;width:15px;height:3px;border-radius:2px;background:linear-gradient(#fff0b4,#c49b42);box-shadow:0 0 2px #000}.rank-0 .rank-stars,.rank-0 .rank-stripes{display:none}.profile-hero{display:flex;align-items:center;gap:20px;padding:26px;border-radius:18px;background:linear-gradient(120deg,#07172d,#153a65);color:#fff;box-shadow:0 14px 35px #0b234433}.profile-crest{width:82px;height:94px;flex:0 0 auto;font-size:24px}.profile-identity{flex:1}.profile-identity .eyebrow{color:#d5b96f}.profile-identity h1{margin:0;color:#fff;font-size:clamp(28px,5vw,42px);letter-spacing:.04em}.profile-identity p{margin:5px 0;color:#d8e1ed}.profile-ids{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.profile-ids span{padding:5px 8px;border:1px solid #ffffff40;border-radius:7px;background:#ffffff12;font-size:11px}.profile-rank{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.profile-rank b{font-size:13px}.profile-rank small{font-size:10px;color:#cad5e3;max-width:120px}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.profile-stats article,.profile-box{padding:17px;border:1px solid #dbe3ee;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(11,35,68,.04)}.profile-stats article{display:flex;flex-direction:column;gap:6px}.profile-stats small{font-size:10px;letter-spacing:.08em;color:#718096;font-weight:800}.profile-stats b{font-size:22px;color:#0b2d68}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-box h2{margin:0 0 12px;color:#0b2d68;font-size:18px}.profile-box ol{list-style:none;margin:0;padding:0}.profile-box li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #edf0f5;font-size:13px}.profile-box li b{color:#0b2d68}.profile-history{margin-top:14px}.table-scroll{overflow-x:auto}.profile-history table{width:100%;border-collapse:collapse;font-size:12px}.profile-history th,.profile-history td{padding:9px;text-align:left;border-bottom:1px solid #e8edf4;vertical-align:top}.profile-history th{color:#52647c;background:#f5f7fa;white-space:nowrap}.profile-note{margin:14px 0;color:#68768d;font-size:11px;line-height:1.6}.profiles-status{padding:10px 13px;border-radius:9px;background:#edf3f9;color:#53677e;font-size:12px}.profile-back{display:inline-block;margin:0 0 16px;color:#1d5d9b;font-weight:700;font-size:13px}
@media(max-width:760px){.profile-hero{align-items:flex-start;flex-wrap:wrap;padding:19px}.profile-rank{margin-left:auto}.profile-stats{grid-template-columns:repeat(2,1fr)}.profile-columns{grid-template-columns:1fr}}
@media(max-width:430px){.profile-crest{width:60px;height:70px;font-size:18px}.profile-identity{min-width:0}.profile-rank{width:100%;flex-direction:row;justify-content:flex-start}.profile-rank small{max-width:none}}

.network-hours-box{margin:14px 0}.network-hours-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.network-hours-grid article{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #dce5f0;border-radius:10px;background:linear-gradient(135deg,#f7faff,#edf3fa)}.network-hours-grid small{font-size:10px;letter-spacing:.08em;font-weight:800;color:#60728a}.network-hours-grid b{font-size:clamp(22px,4vw,30px);color:#0b2d68;font-variant-numeric:tabular-nums}.network-hours-grid span,.network-hours-stamp{font-size:11px;color:#718096}.network-hours-stamp{margin:10px 0 0}

/* V28.4 decorations and awards */
.profile-awards{margin-top:22px}.awards-note{color:#64748b;font-size:.88rem}.award-group{margin:18px 0}.award-group h3{font-size:1rem;color:#173b63;border-bottom:1px solid #dbe3ec;padding-bottom:7px}.award-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px}.award-item{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #d9e2ec;border-radius:10px;background:linear-gradient(135deg,#fff,#f5f8fb)}.award-medal{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#e8edf3;color:#a77a25;border:2px solid #c7a45d;font-size:19px}.award-item b{display:block;font-size:.88rem}.award-item small{display:block;margin-top:4px;color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}

/* V28.5 reward image thumbnails extracted from the supplied official rewards board */
.award-thumb{width:58px;height:58px;flex:0 0 58px;object-fit:contain;border-radius:8px;background:#071a2b;border:1px solid #c7a45d;padding:2px}.award-item>div{min-width:0}

/* V28.8: explicit pointer handling for aircraft markers and selectable live-flight cards */
.s303-plane-marker,.s303-plane-marker.leaflet-marker-icon{pointer-events:auto!important;cursor:pointer!important;z-index:1000!important}
.s303-plane-marker .s303-plane-badge{pointer-events:auto!important;cursor:pointer!important}
.live-flight-select{display:block;width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;border:1px solid #dce3ec;background:#fff;border-radius:10px;padding:12px;margin:8px 0;transition:box-shadow .15s,transform .15s}
.live-flight-select:hover,.live-flight-select:focus-visible{outline:2px solid #1769aa;box-shadow:0 5px 18px #102b4a20;transform:translateY(-1px)}
.live-flight-select .live-flight-top,.live-flight-select .live-flight-meta{display:flex;justify-content:space-between;gap:8px}
.live-flight-select .live-flight-route{display:block}
.live-flight-select .live-flight-meta span{display:inline-block}
.live-flight-select-hint{display:block;text-align:right;color:#1769aa;font-size:11px;font-weight:800;margin-top:5px}

/* V28.9: plane icon remains fully clickable; Leaflet marker owns the click. */
.s303-plane-marker,.s303-plane-marker.leaflet-marker-icon{pointer-events:auto!important;cursor:pointer!important}
.s303-plane-marker .s303-plane-badge{pointer-events:auto!important;cursor:pointer!important}
.s303-plane-wrap,.s303-plane-svg{pointer-events:none!important}

/* V28.10 — clean insignia thumbnails */
.award-thumb{width:68px;height:68px;flex:0 0 68px;object-fit:contain;border-radius:8px;background:#061522;border:1px solid #b89445;padding:3px}
.award-item{min-height:88px;align-items:center}

/* V28.10 — aircraft markers above operational overlays and reliably clickable */
#squadron-live-map .leaflet-s303AircraftPane{z-index:780!important;pointer-events:auto!important}
#squadron-live-map .leaflet-marker-pane .s303-plane-marker,
#squadron-live-map .leaflet-s303AircraftPane .s303-plane-marker{pointer-events:auto!important;cursor:pointer!important}
#squadron-live-map .s303-plane-marker *{pointer-events:none!important}
/* V29.1 — contraste y lectura de marcadores del globo Mapbox */
.s303-globe-popup{font:13px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;color:#17212b;min-width:190px}
.s303-globe-popup hr{border:0;border-top:1px solid #cbd5e1;margin:7px 0}
.s303-globe-marker{width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:#1769aa;color:#fff;box-shadow:0 2px 12px #0009;cursor:pointer;font-size:17px;line-height:25px;text-align:center}
.s303-globe-marker.ivao{background:#b3261e}
.s303-globe-tactical-marker{transition:transform .12s ease}
.s303-globe-tactical-marker:hover{transform:scale(1.35)}
