:root{--bg:#061826;--ink:#f7fbff;--muted:#a8bfce;--card:rgba(10,38,57,.88);--line:rgba(255,255,255,.13);--line2:rgba(255,255,255,.22);--ocean:#0ea5e9;--teal:#2dd4bf;--green:#22c55e;--orange:#f97316;--danger:#ef4444;--shadow:0 18px 50px rgba(0,0,0,.34);--nav-h:78px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);overflow-x:hidden}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-height:100svh;background:radial-gradient(circle at 20% -10%,rgba(45,212,191,.22),transparent 35%),radial-gradient(circle at 95% 10%,rgba(249,115,22,.16),transparent 34%),linear-gradient(180deg,#0b3741 0%,#082236 34%,#04111d 100%)}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:active{transform:translateY(1px)}img,video{max-width:100%;display:block}.app-shell{width:min(960px,100%);min-height:100svh;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 12px) clamp(12px,3.8vw,22px) calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 38px)}.app-header{position:sticky;z-index:50;top:max(8px,env(safe-area-inset-top,0px));display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px;padding:10px;border:1px solid var(--line);border-radius:24px;background:rgba(4,18,30,.86);box-shadow:0 12px 38px rgba(0,0,0,.26);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:10px;min-width:0;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.brand-mark{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:18px;color:#031522;font-weight:1000;background:linear-gradient(135deg,var(--teal),var(--ocean));box-shadow:0 10px 24px rgba(14,165,233,.26)}.brand-copy{display:grid;gap:2px;min-width:0}.brand-copy strong{font-size:clamp(21px,5vw,32px);line-height:1;letter-spacing:-.05em}.brand-copy small{color:var(--muted);font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:8px}.header-account{min-height:44px;border:0;border-radius:999px;padding:10px 14px;color:#051724;background:#f7fbff;font-weight:1000;white-space:nowrap}.header-avatar{width:50px;height:50px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:linear-gradient(135deg,#ffb264,var(--orange));color:#2b1000;font-size:20px;font-weight:1000;overflow:hidden;background-size:cover;background-position:center}.screen{display:none;animation:screenIn .18s ease both}.screen.active{display:block}@keyframes screenIn{from{opacity:.45;transform:translateY(6px)}to{opacity:1;transform:none}}.hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:clamp(18px,5vw,30px);background:linear-gradient(135deg,rgba(12,59,84,.98),rgba(9,114,107,.94));box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;inset:auto -10% -22% -10%;height:48%;background:rgba(255,255,255,.1);border-radius:50%;pointer-events:none}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#95fff7;font-size:12px;font-weight:1000;letter-spacing:.14em;text-transform:uppercase}.hero h1,.page-title{margin:9px 0 10px;font-size:clamp(34px,10vw,62px);line-height:.96;letter-spacing:-.065em}.hero p,.lead{color:#d4e9f2;font-size:clamp(15px,4vw,18px);line-height:1.45}.row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.stack{display:grid;gap:12px}.hidden{display:none!important}.mt{margin-top:16px}.mb{margin-bottom:16px}.muted{color:var(--muted)}.tiny{font-size:12px;color:var(--muted);line-height:1.4}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:11px 16px;color:#061826;background:#f7fbff;font-weight:1000;line-height:1;text-decoration:none}.btn.primary{color:#261000;background:linear-gradient(135deg,#ff7a1a,#ffc078);box-shadow:0 10px 26px rgba(249,115,22,.28)}.btn.dark{color:var(--ink);background:rgba(255,255,255,.08);border:1px solid var(--line)}.btn.soft{color:#031522;background:linear-gradient(135deg,var(--teal),var(--ocean))}.btn.danger{color:white;background:var(--danger)}.btn.success{color:#02210f;background:#6ee7a2}.btn.small{min-height:36px;padding:8px 12px;font-size:13px}.btn.full{width:100%}.section{margin-top:22px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.section h2{margin:0;font-size:clamp(25px,7vw,38px);line-height:.98;letter-spacing:-.055em}.section p{line-height:1.45}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cards{grid-template-columns:1fr}.panel,.trip-card,.feed-card,.mini-card,.admin-card{border:1px solid var(--line);border-radius:22px;background:var(--card);box-shadow:0 12px 34px rgba(0,0,0,.22)}.panel{padding:16px}.trip-card,.feed-card{padding:14px;overflow:hidden}.mini-card,.admin-card{padding:15px;background:rgba(16,47,66,.92)}.panel h3,.trip-card h3,.feed-card h3,.mini-card h3,.admin-card h3{margin:6px 0;font-size:clamp(19px,5.6vw,26px);line-height:1.05;letter-spacing:-.045em}.condition-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.stat{min-width:0;border:1px solid rgba(255,255,255,.11);border-radius:16px;padding:11px;background:rgba(255,255,255,.07)}.stat span{display:block;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat strong{display:block;margin-top:3px;font-size:clamp(17px,4.8vw,22px);overflow-wrap:anywhere}.badge,.chip{display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000;line-height:1}.badge{color:#031522;background:linear-gradient(135deg,var(--teal),var(--ocean))}.badge.orange{color:#241000;background:#ffb264}.badge.green{color:#04220f;background:#6ee7a2}.badge.red{color:white;background:var(--danger)}.chip{color:var(--muted);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09)}.meta{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.card-media{height:130px;margin:-4px -4px 12px;border-radius:19px;display:grid;place-items:center;overflow:hidden;position:relative;background:linear-gradient(135deg,#0e7393,#1db598);color:rgba(255,255,255,.88);font-size:44px;font-weight:1000;background-size:cover;background-position:center}.card-media video{width:100%;height:100%;object-fit:cover}.card-media:after{content:"";position:absolute;inset:auto -20% -30% -20%;height:58%;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}.card-media.photo:after,.card-media.has-video:after{opacity:0}.filters{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}.filters::-webkit-scrollbar{display:none}.filter-btn{flex:0 0 auto;min-height:39px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.07);color:var(--ink);padding:8px 12px;font-weight:1000}.filter-btn.active{color:#031522;background:var(--teal)}.empty{border:1px dashed rgba(255,255,255,.24);border-radius:22px;padding:22px;text-align:center;color:var(--muted);background:rgba(255,255,255,.04)}.forms{display:grid;gap:10px}.field,.select,textarea.field{width:100%;min-height:46px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.08);color:var(--ink);padding:12px;outline:none}textarea.field{min-height:96px;resize:vertical}.field::placeholder,textarea.field::placeholder{color:#83a0af}.select option{color:#061826}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.label{display:grid;gap:6px;font-size:13px;font-weight:900;color:var(--muted)}.file-box{border:1px dashed rgba(255,255,255,.22);border-radius:18px;padding:12px;background:rgba(255,255,255,.05)}.file-box input{width:100%;color:var(--muted)}.chat-log{display:grid;gap:8px;max-height:280px;overflow:auto;padding-right:2px}.bubble{width:fit-content;max-width:88%;border:1px solid var(--line);border-radius:18px;padding:10px 12px;background:rgba(255,255,255,.08)}.bubble.mine{margin-left:auto;background:rgba(45,212,191,.16)}.bubble strong{display:block;font-size:12px;color:#aefdf5;margin-bottom:4px}.chat-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.bottom-nav{position:fixed;z-index:60;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 9px);transform:translateX(-50%);width:min(650px,calc(100% - 20px));height:var(--nav-h);display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:7px;border:1px solid var(--line);border-radius:26px;background:rgba(3,16,26,.93);box-shadow:0 18px 48px rgba(0,0,0,.44);backdrop-filter:blur(16px)}.nav-btn{min-width:0;border:0;border-radius:20px;color:#a9bdca;background:transparent;font-size:12px;font-weight:1000;display:grid;place-items:center;gap:2px}.nav-btn span{font-size:21px;line-height:1}.nav-btn b{font-size:11px;line-height:1}.nav-btn.active{color:#031522;background:linear-gradient(135deg,var(--teal),var(--ocean))}.fab{position:fixed;z-index:65;right:max(15px,env(safe-area-inset-right,0px) + 15px);bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 24px);width:60px;height:60px;border:0;border-radius:22px;color:#271000;background:linear-gradient(135deg,#ff7a1a,#ffc078);font-size:38px;line-height:1;font-weight:1000;box-shadow:var(--shadow)}.modal-root{position:fixed;inset:0;z-index:90;display:grid;place-items:end center;padding:12px;background:rgba(0,0,0,.62)}.modal-root[aria-hidden=true]{display:none}.modal{width:min(620px,100%);max-height:min(84svh,760px);overflow:auto;border:1px solid var(--line2);border-radius:28px;background:#071e2f;box-shadow:var(--shadow);padding:16px;animation:modalIn .18s ease both}@keyframes modalIn{from{opacity:.4;transform:translateY(18px)}to{opacity:1;transform:none}}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:12px}.modal-head h2{margin:0;font-size:clamp(25px,8vw,36px);line-height:1;letter-spacing:-.055em}.x-btn{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:15px;background:rgba(255,255,255,.08);color:var(--ink);font-size:24px}.toast{position:fixed;z-index:120;left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 18px);transform:translateX(-50%);width:min(520px,calc(100% - 28px));border:1px solid var(--line);border-radius:18px;background:rgba(3,16,26,.96);color:var(--ink);box-shadow:var(--shadow);padding:12px 14px;font-weight:850;text-align:center}.debug-pill{position:fixed;z-index:55;left:12px;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 18px);max-width:min(360px,calc(100% - 98px));border:1px solid var(--line);border-radius:999px;background:rgba(3,16,26,.78);color:#c8f7f3;padding:7px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.safe-note{border-left:4px solid var(--teal);border-radius:14px;padding:10px 12px;background:rgba(45,212,191,.08);color:#d8fffb}@media(min-width:720px){.grid.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-root{place-items:center}}@media(max-width:560px){:root{--nav-h:72px}.app-shell{padding-top:calc(env(safe-area-inset-top,0px) + 10px)}.app-header{top:max(6px,env(safe-area-inset-top,0px));border-radius:22px;padding:8px}.brand-mark{width:45px;height:45px;flex-basis:45px;border-radius:16px}.brand-copy strong{font-size:24px}.brand-copy small{max-width:112px}.header-account{min-height:41px;padding:9px 12px;max-width:116px;overflow:hidden;text-overflow:ellipsis}.header-avatar{width:45px;height:45px;border-radius:16px}.hero{padding:17px;border-radius:24px}.hero h1,.page-title{font-size:clamp(31px,9.6vw,42px)}.condition-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.two,.grid.three,.form-grid{grid-template-columns:1fr}.section{margin-top:18px}.section-head{align-items:start;flex-direction:column}.trip-card,.feed-card,.panel,.admin-card{border-radius:20px;padding:13px}.card-media{height:112px;border-radius:16px;font-size:36px}.bottom-nav{width:min(640px,calc(100% - 14px));height:var(--nav-h);bottom:calc(env(safe-area-inset-bottom,0px) + 7px);border-radius:24px;padding:6px}.nav-btn{border-radius:18px}.nav-btn span{font-size:19px}.nav-btn b{font-size:10px}.fab{width:55px;height:55px;border-radius:20px;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 20px);right:15px;font-size:34px}.debug-pill{display:none}.toast{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 14px)}.modal-root{padding:10px}.modal{max-height:min(86svh,760px);border-radius:25px;padding:14px}}@media(max-width:360px){.app-shell{padding-left:10px;padding-right:10px}.brand-copy strong{font-size:22px}.header-account{max-width:100px;padding-left:10px;padding-right:10px}.hero h1,.page-title{font-size:30px}}

/* v0.3.0 launch stabilization */
.compact-launch{margin-top:-4px}.launch-card{display:flex;align-items:center;justify-content:space-between;gap:14px;border-color:rgba(45,212,191,.28);background:linear-gradient(135deg,rgba(45,212,191,.12),rgba(14,165,233,.08)),rgba(8,27,43,.86)}.launch-card h2{margin:.15rem 0 .25rem;font-size:clamp(1.1rem,4vw,1.45rem)}.launch-card p{margin:0}@media(max-width:680px){.compact-launch{display:none}.app-main{padding-bottom:18px}.trip-card,.feed-card,.panel,.admin-card{box-shadow:0 10px 26px rgba(0,0,0,.22)}.hero h1{letter-spacing:-.055em}.bottom-nav{backdrop-filter:blur(14px)}}

/* v0.3.2 controlled QA + launch board */
.check-row{width:100%;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:16px;padding:11px;background:rgba(255,255,255,.055);color:var(--ink);text-align:left}.check-row span{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;border-radius:999px;background:rgba(255,255,255,.08);color:var(--teal);font-weight:1000}.check-row b{line-height:1.25}.check-row.done{border-color:rgba(34,197,94,.42);background:rgba(34,197,94,.10)}.check-row.done b{text-decoration:line-through;color:#b4c9d4}.qa-note{border:1px solid var(--line);border-radius:17px;padding:12px;background:rgba(255,255,255,.055)}.qa-note p{margin:10px 0;color:#d9edf5;line-height:1.38}.qa-note.done{opacity:.68}.qa-note.done p{text-decoration:line-through}.app-main{scroll-margin-bottom:var(--nav-h)}@media(max-width:560px){.section h2{font-size:clamp(22px,6.6vw,30px)}.hero p,.lead{font-size:15px}.condition-strip{gap:7px}.stat{padding:10px}.row .btn{flex:1 1 auto}.hero .row .btn{min-width:31%}.section-head .btn{align-self:flex-start}.grid.two{gap:10px}}


/* v0.3.6 show-ready tightening */
:root{--nav-h:70px;--radius-xl:26px;--radius-lg:20px;--surface:rgba(7,30,47,.92);--surface-soft:rgba(255,255,255,.055)}
body{background:linear-gradient(180deg,#0b3a48 0%,#071f32 38%,#04111d 100%)}
.app-shell{max-width:780px;padding-left:clamp(12px,4vw,20px);padding-right:clamp(12px,4vw,20px)}
.app-header{border-radius:22px;padding:8px 9px;background:rgba(4,18,30,.94);box-shadow:0 10px 28px rgba(0,0,0,.28)}
.brand-mark{width:44px;height:44px;flex-basis:44px;border-radius:15px;font-size:15px}.brand-copy strong{font-size:clamp(22px,5vw,28px)}.brand-copy small{font-size:11px}.header-account{min-height:40px;padding:8px 12px}.header-avatar{width:44px;height:44px;border-radius:15px}.home-hero{padding:20px;border-radius:26px;background:linear-gradient(150deg,rgba(12,74,96,.98),rgba(5,54,72,.96) 48%,rgba(6,24,38,.98));box-shadow:0 16px 42px rgba(0,0,0,.32)}.home-hero:after{opacity:.45}.hero-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.home-hero h1{max-width:11ch;font-size:clamp(40px,12vw,64px);letter-spacing:-.072em}.home-hero p{max-width:36rem;margin:0;color:#d8ecf4}.compact-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.compact-stats .stat{padding:10px 9px;border-radius:15px;background:rgba(255,255,255,.075)}.compact-stats .stat strong{font-size:clamp(16px,4.5vw,20px)}.hero-actions{display:grid;grid-template-columns:1.25fr .8fr 1fr;gap:9px;margin-top:15px}.hero-actions .btn{width:100%;min-height:46px}.quick-panel{margin-top:14px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-card{min-width:0;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.07);color:var(--ink);padding:13px 10px;text-align:left;box-shadow:0 8px 22px rgba(0,0,0,.18)}.quick-card span{display:block;font-size:24px;margin-bottom:8px}.quick-card b{display:block;font-size:15px;letter-spacing:-.025em}.quick-card small{display:block;margin-top:3px;color:var(--muted);line-height:1.22}.app-section-tight{margin-top:18px}.compact-head{align-items:center}.compact-head h2{font-size:clamp(22px,6.5vw,32px)}.trip-card,.feed-card,.panel,.admin-card{background:var(--surface);border-color:rgba(255,255,255,.105);box-shadow:0 10px 26px rgba(0,0,0,.22)}.trip-card h3,.feed-card h3,.panel h3,.admin-card h3{font-size:clamp(18px,5vw,23px)}.card-media{height:112px;border-radius:17px}.row{gap:8px}.btn{min-height:42px;border-radius:16px;padding:10px 13px}.btn.small{min-height:34px;border-radius:14px}.bottom-nav{height:66px;width:min(620px,calc(100% - 16px));border-radius:23px;padding:6px;background:rgba(3,16,26,.96)}.nav-btn{border-radius:17px}.nav-btn span{font-size:18px}.nav-btn b{font-size:10px}.fab{width:54px;height:54px;border-radius:19px;bottom:calc(66px + env(safe-area-inset-bottom,0px) + 18px);font-size:34px}.debug-pill{display:none}.toast{bottom:calc(66px + env(safe-area-inset-bottom,0px) + 16px)}.section{margin-top:20px}.page-title{font-size:clamp(34px,10vw,54px)}.lead{max-width:46rem}.modal{background:#071d2e}.safe-note{background:rgba(45,212,191,.07);border-left-color:var(--teal)}
@media(max-width:560px){:root{--nav-h:66px}.app-shell{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px) + 24px)}.app-header{margin-bottom:10px}.brand-copy small{max-width:105px}.header-actions{gap:6px}.header-account{max-width:92px;font-size:13px}.home-hero{padding:17px;border-radius:24px}.home-hero h1{font-size:clamp(34px,10.5vw,43px);max-width:12ch}.home-hero p{font-size:14px}.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.hero-actions{grid-template-columns:1fr 1fr;gap:8px}.hero-actions .btn:first-child{grid-column:1/-1}.quick-grid{grid-template-columns:1fr}.quick-card{display:flex;align-items:center;gap:11px;padding:11px 12px}.quick-card span{margin:0;font-size:22px}.quick-card small{font-size:12px}.section-head.compact-head{flex-direction:row;align-items:center}.card-media{height:96px}.trip-card,.feed-card,.panel,.admin-card{padding:12px;border-radius:18px}.meta{gap:6px}.chip,.badge{font-size:11px;padding:6px 8px}.bottom-nav{height:64px;bottom:calc(env(safe-area-inset-bottom,0px) + 6px)}.fab{width:52px;height:52px;bottom:calc(64px + env(safe-area-inset-bottom,0px) + 16px)}.modal{border-radius:24px}.forms{gap:9px}.field,.select,textarea.field{min-height:44px}}
@media(max-width:380px){.home-hero h1{font-size:32px}.brand-copy strong{font-size:21px}.condition-strip .stat span{font-size:11px}.condition-strip .stat strong{font-size:15px}.nav-btn span{font-size:17px}.nav-btn b{font-size:9px}.btn{font-size:14px}.quick-card b{font-size:14px}}


/* v0.3.4 Humanized visual pass: fewer emoji/generic clip-art cues, more handmade dock-card feel */
.hand-logo{position:relative;overflow:hidden;background:linear-gradient(145deg,#103d53,#082033)!important;border:1px solid rgba(248,231,201,.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 10px 22px rgba(0,0,0,.24)}
.hand-logo b{position:absolute;right:7px;bottom:6px;font-size:13px;letter-spacing:-.08em;color:#fff7df;text-shadow:0 1px 0 rgba(0,0,0,.4)}
.hook-line{position:absolute;left:10px;top:8px;width:16px;height:22px;border:2px solid #f8e7c9;border-left:0;border-top:0;border-radius:0 0 18px 0;transform:rotate(10deg);opacity:.95}
.hook-line:after{content:"";position:absolute;right:-4px;bottom:-2px;width:7px;height:7px;border-right:2px solid #f8e7c9;border-bottom:2px solid #f8e7c9;transform:rotate(-24deg)}
.wave-line{position:absolute;left:7px;right:7px;bottom:13px;height:8px;border-bottom:2px solid #2dd4bf;border-radius:50%;transform:rotate(-4deg);opacity:.9}
.nav-icon,.mini-doodle{display:block;position:relative;width:22px;height:22px;margin:0 auto 3px;color:#dffefa;opacity:.94}.mini-doodle{margin:0;flex:0 0 26px;width:26px;height:26px}
.nav-icon:before,.nav-icon:after,.mini-doodle:before,.mini-doodle:after{content:"";position:absolute;display:block;box-sizing:border-box}.nav-home:before{left:3px;top:8px;width:16px;height:11px;border:2px solid currentColor;border-radius:3px}.nav-home:after{left:5px;top:2px;width:13px;height:13px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);border-radius:2px}.nav-explore:before,.mini-doodle.compass:before{inset:2px;border:2px solid currentColor;border-radius:50%}.nav-explore:after,.mini-doodle.compass:after{left:9px;top:4px;width:5px;height:14px;background:linear-gradient(currentColor 0 0) center/2px 100% no-repeat;transform:rotate(35deg);border-radius:8px}.nav-crew:before,.mini-doodle.hook:before{left:8px;top:2px;width:11px;height:17px;border:2px solid currentColor;border-left:0;border-top:0;border-radius:0 0 14px 0}.nav-crew:after,.mini-doodle.hook:after{left:12px;top:1px;width:2px;height:10px;background:currentColor}.nav-feed:before{left:3px;top:5px;width:16px;height:12px;border:2px solid currentColor;border-radius:5px}.nav-feed:after{left:8px;top:8px;width:6px;height:6px;border:2px solid currentColor;border-radius:50%}.nav-profile:before{left:8px;top:3px;width:7px;height:7px;border:2px solid currentColor;border-radius:50%}.nav-profile:after{left:4px;top:12px;width:15px;height:8px;border:2px solid currentColor;border-radius:10px 10px 4px 4px}.mini-doodle.knot:before{left:5px;top:7px;width:10px;height:10px;border:2px solid currentColor;border-radius:50%;transform:rotate(20deg)}.mini-doodle.knot:after{left:12px;top:7px;width:10px;height:10px;border:2px solid currentColor;border-radius:50%;transform:rotate(-20deg)}
.media-sketch{position:relative;overflow:hidden;background:linear-gradient(145deg,#0e4158,#0a2a3e 62%,#061826);border:1px solid rgba(248,231,201,.18);display:block;font-size:0}.media-sketch:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(248,231,201,.15),transparent 24%),linear-gradient(180deg,transparent 45%,rgba(248,231,201,.07));opacity:.9}.sketch-sun{position:absolute;right:18px;top:16px;width:20px;height:20px;border:2px solid rgba(248,231,201,.82);border-radius:50%;box-shadow:0 0 0 6px rgba(248,231,201,.05)}.sketch-wave{position:absolute;left:18px;right:18px;height:20px;border-bottom:3px solid rgba(45,212,191,.72);border-radius:50%;transform:rotate(-2deg)}.sketch-wave.one{bottom:35px}.sketch-wave.two{bottom:24px;left:44px;opacity:.62}.sketch-line{position:absolute;left:30px;bottom:48px;width:90px;height:2px;background:rgba(248,231,201,.55);transform:rotate(-5deg);border-radius:99px}.sketch-mark{position:absolute;left:44%;top:38%;width:46px;height:20px;border:3px solid rgba(255,247,223,.88);border-left-width:8px;border-radius:55% 45% 45% 55%;transform:rotate(-7deg)}.sketch-mark:after{content:"";position:absolute;right:-14px;top:3px;border-left:14px solid rgba(255,247,223,.88);border-top:7px solid transparent;border-bottom:7px solid transparent}.media-sketch.boat .sketch-mark{width:64px;height:18px;left:34%;top:43%;border:0;border-bottom:10px solid rgba(255,247,223,.88);border-radius:0 0 22px 22px;transform:rotate(-2deg)}.media-sketch.boat .sketch-mark:before{content:"";position:absolute;left:17px;bottom:10px;border-left:18px solid transparent;border-right:5px solid transparent;border-bottom:24px solid rgba(255,247,223,.86)}.media-sketch.boat .sketch-mark:after{display:none}.media-sketch.shop .sketch-mark{left:35%;top:30%;width:50px;height:42px;border:3px solid rgba(255,247,223,.88);border-radius:4px;transform:rotate(-1deg)}.media-sketch.shop .sketch-mark:before{content:"";position:absolute;left:-6px;right:-6px;top:-14px;height:14px;background:repeating-linear-gradient(90deg,#f8e7c9 0 9px,#2dd4bf 9px 18px);border-radius:8px 8px 2px 2px}.media-sketch.shop .sketch-mark:after{display:none}.media-sketch.pier .sketch-line{width:120px;height:5px;bottom:47px;background:rgba(248,231,201,.62)}.media-sketch.pier .sketch-mark{display:none}.media-sketch.pier:after{content:"";position:absolute;left:42px;bottom:26px;width:4px;height:28px;background:rgba(248,231,201,.56);box-shadow:38px 0 0 rgba(248,231,201,.48),75px 0 0 rgba(248,231,201,.44)}.media-sketch small{position:absolute;left:14px;bottom:10px;font-size:12px;color:#fff7df;font-weight:850;letter-spacing:.01em;text-shadow:0 1px 7px rgba(0,0,0,.45)}
.card-media{font-family:inherit}.quick-card span:not(.mini-doodle){font-size:0}.trip-card,.feed-card{background:linear-gradient(180deg,rgba(12,48,68,.92),rgba(6,25,39,.94));border-color:rgba(248,231,201,.12)}


/* v0.3.6 World-ready tightening: calmer phone flow, stronger tap targets, cleaner show mode */
:root{--tap:44px}
[data-action]:focus-visible,.field:focus,.select:focus,textarea.field:focus{outline:3px solid rgba(45,212,191,.72);outline-offset:3px}
.btn,.filter-btn,.nav-btn,.quick-card,.check-row{touch-action:manipulation}
.trip-card,.feed-card,.panel{overflow-wrap:anywhere}
.safe-note{border:1px solid rgba(45,212,191,.22);border-left:4px solid var(--teal);border-radius:16px;padding:12px;background:rgba(45,212,191,.075)}
.loading-soft{opacity:.72;pointer-events:none}
@media(max-width:560px){
  body{background:linear-gradient(180deg,#09293a 0%,#061826 46%,#04101b 100%)}
  .app-shell{padding-left:12px;padding-right:12px}
  .app-header{position:sticky;top:calc(env(safe-area-inset-top,0px) + 6px);border-radius:20px;padding:8px 9px}
  .home-hero{padding:16px;border-radius:22px;box-shadow:0 14px 32px rgba(0,0,0,.28)}
  .home-hero h1{max-width:13ch;line-height:.98;margin-bottom:7px}
  .home-hero p{line-height:1.36}
  .hero-topline .chip{display:none}
  .hero-actions{margin-top:12px}
  .quick-panel{display:none}
  .section{margin-top:16px}
  .section-head{margin-bottom:9px}
  .section-head h2{font-size:22px;letter-spacing:-.04em}
  .trip-card,.feed-card{padding:11px;border-radius:18px}
  .card-media{height:86px;margin-bottom:9px}
  .row .btn{flex:1 1 auto}
  .bottom-nav{height:62px;width:calc(100% - 14px);bottom:calc(env(safe-area-inset-bottom,0px) + 5px);border-radius:22px}
  .nav-btn b{font-size:9px}
  .fab{width:50px;height:50px;right:14px;bottom:calc(62px + env(safe-area-inset-bottom,0px) + 14px);border-radius:18px}
  .modal-root{padding:8px;align-items:end}
  .modal{max-height:86svh;border-radius:22px;padding:14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* v0.4.0 Fluid App Flow Pass
   Inspired by modern mobile apps: soft collapsing chrome, calmer media rhythm,
   and scroll-aware spacing without copying any one product. */
:root{
  --chrome-blur: blur(18px);
  --dock-surface: rgba(5,18,30,.78);
  --dock-line: rgba(255,255,255,.12);
}

.app-shell{
  padding-top: calc(env(safe-area-inset-top,0px) + 10px);
}

.app-header{
  transition:
    transform .22s ease,
    padding .22s ease,
    border-radius .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    margin .22s ease;
  transform-origin: top center;
  will-change: transform;
}

.brand-mark,
.header-avatar{
  transition: width .22s ease, height .22s ease, border-radius .22s ease, transform .22s ease;
}

.brand-copy strong,
.brand-copy small,
.header-account{
  transition: opacity .2s ease, transform .2s ease, font-size .2s ease, padding .2s ease;
}

body.chrome-compact .app-header{
  padding: 7px 8px;
  border-radius: 20px;
  background: rgba(4,18,30,.76);
  box-shadow: 0 10px 34px rgba(0,0,0,.24);
  transform: translateY(-2px) scale(.985);
}

body.chrome-deep .app-header{
  margin-inline: clamp(10px, 6vw, 26px);
  background: rgba(4,18,30,.64);
}

body.chrome-compact .brand-mark,
body.chrome-compact .header-avatar{
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 15px;
}

body.chrome-compact .brand-copy strong{
  font-size: clamp(18px,4.2vw,24px);
}

body.chrome-compact .brand-copy small{
  opacity: .72;
  transform: translateY(-1px);
}

body.chrome-compact .header-account{
  min-height: 38px;
  padding: 8px 12px;
}

.bottom-nav{
  transition:
    transform .24s ease,
    width .24s ease,
    border-radius .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    padding .24s ease;
  backdrop-filter: var(--chrome-blur);
}

body.chrome-compact .bottom-nav{
  width: min(520px, calc(100% - 36px));
  padding: 8px;
  border-radius: 28px;
  background: rgba(4,18,30,.76);
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
}

body.chrome-deep .bottom-nav{
  transform: translateX(-50%) translateY(3px) scale(.972);
}

.hero.home-hero{
  min-height: auto;
  isolation: isolate;
}

.hero.home-hero:before{
  opacity: .38;
}

.hero.home-hero h1{
  max-width: 9.5ch;
  text-wrap: balance;
}

.condition-strip.compact-stats{
  backdrop-filter: blur(12px);
  background: rgba(4,18,30,.50);
  border: 1px solid rgba(255,255,255,.13);
}

.dockline{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  margin: 2px 0 10px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.dockline::-webkit-scrollbar{display:none}
.dock-bubble{
  flex: 0 0 auto;
  width: 78px;
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}
.dock-bubble span{
  width: 66px;
  height: 66px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(45,212,191,.65);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.dock-bubble b{
  width: 82px;
  font-size: 11px;
  line-height: 1.1;
  color: #d7eef7;
  white-space: normal;
}

.trip-card,
.feed-card,
.business-card,
.panel,
.section,
.hero{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover){
  .trip-card:hover,
  .feed-card:hover,
  .business-card:hover{
    transform: translateY(-2px);
    border-color: rgba(45,212,191,.25);
  }
}

.feed-card{
  overflow: hidden;
}

.feed-card .media,
.trip-card .media{
  border-radius: 22px;
  overflow: hidden;
}

.fab{
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

body.chrome-deep .fab{
  transform: translateY(4px) scale(.94);
  opacity: .94;
}

@media (max-width: 560px){
  .app-shell{
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 74px);
  }
  .app-header{
    margin-bottom: 10px;
  }
  .hero.home-hero{
    border-radius: 24px;
    padding: 20px 18px;
  }
  .hero.home-hero h1{
    font-size: clamp(34px, 10.4vw, 46px);
    line-height: .94;
  }
  .hero.home-hero p{
    max-width: 32ch;
    font-size: 14px;
  }
  .hero-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions .btn.primary{
    grid-column: 1 / -1;
  }
  .condition-strip.compact-stats{
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .condition-strip .stat{
    min-width: 0;
    padding: 10px 11px;
  }
  .quick-panel{
    display:none;
  }
  .cards{
    gap: 12px;
  }
  .trip-card,
  .feed-card{
    border-radius: 24px;
    padding: 14px;
  }
  .trip-card h3,
  .feed-card h3{
    font-size: clamp(21px, 6vw, 27px);
    line-height: 1.02;
  }
  .trip-card .media,
  .feed-card .media{
    min-height: 150px;
    max-height: 210px;
  }
  .bottom-nav{
    bottom: calc(env(safe-area-inset-bottom,0px) + 10px);
    width: min(430px, calc(100% - 28px));
    min-height: 68px;
  }
  .nav-btn{
    min-width: 0;
    gap: 4px;
    padding: 8px 6px;
  }
  .nav-btn b{
    font-size: 11px;
  }
  .nav-btn .nav-icon{
    width: 22px;
    height: 22px;
  }
  .fab{
    right: 18px;
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 22px);
    width: 58px;
    height: 58px;
    font-size: 33px;
  }
}

@media (max-width: 380px){
  .brand-copy strong{font-size: 19px}
  .brand-copy small{display:none}
  .header-account{padding:8px 10px;font-size:13px}
  .header-avatar{width:42px;height:42px;border-radius:15px}
  .dock-bubble{width:70px}
  .dock-bubble span{width:58px;height:58px;border-radius:20px}
  .dock-bubble b{font-size:10px;width:70px}
}

@media (prefers-reduced-motion: reduce){
  .screen,
  .app-header,
  .bottom-nav,
  .brand-mark,
  .header-avatar,
  .fab,
  .trip-card,
  .feed-card{
    transition:none!important;
    animation:none!important;
  }
}


/* v0.4.0 UI Flow Lock
   This layer intentionally stops the visual churn: fixed five-tab spine,
   clear home loop, calmer cards, and a native-feeling phone shell. */
:root{
  --radius-xl: 26px;
  --radius-lg: 20px;
  --surface: rgba(8,31,48,.92);
  --surface-soft: rgba(255,255,255,.055);
  --copy-max: 36ch;
}
body{
  background:
    radial-gradient(circle at 12% -8%, rgba(45,212,191,.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(249,115,22,.11), transparent 30%),
    linear-gradient(180deg,#092a3a 0%,#061826 46%,#040f1a 100%);
}
.app-shell{max-width: 860px;}
.app-header{border-radius: 22px; border-color: rgba(248,231,201,.12);}
.brand-copy small::before{content:'UI lock · ';}
.v040-hero{
  padding: clamp(18px, 5vw, 32px);
  background:
    linear-gradient(140deg, rgba(7,34,55,.96), rgba(11,81,88,.9)),
    radial-gradient(circle at 88% 18%, rgba(255,178,100,.18), transparent 30%);
}
.v040-hero:after{opacity:.45;}
.v040-hero h1{max-width: 8.5ch; margin-bottom: 8px;}
.v040-hero p{max-width: var(--copy-max); margin: 0;}
.v040-actions{margin-top: 16px;}
.v040-actions .btn{box-shadow:none;}
.v040-stats{margin-top: 16px;}
.v040-flow{
  display:grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.flow-step{
  position:relative;
  min-width:0;
  min-height: 58px;
  border:1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  color: var(--ink);
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px;
  text-align:left;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}
.flow-step b{
  width: 28px;
  height: 28px;
  display:grid;
  place-items:center;
  flex:0 0 28px;
  border-radius: 999px;
  color:#04202b;
  background: linear-gradient(135deg,var(--teal),var(--ocean));
  font-size:13px;
}
.flow-step span{min-width:0;font-weight:1000; font-size:13px; line-height:1.05;overflow-wrap:anywhere;}
.flow-step em{
  position:absolute;
  top:6px;
  right:7px;
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:#271000;
  background:#ffb264;
  font-size:11px;
  font-style:normal;
  font-weight:1000;
}
.v040-pulse{margin-top: 10px; padding-top: 8px;}
.v040-pulse .dock-bubble span{border-color: rgba(248,231,201,.38);}
.v040-card-stack .trip-card,
.v040-card-stack .feed-card{background:linear-gradient(180deg, rgba(10,38,57,.96), rgba(6,24,38,.98));}
.section.app-section-tight{margin-top:18px;}
.compact-head h2{font-size: clamp(24px, 6vw, 34px);}
.page-title{max-width: 10ch;}
.lead{max-width: 46ch;}
.grid.cards{gap: 13px;}
.trip-card,.feed-card,.admin-card,.panel{border-color: rgba(248,231,201,.11);}
.trip-card .row:last-child,.feed-card .row:last-child{margin-top: 12px;}
.trip-card .btn,.feed-card .btn{min-width: 84px;}
.bottom-nav{border-color: rgba(248,231,201,.14);}
.debug-pill{opacity:.62;}
@media(max-width: 560px){
  :root{--nav-h:66px;}
  .app-shell{
    padding-top: calc(env(safe-area-inset-top,0px) + 9px);
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 70px);
  }
  .app-header{margin-bottom: 10px; padding: 8px; border-radius: 20px;}
  .brand-mark{width:44px;height:44px;flex-basis:44px;border-radius:16px;}
  .brand-copy strong{font-size: clamp(20px,5.8vw,27px);}
  .header-account{min-height:40px;padding:8px 12px;font-size:14px;}
  .header-avatar{width:44px;height:44px;border-radius:16px;}
  .v040-hero{border-radius:24px; padding: 19px 17px;}
  .v040-hero h1{font-size: clamp(36px, 11vw, 48px); line-height:.92; letter-spacing:-.075em;}
  .v040-hero p{font-size:14px;}
  .v040-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
  .v040-actions .btn.primary{grid-column:1/-1;}
  .v040-stats{grid-template-columns:1fr 1fr;}
  .v040-flow{grid-template-columns:1fr; gap:8px; margin-top:12px;}
  .flow-step{min-height:48px;border-radius:17px;}
  .v040-pulse{padding-bottom:0;margin-bottom:0;}
  .dock-bubble{width:70px;}
  .dock-bubble span{width:58px;height:58px;border-radius:20px;}
  .dock-bubble b{width:72px;font-size:10px;}
  .section.app-section-tight{margin-top:15px;}
  .compact-head{align-items:center;}
  .compact-head h2{font-size:23px;}
  .trip-card .card-media,.feed-card .card-media{height:104px;}
  .trip-card h3,.feed-card h3{font-size:21px;line-height:1.04;}
  .trip-card .row:last-child,.feed-card .row:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .trip-card .row:last-child .btn:first-child{grid-column:1/-1;}
  .bottom-nav{height:66px;min-height:66px;width:min(430px,calc(100% - 22px));border-radius:24px;padding:6px;}
  .nav-btn{border-radius:18px;padding:7px 4px;}
  .fab{width:54px;height:54px;border-radius:20px;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 20px);right:17px;}
  .debug-pill{display:none;}
}
@media(max-width: 380px){
  .v040-hero h1{font-size:34px;}
  .v040-actions .btn{padding-left:10px;padding-right:10px;}
  .condition-strip .stat strong{font-size:16px;}
  .condition-strip .stat span{font-size:11px;}
  .section-head .btn{padding:8px 10px;}
}

/* v0.4.1 release candidate media/moderation hardening */
.feed-card.is-removed { opacity: .62; filter: grayscale(.35); border-color: rgba(239,68,68,.32); }
.feed-card.is-removed h3::after { content: ' · removed'; color: var(--danger); font-size: .8em; font-weight: 800; }
.file-box input[type="file"] { max-width: 100%; }
video { max-width: 100%; border-radius: 18px; background: #020b12; }
.card-media.has-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.safe-note strong { color: var(--cream); }

/* v0.5.1 tools + onboarding + unlocked dock */
.bottom-nav{grid-template-columns:repeat(6,1fr);}
.nav-home:before{left:3px;top:7px;width:16px;height:12px;border:2px solid currentColor;border-radius:4px;background:linear-gradient(currentColor 0 0) 50% 5px/10px 2px no-repeat;}
.nav-home:after{left:7px;top:2px;width:9px;height:6px;border:2px solid currentColor;border-bottom:0;border-radius:6px 6px 0 0;transform:none;background:transparent;}
.nav-explore:before{left:3px;top:11px;width:16px;height:8px;border:2px solid currentColor;border-top:0;border-radius:0 0 12px 12px;}
.nav-explore:after{left:8px;top:2px;width:8px;height:12px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:skewX(-20deg);background:transparent;border-radius:1px;}
.nav-crew:before{left:3px;top:3px;width:7px;height:7px;border:2px solid currentColor;border-radius:50%;box-shadow:11px 0 0 -2px transparent,11px 0 0 0 currentColor;}
.nav-crew:after{left:2px;top:13px;width:18px;height:7px;border:2px solid currentColor;border-radius:12px 12px 4px 4px;}
.nav-tools:before{left:3px;top:8px;width:16px;height:10px;border:2px solid currentColor;border-radius:4px;}
.nav-tools:after{left:8px;top:3px;width:7px;height:7px;border:2px solid currentColor;border-bottom:0;border-radius:7px 7px 0 0;}
.tutorial-nudge .launch-card{align-items:center;}
.tutorial-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tutorial-card{border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.06);padding:14px;}
.tutorial-card>b{display:grid;place-items:center;width:30px;height:30px;border-radius:12px;background:linear-gradient(135deg,var(--teal),var(--ocean));color:#031522;font-weight:1000;}
.tutorial-card h3{margin:10px 0 5px;font-size:20px;letter-spacing:-.04em;}
.tool-card{text-align:left;min-height:180px;}
.tool-card .tool-icon{display:block;width:46px;height:46px;border-radius:18px;margin-bottom:10px;background:linear-gradient(135deg,var(--teal),var(--ocean));position:relative;box-shadow:0 10px 24px rgba(14,165,233,.22);}
.tool-icon:before,.tool-icon:after{content:"";position:absolute;box-sizing:border-box;color:#031522;}
.tool-icon.guide:before{left:11px;top:10px;width:24px;height:28px;border:3px solid #031522;border-radius:4px;transform:rotate(-6deg);}
.tool-icon.guide:after{left:18px;top:16px;width:12px;height:3px;background:#031522;box-shadow:0 8px 0 #031522;}
.tool-icon.fish:before{left:7px;top:15px;width:26px;height:16px;border:3px solid #031522;border-radius:50%;}
.tool-icon.fish:after{right:7px;top:17px;width:12px;height:12px;border-left:9px solid #031522;border-top:7px solid transparent;border-bottom:7px solid transparent;}
.tool-icon.ruler:before{left:9px;top:20px;width:28px;height:8px;border:3px solid #031522;border-radius:3px;transform:rotate(-18deg);}
.tool-icon.ruler:after{left:16px;top:17px;width:3px;height:11px;background:#031522;box-shadow:8px -3px 0 #031522,16px -5px 0 #031522;transform:rotate(-18deg);}
.tools-screen .safe-note{margin-top:14px;}
@media(max-width:560px){
  .bottom-nav{width:min(440px,calc(100% - 12px));height:68px;padding:5px;gap:2px;}
  .nav-btn{padding:6px 2px;}
  .nav-btn b{font-size:9px;}
  .nav-icon{width:20px;height:20px;margin-bottom:2px;}
  .tutorial-steps{grid-template-columns:1fr;}
  .tool-card{min-height:auto;}
  .tool-card .tool-icon{width:42px;height:42px;border-radius:16px;}
}
@media(max-width:380px){.nav-btn b{font-size:8.5px}.bottom-nav{width:calc(100% - 8px)}}


/* v0.5.2 Tools + Upload Stability: lock modal background, six-tab dock, welcome stays steady */
body.modal-open{position:fixed;left:0;right:0;width:100%;overflow:hidden;overscroll-behavior:none;touch-action:none;}
body.modal-open .app-header,body.modal-open .bottom-nav,body.modal-open .fab{pointer-events:none;}
.modal-root{overscroll-behavior:contain;touch-action:auto;}
.modal-root.welcome-modal{place-items:center;}
.modal-root.welcome-modal .modal{max-height:min(82svh,720px);transform:none!important;}
.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
.tool-icon.bait:before{content:"";position:absolute;left:4px;top:8px;width:14px;height:7px;border:2px solid currentColor;border-radius:60% 40% 40% 60%;}
.tool-icon.bait:after{content:"";position:absolute;right:2px;top:10px;border-left:7px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;}
.tool-icon.gear:before{content:"";position:absolute;inset:3px;border:2px solid currentColor;border-radius:50%;box-shadow:0 -8px 0 -5px currentColor,0 8px 0 -5px currentColor,8px 0 0 -5px currentColor,-8px 0 0 -5px currentColor;}
.tool-icon.gear:after{content:"";position:absolute;left:8px;top:8px;width:6px;height:6px;border:2px solid currentColor;border-radius:50%;}
.tool-icon.tutorial:before{content:"";position:absolute;left:4px;top:4px;width:14px;height:16px;border:2px solid currentColor;border-radius:3px;}
.tool-icon.tutorial:after{content:"";position:absolute;left:8px;top:9px;width:8px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor;}
@media(max-width:560px){.bottom-nav{width:min(640px,calc(100% - 10px));gap:2px;padding:5px}.nav-btn b{font-size:8.5px}.nav-icon{width:19px;height:19px}.tool-card h3{font-size:20px}}

/* Live Conditions Home + warmer top brand mark */
.fishmark{
  position:relative;
  background:radial-gradient(circle at 35% 25%,rgba(248,231,201,.22),transparent 32%),linear-gradient(145deg,#082236,#0f4a63 68%,#061826);
  border-color:rgba(248,231,201,.24);
}
.fishmark .fish-body,
.fishmark .fish-tail{position:absolute;display:block;box-sizing:border-box}
.fishmark .fish-body{width:21px;height:12px;left:17px;top:15px;border:2px solid #fff7df;border-radius:60% 45% 45% 60%;transform:rotate(-8deg);opacity:.95}
.fishmark .fish-tail{left:34px;top:17px;width:0;height:0;border-left:10px solid #fff7df;border-top:6px solid transparent;border-bottom:6px solid transparent;transform:rotate(-8deg);opacity:.9}
.fishmark .hook-line{left:10px;top:8px;width:12px;height:24px;border-right:2px solid #2dd4bf;border-bottom:2px solid #2dd4bf;border-radius:0 0 16px 0;transform:rotate(8deg)}
.fishmark .wave-line{left:9px;right:7px;bottom:10px;height:8px;border-bottom:2px solid #f8e7c9;border-radius:50%;opacity:.85}
.conditions-card{margin:14px 0 0;padding:14px;border-radius:24px;background:linear-gradient(180deg,rgba(10,50,69,.92),rgba(4,18,30,.94));border:1px solid rgba(248,231,201,.16);box-shadow:0 18px 48px rgba(0,0,0,.25)}
.conditions-card.is-live{border-color:rgba(45,212,191,.34);box-shadow:0 18px 50px rgba(14,165,233,.18)}
.condition-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.condition-card-head h2{margin:0;font-size:clamp(22px,6vw,34px);letter-spacing:-.05em}.condition-card-head .badge{flex:0 0 auto}
.condition-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.condition-mini-grid span{display:grid;gap:2px;padding:10px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-weight:850;color:#f8fafc}.condition-mini-grid b{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#9bd2df}.condition-actions{margin-top:8px}.conditions-ribbon{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 4px;padding:8px;border:1px solid rgba(45,212,191,.18);border-radius:20px;background:rgba(5,18,30,.72);backdrop-filter:blur(14px)}.ribbon-main{flex:1;border:0;background:transparent;color:#eafcff;text-align:left;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;min-height:42px}.ribbon-main b{white-space:nowrap}.ribbon-main span:last-child{font-size:12px;color:#a8d6e3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-dot{width:9px;height:9px;border-radius:99px;background:#f97316;box-shadow:0 0 0 4px rgba(249,115,22,.13)}.live-dot.on{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.16)}.conditions-detail .conditions-card{margin-top:0}.conditions-grid .panel{min-height:auto}.v040-hero{padding-bottom:16px}.v040-hero + .conditions-card{transform:translateY(-2px)}
@media(max-width:560px){.condition-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.conditions-ribbon{position:sticky;top:calc(env(safe-area-inset-top,0px) + 72px);z-index:5;margin-inline:-2px}.ribbon-main{grid-template-columns:auto 1fr}.ribbon-main span:last-child{grid-column:2;font-size:11px}.conditions-card{border-radius:21px;padding:12px}.condition-actions .btn{flex:1}.condition-card-head h2{font-size:24px}.fishmark .fish-body{left:15px}.fishmark .fish-tail{left:31px}}

/* v0.5.4 Home Room Lock: brand, top chrome, and homepage condition clarity */
.app-header{align-items:center;}
.brand{flex:1;max-width:none;}
.brand-copy small{display:none!important;}
.brand-copy strong{font-weight:1000;letter-spacing:-.065em;font-size:clamp(27px,7.4vw,42px);}
.fishcrew-logo{position:relative;overflow:hidden;width:72px!important;flex-basis:72px!important;height:46px!important;border-radius:19px!important;background:linear-gradient(155deg,#f8e7c9 0%,#33d6c5 38%,#0ea5e9 100%)!important;box-shadow:0 14px 30px rgba(14,165,233,.25), inset 0 0 0 2px rgba(255,255,255,.22)!important;}
.fishcrew-logo .logo-sun{position:absolute;right:9px;top:7px;width:10px;height:10px;border-radius:50%;background:#ffb264;box-shadow:0 0 0 4px rgba(255,178,100,.22)}
.fishcrew-logo .logo-boat{position:absolute;left:15px;bottom:17px;width:34px;height:10px;background:#061826;border-radius:0 0 18px 18px;transform:skewX(-14deg)}
.fishcrew-logo .logo-boat:before{content:"";position:absolute;left:7px;top:-9px;width:13px;height:9px;border-radius:7px 7px 2px 2px;background:#061826;opacity:.95}
.fishcrew-logo .logo-angler{position:absolute;left:41px;bottom:23px;width:18px;height:12px;border-top:2px solid #061826;border-right:2px solid #061826;border-radius:0 12px 0 0;transform:rotate(-14deg)}
.fishcrew-logo .logo-wave{position:absolute;left:6px;right:6px;height:13px;border-bottom:3px solid rgba(6,24,38,.8);border-radius:50%;}
.fishcrew-logo .logo-wave.one{bottom:4px;transform:rotate(-2deg)}
.fishcrew-logo .logo-wave.two{bottom:-2px;opacity:.55;transform:rotate(3deg)}
.header-gear{width:46px;height:46px;border:1px solid rgba(255,255,255,.16);border-radius:17px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#f8fafc;position:relative;}
.header-gear span{width:20px;height:20px;border:3px solid currentColor;border-radius:50%;position:relative;display:block;}
.header-gear span:before{content:"";position:absolute;inset:5px;border-radius:50%;background:currentColor;}
.header-gear:before,.header-gear:after{content:"";position:absolute;width:24px;height:3px;border-radius:999px;background:currentColor;opacity:.9;}
.header-gear:before{transform:rotate(45deg)}
.header-gear:after{transform:rotate(-45deg)}
.header-account{box-shadow:0 8px 20px rgba(0,0,0,.18);}
.condition-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.score-help{width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#f8fafc;font-weight:1000;}
.score-stat span{color:#d7fff8!important;}
.conditions-card .badge{box-shadow:0 8px 20px rgba(34,197,94,.16);}
.home-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 2px;}
.home-command{min-height:98px;border:1px solid rgba(248,231,201,.14);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));color:#f8fafc;text-align:left;padding:15px;box-shadow:0 12px 28px rgba(0,0,0,.18);}
.home-command b{display:block;font-size:clamp(17px,2.1vw,23px);letter-spacing:-.04em;line-height:1.02;}
.home-command span{display:block;margin-top:7px;color:#a8bfce;font-size:13px;line-height:1.25;}
.home-command:hover,.score-help:hover,.header-gear:hover{border-color:rgba(45,212,191,.4);background:rgba(45,212,191,.1)}
.v040-card-stack{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important;}
.v040-card-stack .trip-card,.v040-card-stack .feed-card{min-height:100%;}
.app-section-tight{margin-top:24px;}
.section-head.compact-head h2{font-size:clamp(28px,4vw,44px);}
.conditions-ribbon .ribbon-main b{color:#f8e7c9;}
@media(min-width:900px){.app-shell{width:min(1180px,100%);} .home-hero{display:grid;grid-template-columns:1fr auto;align-items:end;gap:20px}.home-hero .hero-actions{min-width:420px}.conditions-card{padding:18px}.condition-strip.compact-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.condition-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-command-grid{gap:16px}.v040-card-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:680px){.brand-copy strong{font-size:clamp(24px,7vw,32px)}.fishcrew-logo{width:58px!important;flex-basis:58px!important;height:43px!important}.header-gear{width:42px;height:42px;border-radius:15px}.home-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-command{min-height:82px;border-radius:19px;padding:12px}.home-command span{font-size:12px}.v040-card-stack{grid-template-columns:1fr!important}.condition-card-head{align-items:center}.score-help{width:31px;height:31px;flex-basis:31px}.condition-card-head h2{font-size:23px}.conditions-ribbon{top:calc(env(safe-area-inset-top,0px) + 68px)}}
@media(max-width:380px){.fishcrew-logo{width:52px!important;flex-basis:52px!important}.brand-copy strong{font-size:22px}.header-account{max-width:84px}.home-command-grid{grid-template-columns:1fr}.home-command{min-height:68px}}

/* v0.5.5 Home Room Punch: wordmark, web breathing room, local water news */
:root{--home-max:1220px;}
body{background:
  radial-gradient(circle at 8% 18%,rgba(14,165,233,.16),transparent 26%),
  radial-gradient(circle at 92% 22%,rgba(45,212,191,.12),transparent 26%),
  radial-gradient(circle at 18% 82%,rgba(249,115,22,.08),transparent 24%),
  linear-gradient(180deg,#0b3741 0%,#082236 34%,#04111d 100%);}
.app-shell{width:min(var(--home-max),100%);}
.app-header{max-width:820px;margin-left:auto;margin-right:auto;}
.brand-mark{display:none!important;}
.brand{padding-left:4px;}
.brand-copy strong{position:relative;display:inline-block;font-size:clamp(34px,5vw,54px)!important;line-height:.88;letter-spacing:-.08em;text-shadow:0 9px 26px rgba(0,0,0,.35);}
.brand-copy strong::after{content:"";position:absolute;left:0;right:-2px;bottom:-7px;height:8px;border-radius:99px;background:repeating-linear-gradient(90deg,rgba(45,212,191,.95) 0 18px,rgba(14,165,233,.88) 18px 36px);opacity:.75;filter:drop-shadow(0 6px 10px rgba(14,165,233,.22));}
.brand-copy strong::before{content:"";position:absolute;right:-27px;top:-10px;width:23px;height:16px;border-radius:70% 48% 48% 70%;background:linear-gradient(135deg,#2dd4bf,#0ea5e9);clip-path:polygon(0 50%,22% 22%,72% 18%,100% 50%,72% 82%,22% 78%);opacity:.95;}
.hero.home-hero{max-width:860px;margin-left:auto;margin-right:auto;background:
  linear-gradient(135deg,rgba(7,40,59,.93),rgba(5,102,103,.88)),
  radial-gradient(circle at 80% 18%,rgba(248,231,201,.12),transparent 22%);}
.hero.home-hero h1{max-width:none!important;text-align:center;}
.hero.home-hero p{text-align:center;max-width:52rem;margin-left:auto;margin-right:auto;}
.hero-topline{justify-content:center;text-align:center;}
.hero-actions{justify-content:center;}
.hero-spot-loop{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px auto 14px;max-width:760px;}
.spot-pill{border:1px solid rgba(248,231,201,.14);border-radius:999px;background:rgba(255,255,255,.075);color:#dff9ff;padding:8px 11px;font-size:12px;font-weight:1000;}
.spot-pill:hover{background:rgba(45,212,191,.13);border-color:rgba(45,212,191,.4)}
.conditions-card{max-width:860px;margin-left:auto;margin-right:auto;position:relative;}
.condition-card-head{padding-right:86px;}
.score-help.corner{margin-left:auto;min-width:34px;}
.condition-actions{align-items:center;}
.home-water-news{max-width:860px;margin:12px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.water-news-card{min-height:86px;border:1px solid rgba(45,212,191,.18);border-radius:20px;padding:13px;text-align:left;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));color:#eaffff;box-shadow:0 12px 28px rgba(0,0,0,.16);}
.water-news-card span{display:block;color:#95fff7;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:1000;margin-bottom:7px;}
.water-news-card b{font-size:13px;line-height:1.25;color:#d8eef6;}
.home-command-grid,.v040-flow,.conditions-ribbon,.app-section-tight{max-width:860px;margin-left:auto;margin-right:auto;}
.conditions-ribbon .ribbon-main b{min-width:112px;}
.trip-card .badge.orange{background:linear-gradient(135deg,#ff7a1a,#ffc078);color:#2b1000;}
@media(min-width:1260px){
  .app-main::before,.app-main::after{content:"";position:fixed;top:170px;width:210px;height:520px;border:1px solid rgba(255,255,255,.08);border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));box-shadow:0 18px 50px rgba(0,0,0,.18);pointer-events:none;opacity:.7;}
  .app-main::before{left:max(22px,calc(50% - 650px));}
  .app-main::after{right:max(22px,calc(50% - 650px));}
  .app-main{position:relative;}
}
@media(min-width:900px){
  .v040-card-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .home-hero{display:block!important;}
  .home-hero .hero-actions{min-width:0!important;}
}
@media(max-width:680px){
  .brand-copy strong{font-size:clamp(30px,8vw,38px)!important;}
  .brand-copy strong::before{right:-20px;top:-7px;width:18px;height:13px;}
  .brand-copy strong::after{bottom:-5px;height:6px;}
  .hero.home-hero h1{text-align:left;font-size:clamp(35px,10vw,46px);}
  .hero.home-hero p{text-align:left;}
  .hero-topline{justify-content:flex-start;text-align:left;}
  .hero-actions{justify-content:flex-start;}
  .hero-spot-loop{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none;}
  .hero-spot-loop::-webkit-scrollbar{display:none;}
  .spot-pill{flex:0 0 auto;}
  .home-water-news{grid-template-columns:1fr;margin-top:10px;}
  .condition-card-head{padding-right:0;}
  .score-help.corner{order:10;}
}

/* v0.5.7 Clean It Up: locked colors/nav/logo/home cards, cleaner user feed, profile, and admin queue */
.feed-room .lead{max-width:56rem}.feed-composer-lite{display:flex;align-items:center;justify-content:space-between;gap:16px}.clean-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feed-card.clean-card{padding:13px;background:linear-gradient(180deg,rgba(10,38,57,.96),rgba(5,21,34,.98));}.feed-card.clean-card .card-media{height:118px}.feed-topline,.feed-byline{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.feed-byline{margin-top:8px;color:var(--muted);font-size:12px;font-weight:850}.feed-actions{margin-top:12px}.profile-hero{padding:0;overflow:hidden}.profile-cover{min-height:118px;display:flex;align-items:flex-end;padding:18px;background:linear-gradient(135deg,rgba(45,212,191,.22),rgba(14,165,233,.14)),radial-gradient(circle at 90% 10%,rgba(249,115,22,.32),transparent 28%)}.profile-cover span{font-weight:1000;letter-spacing:.08em;text-transform:uppercase;color:#95fff7;font-size:12px}.profile-main-row{display:flex;align-items:flex-end;gap:14px;padding:0 18px;margin-top:-34px}.profile-avatar-xl{width:88px!important;height:88px!important;border-radius:28px!important;border:4px solid #071e2f;box-shadow:0 18px 40px rgba(0,0,0,.35)}.profile-title-block{min-width:0;padding-top:30px}.profile-title-block .page-title{margin:0 0 4px;font-size:clamp(34px,7vw,56px)}.profile-bio{padding:10px 18px 0;margin:0;color:#d7e9f1;line-height:1.45}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:16px 18px}.profile-stats span{border:1px solid var(--line);border-radius:17px;padding:10px;text-align:center;background:rgba(255,255,255,.06)}.profile-stats b{display:block;font-size:22px}.profile-stats small{display:block;color:var(--muted);font-weight:900}.profile-hero>.row{padding:0 18px 18px}.notification-card.read,.notification-row.read{opacity:.68}.notification-row h3{margin-bottom:4px}.admin-only-controls{border-top:1px solid rgba(248,231,201,.12);padding-top:18px}.moderation-summary .panel{text-align:center}.moderation-summary h3{font-size:38px;margin:0}.mod-row{border:1px solid var(--line);border-radius:16px;padding:11px;background:rgba(255,255,255,.045)}.loading-soft,.load-screen,.splash-screen{display:none!important}.debug-pill{display:none!important}.brand-copy small::before{content:''!important}.trip-card .chip:has(+ .chip),.feed-card .chip{max-width:100%}
@media(min-width:1100px){.app-shell{width:min(1180px,100%)}.clean-feed{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-room,.feed-room{max-width:1120px;margin-left:auto;margin-right:auto}.feed-composer-lite{padding:20px}.profile-main-row{gap:18px}}
@media(max-width:760px){.clean-feed{grid-template-columns:1fr}.feed-composer-lite{display:grid}.profile-main-row{align-items:center;margin-top:-28px}.profile-avatar-xl{width:78px!important;height:78px!important;border-radius:24px!important}.profile-stats{grid-template-columns:repeat(2,1fr)}.grid.two,.grid.three{grid-template-columns:1fr}.feed-card.clean-card .card-media{height:104px}}

/* v0.6.1 mobile fit + autofill lock
   iOS zooms inputs below 16px. Keep labels small but fields phone-friendly. */
html{font-size:16px;}
input,select,textarea,.field,.select,textarea.field{font-size:16px!important;line-height:1.25;}
input[type=file]{font-size:15px!important;}
input,select,textarea{touch-action:manipulation;}
.app-shell{max-width:1180px;}
@media (min-width: 1100px){.app-shell{width:min(1180px,100%);}.home-layout,.wide-layout{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;}.grid.cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 430px){.app-shell{padding-left:12px;padding-right:12px;}.hero h1,.page-title{font-size:clamp(31px,9vw,42px);}.section h2{font-size:clamp(23px,7vw,31px);}.modal{border-radius:24px;}.form-grid,.grid.two,.grid.three{grid-template-columns:1fr;}.condition-strip{grid-template-columns:repeat(2,minmax(0,1fr));}.bottom-nav{width:calc(100% - 16px);}}
@media (max-width: 360px){.brand-copy strong{font-size:24px}.header-account{padding:9px 10px}.bottom-nav{height:72px}.nav-btn span{font-size:19px}.nav-btn b{font-size:10px}.fab{width:56px;height:56px;bottom:calc(72px + env(safe-area-inset-bottom,0px) + 22px)}}


/* v0.6.5 from v0.6.1: app-only card transplant. Keep v0.6.1 color scheme, floating internals, and security spine. */
.port-window-card{position:relative;overflow:hidden;margin-top:14px;border-radius:28px;background:linear-gradient(180deg,rgba(10,48,68,.96),rgba(5,21,34,.96));border-color:rgba(248,231,201,.14);box-shadow:0 22px 60px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08)}
.port-window-bg{position:absolute;inset:0;background:radial-gradient(circle at 82% 20%,rgba(248,231,201,.14),transparent 24%),radial-gradient(circle at 20% 0%,rgba(45,212,191,.16),transparent 32%),linear-gradient(180deg,rgba(14,165,233,.12),rgba(4,17,29,.52) 56%,rgba(4,17,29,.9));opacity:.95;pointer-events:none}
.port-window-bg:after{content:"";position:absolute;left:-16%;right:-16%;bottom:-12%;height:38%;border-radius:50%;background:rgba(248,231,201,.075);box-shadow:0 -24px 70px rgba(45,212,191,.13)}
.port-window-content{position:relative;z-index:1}.port-window-head{align-items:flex-start}.port-window-head h2{font-size:clamp(36px,8vw,58px);line-height:.9;margin-top:5px}.port-window-head .muted{max-width:34rem;color:#d4e9f2;margin:4px 0 0}.port-condition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 12px}.port-condition-grid article{min-height:110px;padding:15px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(12px)}.port-condition-grid span{display:block;color:#a8bfce;font-size:12px;font-weight:950}.port-condition-grid strong{display:block;margin:6px 0 5px;font-size:clamp(21px,5.5vw,28px);line-height:.95;letter-spacing:-.045em;color:#f7fbff}.port-condition-grid small{display:block;color:#c7dbe4;line-height:1.25}.port-footer{margin-top:8px}.port-footer>span{display:inline-flex;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.07);padding:8px 10px;color:#cfe8ef;font-size:12px;font-weight:900}.home-activity-section,.local-water-section{margin-top:16px}.home-activity-card{border:1px solid rgba(248,231,201,.13);border-radius:28px;padding:15px;background:linear-gradient(180deg,rgba(238,245,245,.96),rgba(230,236,236,.92));color:#082236;box-shadow:0 18px 48px rgba(0,0,0,.24);backdrop-filter:blur(14px)}.activity-row{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:13px 0;border-top:1px solid rgba(8,34,54,.1)}.activity-row:first-child{border-top:0;padding-top:0}.activity-row:last-child{padding-bottom:0}.activity-avatar{width:44px;height:44px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,#0b5063,#063042);color:#eaffff;font-weight:1000}.activity-row strong{display:block;color:#082236;font-size:14px;line-height:1.2}.activity-row p{margin:4px 0 0;color:#48626c;font-size:13px;line-height:1.35}.inline-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.inline-actions button{border:0;background:transparent;color:#0f6473;font-size:12px;font-weight:1000;padding:0}.local-water-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-news-card{position:relative;min-height:132px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border-radius:23px;padding:15px;text-align:left;background:linear-gradient(145deg,rgba(13,68,87,.96),rgba(5,24,38,.98));border:1px solid rgba(248,231,201,.13);box-shadow:0 16px 42px rgba(0,0,0,.24);color:#fff}.photo-news-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 18%,rgba(255,178,100,.36),transparent 18%),linear-gradient(180deg,rgba(45,212,191,.14),rgba(4,17,29,.82)),linear-gradient(135deg,rgba(14,165,233,.22),transparent);opacity:.96}.photo-news-card:after{content:"";position:absolute;left:-20%;right:-20%;bottom:-26%;height:55%;border-radius:50%;background:rgba(248,231,201,.1)}.photo-news-card.news-2:before{background:radial-gradient(circle at 80% 18%,rgba(45,212,191,.32),transparent 18%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(4,17,29,.82)),linear-gradient(135deg,rgba(39,115,96,.45),rgba(7,30,47,.7))}.photo-news-card.news-3:before{background:radial-gradient(circle at 80% 18%,rgba(249,115,22,.32),transparent 18%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(4,17,29,.84)),linear-gradient(135deg,rgba(14,165,233,.4),rgba(5,18,30,.78))}.photo-news-card span,.photo-news-card strong,.photo-news-card b{position:relative;z-index:1}.photo-news-card span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#bffff8;font-weight:1000;margin-bottom:7px}.photo-news-card strong{display:block;font-size:17px;line-height:1.02;letter-spacing:-.035em;color:#fff}.photo-news-card b{display:block;margin-top:7px;color:#d8eef6;font-size:12.5px;line-height:1.32;font-weight:750}.local-water-section .section-head h2,.home-activity-section .section-head h2{font-size:clamp(25px,6vw,38px)}
@media(max-width:760px){.local-water-news-grid{grid-template-columns:1fr}.home-activity-card{border-radius:25px}.port-condition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.port-condition-grid article{min-height:98px;padding:13px}.port-window-head h2{font-size:clamp(34px,10vw,48px)}}
@media(max-width:430px){.port-window-card{border-radius:24px}.port-condition-grid article{border-radius:19px}.port-footer .btn{flex:1 1 130px}.activity-row{grid-template-columns:40px 1fr}.activity-avatar{width:40px;height:40px}.photo-news-card{min-height:124px}}

/* v0.6.5 auth cleanup: simple sign-in, separate account creation, autofill-safe inputs */
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding:5px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.045)}
.auth-tabs button{min-height:40px;border:0;border-radius:14px;background:transparent;color:var(--muted);font-weight:1000;cursor:pointer}
.auth-tabs button.active{background:linear-gradient(180deg,rgba(45,212,191,.18),rgba(255,255,255,.07));color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.social-login-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.password-help{border:1px solid rgba(45,212,191,.18);border-radius:16px;background:rgba(45,212,191,.07);padding:10px 12px;color:#bfeeed;font-size:13px;line-height:1.35;font-weight:800}
.btn.text{background:transparent;border-color:transparent;box-shadow:none;color:#9ef4ef;padding-left:0;padding-right:0}
.btn.full{width:100%}
.modal .field,.modal .select,.modal textarea{font-size:16px!important}
@media(max-width:720px){.social-login-row{grid-template-columns:1fr}.auth-tabs{grid-template-columns:1fr 1fr}}

/* v0.6.5 app-only location windows: keep v0.6.1 floating/dark shell, add subtle location photo panels */
.port-window-card{isolation:isolate}
.port-window-bg{opacity:1;background-image:linear-gradient(180deg,rgba(4,17,29,.34),rgba(4,17,29,.66) 50%,rgba(4,17,29,.92)),url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80");background-size:cover;background-position:center;filter:saturate(.92) contrast(1.02)}
.port-window-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 12%,rgba(248,231,201,.2),transparent 24%),linear-gradient(180deg,rgba(45,212,191,.10),rgba(4,17,29,.26));box-shadow:none;border-radius:0;height:auto;left:0;right:0;bottom:0}
.port-condition-grid article{background:linear-gradient(180deg,rgba(4,17,29,.58),rgba(4,17,29,.38));backdrop-filter:blur(14px);border-color:rgba(255,255,255,.16)}
.photo-news-card{background-image:linear-gradient(180deg,rgba(4,17,29,.08),rgba(4,17,29,.85)),url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80");background-size:cover;background-position:center}
.photo-news-card.news-2{background-image:linear-gradient(180deg,rgba(4,17,29,.08),rgba(4,17,29,.85)),url("https://images.unsplash.com/photo-1471922694854-ff1b63b20054?auto=format&fit=crop&w=900&q=80")}
.photo-news-card.news-3{background-image:linear-gradient(180deg,rgba(4,17,29,.08),rgba(4,17,29,.85)),url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=900&q=80")}
.photo-news-card:before{background:linear-gradient(180deg,rgba(45,212,191,.08),rgba(4,17,29,.30));opacity:1}.photo-news-card:after{display:none}

/* v0.6.5 locked update: cleaner auth, more Home-like color/life, Tools vs Guide chooser */
.auth-divider{display:flex;align-items:center;gap:10px;margin:12px 0 4px;color:var(--muted);font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.12em}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.12)}.auth-divider span{white-space:nowrap}.social-icon-row{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 12px}.social-icon,.mini-login{width:48px;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.16);display:grid;place-items:center;color:#061826;background:#fff;font-weight:1000;box-shadow:0 12px 28px rgba(0,0,0,.22);cursor:pointer}.social-icon span{font-size:20px;line-height:1}.social-icon.google{background:#fff;color:#1f2937}.social-icon.facebook{background:#1877f2;color:#fff;font-family:Georgia,serif;font-size:24px}.social-icon.instagram{color:#fff;background:radial-gradient(circle at 30% 110%,#fdf497 0%,#fdf497 12%,#fd5949 38%,#d6249f 60%,#285AEB 100%)}.social-icon.instagram span{font-size:24px}.auth-compact-access{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:6px auto 0;padding:8px 10px;width:fit-content;max-width:100%;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:rgba(255,255,255,.045)}.auth-compact-access>span{color:var(--muted);font-size:12px;font-weight:1000;margin-right:2px}.mini-login{width:36px;height:36px;font-size:12px;background:rgba(255,255,255,.08);color:#d8eef6;box-shadow:none}.mini-login.angler{background:linear-gradient(135deg,var(--teal),var(--ocean));color:#031522}.mini-login.business{background:linear-gradient(135deg,#ffb264,var(--orange));color:#271000}.mini-login.admin{background:linear-gradient(135deg,#f8e7c9,#fff);color:#082236}.auth-footnote{text-align:center;max-width:31rem;margin:8px auto 0}.modal .social-login-row{display:none!important}@media(max-width:520px){.social-icon{width:44px;height:44px}.auth-compact-access{border-radius:22px}.auth-compact-access>span{width:100%;text-align:center;margin:0 0 2px}}

/* Home-reference color/life carried through without changing the locked dark/floating shell */
.tools-room,.feed-room,.profile-room{position:relative}.tools-room:before,.feed-room:before,.profile-room:before{content:"";position:absolute;inset:-16px -10px auto -10px;height:220px;border-radius:36px;background:radial-gradient(circle at 15% 10%,rgba(45,212,191,.16),transparent 34%),radial-gradient(circle at 88% 0%,rgba(249,115,22,.13),transparent 28%);pointer-events:none;z-index:-1}.feed-composer-lite,.profile-hero,.tools-room .safe-note{box-shadow:0 18px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07)}.feed-card,.trip-card,.admin-card,.panel{transition:box-shadow .18s ease,border-color .18s ease}.feed-card:hover,.trip-card:hover,.admin-card:hover,.panel:hover{border-color:rgba(45,212,191,.22);box-shadow:0 18px 48px rgba(0,0,0,.27)}.profile-cover{background:linear-gradient(135deg,rgba(14,165,233,.36),rgba(45,212,191,.18)),linear-gradient(180deg,rgba(255,255,255,.08),rgba(4,17,29,.15))}.admin-card:nth-child(3n+1){background:linear-gradient(180deg,rgba(13,68,87,.92),rgba(6,24,38,.92))}.admin-card:nth-child(3n+2){background:linear-gradient(180deg,rgba(10,56,54,.92),rgba(6,24,38,.92))}.admin-card:nth-child(3n+3){background:linear-gradient(180deg,rgba(70,43,18,.86),rgba(6,24,38,.92))}

.tools-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 14px}.tools-switch button{min-height:78px;text-align:left;border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:14px 15px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));color:var(--ink);box-shadow:0 12px 34px rgba(0,0,0,.18);cursor:pointer}.tools-switch button b{display:block;font-size:23px;letter-spacing:-.045em}.tools-switch button span{display:block;margin-top:4px;color:var(--muted);font-size:13px;font-weight:850}.tools-switch button.active{border-color:rgba(45,212,191,.38);background:linear-gradient(135deg,rgba(45,212,191,.28),rgba(14,165,233,.18));box-shadow:0 16px 42px rgba(14,165,233,.13),inset 0 1px 0 rgba(255,255,255,.1)}.tools-panel-body{animation:screenIn .18s ease both}.tools-card-grid .tool-card,.guide-card-grid .guide-preview-card,.photo-panel{position:relative;overflow:hidden;isolation:isolate}.photo-panel:before,.guide-preview-card:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,rgba(14,165,233,.28),rgba(45,212,191,.11)),linear-gradient(180deg,rgba(255,255,255,.08),rgba(4,17,29,.18))}.photo-panel:after,.guide-preview-card:after{content:"";position:absolute;right:-18%;bottom:-28%;width:58%;height:62%;border-radius:50%;z-index:-1;background:rgba(248,231,201,.08)}.bait-panel:before{background:radial-gradient(circle at 85% 16%,rgba(255,178,100,.34),transparent 22%),linear-gradient(135deg,rgba(95,56,21,.68),rgba(7,30,47,.92))}.gear-panel:before{background:radial-gradient(circle at 82% 18%,rgba(45,212,191,.28),transparent 24%),linear-gradient(135deg,rgba(9,84,88,.70),rgba(7,30,47,.92))}.fish-panel:before{background:radial-gradient(circle at 82% 18%,rgba(14,165,233,.35),transparent 24%),linear-gradient(135deg,rgba(7,63,94,.72),rgba(7,30,47,.92))}.measure-panel:before{background:radial-gradient(circle at 82% 18%,rgba(248,231,201,.24),transparent 24%),linear-gradient(135deg,rgba(44,72,91,.72),rgba(7,30,47,.92))}.tutorial-panel:before{background:radial-gradient(circle at 82% 18%,rgba(249,115,22,.30),transparent 24%),linear-gradient(135deg,rgba(70,43,18,.72),rgba(7,30,47,.92))}.guide-panel:before,.guide-preview-card:before{background:radial-gradient(circle at 82% 18%,rgba(45,212,191,.24),transparent 24%),linear-gradient(135deg,rgba(8,67,57,.72),rgba(7,30,47,.92))}.tool-card h3,.guide-preview-card h3{color:#f7fbff}.tool-card .muted,.guide-preview-card .muted{color:#cfe3eb}.tools-status-grid .panel,.warm-panel{background:linear-gradient(180deg,rgba(248,231,201,.94),rgba(230,236,236,.90));color:#082236}.tools-status-grid .panel .muted,.warm-panel .muted{color:#48626c}.warm-panel.teal-panel{background:linear-gradient(180deg,rgba(190,242,235,.94),rgba(222,242,241,.90))}.tools-subhead{margin-top:18px}.guide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-preview-card .tiny{color:#d8edf3}.guide-preview-card .chip{color:#d2e8ef;background:rgba(255,255,255,.08)}@media(max-width:760px){.tools-switch{grid-template-columns:1fr}.tools-switch button{min-height:66px}.tools-card-grid,.guide-card-grid{grid-template-columns:1fr!important}.tools-room:before,.feed-room:before,.profile-room:before{height:160px}}

/* v0.6.6: feed media fix, location-true photos, daypart header, share ports, and more light/color life */
:root{--header-location-photo:linear-gradient(135deg,#0b3a4a,#061826)}
.app-header{position:sticky;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,rgba(4,17,29,.86),rgba(4,17,29,.64));}
.app-header::before{content:"";position:absolute;inset:4px 92px 4px 92px;border-radius:18px;background-image:linear-gradient(90deg,rgba(5,18,30,.82),rgba(5,18,30,.18) 45%,rgba(5,18,30,.72)),var(--header-location-photo);background-size:cover;background-position:center;opacity:.72;filter:saturate(1.05) contrast(1.02);z-index:-2;transition:filter .4s ease,opacity .4s ease;}
.app-header::after{content:attr(data-location);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:#e8fbff;font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;z-index:-1;opacity:.70;}
body[data-daypart="sunrise"] .app-header::before{filter:saturate(1.18) contrast(1.04) brightness(1.13);background-image:linear-gradient(90deg,rgba(4,17,29,.78),rgba(255,178,100,.18) 48%,rgba(4,17,29,.70)),var(--header-location-photo)}
body[data-daypart="day"] .app-header::before{filter:saturate(1.12) contrast(1.01) brightness(1.16);background-image:linear-gradient(90deg,rgba(4,17,29,.72),rgba(45,212,191,.12) 48%,rgba(4,17,29,.66)),var(--header-location-photo)}
body[data-daypart="sunset"] .app-header::before{filter:saturate(1.2) contrast(1.05) brightness(1.05);background-image:linear-gradient(90deg,rgba(4,17,29,.75),rgba(249,115,22,.20) 48%,rgba(4,17,29,.75)),var(--header-location-photo)}
body[data-daypart="night"] .app-header::before{filter:saturate(.82) contrast(1.08) brightness(.72);background-image:linear-gradient(90deg,rgba(4,17,29,.86),rgba(14,165,233,.10) 48%,rgba(4,17,29,.88)),var(--header-location-photo)}

.card-media.photo{position:relative;overflow:hidden;background-size:cover;background-position:center 48%;}
.card-media.photo.location-photo{background-position:center 52%;}
.card-media.photo::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,16,26,.08),rgba(3,16,26,.34) 68%,rgba(3,16,26,.72));pointer-events:none;}
.media-location-label{position:absolute;left:10px;right:10px;bottom:9px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;color:#fff7df;text-shadow:0 2px 10px rgba(0,0,0,.75);font-size:11px;font-weight:1000;letter-spacing:.04em;text-transform:uppercase;line-height:1.05;}
.media-location-label b{display:block;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.media-location-label small{font-size:10px;color:#d7f7fb;opacity:.92;max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.media-sketch small{top:auto!important;bottom:10px!important;line-height:1.1;max-width:calc(100% - 28px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.feed-card.clean-card .card-media{height:132px;border-radius:19px;margin-bottom:11px;}
.feed-card.clean-card h3{line-height:1.04;margin-top:8px;}
@media(max-width:760px){.feed-card.clean-card .card-media{height:124px}.app-header::before{inset:4px 76px 4px 74px}.app-header::after{display:none}}
@media(max-width:420px){.app-header::before{inset:5px 72px 5px 64px;opacity:.62}.feed-card.clean-card .card-media{height:118px}}

.photo-news-card{background-image:linear-gradient(180deg,rgba(4,17,29,.05),rgba(4,17,29,.78)),var(--news-photo)!important;background-size:cover;background-position:center!important;}
.photo-news-card span,.photo-news-card strong,.photo-news-card b{position:relative;z-index:2;text-shadow:0 2px 12px rgba(0,0,0,.65)}
.photo-news-card span{color:#d7fbff}.photo-source-note{margin-top:8px;color:#aac8d4;text-align:right}
.port-window-bg{background-image:linear-gradient(180deg,rgba(4,17,29,.32),rgba(4,17,29,.64) 52%,rgba(4,17,29,.92)),var(--header-location-photo)!important;background-size:cover;background-position:center 52%;}

.feed-composer-lite{background:linear-gradient(180deg,rgba(238,245,245,.96),rgba(221,236,235,.90));color:#082236;border-color:rgba(248,231,201,.20)}
.feed-composer-lite .muted{color:#4d6670}.feed-composer-lite h3{color:#082236}
.crew-room .safe-note,.feed-room .safe-note,.profile-room .safe-note{background:linear-gradient(180deg,rgba(216,251,248,.12),rgba(255,255,255,.045));}
#screen-crew .panel:nth-child(odd),#screen-explore .trip-card:nth-child(odd){background:linear-gradient(180deg,rgba(13,68,87,.93),rgba(6,24,38,.94));}
#screen-crew .panel:nth-child(even),#screen-explore .trip-card:nth-child(even){background:linear-gradient(180deg,rgba(44,72,91,.80),rgba(6,24,38,.94));}
#screen-profile .panel:nth-child(3n+1){background:linear-gradient(180deg,rgba(190,242,235,.94),rgba(223,238,239,.90));color:#082236}
#screen-profile .panel:nth-child(3n+1) .muted{color:#48626c}
#screen-profile .panel:nth-child(3n+2){background:linear-gradient(180deg,rgba(248,231,201,.92),rgba(232,237,235,.88));color:#082236}
#screen-profile .panel:nth-child(3n+2) .muted{color:#53666f}
.activity-trip .activity-avatar{background:linear-gradient(135deg,#ffb264,#f97316);color:#281100}.activity-request .activity-avatar{background:linear-gradient(135deg,#2dd4bf,#0ea5e9);color:#031522}
.light-panel{background:linear-gradient(180deg,rgba(238,245,245,.96),rgba(221,236,235,.92));color:#082236}.light-panel .muted{color:#48626c}
.share-port-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.share-port{min-height:92px;border:1px solid rgba(255,255,255,.13);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));color:#f7fbff;box-shadow:0 16px 36px rgba(0,0,0,.20);cursor:pointer}.share-port b{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 8px;border-radius:999px;background:rgba(255,255,255,.16);font-size:20px}.share-port span{display:block;font-weight:1000;font-size:12px}.share-port.facebook b{background:#1877f2}.share-port.twitter b{background:#0f172a}.share-port.instagram b{background:radial-gradient(circle at 30% 110%,#fdf497 0%,#fdf497 12%,#fd5949 38%,#d6249f 60%,#285AEB 100%)}.share-port.native b{background:linear-gradient(135deg,#2dd4bf,#0ea5e9);color:#031522}
@media(max-width:620px){.share-port-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.share-port{min-height:82px}}

/* v0.6.7: locked FishCrew brand, calmer water header, wider web layout, and auth completion */
.app-header::before{
  inset:5px 108px 5px 142px;
  border-radius:18px;
  background-image:linear-gradient(90deg,rgba(4,17,29,.86),rgba(4,17,29,.18) 45%,rgba(4,17,29,.82)),var(--header-location-photo);
  background-position:center 58%;
  opacity:.74;
}
.app-header::after{content:""!important;display:none!important;}
.brand{position:relative;z-index:2;flex:0 0 auto;}
.header-actions{position:relative;z-index:2;flex:0 0 auto;}
body[data-daypart="sunrise"] .app-header::before{background-image:linear-gradient(90deg,rgba(4,17,29,.84),rgba(255,178,100,.14) 45%,rgba(4,17,29,.78)),var(--header-location-photo)}
body[data-daypart="day"] .app-header::before{background-image:linear-gradient(90deg,rgba(4,17,29,.80),rgba(45,212,191,.10) 45%,rgba(4,17,29,.74)),var(--header-location-photo)}
body[data-daypart="sunset"] .app-header::before{background-image:linear-gradient(90deg,rgba(4,17,29,.82),rgba(249,115,22,.16) 45%,rgba(4,17,29,.80)),var(--header-location-photo)}
body[data-daypart="night"] .app-header::before{background-image:linear-gradient(90deg,rgba(4,17,29,.90),rgba(14,165,233,.08) 45%,rgba(4,17,29,.90)),var(--header-location-photo)}
.social-complete-form{border:1px solid rgba(45,212,191,.18);border-radius:22px;padding:13px;background:rgba(255,255,255,.04)}

@media(min-width:980px){
  .app-shell{width:min(1220px,100%);padding-left:clamp(24px,5vw,56px);padding-right:clamp(24px,5vw,56px)}
  .app-header{max-width:1160px;border-radius:28px;margin-bottom:22px;padding:12px 14px;}
  .app-main{max-width:1160px;margin:0 auto;}
  .screen.active > .hero,.screen.active > .section:first-child{margin-top:4px;}
  .home-hero{min-height:280px;display:grid;align-content:end;}
  .home-command-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .v040-flow{grid-template-columns:repeat(3,minmax(0,1fr));}
  .grid.cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;}
  .clean-feed{grid-template-columns:repeat(3,minmax(0,1fr));}
  .feed-card.clean-card .card-media{height:152px;}
  .trip-card .card-media,.feed-card .card-media{height:145px;}
  .panel,.trip-card,.feed-card,.mini-card,.admin-card{box-shadow:0 18px 50px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045)}
  .tools-room,.feed-room,.profile-room{padding-top:2px;}
  .tools-room:before,.feed-room:before,.profile-room:before{inset:-24px -28px auto -28px;height:260px;border-radius:42px;background:radial-gradient(circle at 18% 12%,rgba(45,212,191,.18),transparent 34%),radial-gradient(circle at 88% 0%,rgba(249,115,22,.15),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.035),transparent)}
}
@media(max-width:760px){
  .app-header::before{inset:5px 86px 5px 76px;opacity:.64;}
}
@media(max-width:420px){
  .app-header::before{inset:6px 78px 6px 66px;opacity:.56;}
}

/* v0.6.8: profile polish, full-width water backdrop, cleaner floating section titles, and Tools/Guide app refinement */
.app-header{
  min-height:76px;
  overflow:hidden;
  background:rgba(4,17,29,.76)!important;
}
.app-header::before{
  inset:5px!important;
  border-radius:21px!important;
  opacity:.46!important;
  filter:saturate(.92) contrast(1.04) brightness(.70)!important;
  background-position:center 62%!important;
  background-size:cover!important;
}
.app-header::after{content:""!important;display:none!important;}
.brand,.header-actions{position:relative;z-index:3;}
.brand-mark,.header-account,.header-avatar{box-shadow:0 10px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.14);}
body[data-daypart="sunrise"] .app-header::before{filter:saturate(1.02) contrast(1.03) brightness(.82)!important;background-image:linear-gradient(90deg,rgba(4,17,29,.80),rgba(255,178,100,.08) 48%,rgba(4,17,29,.78)),var(--header-location-photo)!important;}
body[data-daypart="day"] .app-header::before{filter:saturate(.96) contrast(1.02) brightness(.82)!important;background-image:linear-gradient(90deg,rgba(4,17,29,.76),rgba(45,212,191,.06) 48%,rgba(4,17,29,.74)),var(--header-location-photo)!important;}
body[data-daypart="sunset"] .app-header::before{filter:saturate(1.08) contrast(1.05) brightness(.76)!important;background-image:linear-gradient(90deg,rgba(4,17,29,.82),rgba(249,115,22,.09) 48%,rgba(4,17,29,.80)),var(--header-location-photo)!important;}
body[data-daypart="night"] .app-header::before{filter:saturate(.76) contrast(1.08) brightness(.54)!important;background-image:linear-gradient(90deg,rgba(4,17,29,.88),rgba(14,165,233,.05) 48%,rgba(4,17,29,.88)),var(--header-location-photo)!important;}

.profile-avatar-xl,
.header-avatar.profile-avatar-xl{
  width:88px!important;
  height:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  flex:0 0 88px!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  line-height:1!important;
}
.profile-hero{
  background:linear-gradient(180deg,rgba(8,33,51,.92),rgba(5,20,33,.88))!important;
  border-color:rgba(255,255,255,.12)!important;
}
.profile-cover{
  min-height:112px!important;
  background:linear-gradient(180deg,rgba(4,17,29,.18),rgba(4,17,29,.72)),linear-gradient(135deg,rgba(14,165,233,.20),rgba(45,212,191,.08)),var(--header-location-photo)!important;
  background-size:cover!important;
  background-position:center 62%!important;
  filter:saturate(.92) brightness(.82)!important;
}
.profile-cover span{
  color:#d9fbff!important;
  text-shadow:0 2px 12px rgba(0,0,0,.72)!important;
}
#screen-profile .panel:nth-child(3n+1),
#screen-profile .panel:nth-child(3n+2){
  background:linear-gradient(180deg,rgba(218,237,236,.86),rgba(154,187,190,.42))!important;
  color:#082236!important;
  border-color:rgba(255,255,255,.18)!important;
}
#screen-profile .panel:nth-child(3n+1) .muted,
#screen-profile .panel:nth-child(3n+2) .muted{color:#425b65!important;}
.profile-room:before{
  opacity:.52!important;
  background:radial-gradient(circle at 16% 10%,rgba(45,212,191,.10),transparent 34%),radial-gradient(circle at 88% 0%,rgba(249,115,22,.08),transparent 28%)!important;
}

.section-head{
  width:100%;
  align-items:center!important;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  box-shadow:0 12px 32px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(12px);
}
.section-head>div{min-width:0;}
.section-head h2{max-width:100%;overflow-wrap:anywhere;}
.section-head .btn{flex:0 0 auto;}
.compact-head{margin-bottom:12px!important;}
.screen>.section>.eyebrow + .page-title,
.tools-screen>.eyebrow + .page-title,
.feed-room>.eyebrow + .page-title,
.profile-room>.eyebrow + .page-title{
  display:block;
  width:100%;
  padding:4px 2px 0;
}

.tools-screen{max-width:100%;}
.tools-switch{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  padding:6px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:28px;
  background:rgba(255,255,255,.045);
  box-shadow:0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
}
.tools-switch button{
  min-height:70px!important;
  border-radius:22px!important;
  text-align:center!important;
  display:grid;
  align-content:center;
}
.tools-panel-body{width:100%;}
.tools-card-grid,.guide-card-grid{align-items:stretch;}
.tool-card,.guide-preview-card{min-height:170px;}
@media(max-width:430px){
  .app-header::before{inset:5px!important;opacity:.42!important;}
  .brand-copy small{max-width:102px;}
  .header-actions{gap:6px;}
  .header-account{padding:9px 11px;}
  .profile-avatar-xl,.header-avatar.profile-avatar-xl{width:78px!important;height:78px!important;min-width:78px!important;max-width:78px!important;flex-basis:78px!important;}
  .profile-main-row{align-items:center!important;gap:12px!important;}
  .section-head{align-items:flex-start!important;flex-direction:column;gap:9px;}
  .section-head .btn{align-self:flex-start;}
  .tools-switch{gap:6px;padding:5px;}
  .tools-switch button{min-height:62px!important;padding:10px 8px!important;}
  .tools-switch button b{font-size:18px!important;}
  .tools-switch button span{font-size:11.5px!important;}
}
@media(min-width:980px){
  .app-header::before{inset:6px!important;border-radius:23px!important;opacity:.42!important;}
  .profile-avatar-xl,.header-avatar.profile-avatar-xl{width:96px!important;height:96px!important;min-width:96px!important;max-width:96px!important;flex-basis:96px!important;}
  .profile-cover{min-height:132px!important;}
  .section-head{padding:12px 14px;border-radius:24px;}
}

/* v0.7.0: web app hard scrub, plugin readiness surfaces, profile avatar fix */
.profile-avatar-xl,
.header-avatar.profile-avatar-xl{
  border-radius:50%!important;
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  flex:0 0 96px!important;
  overflow:hidden!important;
  box-shadow:0 16px 38px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.18)!important;
  background-size:cover!important;
  background-position:center!important;
  aspect-ratio:1/1!important;
}
.profile-avatar-xl:not([style*="url"]){
  background:radial-gradient(circle at 35% 22%,rgba(255,255,255,.24),transparent 18%),linear-gradient(135deg,#ff9f45,#f97316)!important;
  color:#1c0a00!important;
  font-size:clamp(28px,5vw,38px)!important;
}
.profile-hero{overflow:hidden!important;isolation:isolate;}
.profile-cover{filter:none!important;opacity:.88!important;}
.profile-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(3,16,26,.22));pointer-events:none;z-index:0;}
.profile-hero>*{position:relative;z-index:1;}
#screen-profile .panel:nth-child(3n+1),
#screen-profile .panel:nth-child(3n+2){
  background:linear-gradient(180deg,rgba(202,232,231,.78),rgba(70,105,116,.36))!important;
  border-color:rgba(255,255,255,.14)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.plugin-card{border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:14px;background:linear-gradient(180deg,rgba(9,45,63,.88),rgba(5,21,34,.94));box-shadow:0 16px 40px rgba(0,0,0,.22);}
.plugin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0;border-top:1px solid rgba(255,255,255,.08);}
.plugin-row:first-of-type{border-top:0;}
.plugin-row strong{display:block;font-size:15px;letter-spacing:-.02em;}
.plugin-row p{margin:.25rem 0 0;font-size:12.5px;line-height:1.35;}
.plugin-row .chip{justify-self:end;max-width:150px;text-align:center;white-space:normal;line-height:1.15;}
@media(min-width:820px){
  .app-shell{width:min(1380px,100%);padding-left:clamp(22px,4.8vw,68px);padding-right:clamp(22px,4.8vw,68px);}
  .app-main,.app-header{max-width:1280px;margin-left:auto;margin-right:auto;}
  .feed-room .lead,.crew-room .lead,.tools-room .lead{max-width:74rem;}
  .feed-composer-lite{padding:20px 22px;border-radius:26px;}
  .clean-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
  .feed-card.clean-card{padding:16px;border-radius:26px;}
  .feed-card.clean-card .card-media{height:178px;border-radius:22px;margin:-2px -2px 14px;}
  .feed-actions{gap:10px;}
  .profile-hero{border-radius:30px;}
  .profile-cover{min-height:150px!important;}
  .profile-main-row{gap:18px;padding-left:26px;padding-right:26px;}
  .profile-bio{padding-left:26px;padding-right:26px;}
  .profile-stats{padding-left:26px;padding-right:26px;gap:12px;}
  .profile-hero>.row{padding-left:26px;padding-right:26px;}
  .section{margin-top:28px;}
  .section-head{padding:16px 18px;border-radius:28px;}
  .grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
  .grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
  .grid.cards{gap:20px;}
  .tools-switch{max-width:720px;margin-left:auto;margin-right:auto;}
  .bottom-nav{width:min(760px,calc(100% - 44px));}
}
@media(min-width:1180px){
  .clean-feed{grid-template-columns:repeat(3,minmax(0,1fr));}
  .feed-card.clean-card .card-media{height:166px;}
  .plugin-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:620px){
  .plugin-grid{grid-template-columns:1fr;}
  .profile-avatar-xl,.header-avatar.profile-avatar-xl{width:82px!important;height:82px!important;min-width:82px!important;max-width:82px!important;flex-basis:82px!important;}
}

/* v0.7.0 profile readability pass: calmer deep-water palette */
#screen-profile .profile-hero.panel{
  background:
    linear-gradient(180deg,rgba(13,53,70,.96),rgba(6,26,42,.97))!important;
  color:#f7fbff!important;
  border-color:rgba(156,221,225,.24)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
#screen-profile .profile-cover{
  opacity:1!important;
  background:
    linear-gradient(180deg,rgba(3,16,26,.12),rgba(3,16,26,.78)),
    linear-gradient(135deg,rgba(45,212,191,.18),rgba(14,165,233,.10)),
    var(--header-location-photo)!important;
  filter:none!important;
}
#screen-profile .profile-cover span{color:#caffff!important;}
#screen-profile .profile-hero:before{
  background:
    radial-gradient(circle at 16% 38%,rgba(45,212,191,.12),transparent 30%),
    linear-gradient(180deg,rgba(3,16,26,0),rgba(3,16,26,.18))!important;
}
#screen-profile .profile-title-block .page-title,
#screen-profile .profile-hero h1,
#screen-profile .profile-hero h2,
#screen-profile .profile-hero h3{
  color:#f7fbff!important;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}
#screen-profile .profile-title-block .muted,
#screen-profile .profile-bio,
#screen-profile .profile-hero .muted{
  color:#d7e9f1!important;
}
#screen-profile .profile-stats span{
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.045))!important;
  border-color:rgba(207,228,236,.20)!important;
}
#screen-profile .profile-stats b{color:#f7fbff!important;}
#screen-profile .profile-stats small{color:#bdd3dc!important;}
#screen-profile .section:not(.profile-room) .panel,
#screen-profile .admin-only-controls .panel{
  background:
    linear-gradient(180deg,rgba(12,46,63,.94),rgba(5,22,36,.96))!important;
  color:#f7fbff!important;
  border-color:rgba(156,221,225,.18)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
#screen-profile .section:not(.profile-room) .panel h3,
#screen-profile .admin-only-controls .panel h3{
  color:#f7fbff!important;
}
#screen-profile .section:not(.profile-room) .panel .muted,
#screen-profile .admin-only-controls .panel .muted,
#screen-profile .notification-card p{
  color:#c3d8e1!important;
}
#screen-profile .notification-card.read{
  opacity:1!important;
}
#screen-profile .profile-room:before{
  opacity:.62!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(45,212,191,.12),transparent 34%),
    radial-gradient(circle at 88% 2%,rgba(14,165,233,.10),transparent 30%)!important;
}
.bottom-nav{grid-template-columns:repeat(6,1fr)!important;}
@media(max-width:620px){
  #screen-profile .profile-title-block .page-title{
    font-size:clamp(31px,8vw,42px)!important;
  }
  #screen-profile .profile-stats span{
    padding:11px 9px!important;
  }
  #screen-profile .profile-hero>.row{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #screen-profile .profile-hero>.row .btn{
    width:100%;
    min-width:0;
    white-space:normal;
  }
}

/* v0.7.0 profile reimagined concept: FishCrew Pass */
#screen-profile .profile-pass-room{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
.profile-pass{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(156,221,225,.22);
  border-radius:32px;
  color:#f7fbff;
  background:
    linear-gradient(180deg,rgba(12,48,65,.97),rgba(4,18,31,.98));
  box-shadow:0 28px 72px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.10);
  isolation:isolate;
}
.profile-pass:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/72px 72px,
    linear-gradient(180deg,rgba(255,255,255,.026) 1px,transparent 1px) 0 0/72px 72px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.80),rgba(0,0,0,.15));
}
.profile-map-band{
  min-height:154px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:22px 26px;
  background:
    linear-gradient(180deg,rgba(3,16,26,.12),rgba(3,16,26,.84)),
    linear-gradient(90deg,rgba(45,212,191,.18),rgba(249,115,22,.08)),
    var(--header-location-photo);
  background-size:cover;
  background-position:center 60%;
}
.profile-map-band span,
.profile-map-band b{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:1000;
  text-shadow:0 2px 14px rgba(0,0,0,.55);
}
.profile-map-band span{color:#95fff7;font-size:12px;}
.profile-map-band b{color:#fff7df;font-size:13px;}
.profile-pass-body{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) minmax(176px,220px);
  gap:18px;
  align-items:end;
  padding:0 26px 24px;
  margin-top:-44px;
}
.profile-pass-avatar{
  border:5px solid #071e2f!important;
  box-shadow:0 18px 44px rgba(0,0,0,.42)!important;
}
.profile-pass-copy{min-width:0;padding-top:44px;}
.profile-pass-kicker{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.profile-pass-copy .page-title{
  margin:8px 0 4px;
  color:#f7fbff;
  text-shadow:0 2px 18px rgba(0,0,0,.34);
}
.profile-pass-copy .muted,
.profile-pass-copy .profile-bio{
  color:#d7e9f1!important;
}
.profile-pass-copy .profile-bio{
  padding:8px 0 0!important;
  max-width:56rem;
}
.profile-pass-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.profile-pass-tags .chip{
  color:#d7e9f1;
  border-color:rgba(156,221,225,.18);
  background:rgba(255,255,255,.07);
}
.profile-pass-actions{
  display:grid;
  gap:9px;
  align-self:stretch;
  align-content:end;
}
.profile-pass-actions .btn{
  width:100%;
  min-width:0;
}
.profile-signal-grid,
.profile-info-grid,
.profile-attention-grid{
  display:grid;
  gap:14px;
}
.profile-signal-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.profile-info-grid,
.profile-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.profile-signal{
  min-width:0;
  border:1px solid rgba(156,221,225,.18);
  border-radius:24px;
  padding:15px;
  background:
    linear-gradient(180deg,rgba(12,46,63,.94),rgba(5,22,36,.96));
  box-shadow:0 16px 42px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
}
.profile-signal span,
.profile-info-card>.eyebrow{
  color:#95fff7;
}
.profile-signal span{
  display:block;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.profile-signal strong{
  display:block;
  margin-top:9px;
  color:#f7fbff;
  font-size:clamp(20px,3vw,31px);
  line-height:1;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}
.profile-signal small{
  display:block;
  margin-top:7px;
  color:#bfd6df;
  font-weight:850;
}
#screen-profile .profile-info-card{
  min-height:148px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
#screen-profile .profile-info-card h3,
#screen-profile .notification-card h3{
  margin-top:9px;
}
@media(max-width:880px){
  .profile-pass-body{
    grid-template-columns:auto minmax(0,1fr);
  }
  .profile-pass-actions{
    grid-column:1/-1;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .profile-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .profile-map-band{
    min-height:124px;
    padding:18px;
    align-items:flex-start;
    flex-direction:column;
    justify-content:flex-end;
  }
  .profile-pass{
    border-radius:26px;
  }
  .profile-pass-body{
    grid-template-columns:1fr;
    gap:12px;
    padding:0 18px 18px;
    margin-top:-30px;
  }
  .profile-pass-avatar{
    width:86px!important;
    height:86px!important;
    min-width:86px!important;
    max-width:86px!important;
  }
  .profile-pass-copy{
    padding-top:0;
  }
  .profile-pass-copy .page-title{
    font-size:clamp(34px,12vw,46px)!important;
  }
  .profile-pass-actions{
    grid-column:auto;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .profile-signal-grid,
  .profile-info-grid,
  .profile-attention-grid{
    grid-template-columns:1fr;
  }
  .profile-pass-tags .chip{
    width:100%;
  }
}
@media(max-width:460px){
  .app-shell{
    width:100%!important;
    max-width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .app-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
  }
  .brand-copy strong{font-size:clamp(22px,8vw,30px)!important;}
  .header-actions{min-width:0;gap:5px!important;}
  .header-account{max-width:78px!important;padding-left:10px!important;padding-right:10px!important;}
  .header-gear{width:40px!important;height:40px!important;min-width:40px!important;}
  .profile-pass-actions{
    grid-template-columns:1fr!important;
  }
  .bottom-nav{
    left:6px!important;
    right:6px!important;
    width:auto!important;
    transform:none!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:1px!important;
    padding:5px!important;
  }
  .nav-btn{min-width:0!important;padding:0!important;}
  .nav-btn b{font-size:8px!important;}
  .nav-icon{width:18px!important;height:18px!important;}
  .fab{right:10px!important;}
}

/* v0.7.0 readiness polish: final layout, contrast, and tap-target guardrails */
:root{
  --cream:#f8e7c9;
  --surface:rgba(8,31,48,.94);
  --surface-soft:rgba(255,255,255,.06);
  --surface-strong:rgba(3,16,26,.96);
  --focus-ring:rgba(45,212,191,.76);
}
html,body{max-width:100%;overflow-x:hidden;}
body{background:linear-gradient(180deg,#0a3240 0%,#071f33 42%,#04111d 100%);}
body,.app-shell,.screen,.section,.panel,.trip-card,.feed-card,.mini-card,.admin-card{min-width:0;}
h1,h2,h3,h4,p,b,strong,span,small,.btn,.chip,.badge,.nav-btn{letter-spacing:0!important;}
h1,h2,h3,h4,p,.muted,.lead,.tiny,.chip,.badge,.btn{overflow-wrap:anywhere;}
.app-shell{width:min(1280px,100%);}
.app-main{display:block;min-width:0;}
.screen.active{width:100%;}
.section{scroll-margin-top:96px;}
.section-head{align-items:flex-start!important;}
.section-head>div{min-width:0;max-width:100%;}
.section-head h2{max-width:100%;line-height:1.04;}
.section-head .row{justify-content:flex-start;}
.panel,.trip-card,.feed-card,.mini-card,.admin-card,.plugin-card,.profile-signal{
  border-color:rgba(191,214,223,.16)!important;
}
.panel p:last-child,.trip-card p:last-child,.feed-card p:last-child{margin-bottom:0;}
.btn,.filter-btn,.nav-btn,.home-command,.tool-card,.guide-preview-card,.share-port,.check-row{
  min-width:0;
  touch-action:manipulation;
}
.btn{
  white-space:normal;
  text-align:center;
  line-height:1.12;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.btn.dark{background:rgba(255,255,255,.09);}
.btn.dark:hover,.filter-btn:hover,.nav-btn:hover{background:rgba(255,255,255,.13);}
.field,.select,textarea.field{
  background:rgba(255,255,255,.095);
  border-color:rgba(191,214,223,.18);
}
[data-action]:focus-visible,.field:focus,.select:focus,textarea.field:focus{
  outline:3px solid var(--focus-ring)!important;
  outline-offset:3px!important;
}
.home-command-grid,.tools-card-grid,.guide-card-grid,.plugin-grid,.profile-info-grid,.profile-attention-grid,.profile-signal-grid{
  align-items:stretch;
}
.home-command,.tool-card,.guide-preview-card,.plugin-card,.profile-info-card,.profile-signal{
  height:100%;
}
.bottom-nav{
  max-width:760px;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.nav-btn{
  line-height:1;
  overflow:hidden;
}
.nav-btn b{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fab{display:grid;place-items:center;}
.modal{color:#f7fbff;}
.modal .panel{background:linear-gradient(180deg,rgba(10,38,57,.96),rgba(5,21,34,.98));}
.modal-head h2{letter-spacing:0!important;overflow-wrap:anywhere;}
#screen-profile .profile-pass{border-radius:28px;}
#screen-profile .profile-pass-copy .page-title{line-height:.98;}
#screen-profile .profile-pass-copy .muted{max-width:58rem;}
#screen-profile .profile-pass-actions .btn{min-height:46px;}
#screen-profile .profile-info-card,
#screen-profile .notification-card,
#screen-profile .profile-signal{
  background:linear-gradient(180deg,rgba(12,46,63,.96),rgba(5,22,36,.98))!important;
}
#screen-profile .empty{
  color:#d7e9f1;
  border-color:rgba(156,221,225,.22);
  background:rgba(255,255,255,.055);
}
@media(max-width:760px){
  .app-shell{padding-left:12px!important;padding-right:12px!important;}
  .section{margin-top:20px;}
  .section-head{gap:10px;}
  .section-head .btn{width:auto;max-width:100%;}
  .row{gap:8px;}
  .row .btn{flex:1 1 150px;}
  .condition-strip,.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .tools-switch button{min-height:64px;}
  .bottom-nav{width:calc(100% - 16px)!important;height:66px!important;}
  .fab{width:52px!important;height:52px!important;bottom:calc(66px + env(safe-area-inset-bottom,0px) + 16px)!important;}
  .modal{max-height:min(86svh,760px);}
  #screen-profile .profile-pass-body{align-items:start;}
  #screen-profile .profile-pass-actions .btn{min-height:44px;}
}
@media(max-width:430px){
  .app-shell{padding-left:10px!important;padding-right:10px!important;}
  .app-header{gap:7px;}
  .brand{gap:8px;}
  .brand-copy strong{font-size:24px!important;}
  .header-actions{gap:5px;}
  .header-account{max-width:86px!important;font-size:12px!important;}
  .page-title{font-size:clamp(32px,10vw,42px)!important;}
  .section h2{font-size:clamp(23px,7vw,30px)!important;}
  .condition-strip,.compact-stats,.profile-signal-grid,.profile-info-grid,.profile-attention-grid{grid-template-columns:1fr!important;}
  .row .btn,.profile-pass-actions .btn{flex:1 1 100%;width:100%;}
  .profile-map-band{min-height:118px!important;padding:16px!important;}
  .profile-map-band b{font-size:12px;}
  .profile-pass{border-radius:24px!important;}
  .profile-pass-body{padding-left:16px!important;padding-right:16px!important;}
  .profile-pass-copy .page-title{font-size:34px!important;}
  .profile-pass-tags .chip{width:auto!important;max-width:100%;}
  .bottom-nav{
    left:50%!important;
    right:auto!important;
    width:calc(100% - 12px)!important;
    transform:translateX(-50%)!important;
  }
  .nav-btn b{font-size:8px!important;}
  .nav-icon{width:17px!important;height:17px!important;}
}

/* v0.7.0 shine pass: richer water texture, premium cards, and calmer motion */
:root{
  --glow-teal:rgba(45,212,191,.28);
  --glow-sky:rgba(14,165,233,.22);
  --glow-sun:rgba(255,178,100,.18);
  --ink-soft:#d9edf5;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    repeating-linear-gradient(105deg,rgba(255,255,255,.030) 0 1px,transparent 1px 22px),
    linear-gradient(180deg,rgba(45,212,191,.08),transparent 22%,rgba(249,115,22,.035) 58%,transparent 100%);
  opacity:.72;
}
.app-header{
  border-color:rgba(205,235,239,.16)!important;
  background:linear-gradient(180deg,rgba(4,20,32,.92),rgba(3,15,25,.86))!important;
  box-shadow:0 18px 48px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.brand-mark{
  box-shadow:0 12px 28px rgba(14,165,233,.22),0 0 0 1px rgba(255,255,255,.12) inset!important;
}
.hero.home-hero{
  max-width:none!important;
  min-height:360px;
  border-radius:34px!important;
  padding:clamp(22px,4vw,34px)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  grid-template-areas:
    "top snapshot"
    "title snapshot"
    "copy snapshot"
    "spots snapshot"
    "actions snapshot";
  align-items:end;
  gap:14px 28px;
  background:
    linear-gradient(180deg,rgba(4,17,29,.10),rgba(4,17,29,.82)),
    linear-gradient(115deg,rgba(45,212,191,.18),rgba(14,165,233,.10) 42%,rgba(249,115,22,.10)),
    var(--header-location-photo)!important;
  background-size:cover!important;
  background-position:center 56%!important;
  box-shadow:0 30px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.hero.home-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px) 0 0/86px 86px,
    linear-gradient(180deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/86px 86px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.74),rgba(0,0,0,.08));
}
.hero.home-hero:after{
  content:"";
  position:absolute;
  left:-8%;
  right:-8%;
  bottom:-28%;
  height:52%;
  border-radius:50%;
  background:linear-gradient(180deg,rgba(202,255,255,.14),rgba(45,212,191,.04));
  pointer-events:none;
}
.hero-topline{grid-area:top;position:relative;z-index:1;}
.hero.home-hero h1{grid-area:title;position:relative;z-index:1;max-width:11ch!important;text-align:left!important;text-wrap:balance;}
.hero.home-hero p{grid-area:copy;position:relative;z-index:1;text-align:left!important;max-width:43rem!important;margin:0!important;color:#e2f4f8!important;}
.hero-spot-loop{grid-area:spots;position:relative;z-index:1;justify-content:flex-start!important;margin:6px 0 0!important;}
.hero-actions{grid-area:actions;position:relative;z-index:1;margin-top:4px!important;}
.hero-snapshot{
  grid-area:snapshot;
  position:relative;
  z-index:1;
  align-self:end;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  padding:22px;
  border:1px solid rgba(210,246,248,.22);
  border-radius:28px;
  text-align:left;
  color:#f7fbff;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.045)),
    linear-gradient(135deg,rgba(4,17,29,.62),rgba(5,44,55,.48));
  box-shadow:0 22px 58px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(18px);
}
.hero-snapshot strong{
  display:block;
  font-size:clamp(34px,4vw,48px);
  line-height:.92;
  text-wrap:balance;
}
.hero-snapshot span:not(.snapshot-kicker),
.hero-snapshot small{
  color:#d7e9f1;
  font-weight:850;
  line-height:1.3;
}
.snapshot-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
  color:#bffff8;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
}
.app-main::before,
.app-main::after{
  display:none!important;
}
.home-command,.trip-card,.feed-card,.admin-card,.plugin-card,.profile-signal,.profile-info-card,.notification-card,.tools-switch button,.share-port{
  position:relative;
  overflow:hidden;
}
.home-command:before,.trip-card:before,.feed-card:before,.admin-card:before,.plugin-card:before,.profile-signal:before,.profile-info-card:before,.notification-card:before,.tools-switch button:before,.share-port:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.075),transparent 36%);
  opacity:.72;
}
.trip-card:hover,.feed-card:hover,.admin-card:hover,.home-command:hover,.tool-card:hover,.guide-preview-card:hover,.profile-signal:hover,.profile-info-card:hover{
  transform:translateY(-2px);
  border-color:rgba(45,212,191,.34)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
.trip-card,.feed-card,.admin-card,.home-command,.tool-card,.guide-preview-card,.profile-signal,.profile-info-card{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.card-media{
  box-shadow:inset 0 -32px 60px rgba(3,16,26,.30),inset 0 1px 0 rgba(255,255,255,.10);
}
.badge,.chip{
  backdrop-filter:blur(10px);
}
.badge.green{
  background:linear-gradient(135deg,#9efac3,#2dd4bf)!important;
}
.bottom-nav{
  background:linear-gradient(180deg,rgba(5,25,39,.96),rgba(2,11,19,.96))!important;
  border-color:rgba(210,246,248,.16)!important;
  box-shadow:0 20px 58px rgba(0,0,0,.50),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.nav-btn.active{
  box-shadow:0 10px 24px rgba(45,212,191,.18),inset 0 1px 0 rgba(255,255,255,.18);
}
.fab{
  box-shadow:0 18px 46px rgba(249,115,22,.34),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.toast{
  border-color:rgba(210,246,248,.18)!important;
  background:linear-gradient(180deg,rgba(5,25,39,.98),rgba(2,11,19,.98))!important;
}
@media(prefers-reduced-motion:no-preference){
  .hero.home-hero:before{animation:fishcrewWaterGrid 14s linear infinite;}
  .live-dot.on{animation:fishcrewPulse 1.8s ease-in-out infinite;}
  .screen.active{animation:screenIn .22s ease both;}
}
@keyframes fishcrewWaterGrid{
  from{background-position:0 0,0 0;}
  to{background-position:86px 43px,43px 86px;}
}
@keyframes fishcrewPulse{
  0%,100%{box-shadow:0 0 0 4px rgba(34,197,94,.16);}
  50%{box-shadow:0 0 0 8px rgba(34,197,94,.06);}
}
@media(max-width:860px){
  .hero.home-hero{
    min-height:0;
    grid-template-columns:1fr;
    grid-template-areas:"top" "title" "copy" "snapshot" "spots" "actions";
    border-radius:28px!important;
  }
  .hero-snapshot{
    min-height:0;
    padding:17px;
  }
  .snapshot-kicker{margin-bottom:0;}
  .hero-snapshot strong{font-size:32px;}
}
@media(max-width:430px){
  .hero.home-hero{padding:18px!important;border-radius:24px!important;}
  .hero-snapshot{border-radius:22px;}
  .hero-actions{grid-template-columns:1fr!important;}
}

/* v0.7.0 mobile profile handoff polish */
@media(max-width:620px){
  #screen-profile .profile-map-band{
    min-height:108px!important;
    flex-direction:row!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:17px 18px!important;
  }
  #screen-profile .profile-map-band b{
    max-width:44%;
    text-align:right;
  }
  #screen-profile .profile-pass-body{
    margin-top:-18px!important;
  }
  #screen-profile .profile-pass-avatar{
    width:78px!important;
    height:78px!important;
    min-width:78px!important;
    max-width:78px!important;
  }
  #screen-profile .profile-pass-copy .page-title{
    margin-top:6px!important;
  }
  #screen-profile .profile-signal-section .section-head{
    padding-right:64px;
  }
  .fab{
    display:none!important;
  }
}
@media(max-width:430px){
  #screen-profile .profile-map-band{
    min-height:98px!important;
    padding:15px 16px!important;
  }
  #screen-profile .profile-pass-body{
    gap:10px!important;
    padding-bottom:16px!important;
  }
  #screen-profile .profile-pass-copy .page-title{
    font-size:32px!important;
  }
  #screen-home .hero-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #screen-home .hero-actions .btn{
    font-size:14px;
  }
  #screen-home .hero-actions .btn:first-child{
    grid-column:1/-1;
  }
}

/* v0.7.0 de-bubble pass: calmer app geometry, fewer pill/blob shapes */
:root{
  --radius-ui:10px;
  --radius-panel:12px;
  --radius-feature:14px;
}
.hero:after,
.card-media:after,
.photo-panel:after,
.guide-preview-card:after,
.port-window-bg:after,
.photo-news-card:after,
.tools-room:before,
.feed-room:before,
.profile-room:before{
  display:none!important;
}
.app-header,
.bottom-nav,
.modal,
.profile-pass,
.profile-cover,
.profile-map-band,
.hero.home-hero,
.hero,
.port-window-card{
  border-radius:var(--radius-feature)!important;
}
.panel,
.trip-card,
.feed-card,
.mini-card,
.admin-card,
.plugin-card,
.profile-signal,
.profile-info-card,
.notification-card,
.home-command,
.tool-card,
.guide-preview-card,
.quick-card,
.water-news-card,
.photo-news-card,
.share-port,
.qa-note,
.check-row,
.condition-strip .stat,
.compact-stats .stat,
.port-condition-grid article,
.home-activity-card,
.social-complete-form,
.conditions-card,
.safe-note,
.empty,
.modal-root .modal{
  border-radius:var(--radius-panel)!important;
}
.btn,
.filter-btn,
.badge,
.chip,
.spot-pill,
.header-account,
.header-gear,
.nav-btn,
.x-btn,
.field,
.select,
textarea.field,
.file-box,
.flow-step,
.tools-switch button,
.conditions-ribbon,
.ribbon-main,
.toast,
.debug-pill,
.share-port b,
.score-help,
.auth-compact-access,
.social-icon,
.mini-login{
  border-radius:var(--radius-ui)!important;
}
.badge,
.chip,
.spot-pill,
.filter-btn{
  padding:7px 9px!important;
}
.badge,
.chip{
  letter-spacing:0;
}
.header-avatar,
.profile-avatar-xl,
.profile-pass-avatar,
.activity-avatar{
  border-radius:12px!important;
}
.bottom-nav{
  padding:6px!important;
}
.nav-btn.active{
  border-radius:10px!important;
}
.fab{
  border-radius:12px!important;
}
.card-media,
.feed-card.clean-card .card-media,
.trip-card .media,
.feed-card .media{
  border-radius:10px!important;
}
.section-head{
  border-radius:10px!important;
}
.app-header::after{
  border-radius:7px!important;
}
@media(max-width:860px){
  .hero.home-hero,
  .hero-snapshot{
    border-radius:var(--radius-feature)!important;
  }
}
@media(max-width:430px){
  .hero.home-hero,
  .profile-pass,
  .profile-map-band,
  .bottom-nav{
    border-radius:12px!important;
  }
}

/* v0.7.0 UX polish pass 1: denser working screens and calmer controls */
#screen-explore>.section:first-child,
#screen-crew>.section:first-child,
#screen-feed>.section:first-child,
#screen-tools>.section:first-child{
  margin-top:16px!important;
}
#screen-explore .page-title,
#screen-crew .page-title,
#screen-feed .page-title,
#screen-tools .page-title{
  max-width:13ch;
  margin:8px 0 8px!important;
  font-size:clamp(36px,5.8vw,56px)!important;
  line-height:1!important;
}
#screen-explore .lead,
#screen-crew .lead,
#screen-feed .lead,
#screen-tools .lead{
  max-width:66rem;
  margin:0 0 16px!important;
}
.filters{
  align-items:center;
  gap:8px!important;
  padding:0 0 12px!important;
}
.filter-btn{
  min-height:38px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.feed-composer-lite{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center!important;
  margin:14px 0 12px!important;
  padding:16px 18px!important;
  color:#f7fbff!important;
  background:linear-gradient(180deg,rgba(12,46,63,.96),rgba(5,22,36,.98))!important;
  border-color:rgba(191,214,223,.18)!important;
}
.feed-composer-lite h3{
  color:#f7fbff!important;
}
.feed-composer-lite .muted{
  color:#c5dbe4!important;
}
.feed-composer-lite .btn.dark{
  color:#eafcff!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(191,214,223,.18)!important;
}
.bottom-nav{
  height:64px!important;
  max-width:680px!important;
  background:linear-gradient(180deg,rgba(4,18,30,.94),rgba(2,11,19,.96))!important;
}
.nav-btn span{
  font-size:18px!important;
}
.nav-btn b{
  font-size:10px!important;
}
.fab{
  width:54px!important;
  height:54px!important;
  font-size:32px!important;
}
@media(min-width:900px){
  #screen-explore .grid.cards,
  #screen-crew .grid.cards,
  #screen-feed .feed-list{
    gap:18px!important;
  }
  #screen-feed .page-title{
    max-width:10ch;
  }
}
@media(max-width:620px){
  #screen-explore .page-title,
  #screen-crew .page-title,
  #screen-feed .page-title,
  #screen-tools .page-title{
    max-width:12ch;
    font-size:clamp(30px,9vw,39px)!important;
  }
  #screen-explore .lead,
  #screen-crew .lead,
  #screen-feed .lead,
  #screen-tools .lead{
    font-size:15px!important;
    margin-bottom:14px!important;
  }
  .filters{
    flex-wrap:wrap!important;
    overflow:visible!important;
    gap:7px!important;
  }
  .filter-btn{
    flex:0 1 auto!important;
  }
  .feed-composer-lite{
    grid-template-columns:1fr;
    gap:12px;
    padding:14px!important;
  }
  .feed-composer-lite .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .feed-composer-lite .row .btn{
    width:100%;
  }
  .bottom-nav{
    height:62px!important;
    padding:5px!important;
  }
}

/* v0.7.0 settings menu pass: life-preserver control and real menu hub */
.header-gear{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border:2px solid rgba(255,255,255,.82)!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at center, rgba(4,18,30,.98) 0 29%, transparent 30%),
    conic-gradient(from 23deg,#ef4444 0 13%,#ffffff 13% 25%,#ef4444 25% 38%,#ffffff 38% 50%,#ef4444 50% 63%,#ffffff 63% 75%,#ef4444 75% 88%,#ffffff 88% 100%)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.30), inset 0 0 0 2px rgba(255,255,255,.24)!important;
  color:#fff!important;
  overflow:hidden;
}
.header-gear:before,
.header-gear:after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:35px!important;
  height:4px!important;
  border-radius:999px!important;
  background:rgba(4,18,30,.28)!important;
  opacity:1!important;
  transform:translate(-50%,-50%) rotate(45deg)!important;
  pointer-events:none;
}
.header-gear:after{
  transform:translate(-50%,-50%) rotate(-45deg)!important;
}
.header-gear span{
  position:relative!important;
  z-index:1;
  width:18px!important;
  height:18px!important;
  display:block!important;
  border:2px solid rgba(255,255,255,.92)!important;
  border-radius:50%!important;
  background:#061826!important;
  box-shadow:0 0 0 2px rgba(6,24,38,.78), inset 0 0 0 999px rgba(6,24,38,.94)!important;
}
.header-gear span:before{
  content:""!important;
  display:none!important;
}
.header-gear:hover,
.header-gear:focus-visible{
  border-color:#fff!important;
  box-shadow:0 12px 30px rgba(239,68,68,.32),0 0 0 4px rgba(255,255,255,.12)!important;
  outline:0;
}
.settings-modal-head h2{
  max-width:12ch;
}
.settings-menu{
  display:grid;
  gap:12px;
}
.settings-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(11,42,60,.96),rgba(5,21,34,.98));
  box-shadow:0 10px 26px rgba(0,0,0,.20);
  padding:14px;
}
.settings-account-card{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:14px;
  background:linear-gradient(135deg,rgba(239,68,68,.16),rgba(255,255,255,.055) 42%,rgba(45,212,191,.10)),rgba(5,21,34,.98);
}
.settings-account-card h3,
.settings-section-head h3,
.settings-safety-card h3{
  margin:4px 0 0;
  color:#f7fbff;
  font-size:clamp(21px,4vw,28px);
  line-height:1.05;
}
.settings-account-card p,
.settings-safety-card p{
  margin:6px 0 0;
  color:#c9dce5;
  line-height:1.36;
}
.settings-life-ring{
  position:relative;
  width:56px;
  height:56px;
  border:2px solid rgba(255,255,255,.86);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at center, rgba(5,21,34,.98) 0 29%, transparent 30%),
    conic-gradient(from 23deg,#ef4444 0 13%,#ffffff 13% 25%,#ef4444 25% 38%,#ffffff 38% 50%,#ef4444 50% 63%,#ffffff 63% 75%,#ef4444 75% 88%,#ffffff 88% 100%);
  box-shadow:0 12px 26px rgba(239,68,68,.18);
}
.settings-life-ring:before,
.settings-life-ring:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:43px;
  height:5px;
  border-radius:999px;
  background:rgba(5,21,34,.28);
  transform:translate(-50%,-50%) rotate(45deg);
}
.settings-life-ring:after{
  transform:translate(-50%,-50%) rotate(-45deg);
}
.settings-life-ring span{
  position:relative;
  z-index:1;
  width:22px;
  height:22px;
  border:2px solid rgba(255,255,255,.94);
  border-radius:50%;
  background:#061826;
  box-shadow:0 0 0 2px rgba(6,24,38,.76);
}
.settings-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.settings-grid.compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.settings-tile{
  min-width:0;
  min-height:82px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.06);
  color:#f7fbff;
  text-align:left;
  padding:12px;
}
.settings-tile b{
  display:block;
  color:#f7fbff;
  font-size:15px;
  line-height:1.1;
}
.settings-tile span{
  display:block;
  margin-top:6px;
  color:#a8bfce;
  font-size:12px;
  line-height:1.28;
}
.settings-tile:hover,
.settings-tile:focus-visible{
  border-color:rgba(45,212,191,.42);
  background:rgba(45,212,191,.10);
  outline:0;
}
.settings-form{
  gap:10px;
}
.settings-safety-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
@media(max-width:560px){
  .header-gear{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .header-gear:before,
  .header-gear:after{
    width:31px!important;
  }
  .header-gear span{
    width:16px!important;
    height:16px!important;
  }
  .settings-account-card,
  .settings-safety-card{
    grid-template-columns:1fr;
    display:grid;
    align-items:start;
  }
  .settings-grid,
  .settings-grid.compact{
    grid-template-columns:1fr;
  }
  .settings-tile{
    min-height:68px;
  }
}

/* v0.7.0 public-ready copy pass: hide internal quick access */
.auth-compact-access{
  display:none!important;
}

/* v0.7.0 store-readiness support/legal surfaces */
.danger-tile{
  border-color:rgba(239,68,68,.36)!important;
  background:linear-gradient(180deg,rgba(239,68,68,.16),rgba(5,21,34,.92))!important;
}
.legal-copy .panel p{
  margin:.25rem 0 0;
}
.legal-page{
  width:min(920px,100%);
  margin:0 auto;
  padding:28px clamp(14px,4vw,28px) 56px;
}
.legal-page .brand-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:24px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(4,18,30,.86);
}
.legal-page a{
  color:#95fff7;
  font-weight:900;
}
.legal-page .legal-card{
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(10,38,57,.88);
  padding:18px;
  margin-top:14px;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}

/* v0.7.0 device/admin readiness polish */
.device-panel{
  background:
    linear-gradient(180deg,rgba(45,212,191,.13),rgba(6,24,38,.92)),
    var(--card)!important;
}
.tool-icon.gps{
  background:linear-gradient(135deg,#9ff7ef,#0ea5e9)!important;
}
.tool-icon.gps:before{
  left:15px;
  top:7px;
  width:16px;
  height:25px;
  border:3px solid #031522;
  border-radius:12px 12px 14px 14px;
  transform:rotate(0deg);
}
.tool-icon.gps:after{
  left:20px;
  top:12px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#031522;
  box-shadow:0 17px 0 -1px #031522;
}
.device-status-card,
.operator-card{
  border-color:rgba(45,212,191,.24)!important;
  background:linear-gradient(135deg,rgba(12,74,96,.92),rgba(6,24,38,.96))!important;
}
.device-matrix{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.device-stat{
  min-width:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.06);
}
.device-stat span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.device-stat strong{
  display:block;
  margin-top:5px;
  color:#f7fbff;
  font-size:15px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.device-action{
  text-align:left;
  color:var(--ink);
}
.device-action h3{
  margin-top:10px;
}
.connection-log{
  max-height:220px;
  overflow:auto;
}
.user-row p,
.connection-log p{
  margin:.35rem 0 0;
}
@media(max-width:560px){
  .device-matrix{
    grid-template-columns:1fr;
  }
}

/* v0.7.0 gala-ready boot sequence */
body:not(.app-ready) .app-shell,
body:not(.app-ready) .bottom-nav,
body:not(.app-ready) .fab{
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
}
body.app-ready .app-shell,
body.app-ready .bottom-nav,
body.app-ready .fab{
  opacity:1;
  transform:none;
  transition:opacity .32s ease,transform .32s ease;
}
.boot-screen{
  position:fixed;
  inset:0;
  z-index:220;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 20% 10%,rgba(54,210,190,.24),transparent 34%),
    radial-gradient(circle at 88% 18%,rgba(14,165,233,.22),transparent 30%),
    linear-gradient(180deg,#061826,#04111d);
  color:var(--ink);
}
.boot-card{
  width:min(430px,100%);
  display:grid;
  gap:16px;
  justify-items:center;
  text-align:center;
  border:1px solid rgba(248,231,201,.22);
  border-radius:28px;
  padding:24px;
  background:linear-gradient(180deg,rgba(10,38,57,.92),rgba(5,21,34,.96));
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}
.boot-card img{
  width:72px;
  height:72px;
  border-radius:22px;
  box-shadow:0 14px 34px rgba(0,0,0,.3);
}
.boot-card h1{
  margin:6px 0 6px;
  font-size:clamp(30px,8vw,46px);
  line-height:.96;
  letter-spacing:-.055em;
}
.boot-card p{
  margin:0;
  color:#c9dce5;
  line-height:1.4;
}
.boot-bar{
  width:100%;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.boot-bar span{
  display:block;
  width:42%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--teal),var(--ocean),var(--orange));
  animation:bootPulse 1.1s ease-in-out infinite alternate;
}
@keyframes bootPulse{
  from{transform:translateX(0)}
  to{transform:translateX(138%)}
}
body.app-ready .boot-screen{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .34s ease,visibility .34s ease;
}
@media(prefers-reduced-motion:reduce){
  .boot-bar span{animation:none;width:100%}
  body.app-ready .app-shell,
  body.app-ready .bottom-nav,
  body.app-ready .fab,
  body.app-ready .boot-screen{transition:none}
}
