:root{
  --yellow:#ffd400;
  --yellow-2:#ffdf32;
  --yellow-dark:#e6b900;
  --blue:#083f73;
  --blue-2:#062c52;
  --blue-3:#051e39;
  --white:#ffffff;
  --ink:#092a47;
  --muted:#61778a;
  --bg:#f3f6f8;
  --line:#dbe4ea;
  --soft-blue:#eaf2f8;
  --shadow:0 22px 55px rgba(5,30,57,.12);
  --radius:24px;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    linear-gradient(180deg,#fff 0 72px,transparent 72px),
    radial-gradient(circle at 90% 12%,rgba(255,212,0,.20),transparent 25rem),
    #f4f7f9;
}
button,select,input{font:inherit}
button{cursor:pointer}
.page-shell{min-height:100vh;display:flex;flex-direction:column}

/* Header */
.topbar{
  height:78px;
  padding:0 max(24px,calc((100vw - 1140px)/2));
  display:flex;align-items:center;justify-content:space-between;
  background:var(--yellow);
  color:var(--blue-3);
  border-bottom:4px solid var(--blue);
  position:relative;z-index:10
}
.brand{display:flex;align-items:center;gap:13px}
.brand-symbol{
  width:48px;height:48px;border-radius:50%;
  background:var(--blue);color:var(--yellow);
  display:grid;place-items:center;position:relative;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.12)
}
.brand-ferry{font-size:23px;line-height:1;position:relative;z-index:2;transform:translateY(-1px)}
.brand-wave{
  position:absolute;width:29px;height:8px;border-bottom:2px solid var(--yellow);
  border-radius:50%;bottom:8px
}
.brand-copy strong{
  display:block;font-size:17px;font-weight:950;letter-spacing:-.02em
}
.brand-copy span{
  display:block;font-size:11px;font-weight:700;color:#35536c;margin-top:2px
}
.version{
  border:2px solid rgba(6,44,82,.18);
  background:rgba(255,255,255,.48);
  border-radius:999px;padding:7px 12px;
  font-size:11px;font-weight:950;color:var(--blue)
}

/* Main / hero */
.main{width:min(1140px,calc(100% - 32px));margin:30px auto 28px}
.hero{
  min-height:315px;
  border-radius:30px;
  overflow:hidden;
  position:relative;
  display:grid;grid-template-columns:1.05fr .95fr;
  align-items:center;
  background:
    linear-gradient(115deg,var(--blue-3) 0%,var(--blue) 64%,#0c548f 100%);
  box-shadow:var(--shadow)
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(0deg,rgba(255,212,0,.10),transparent 44%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 1px,transparent 1px 15px);
  pointer-events:none
}
.hero-copy{padding:44px 0 44px 46px;position:relative;z-index:2}
.hero-kicker{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  color:var(--blue-3);
  background:var(--yellow);
  font-size:11px;font-weight:950;letter-spacing:.08em
}
.hero h1{
  margin:17px 0 0;
  color:white;
  font-size:clamp(40px,5.2vw,66px);
  line-height:.92;
  letter-spacing:-.055em
}
.hero h1 span{color:var(--yellow)}
.hero p{
  max-width:610px;margin:19px 0 0;
  color:#c7dae8;font-size:15px;line-height:1.58
}
.hero-badges{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}
.hero-badges span{
  padding:8px 11px;border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.11);
  color:#e8f1f6;font-size:11px;font-weight:800
}

/* Ferry illustration */
.hero-art{height:100%;position:relative;display:flex;align-items:center;justify-content:center}
.sun-disc{
  position:absolute;width:255px;height:255px;border-radius:50%;
  background:var(--yellow);
  right:45px;top:28px;
  box-shadow:0 0 0 22px rgba(255,212,0,.08)
}
.corsica-ferry{
  width:min(540px,100%);
  position:relative;z-index:2;
  transform:translate(8px,17px);
  filter:drop-shadow(0 18px 15px rgba(0,0,0,.24))
}
.ferry-shadow ellipse{fill:rgba(0,0,0,.20)}
.hull-yellow{fill:var(--yellow)}
.hull-blue,.stripe-blue,.funnel-blue{fill:var(--blue-3)}
.bow-white,.deck-white{fill:white}
.small-stripe{opacity:.95}
.windows rect{fill:#244e70}
.funnel-yellow{fill:var(--yellow)}
.funnel-cap{fill:#061b30}
.lifeboats rect{fill:#f27422}
.ship-name{
  fill:var(--blue-3);
  font-size:21px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  letter-spacing:-.04em
}
.waves path{
  fill:none;stroke:#fff;stroke-width:4;
  stroke-linecap:round;opacity:.68
}

/* Search card */
.search-panel{
  width:calc(100% - 74px);
  margin:-28px auto 0;
  position:relative;z-index:5;
  background:white;
  border-radius:var(--radius);
  padding:26px 28px 25px;
  box-shadow:var(--shadow);
  border-top:5px solid var(--yellow)
}
.panel-title{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:20px
}
.panel-title>div{display:flex;align-items:center;gap:9px}
.panel-title strong{font-size:16px;color:var(--blue-3)}
.step-number{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--blue);color:white;font-size:12px;font-weight:950
}
.panel-subtitle{font-size:11px;color:#7d909e;font-weight:750}
.route-grid{display:grid;grid-template-columns:1fr 56px 1fr;gap:14px;align-items:end}
.date-search-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:end;margin-top:17px}
.field label{
  display:block;margin:0 0 7px 3px;
  font-size:11px;font-weight:900;text-transform:uppercase;
  letter-spacing:.055em;color:#577083
}
.input-shell{position:relative}
.input-icon{
  position:absolute;z-index:2;left:16px;top:50%;transform:translateY(-50%);
  pointer-events:none;font-size:16px
}
select,input[type=date]{
  width:100%;height:58px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fafb;
  color:var(--blue-3);
  padding:0 42px 0 45px;
  outline:none;font-weight:800;
  transition:.16s ease
}
select:hover,input[type=date]:hover{border-color:#afc2cf;background:white}
select:focus,input[type=date]:focus{
  border-color:var(--blue);
  background:white;
  box-shadow:0 0 0 4px rgba(8,63,115,.10)
}
.swap{
  width:52px;height:52px;margin-bottom:3px;
  border:0;border-radius:50%;
  background:var(--yellow);color:var(--blue-3);
  font-size:25px;font-weight:950;
  display:grid;place-items:center;
  box-shadow:0 9px 20px rgba(208,168,0,.24);
  transition:.2s ease
}
.swap:hover{background:var(--yellow-2);transform:rotate(180deg)}
.primary{
  height:58px;border:0;border-radius:14px;
  background:var(--yellow);color:var(--blue-3);
  display:flex;align-items:center;justify-content:center;gap:10px;
  font-weight:950;text-transform:uppercase;letter-spacing:.03em;
  box-shadow:0 10px 24px rgba(208,168,0,.20);
  transition:.16s ease
}
.primary:hover{background:var(--yellow-2);transform:translateY(-1px)}
.primary:disabled{opacity:.72;cursor:wait;transform:none}
.search-icon{font-size:17px}
.direction-help{
  display:flex;align-items:flex-start;gap:9px;
  margin-top:18px;padding:14px 15px;
  border-radius:12px;background:#f5f9fc;
  color:#61778a;font-size:11px;line-height:1.5
}
.help-icon{
  flex:none;width:19px;height:19px;border-radius:50%;
  display:grid;place-items:center;background:var(--blue);
  color:white;font-size:11px;font-weight:900
}

/* Results */
.result-zone{margin:27px 37px 0}
.loading,.warning{
  background:white;border-radius:18px;padding:25px;
  border:1px solid var(--line);text-align:center;
  box-shadow:0 10px 30px rgba(5,30,57,.06)
}
.warning{border-left:5px solid var(--yellow)}
.warning h2{margin:0 0 7px;color:var(--blue-3)}
.warning p{margin:0;color:var(--muted)}
.multi-note{
  margin-bottom:12px;padding:12px 15px;
  border-radius:12px;background:var(--blue);color:white;
  font-size:12px;font-weight:850
}
.boat-card{
  display:grid;grid-template-columns:190px 1fr;
  gap:24px;
  position:relative;overflow:hidden;
  background:white;border:1px solid var(--line);
  border-radius:21px;padding:22px;margin-bottom:14px;
  box-shadow:0 12px 32px rgba(5,30,57,.07)
}
.boat-card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:7px;
  background:var(--yellow)
}
.boat-icon{
  height:160px;border-radius:16px;
  display:grid;place-items:center;
  background:
    linear-gradient(180deg,#eaf5fb 0 64%,#bedbe9 64% 100%);
  color:var(--blue);
  font-size:70px
}
.boat-card .small{
  font-size:10px;font-weight:950;letter-spacing:.12em;
  color:#8495a1;margin-bottom:5px
}
.boat-card h2{
  margin:0 0 5px;
  font-size:30px;line-height:1.05;letter-spacing:-.035em;
  color:var(--blue-3)
}
.boat-card p{margin:7px 0;color:#566e7f}
.boat-card p strong{color:var(--blue)}
.boat-card a{
  display:inline-flex;margin-top:9px;
  padding:7px 10px;border-radius:9px;
  color:var(--blue);background:#eef5f9;
  text-decoration:none;font-size:11px;font-weight:900
}
.boat-card a:hover{background:#e2eef5}

/* Bottom features */
.feature-row{
  margin:25px 37px 0;
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:11px
}
.feature{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:13px;border-radius:13px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line)
}
.feature>span{font-size:19px}
.feature strong{display:block;font-size:11px;color:var(--blue-3)}
.feature small{display:block;font-size:9px;color:#8596a3;margin-top:2px}
footer{
  margin-top:auto;padding:25px;
  color:#8194a2;text-align:center;font-size:10px
}
.footer-dot{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--yellow-dark);margin-right:6px
}

/* Mobile */
@media(max-width:790px){
  .topbar{height:70px;padding:0 16px}
  .brand-symbol{width:42px;height:42px}
  .brand-copy strong{font-size:14px}
  .brand-copy span{display:none}
  .main{width:min(100% - 18px,1140px);margin-top:16px}
  .hero{
    min-height:auto;
    grid-template-columns:1fr;
    border-radius:23px
  }
  .hero-copy{padding:30px 23px 14px}
  .hero h1{font-size:43px}
  .hero p{font-size:13px}
  .hero-art{height:188px}
  .sun-disc{
    width:180px;height:180px;right:calc(50% - 90px);top:6px
  }
  .corsica-ferry{width:370px;max-width:100%;transform:translate(0,8px)}
  .search-panel{
    width:calc(100% - 12px);margin-top:-14px;padding:19px 17px 20px;
    border-radius:19px
  }
  .panel-subtitle{display:none}
  .route-grid,.date-search-grid{grid-template-columns:1fr}
  .swap{
    width:46px;height:46px;margin:-2px auto;
    transform:rotate(90deg)
  }
  .swap:hover{transform:rotate(270deg)}
  .result-zone,.feature-row{margin-left:6px;margin-right:6px}
  .boat-card{grid-template-columns:1fr;padding:18px}
  .boat-icon{height:105px;font-size:55px}
  .boat-card h2{font-size:25px}
  .feature-row{grid-template-columns:1fr}
}

.overnight{display:inline-block;margin-top:8px!important;padding:7px 10px;border-radius:10px;background:#fff8d4;color:#5d4a00!important;font-size:12px;font-weight:800}

.marine-card{
  margin-top:14px;
  padding:14px;
  border-radius:15px;
  background:linear-gradient(180deg,#f6fbfe,#edf6fb);
  border:1px solid #d8e8f1;
}
.marine-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  color:var(--blue-3);
  font-size:12px;
  font-weight:900;
}
.marine-title strong{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:6px 9px;
  border-radius:999px;
  background:white;
  border:1px solid #dbe7ee;
  font-size:11px;
}
.marine-icons{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}
.marine-item{
  min-height:86px;
  padding:10px 8px;
  border-radius:12px;
  background:white;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid #e3edf3;
}
.marine-emoji{font-size:23px;line-height:1;margin-bottom:5px}
.marine-item small{font-size:9px;color:#8193a0;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.marine-item b{font-size:14px;color:var(--blue-3);margin-top:3px}
.marine-source{
  margin-top:9px;
  font-size:9px;
  color:#8a9aa5;
  text-align:right;
}
@media(max-width:560px){
  .marine-icons{grid-template-columns:repeat(3,1fr);gap:6px}
  .marine-item{min-height:78px;padding:8px 5px}
  .marine-item b{font-size:12px}
}

.boat-visual{
  width:104px;
  min-width:104px;
  height:78px;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 5px 16px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
.boat-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.boat-fallback{
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  font-size:34px;
}
.boat-content{min-width:0;flex:1}
.photo-credit{
  display:block;
  margin:-2px 0 7px;
  font-size:8px!important;
  line-height:1.2;
  opacity:.68;
  text-decoration:none!important;
}
.photo-credit:hover{opacity:1}
@media(max-width:560px){
  .boat-visual{width:92px;min-width:92px;height:69px;border-radius:12px}
}

.trip-tools{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:11px 0 3px;
}
.trip-chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #dce7ee;
  background:#fff;
  color:var(--blue-3);
  font-size:10px;
  font-weight:900;
  text-decoration:none;
}
.trip-link:hover{transform:translateY(-1px)}
.trip-save{cursor:pointer;font-family:inherit}
.trip-save.saved{background:#fff4a8;border-color:#ead75a}
@media(max-width:560px){
  .trip-tools{gap:6px}
  .trip-chip{font-size:9px;padding:7px 9px}
}

.trip-track{
  background:#eaf4ff;
  border-color:#bdd7ed;
  color:#0c4d7c!important;
}
.trip-track:hover{
  background:#dceeff;
  transform:translateY(-1px);
}

/* V4.48 — Modern feature banner */
.hero{
  min-height:365px;
}
.hero-copy{
  padding-top:38px;
  padding-bottom:38px;
}
.hero-lead{
  max-width:620px;
  font-size:15px!important;
}
.feature-cloud{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:22px;
  max-width:650px;
}
.feature-pill{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:.18s ease;
}
.feature-pill:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.13);
}
.feature-pill-icon{
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:rgba(255,212,0,.14);
  font-size:18px;
}
.feature-pill span:last-child{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.feature-pill b{
  color:white;
  font-size:11px;
  line-height:1.1;
  letter-spacing:.01em;
}
.feature-pill small{
  margin-top:3px;
  color:#bcd2e2;
  font-size:9px;
  line-height:1.1;
}
.accent-pill{
  background:linear-gradient(135deg,rgba(255,212,0,.22),rgba(255,212,0,.08));
  border-color:rgba(255,212,0,.28);
}
.accent-pill .feature-pill-icon{
  background:var(--yellow);
}

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }
  .hero-art{
    height:190px;
  }
  .feature-cloud{
    max-width:none;
  }
}

@media(max-width:560px){
  .hero{
    min-height:auto;
  }
  .hero-copy{
    padding:28px 20px 12px;
  }
  .hero h1{
    font-size:40px;
  }
  .feature-cloud{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  .feature-pill{
    min-height:52px;
    padding:9px 9px;
    gap:8px;
    border-radius:14px;
  }
  .feature-pill-icon{
    width:32px;
    height:32px;
    min-width:32px;
    font-size:16px;
  }
  .feature-pill b{
    font-size:10px;
  }
  .feature-pill small{
    font-size:8px;
  }
}

.weather-trip-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin:14px 0 7px;
}
.weather-mini-card{
  min-width:0;
  padding:12px;
  border-radius:15px;
  background:linear-gradient(180deg,#ffffff,#f7fafc);
  border:1px solid #dde8ee;
  box-shadow:0 6px 16px rgba(5,30,57,.05);
}
.weather-sea{
  background:linear-gradient(180deg,#edf7fd,#e6f2f8);
  border-color:#cfe2ee;
}
.weather-mini-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:9px;
}
.weather-city{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--blue-3);
  font-size:11px;
  font-weight:950;
}
.weather-phase{
  flex:none;
  padding:4px 7px;
  border-radius:999px;
  background:#f0f4f7;
  color:#788b99;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.weather-main{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--blue-3);
  font-size:21px;
  line-height:1;
}
.weather-main strong{font-size:18px}
.weather-meta{
  margin-top:8px;
  color:#6c808f;
  font-size:9px;
  font-weight:800;
  line-height:1.35;
}
.weather-mock-note{
  margin:0 0 10px;
  color:#8a9aa5;
  font-size:8px;
  text-align:right;
  font-style:italic;
}
@media(max-width:680px){
  .weather-trip-strip{
    display:flex;
    overflow-x:auto;
    gap:8px;
    padding-bottom:4px;
    scroll-snap-type:x mandatory;
  }
  .weather-mini-card{
    flex:0 0 78%;
    scroll-snap-align:start;
  }
}

.weather-trip-strip-two{
  grid-template-columns:repeat(2,1fr);
}

.weather-unavailable{opacity:.55}

.weather-loading{opacity:.6}

.live-crossings{
  margin:22px 0 20px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(145deg,#0d2f55,#123f70);
  box-shadow:0 16px 34px rgba(8,38,69,.14);
  color:white;
}
.live-crossings-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin-bottom:14px;
}
.live-kicker{
  display:block;
  margin-bottom:4px;
  color:#ffd400;
  font-size:9px;
  font-weight:950;
  letter-spacing:.14em;
}
.live-crossings h2{
  margin:0;
  color:white;
  font-size:18px;
}
.live-estimate{
  font-size:9px;
  color:#bfd0df;
  white-space:nowrap;
}
.current-crossings-list{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:2px 1px 5px;
  scroll-snap-type:x mandatory;
}
.live-card{
  flex:0 0 315px;
  scroll-snap-align:start;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
}
.live-card-top{
  display:flex;
  gap:11px;
  align-items:center;
}
.live-ship-visual{
  width:72px;
  min-width:72px;
  height:54px;
  overflow:hidden;
  border-radius:12px;
  background:rgba(255,255,255,.12);
}
.live-ship-visual img{width:100%;height:100%;object-fit:cover;display:block}
.live-ship-visual span{width:100%;height:100%;display:grid;place-items:center;font-size:26px}
.live-card-copy h3{margin:3px 0 3px;font-size:14px;color:white}
.live-card-copy p{margin:0;font-size:10px;color:#d6e2eb}
.live-status{font-size:8px;font-weight:950;color:#ffd400;letter-spacing:.08em}
.pulse-dot{
  width:7px;height:7px;border-radius:50%;background:#37e57d;display:inline-block;margin-right:5px;
  box-shadow:0 0 0 0 rgba(55,229,125,.55);animation:livePulse 1.8s infinite;
}
@keyframes livePulse{70%{box-shadow:0 0 0 7px rgba(55,229,125,0)}100%{box-shadow:0 0 0 0 rgba(55,229,125,0)}}
.live-times{display:flex;justify-content:space-between;gap:8px;margin-top:12px;font-size:10px;font-weight:800}
.live-progress{margin-top:11px}
.live-progress-bar{height:7px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.live-progress-bar span{display:block;height:100%;background:#ffd400;border-radius:999px}
.live-progress small{display:block;margin-top:5px;color:#bcd0df;font-size:8px}
.live-track{
  display:inline-flex;margin-top:10px;padding:7px 10px;border-radius:999px;
  background:#ffd400;color:#102f51!important;font-size:9px;font-weight:950;text-decoration:none!important
}
.live-loading,.live-empty{
  width:100%;padding:18px;border-radius:14px;background:rgba(255,255,255,.07);
  color:#d5e1ea;font-size:11px;text-align:center
}
@media(max-width:560px){
  .live-crossings{padding:16px;margin-left:0;margin-right:0}
  .live-crossings-head{align-items:flex-start;flex-direction:column}
  .live-estimate{white-space:normal}
  .live-card{flex-basis:86%}
}


/* V4.61 · partage + fiche bateau */
.vessel-open,.vessel-name-link{cursor:pointer}
.vessel-name-link{display:inline-block;text-decoration:underline;text-decoration-color:rgba(13,58,98,.18);text-underline-offset:4px}
.vessel-name-link:hover{text-decoration-color:var(--yellow)}
.trip-vessel,.trip-share{border:0;cursor:pointer;font:inherit}
.trip-vessel{background:#eef5fa;color:var(--blue-3)}
.trip-share{background:#fff3a8;color:#193c5f}
.vessel-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:flex-end;justify-content:center;padding:20px}
.vessel-modal.open{display:flex}
.vessel-modal-backdrop{position:absolute;inset:0;background:rgba(5,25,45,.64);backdrop-filter:blur(4px)}
.vessel-sheet{position:relative;z-index:1;width:min(760px,100%);max-height:min(88vh,820px);overflow:auto;border-radius:26px;background:white;box-shadow:0 30px 80px rgba(0,20,42,.35);animation:vesselUp .24s ease-out}
@keyframes vesselUp{from{transform:translateY(22px);opacity:.4}to{transform:none;opacity:1}}
.vessel-close{position:absolute;right:14px;top:14px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:rgba(7,39,70,.86);color:white;font-size:25px;line-height:1;cursor:pointer}
.vessel-modal-content{padding:0 0 22px}
.vessel-sheet-loading{padding:60px 24px;text-align:center;color:#6e8291;font-weight:800}
.vessel-hero{display:grid;grid-template-columns:minmax(220px,42%) 1fr;min-height:235px;background:linear-gradient(135deg,#0b3159,#154d82);color:white}
.vessel-hero-photo{min-height:235px;background:#dce8ef;overflow:hidden}
.vessel-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.vessel-hero-photo span{height:100%;display:grid;place-items:center;font-size:68px}
.vessel-hero-copy{align-self:center;padding:34px 52px 30px 28px}
.vessel-kicker{font-size:9px;font-weight:950;letter-spacing:.14em;color:var(--yellow)}
.vessel-hero-copy h2{margin:7px 0 13px;color:white;font-size:30px;line-height:1.05}
.vessel-badges{display:flex;flex-wrap:wrap;gap:7px}
.vessel-badges span{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.12);font-size:9px;font-weight:900}
.vessel-badges .status-ok{background:rgba(52,218,119,.18);color:#89f3b6}
.vessel-badges .status-muted{background:rgba(255,255,255,.1);color:#cbd8e2}
.vessel-spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:20px 20px 6px}
.vessel-spec{display:flex;align-items:center;gap:9px;min-height:67px;padding:11px;border-radius:15px;background:#f5f8fa;border:1px solid #e3ebf0}
.vessel-spec>span{font-size:19px}
.vessel-spec div{display:flex;min-width:0;flex-direction:column}
.vessel-spec small{color:#748896;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.vessel-spec strong{margin-top:4px;color:var(--blue-3);font-size:12px;line-height:1.15}
.vessel-sheet-actions{display:flex;flex-wrap:wrap;gap:8px;padding:14px 20px 0}
.vessel-sheet-actions a{display:inline-flex;align-items:center;padding:10px 13px;border-radius:999px;background:var(--yellow);color:var(--blue-3);font-size:10px;font-weight:950;text-decoration:none}
.vessel-sheet-actions a.secondary{background:#eaf2f7}
.vessel-data-note{margin:14px 20px 0;color:#78909f;font-size:9px;line-height:1.45}
.vessel-photo-credit{display:inline-block;margin:8px 20px 0}
body.modal-open{overflow:hidden}
.app-toast{position:fixed;left:50%;bottom:25px;z-index:1200;transform:translate(-50%,25px);padding:11px 16px;border-radius:999px;background:#092f56;color:white;box-shadow:0 10px 30px rgba(0,25,50,.25);font-size:11px;font-weight:900;opacity:0;pointer-events:none;transition:.2s ease}
.app-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:680px){
  .vessel-modal{padding:0;align-items:flex-end}
  .vessel-sheet{max-height:92vh;border-radius:24px 24px 0 0}
  .vessel-hero{grid-template-columns:1fr;min-height:0}
  .vessel-hero-photo{height:190px;min-height:0}
  .vessel-hero-copy{padding:22px 20px}
  .vessel-hero-copy h2{font-size:26px}
  .vessel-spec-grid{grid-template-columns:repeat(2,1fr);padding:15px 14px 4px}
  .vessel-sheet-actions{padding:12px 14px 0}
  .vessel-data-note{margin:13px 14px 0}
  .vessel-photo-credit{margin-left:14px;margin-right:14px}
}


/* =========================================================
   V4.62 · Interface FUN / vacances
   La logique et les cartes résultats V4.61 restent intactes.
   ========================================================= */
body.v462{
  --fun-navy:#062b55;
  --fun-navy-2:#0a3d70;
  --fun-yellow:#ffd20a;
  --fun-sky:#35bdf6;
  --fun-pink:#ff5b86;
  --fun-green:#35c982;
  --fun-paper:#fffefa;
  background:
    radial-gradient(circle at 12% 18%,rgba(55,194,249,.18),transparent 28rem),
    linear-gradient(180deg,#e9f8ff 0%,#f8fbfd 58%,#eef8fc 100%);
  color:#082e57;
}
.v462 .page-shell{overflow:hidden}
.fun-topbar{
  min-height:92px;
  padding:12px max(18px,calc((100vw - 1400px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(135deg,#05284f,#07396a 60%,#05284f);
  color:#fff;
  box-shadow:0 5px 18px rgba(4,35,68,.22);
  position:relative;
  z-index:20;
}
.fun-brand{
  display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none;min-width:0
}
.fun-brand-cluster{display:flex;align-items:center;gap:11px;min-width:0}
.title-socials{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.title-social-link{
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  text-decoration:none;transition:transform .18s ease,filter .18s ease
}
.title-social-link:hover,.title-social-link:focus-visible{transform:translateY(-2px) scale(1.05);filter:brightness(1.08)}
.title-social-link img{
  display:block!important;width:26px!important;height:26px!important;min-width:26px!important;
  max-width:26px!important;min-height:26px!important;max-height:26px!important;object-fit:contain!important
}
.fun-brand-badge{
  width:62px;height:62px;border-radius:50%;
  display:grid;place-items:center;font-size:34px;
  background:linear-gradient(145deg,#083c71,#07558d);
  border:3px solid rgba(63,195,255,.5);
  box-shadow:0 8px 20px rgba(0,0,0,.18),inset 0 0 0 4px rgba(255,255,255,.05);
}
.fun-brand-text{display:flex;flex-direction:column;line-height:1.06}
.fun-brand-text strong{
  font-size:clamp(20px,2.2vw,31px);
  font-weight:950;
  letter-spacing:-.7px;
}
.fun-brand-text em{font-style:normal;color:var(--fun-yellow)}
.fun-brand-text small{font-size:14px;font-weight:750;margin-top:5px;color:#f4fbff}
.fun-brand-text small b{color:var(--fun-yellow)}
.fun-nav{display:flex;align-items:center;gap:10px}
.nav-pill,.nav-round{
  border:1px solid rgba(80,194,255,.32);
  background:rgba(0,30,63,.42);
  color:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  transition:.2s ease;
}
.nav-pill{
  min-height:46px;border-radius:24px;padding:0 18px;font-weight:900;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  box-sizing:border-box;text-decoration:none;font-family:inherit;cursor:pointer
}
.nav-contact{background:#ffd30a;color:#062b55;border-color:#ffe65c;box-shadow:0 6px 16px rgba(255,211,10,.22)}
.nav-contact:hover,.nav-contact:focus-visible{background:#ffe25b;color:#062b55;outline:3px solid rgba(255,255,255,.5);outline-offset:2px}
.nav-round{width:46px;height:46px;border-radius:50%;font-size:20px}
.nav-pill:hover,.nav-round:hover{transform:translateY(-2px);background:#0a497f}
.fun-version{
  position:static!important;
  display:grid;place-items:center;
  min-width:74px;height:42px;padding:0 14px;
  color:var(--fun-navy)!important;
  background:var(--fun-yellow)!important;
  border:2px solid rgba(255,255,255,.28)!important;
  border-radius:22px!important;
  font-weight:950!important;
  box-shadow:0 5px 14px rgba(0,0,0,.13)
}

.fun-main{
  width:min(1400px,100%);
  margin:0 auto;
  padding:0 18px 36px;
}
.fun-hero{
  position:relative;
  margin:0 -18px;
  overflow:hidden;
  background:#44c9fa;
  border-bottom:0;
  box-shadow:0 15px 30px rgba(3,55,92,.12);
}
.fun-hero img{
  display:block;width:100%;height:auto;
  min-height:260px;object-fit:cover;object-position:center;
}
.fun-feature-deck{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
  margin:0 28px 20px;
  position:relative;
  z-index:5;
}
.fun-feature-card{
  min-height:124px;
  border:3px solid rgba(255,255,255,.92);
  border-radius:23px;
  padding:13px 8px 12px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#092d54;
  box-shadow:0 10px 25px rgba(5,54,91,.14),inset 0 -4px 0 rgba(8,46,83,.05);
  text-align:center;
  transform:rotate(var(--tilt,0deg));
  transition:.2s ease;
}
button.fun-feature-card{font:inherit;cursor:pointer}
.fun-feature-card:hover{transform:translateY(-5px) rotate(0);box-shadow:0 16px 30px rgba(5,54,91,.19)}
.fun-feature-icon{font-size:34px;line-height:1;margin-bottom:7px}
.fun-feature-card strong{font-size:15px;font-weight:950}
.fun-feature-card small{font-size:11px;font-weight:750;margin-top:3px;color:#395d7e}
.blue-card{background:linear-gradient(180deg,#eef9ff,#fff);--tilt:-.5deg}
.aqua-card{background:linear-gradient(180deg,#eefcff,#f8ffff);--tilt:.5deg}
.moon-card{background:linear-gradient(180deg,#fff8dc,#fffdf5);--tilt:-.3deg}
.pink-card{background:linear-gradient(180deg,#fff0f5,#fff9fb);--tilt:.4deg}
.star-card{background:linear-gradient(180deg,#fff8e2,#fffdf7);--tilt:-.4deg}
.green-card{background:linear-gradient(180deg,#eafff2,#f8fffb);--tilt:.3deg}

.fun-dashboard{
}

/* =========================================================
   V5.0.4 · Résultat A — Soleil premium
   ========================================================= */
.v462 .solar-trip-card{
  --solar-navy:#031a32;
  --solar-blue:#168bc4;
  --solar-yellow:#ffd21a;
  --solar-yellow-soft:#fff5bd;
  --solar-coral:#ff5f76;
  --solar-green:#36c993;
  --solar-ink:#092844;
  --solar-muted:#6c8294;
  --solar-line:#cfe1eb;
  display:block!important;
  width:100%;
  padding:14px!important;
  margin:0 0 16px;
  overflow:hidden;
  color:var(--solar-ink);
  background:#fff;
  border:3px solid var(--solar-yellow)!important;
  border-radius:24px!important;
  box-shadow:0 18px 44px rgba(8,56,87,.16)!important;
}
.v462 .solar-trip-card::before{display:none}
.solar-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.solar-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  border-radius:999px;
  color:#fff;
  background:var(--solar-navy);
  font-size:10px;
  font-weight:950;
  letter-spacing:.03em;
}
.solar-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--solar-muted);
  font-size:10px;
  font-weight:850;
}
.solar-status i{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:var(--solar-green);
  box-shadow:0 0 0 4px rgba(54,201,147,.15);
}
.solar-main{
  display:grid;
  grid-template-columns:minmax(220px,.78fr) minmax(310px,1.22fr);
  gap:12px;
}
.solar-identity{
  min-width:0;
  padding:12px;
  border-radius:18px;
  background:linear-gradient(155deg,#e9f8fe,#fff);
}
.solar-photo-frame{
  position:relative;
  min-height:170px;
  height:170px;
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(180deg,#dff4fd 0 64%,#8fc9e4 64%);
}
.solar-photo-frame .boat-photo{width:100%;height:100%;object-fit:cover;display:block}
.solar-photo-frame::after{
  content:"";
  position:absolute;
  inset:55% 0 0;
  pointer-events:none;
  background:linear-gradient(transparent,rgba(3,26,50,.62));
}
.solar-photo-fallback{
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  font-size:70px;
}
.solar-photo-label{
  position:absolute;
  left:10px;
  bottom:9px;
  z-index:1;
  padding:5px 8px;
  border-radius:999px;
  color:#fff;
  background:rgba(3,26,50,.78);
  font-size:9px;
  font-weight:850;
}
.solar-identity-copy{margin-top:10px;min-width:0}
.solar-kicker{
  display:block;
  color:var(--solar-blue);
  font-size:9px;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.v462 .solar-trip-card h2{
  margin:2px 0 0;
  color:var(--solar-ink);
  font-size:clamp(23px,2.1vw,28px);
  line-height:1.02;
  font-weight:1000!important;
  overflow-wrap:anywhere;
}
.solar-company{
  margin:5px 0 0!important;
  color:#c99f00!important;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
}
.v462 .solar-trip-card .solar-photo-credit{
  display:block;
  margin:5px 0 0;
  padding:0;
  color:var(--solar-muted);
  background:transparent;
  font-size:8px!important;
}
.solar-journey{min-width:0;padding:5px 0}
.solar-route{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--solar-coral);
  font-size:15px;
  text-transform:uppercase;
}
.solar-route b:last-child{color:var(--solar-blue)}
.solar-time-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.solar-time-card{
  min-width:0;
  padding:10px;
  border-radius:13px;
  background:rgba(16,123,177,.08);
}
.solar-time-card small{display:block;color:var(--solar-muted);font-size:9px;font-weight:850}
.solar-time-card b{display:block;margin-top:4px;color:var(--solar-ink);font-size:12px}
.solar-time-card span{display:block;margin-top:3px;color:var(--solar-blue);font-size:16px;font-weight:950}
.solar-arrival-banner{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:9px;
  padding:10px;
  border-radius:13px;
  color:var(--solar-ink);
  background:var(--solar-yellow-soft);
}
.solar-arrival-banner small{display:block;font-size:9px;color:#6a5712;font-weight:850}
.solar-arrival-banner b{display:block;margin-top:2px;font-size:11px}
.solar-check{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  flex:0 0 24px;
  border-radius:50%;
  color:var(--solar-yellow);
  background:var(--solar-navy);
  font-weight:950;
}
.solar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px}
.v462 .solar-trip-card .solar-action{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:7px 10px;
  border:1px solid var(--solar-line);
  border-radius:999px!important;
  color:var(--solar-ink);
  background:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.v462 .solar-trip-card .solar-action-main{border-color:transparent;background:var(--solar-yellow-soft)}
.v462 .solar-trip-card .trip-save.saved{color:#075d43;background:#d8f7eb;border-color:#9ce5ca}
.solar-duration{color:var(--solar-muted);font-size:9px;font-weight:850}

/* Météo immédiatement visible dans le premier résultat */
.trip-weather-spotlight{
  margin-top:12px;
  overflow:hidden;
  border-radius:21px;
  color:var(--solar-ink);
  background:var(--solar-yellow);
  box-shadow:0 9px 20px rgba(181,140,0,.15);
}
.trip-weather-heading{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:16px 15px 12px;
}
.trip-weather-face{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(255,255,255,.7);
  font-size:31px;
  transform:rotate(-3deg);
}
.trip-weather-heading small{
  display:block;
  color:#675614;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
}
.trip-weather-heading h3{
  margin:2px 0 3px;
  color:var(--solar-ink);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:22px;
  line-height:1;
  font-weight:400;
  letter-spacing:.01em;
}
.trip-weather-heading p{
  margin:0;
  color:#433c25;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:11px;
  font-weight:600;
  line-height:1.32;
}
.trip-weather-state{
  align-self:start;
  padding:7px 9px;
  border-radius:999px;
  color:var(--solar-ink);
  background:rgba(255,255,255,.78);
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:9px;
  font-weight:750;
  white-space:nowrap;
}
.trip-weather-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  padding:0 15px 14px;
}
.trip-weather-metrics>div{
  min-width:0;
  padding:9px 4px;
  border-radius:12px;
  text-align:center;
  background:rgba(255,255,255,.7);
}
.trip-weather-metrics span,
.trip-weather-metrics small,
.trip-weather-metrics strong{display:block}
.trip-weather-metrics span{font-size:20px;line-height:1}
.trip-weather-metrics small{
  margin-top:4px;
  color:#6e5c18;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:7px;
  font-weight:750;
}
.trip-weather-metrics strong{
  margin-top:2px;
  color:var(--solar-ink);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:13px;
  font-weight:400;
  white-space:nowrap;
}
.trip-sunset{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 28px;
  gap:10px;
  align-items:center;
  padding:12px 15px;
  color:#fff;
  background:linear-gradient(110deg,#7059aa,#ec6273 57%,#ff9943);
}
.trip-sunset[hidden]{display:none}
.trip-sunset-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:rgba(255,255,255,.17);
  font-size:28px;
}
.trip-sunset small,.trip-sunset strong,.trip-sunset p{display:block}
.trip-sunset small{
  color:#ffe6a7;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:8px;
  font-weight:700;
}
.trip-sunset strong{
  margin-top:2px;
  color:#fff;
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:17px;
  line-height:1.05;
  font-weight:400;
}
.trip-sunset p{
  margin:3px 0 0;
  color:#fff;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:10px;
  line-height:1.25;
}
.trip-sunset>span:last-child{font-size:22px}
.trip-route-weather{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  align-items:center;
  gap:5px;
  padding:14px 15px;
  background:#fff;
}
.trip-route-point{min-width:0;text-align:center}
.trip-route-point b,.trip-route-point span,.trip-route-point strong,.trip-route-point small{display:block}
.trip-route-point b{color:var(--solar-blue);font-size:10px}
.trip-route-point span{margin:3px 0;font-size:22px;line-height:1}
.trip-route-point strong{
  color:var(--solar-ink);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:10px;
  font-weight:400;
  text-transform:uppercase;
}
.trip-route-point small{
  margin-top:3px;
  color:var(--solar-muted);
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:8px;
  font-weight:600;
  white-space:nowrap;
}
.trip-route-line{color:#8ebed3;font-size:15px;letter-spacing:-1px}
.trip-route-unavailable{grid-column:1/-1;margin:0;color:var(--solar-muted);font-size:10px;text-align:center}
.trip-weather-advice{
  padding:13px 15px 14px;
  background:linear-gradient(110deg,#fff0f5,#fff 68%);
}
.trip-advice-title{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:9px;
  align-items:center;
}
.trip-advice-title>span{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#cceff8;
  font-size:25px;
}
.trip-advice-title small,.trip-advice-title strong{display:block}
.trip-advice-title small{
  color:var(--solar-coral);
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:8px;
  font-weight:700;
}
.trip-advice-title strong{
  margin-top:2px;
  color:var(--solar-ink);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:16px;
  font-weight:400;
}
.trip-weather-advice ol{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:11px 0 0;
  padding:0;
  list-style:none;
  counter-reset:trip-advice;
}
.trip-weather-advice li{
  min-width:0;
  padding:9px;
  border-radius:11px;
  color:#415766;
  background:#fff;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:9px;
  font-weight:600;
  line-height:1.3;
}
.trip-weather-advice li::before{
  counter-increment:trip-advice;
  content:counter(trip-advice);
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  margin-bottom:5px;
  border-radius:50%;
  color:var(--solar-ink);
  background:var(--solar-yellow);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:10px;
}
.trip-weather-disclaimer{
  display:block;
  padding:9px 14px;
  color:#5e7a6c;
  background:#e6f8ed;
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  font-size:8px;
  font-weight:600;
  line-height:1.3;
}
.trip-weather-spotlight.trip-sea-rough{background:#ffcf32}
.trip-weather-spotlight.trip-sea-strong{color:#fff;background:#ff5064}
.trip-sea-strong .trip-weather-heading small,
.trip-sea-strong .trip-weather-heading p{color:#fff}
.trip-sea-strong .trip-weather-heading h3{color:#fff}
.trip-sea-strong .trip-weather-state{color:#8f2330}
.trip-sea-strong .trip-weather-metrics>div{background:rgba(255,255,255,.88)}
.solar-bottom{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(150px,.7fr);
  gap:9px;
  margin-top:10px;
}
.solar-module{
  min-width:0;
  padding:11px;
  border:1px solid var(--solar-line);
  border-radius:16px;
  background:#f7fbfd;
}
.solar-module-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:9px;
  color:var(--solar-ink);
  font-size:10px;
}
.solar-module-title small{color:var(--solar-muted);font-size:8px;font-weight:850;text-align:right}
.solar-weather-module .weather-trip-strip{margin:0;gap:7px}
.solar-weather-module .weather-mini-card{
  padding:9px;
  border:0;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}
.solar-weather-module .weather-mini-head{margin-bottom:7px;gap:5px}
.solar-weather-module .weather-city{font-size:9px}
.solar-weather-module .weather-phase{padding:3px 5px;font-size:7px}
.solar-weather-module .weather-main{font-size:17px}
.solar-weather-module .weather-main strong{font-size:16px}
.solar-weather-module .weather-meta{margin-top:6px;font-size:8px}
.solar-sea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.solar-sea-item{
  min-width:0;
  padding:9px 5px;
  border-radius:12px;
  text-align:center;
  background:#fff;
}
.solar-sea-item small{display:block;color:var(--solar-muted);font-size:8px;font-weight:850}
.solar-sea-item strong{display:block;margin-top:5px;color:var(--solar-ink);font-size:11px;overflow-wrap:anywhere}
.v462 .solar-trip-card .solar-port-module{
  display:block;
  position:relative;
  min-height:132px;
  margin:0;
  padding:0;
  overflow:hidden;
  color:#07345e;
  background:#fff7de;
  border:2px solid var(--solar-yellow);
  border-radius:13px;
  text-decoration:none;
  box-shadow:0 3px 0 rgba(5,54,94,.11);
  transition:transform .18s ease,box-shadow .18s ease;
}
.v462 .solar-trip-card a.solar-port-module:hover{
  transform:translateY(-2px) rotate(-.25deg);
  box-shadow:0 6px 0 rgba(5,54,94,.14);
}
.port-poster{
  --port-accent:#ffd000;
  --port-deep:#073b68;
  --port-sky:#eef9ff;
  --port-water:#23add2;
  --port-land:#9ccbb3;
  position:relative;
  display:block;
  width:100%;
  min-height:132px;
  height:100%;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(var(--port-sky) 0 55%,var(--port-water) 56% 100%);
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
}
.port-poster::before{
  content:"";
  position:absolute;
  z-index:1;
  left:-5%;
  right:-5%;
  top:78px;
  height:26px;
  opacity:.8;
  background:radial-gradient(18px 6px at 18px 0,transparent 68%,rgba(255,255,255,.75) 72% 78%,transparent 82%) 0 0/36px 12px repeat-x;
}
.port-poster-copy{
  position:absolute;
  z-index:6;
  top:8px;
  left:10px;
  max-width:66%;
  transform:rotate(-1deg);
  line-height:.9;
}
.port-poster-copy small{display:block;color:var(--port-deep);font-size:7px;font-weight:900;letter-spacing:.08em}
.port-poster-copy strong{
  display:block;
  margin-top:1px;
  color:var(--port-deep);
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:20px;
  font-weight:900;
  line-height:.9;
  text-transform:uppercase;
  text-shadow:1px 2px 0 rgba(255,255,255,.85);
}
.port-poster-copy em{display:block;max-width:145px;margin-top:4px;color:#176999;font-size:6.5px;font-style:normal;font-weight:750;line-height:1.05}
.port-poster-stamp{
  position:absolute;
  z-index:7;
  top:7px;
  right:8px;
  display:grid;
  place-content:center;
  width:35px;
  height:35px;
  color:var(--port-deep);
  background:rgba(255,255,255,.74);
  border:2px solid var(--port-deep);
  border-radius:50%;
  transform:rotate(7deg);
  text-align:center;
  line-height:.8;
}
.port-poster-stamp small{font-size:5px;font-weight:900;letter-spacing:.08em}
.port-poster-stamp b{font-family:"Lilita One","Fredoka",system-ui,sans-serif;font-size:10px}
.port-poster-sun{position:absolute;z-index:1;top:40px;right:42px;width:22px;height:22px;border-radius:50%;background:var(--port-accent);box-shadow:0 0 0 5px rgba(255,255,255,.22)}
.port-poster-land{
  position:absolute;
  z-index:2;
  left:-7%;
  right:15%;
  top:49px;
  height:32px;
  background:var(--port-land);
  opacity:.85;
  clip-path:polygon(0 70%,12% 44%,20% 58%,31% 16%,42% 55%,53% 29%,67% 60%,78% 37%,100% 75%,100% 100%,0 100%);
}
.port-poster-landmark{position:absolute;z-index:3;right:10px;top:45px;width:32px;height:38px;color:var(--port-deep)}
.port-poster-landmark::before,.port-poster-landmark::after,.port-poster-landmark i::before,.port-poster-landmark i::after{content:"";position:absolute;display:block;background:currentColor}
.landmark-lighthouse::before{left:13px;bottom:0;width:9px;height:27px;clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}
.landmark-lighthouse::after{left:8px;top:6px;width:18px;height:6px;border-radius:3px 3px 1px 1px}
.landmark-lighthouse i::before{left:11px;top:1px;width:12px;height:7px;border-radius:7px 7px 2px 2px;background:var(--port-accent)}
.landmark-tower::before{left:9px;bottom:0;width:17px;height:27px;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}
.landmark-tower::after{left:6px;top:3px;width:23px;height:6px;clip-path:polygon(0 0,20% 0,20% 50%,40% 50%,40% 0,60% 0,60% 50%,80% 50%,80% 0,100% 0,100% 100%,0 100%)}
.landmark-cablecar::before{left:3px;top:4px;width:28px;height:2px;transform:rotate(9deg)}
.landmark-cablecar::after{right:1px;bottom:0;width:3px;height:31px}
.landmark-cablecar i::before{left:8px;top:8px;width:12px;height:9px;border-radius:2px;background:var(--port-accent);box-shadow:0 2px 0 var(--port-deep)}
.landmark-cablecar i::after{left:13px;top:5px;width:2px;height:5px}
.landmark-palm::before{left:15px;bottom:0;width:4px;height:25px;transform:rotate(7deg);border-radius:3px}
.landmark-palm::after{left:4px;top:3px;width:28px;height:17px;background:var(--port-land);clip-path:polygon(50% 50%,0 25%,40% 42%,15% 0,45% 36%,50% 0,55% 36%,86% 0,60% 43%,100% 24%)}
.landmark-basilica::before{left:4px;bottom:0;width:25px;height:16px;clip-path:polygon(0 25%,30% 25%,50% 0,70% 25%,100% 25%,100% 100%,0 100%)}
.landmark-basilica::after{left:14px;top:2px;width:5px;height:22px}
.landmark-basilica i::before{left:11px;top:0;width:11px;height:4px;background:var(--port-accent);clip-path:polygon(50% 0,100% 100%,0 100%)}
.landmark-church::before{left:4px;bottom:0;width:24px;height:17px}
.landmark-church::after{left:7px;top:3px;width:5px;height:22px;box-shadow:13px 0 0 currentColor}
.landmark-church i::before{left:5px;top:0;width:9px;height:5px;background:var(--port-accent);clip-path:polygon(50% 0,100% 100%,0 100%);box-shadow:13px 0 0 var(--port-accent)}
.landmark-citadel::before,.landmark-fort::before,.landmark-castle::before{left:3px;bottom:0;width:27px;height:18px;clip-path:polygon(0 18%,18% 18%,18% 0,35% 0,35% 18%,63% 18%,63% 0,80% 0,80% 18%,100% 18%,100% 100%,0 100%)}
.landmark-citadel::after,.landmark-fort::after,.landmark-castle::after{left:10px;bottom:0;width:7px;height:9px;background:var(--port-accent);border-radius:5px 5px 0 0}
.landmark-hills::before{left:0;bottom:0;width:32px;height:26px;background:var(--port-land);clip-path:polygon(0 100%,20% 50%,38% 72%,62% 10%,100% 100%)}
.landmark-cliff::before{right:0;bottom:0;width:31px;height:31px;clip-path:polygon(25% 0,100% 12%,100% 100%,0 100%,15% 70%,5% 50%)}
.landmark-cliff::after{right:2px;top:3px;width:22px;height:8px;background:var(--port-accent);clip-path:polygon(0 45%,12% 45%,12% 0,26% 0,26% 45%,45% 45%,45% 10%,59% 10%,59% 45%,100% 45%,100% 100%,0 100%)}
.landmark-pine::before{left:15px;bottom:0;width:4px;height:18px}
.landmark-pine::after{left:2px;top:0;width:30px;height:24px;background:var(--port-land);clip-path:polygon(50% 0,70% 20%,61% 21%,87% 46%,66% 44%,100% 79%,55% 65%,50% 100%,45% 65%,0 79%,34% 44%,13% 46%,39% 21%,30% 20%)}
.landmark-canal::before{right:2px;bottom:0;width:26px;height:25px;clip-path:polygon(0 45%,18% 45%,18% 12%,40% 12%,40% 45%,64% 45%,64% 0,84% 0,84% 45%,100% 45%,100% 100%,0 100%)}
.landmark-canal::after{left:-4px;bottom:4px;width:37px;height:4px;background:var(--port-accent);border-radius:50%}
.port-poster-ferry{
  position:absolute;
  z-index:5;
  left:49%;
  bottom:28px;
  display:block;
  width:min(56%,128px);
  height:auto;
  object-fit:contain;
  transform:translateX(-50%);
  filter:drop-shadow(0 2px 1px rgba(0,49,85,.22));
}
.port-poster-action{position:absolute;z-index:8;left:0;right:0;bottom:0;display:flex;align-items:center;gap:5px;min-height:28px;padding:5px 7px;color:#fff;background:var(--port-deep)}
.port-poster-action b{font-family:"Lilita One","Fredoka",system-ui,sans-serif;font-size:9px;letter-spacing:.02em}
.port-poster-action small{font-size:5.5px;font-weight:750;opacity:.9}
.port-poster-action>i{display:grid;place-items:center;width:18px;height:18px;margin-left:auto;color:var(--port-deep);background:var(--port-accent);border-radius:50%;font-size:11px;font-style:normal;font-weight:950}
.solar-port-unavailable{filter:saturate(.55)}
.port-theme-toulon{--port-accent:#ffd000;--port-deep:#073b68;--port-sky:#fff9e8;--port-water:#1eb1d4;--port-land:#a7d3bc}
.port-theme-nice{--port-accent:#ffcf3d;--port-deep:#09548b;--port-sky:#fff1e1;--port-water:#22b7dc;--port-land:#79c69c}
.port-theme-marseille{--port-accent:#ff4e54;--port-deep:#063c6a;--port-sky:#eaf8ff;--port-water:#159fd0;--port-land:#b7c59d}
.port-theme-ajaccio{--port-accent:#ffb52d;--port-deep:#8c3151;--port-sky:#fff1e5;--port-water:#2aa8c9;--port-land:#95bd83}
.port-theme-bastia{--port-accent:#ffcc35;--port-deep:#104b73;--port-sky:#e8f7ff;--port-water:#31a8d0;--port-land:#a7c08d}
.port-theme-ile-rousse{--port-accent:#e34f45;--port-deep:#164367;--port-sky:#fff1dc;--port-water:#23afd0;--port-land:#d59a6b}
.port-theme-propriano{--port-accent:#f6b82f;--port-deep:#145b62;--port-sky:#efffea;--port-water:#38b7c4;--port-land:#7fb98c}
.port-theme-bonifacio{--port-accent:#ffd247;--port-deep:#18527c;--port-sky:#eaf8ff;--port-water:#23a9d3;--port-land:#ddd0a3}
.port-theme-porto-vecchio{--port-accent:#ffbc38;--port-deep:#235c5f;--port-sky:#fff4dc;--port-water:#38b4c8;--port-land:#6cab81}
.port-theme-savone{--port-accent:#ffca42;--port-deep:#584676;--port-sky:#f2f0ff;--port-water:#32a9cf;--port-land:#a2bd92}
.port-theme-genes{--port-accent:#ffb74a;--port-deep:#0c5475;--port-sky:#eef9ff;--port-water:#2ba9c8;--port-land:#8eb292}
.port-theme-livourne{--port-accent:#ff6b54;--port-deep:#205071;--port-sky:#fff0e4;--port-water:#28add0;--port-land:#c09b78}
.port-theme-piombino{--port-accent:#ffd047;--port-deep:#305071;--port-sky:#f7f2df;--port-water:#28acc9;--port-land:#9ab17e}
.port-theme-sete{--port-accent:#ffc933;--port-deep:#125177;--port-sky:#fff5e7;--port-water:#25add2;--port-land:#b69070}
.port-theme-mediterranee{--port-accent:#ffd000;--port-deep:#073b68;--port-sky:#eef9ff;--port-water:#23add2;--port-land:#9ccbb3}
.solar-source-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  color:var(--solar-muted);
}
.solar-source-row small{font-size:8px}
.v462 .solar-trip-card .solar-source-row a{
  margin:0;
  padding:0;
  color:var(--solar-muted);
  background:transparent;
  font-size:9px;
}

@media(max-width:1050px){
  .solar-main{grid-template-columns:minmax(180px,.78fr) minmax(270px,1.22fr)}
  .solar-bottom{grid-template-columns:1fr 1fr}
  .solar-port-module{grid-column:1/-1}
}
@media(max-width:760px){
  .v462 .solar-trip-card{padding:10px!important;border-width:2px!important;border-radius:21px!important}
  .solar-main,.solar-bottom{grid-template-columns:1fr}
  .solar-identity{padding:9px}
  .solar-photo-frame{height:190px;min-height:190px}
  .solar-port-module{grid-column:auto}
  .solar-source-row{align-items:flex-start;flex-direction:column}
  .trip-weather-advice ol{grid-template-columns:1fr}
}
@media(max-width:440px){
  .solar-topline{align-items:flex-start;flex-direction:column}
  .solar-time-grid{grid-template-columns:1fr}
  .solar-photo-frame{height:160px;min-height:160px}
  .solar-route{font-size:13px}
  .v462 .solar-trip-card h2{font-size:25px}
  .solar-sea-grid{gap:5px}
  .solar-sea-item{padding:8px 3px}
  .v462 .solar-trip-card .solar-action{min-height:40px}
  .trip-weather-heading{grid-template-columns:50px minmax(0,1fr);padding:13px 11px 10px}
  .trip-weather-face{width:50px;height:50px;font-size:27px}
  .trip-weather-state{grid-column:1/-1;justify-self:start}
  .trip-weather-heading h3{font-size:18px}
  .trip-weather-metrics{padding:0 11px 11px;gap:4px}
  .trip-weather-metrics strong{font-size:11px}
  .trip-sunset{grid-template-columns:48px minmax(0,1fr);padding:11px}
  .trip-sunset-icon{width:46px;height:46px}
  .trip-sunset>span:last-child{display:none}
  .trip-route-weather{padding:12px 9px;gap:2px}
  .trip-route-line{font-size:11px}
  .trip-route-point small{font-size:7px}
}
.fun-dashboard{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(330px,.95fr);
  gap:18px;
  align-items:stretch;
}
.v462 .search-panel,.v462 .live-crossings{
  margin:0;
  border:0;
}
.fun-search-card,.fun-live-card{
  background:rgba(255,255,255,.96);
  border-radius:30px!important;
  box-shadow:0 16px 40px rgba(5,54,91,.13)!important;
  overflow:hidden;
}
.fun-search-card{padding:24px 28px!important}
.fun-live-card{padding:24px!important}
.fun-panel-title,.fun-live-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px
}
.fun-title-left{display:flex;align-items:center;gap:12px}
.fun-step{
  width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:var(--fun-navy);color:#fff;font-size:20px;font-weight:950;
  box-shadow:0 5px 10px rgba(5,43,85,.15)
}
.fun-panel-title h2,.fun-live-head h2{
  margin:0;text-transform:uppercase;letter-spacing:.3px;color:#092d54;
  font-size:clamp(19px,2vw,27px);font-weight:950
}
.squiggle{display:block;color:#0b4f87;font-weight:950;letter-spacing:-7px;margin-top:-3px}
.postcard-stamp{
  transform:rotate(3deg);
  border:2px dashed #1a5787;
  padding:7px 10px;
  border-radius:5px;
  font-weight:950;
  font-size:12px;
  color:#164a79;
  background:#f9fdff;
}
.v462 .route-grid{grid-template-columns:1fr 60px 1fr;gap:12px}
.fun-field label{
  font-size:12px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.45px
}
.departure-field label{color:#fb416c!important}
.arrival-field label{color:#1484d6!important}
.date-field label{color:#745bd7!important}
.v462 .input-shell{
  border:2px solid #dbe7f0!important;
  border-radius:17px!important;
  min-height:60px!important;
  box-shadow:inset 0 2px 5px rgba(7,48,83,.025);
  background:#fff!important
}
.v462 select,.v462 input[type="date"]{font-weight:900!important;color:#0a3159!important}
.fun-swap{
  width:50px!important;height:50px!important;
  border-radius:50%!important;background:var(--fun-yellow)!important;
  color:#07355f!important;align-self:end;margin-bottom:5px;
  box-shadow:0 7px 15px rgba(255,193,0,.28)!important;
  font-size:24px!important
}
.v462 .date-search-grid{grid-template-columns:1fr 1.05fr;gap:16px;margin-top:15px}
.fun-primary{
  min-height:60px!important;border-radius:18px!important;
  background:linear-gradient(180deg,#ffd90b,#ffc900)!important;
  color:#082f58!important;font-size:17px!important;font-weight:1000!important;
  text-transform:uppercase;
  box-shadow:0 8px 0 #eab700,0 12px 20px rgba(242,186,0,.24)!important;
  border:0!important;transform:translateY(-3px)
}
.fun-primary:hover{transform:translateY(-5px)!important}
.fun-help{
  display:grid!important;
  grid-template-columns:auto 1fr auto;
  gap:10px!important;
  align-items:center!important;
  margin-top:22px!important;
  border-radius:17px!important;
  background:#eef8ff!important;
  border:0!important;
  font-size:12px!important
}
.help-island{font-size:32px}

.fun-live-head{margin-bottom:12px}
.live-badge{
  border-radius:18px;background:#ff416d;color:#fff;padding:8px 12px;
  font-size:12px;font-weight:950;box-shadow:0 6px 12px rgba(255,65,109,.2)
}
.fun-live-list{display:grid!important;gap:9px!important}
.v462 .live-card{
  border:0!important;border-radius:17px!important;padding:11px!important;
  background:linear-gradient(100deg,#fff4f8,#f8fbff)!important;
  box-shadow:0 4px 13px rgba(12,54,89,.08)!important
}
.v462 .live-card-top{gap:10px!important}
.v462 .live-ship-visual{
  width:76px!important;height:62px!important;border-radius:13px!important;flex:0 0 76px!important
}
.v462 .live-card-copy h3{font-size:15px!important;margin:0 0 2px!important}
.v462 .live-card-copy p{font-size:12px!important;margin:0!important}
.v462 .live-status{font-size:9px!important;margin-bottom:3px!important}
.v462 .live-times{font-size:10px!important;margin-top:7px!important}
.v462 .live-progress{margin-top:7px!important}
.v462 .live-progress small{font-size:9px!important}
.v462 .live-track{font-size:10px!important;margin-top:6px!important}
.all-crossings-button{
  width:100%;margin-top:14px;padding:10px 16px;border-radius:18px;
  background:#fff;border:2px solid #ff527b;color:#ed3560;
  text-transform:uppercase;font-size:11px;font-weight:950;letter-spacing:.4px
}
.all-crossings-button span{float:right;font-size:18px;line-height:12px}
.fun-live-card .live-estimate{
  display:block!important;
  background:transparent!important;border:0!important;
  font-size:9px!important;text-align:center!important;margin-top:7px!important;color:#7690a5!important
}
.fun-result-zone{margin-top:22px}
.fun-benefits{
  margin-top:22px;background:#fff;border-radius:28px;
  box-shadow:0 13px 30px rgba(5,54,91,.11);
  display:grid;grid-template-columns:repeat(5,1fr);
  padding:18px 16px;
}
.fun-benefits>div{
  display:flex;align-items:center;gap:10px;padding:4px 16px;
  border-right:1px solid #dfeaf1;min-width:0
}
.fun-benefits>div:last-child{border-right:0}
.fun-benefits>div>span{font-size:32px}
.fun-benefits p{margin:0;min-width:0}
.fun-benefits strong{
  display:block;text-transform:uppercase;font-size:12px;font-weight:950;color:#0a3159
}
.fun-benefits small{display:block;font-size:10px;color:#526d84;margin-top:3px;line-height:1.25}
.fun-footer{
  margin-top:auto;padding:20px 18px;text-align:center;background:#062b55;color:#dceeff;
  font-size:12px;font-weight:700
}
.fun-footer>p>span{margin-right:6px}
.fun-footer p{margin:12px auto 0;max-width:920px;line-height:1.5}
.footer-socials{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.social-link{
  display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 17px;
  border-radius:999px;color:#fff!important;text-decoration:none;font-size:13px;font-weight:950;
  box-shadow:0 5px 14px rgba(0,0,0,.2);transition:transform .18s ease,box-shadow .18s ease
}
.social-link:hover,.social-link:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.28)}
.social-link img{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important}
.facebook-link{background:#1877f2}
.instagram-link{background:linear-gradient(115deg,#f9ce34,#ee2a7b 48%,#6228d7)}
.solar-source-links{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}

/* Result zone becomes slightly more playful without changing its markup. */
.v462 .boat-card{
  border-radius:26px!important;
  box-shadow:0 16px 35px rgba(5,54,91,.14)!important;
  border:2px solid rgba(255,211,10,.55)!important;
  overflow:hidden
}
.v462 .boat-content h2{font-weight:1000!important}
.v462 .trip-chip{border-radius:18px!important}
.v462 .warning,.v462 .loading,.v462 .multi-note{border-radius:24px!important}

/* Responsive */
@media (max-width:1050px){
  .fun-feature-deck{grid-template-columns:repeat(3,1fr);margin:14px 8px 20px}
  .fun-dashboard{grid-template-columns:1fr}
  .fun-live-card{order:2}
  .fun-benefits{grid-template-columns:repeat(2,1fr)}
  .fun-benefits>div{border-right:0;border-bottom:1px solid #e3edf3;padding:12px}
  .fun-benefits>div:last-child{border-bottom:0}
}
@media (max-width:760px){
  .fun-topbar{min-height:76px;padding:8px 12px}
  .fun-brand-badge{width:50px;height:50px;font-size:27px}
  .fun-brand-text strong{font-size:18px}
  .fun-brand-text small{font-size:10px}
  .nav-pill{width:44px;min-width:44px;padding:0;font-size:0}
  .nav-pill:first-letter{font-size:18px}
  .nav-pill span{display:none}
  .nav-round{display:none}
  .fun-version{min-width:58px;height:36px;font-size:11px!important}
  .fun-main{padding:0 10px 24px}
  .fun-hero{margin:0 -10px}
  .fun-hero img{height:265px;object-fit:cover;object-position:center}
  .fun-feature-deck{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 2px 16px}
  .fun-feature-card{min-height:105px;border-radius:19px}
  .fun-feature-icon{font-size:28px}
  .fun-search-card,.fun-live-card{border-radius:23px!important;padding:18px!important}
  .postcard-stamp{display:none}
  .v462 .route-grid{grid-template-columns:1fr 48px 1fr;gap:6px}
  .v462 .input-shell{min-height:56px!important}
  .v462 .date-search-grid{grid-template-columns:1fr}
  .fun-swap{width:42px!important;height:42px!important;font-size:20px!important;margin-bottom:7px}
  .fun-primary{transform:none!important;box-shadow:0 6px 0 #eab700!important}
  .fun-help{grid-template-columns:auto 1fr!important}
  .help-island{display:none}
  .mobile-hide{display:none}
  .fun-benefits{grid-template-columns:1fr}
}
@media (max-width:480px){
  .fun-brand-text small{display:none}
  .fun-feature-deck{grid-template-columns:repeat(2,1fr)}
  .v462 .route-grid{grid-template-columns:1fr}
  .fun-swap{justify-self:center;align-self:center;transform:rotate(90deg);margin:0}
  .fun-panel-title h2,.fun-live-head h2{font-size:19px}
  .social-link{min-height:38px;padding:0 13px;font-size:12px}
  .fun-brand-cluster{gap:6px}
  .title-socials{gap:4px}
  .title-social-link{width:23px;height:23px}
  .title-social-link img{width:21px!important;height:21px!important;min-width:21px!important;max-width:21px!important;min-height:21px!important;max-height:21px!important}
}


/* =========================================================
   V4.62.1 · Lisibilité des traversées en cours
   - Nom du bateau : bleu foncé
   - Trajet / destinations : noir
   - Horaires et progression : contraste renforcé
   ========================================================= */

.v462 .fun-live-card,
.v462 .fun-live-card * {
  opacity: 1 !important;
}

.v462 .live-card-copy h3,
.v462 .live-card h3,
.v462 .live-ship-name,
.v462 .live-card-copy .ship-name {
  color: #062b55 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 950 !important;
}

.v462 .live-card-copy p,
.v462 .live-card .route,
.v462 .live-route,
.v462 .live-card-copy .route {
  color: #111111 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

.v462 .live-times,
.v462 .live-times span,
.v462 .live-time,
.v462 .live-card time {
  color: #2d3d4b !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

.v462 .live-progress small,
.v462 .live-card .progress-label,
.v462 .live-card small {
  color: #4b6172 !important;
  opacity: 1 !important;
}

.v462 .live-status,
.v462 .live-status * {
  opacity: 1 !important;
  font-weight: 950 !important;
}

.v462 .live-card {
  color: #111111 !important;
}

.v462 .live-card a:not(.live-track) {
  color: #062b55 !important;
}

.v462 .live-loading,
.v462 .live-empty,
.v462 .live-error {
  color: #062b55 !important;
  font-weight: 800 !important;
}

/* V5.2 beta 6 · traversées regroupées et curseurs aux couleurs des compagnies */
.v462 .fun-live-list{
  gap:14px!important;
}
.live-company-group{
  display:grid;
  gap:8px;
  min-width:0;
}
.live-company-group+.live-company-group{
  padding-top:3px;
}
.live-company-divider{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:24px;
}
.live-company-divider::after{
  content:"";
  flex:1;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--company-color),rgba(205,218,228,.35));
}
.live-company-divider span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--company-color);
  font-size:10px;
  font-weight:1000;
  letter-spacing:.08em;
  white-space:nowrap;
}
.live-company-divider span::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--company-color);
  box-shadow:0 0 0 3px #fff;
}
.live-company-cards{
  display:grid;
  gap:9px;
}
.v462 .live-company-group .live-card{
  border-left:4px solid var(--company-color)!important;
}
.v462 .live-company-group .live-status{
  color:var(--company-color)!important;
}
.v462 .live-company-group .live-progress-bar{
  position:relative;
  overflow:visible;
  background:#e4ebf1;
}
.v462 .live-company-group .live-progress-bar span{
  position:relative;
  background:var(--company-color)!important;
}
.v462 .live-company-group .live-progress-bar span::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:11px;
  height:11px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--company-color);
  box-shadow:0 2px 5px rgba(8,47,83,.24);
  transform:translate(50%,-50%);
}
.v462 .live-company-group .live-track{
  background:var(--company-color)!important;
  color:var(--company-ink)!important;
}
.v462 .live-card.ais-warning .live-status{color:#c56b00!important}
.v462 .live-card.ais-delay .live-status{color:#e85d22!important}
.v462 .live-card.ais-ok .live-status{color:#149a61!important}
.v462 .live-card.is-cancelled{
  position:relative;
  overflow:hidden;
  padding-top:58px!important;
  border:2px solid #ef4261!important;
  border-left:6px solid #e32749!important;
  background:linear-gradient(135deg,#fff6f8,#f8f9fd)!important;
  box-shadow:0 12px 26px rgba(145,23,53,.16);
}
.v462 .live-card.is-cancelled .live-cancel-sticker{
  position:absolute;
  top:10px;
  right:11px;
  padding:6px 13px 5px;
  border:2px solid #bd193e;
  border-radius:9px;
  color:#fff;
  background:#e32749;
  box-shadow:3px 4px 0 #ffd348;
  transform:rotate(4deg);
  font:1000 15px "Fredoka",sans-serif;
  letter-spacing:.07em;
  z-index:2;
}
.v462 .live-card.is-cancelled .live-status{color:#b7163c!important}
.v462 .live-card.is-cancelled .live-card-copy h3,
.v462 .live-card.is-cancelled .live-card-copy p,
.v462 .live-card.is-cancelled .live-times{ text-decoration:line-through; text-decoration-color:#e32749; text-decoration-thickness:2px; }
.v462 .live-card.is-cancelled .live-ship-visual{filter:grayscale(.8);opacity:.65}
.v462 .live-card.is-cancelled .live-cancel-note{
  margin-top:15px;
  padding:11px 13px;
  border-radius:13px;
  background:#ffe6ec;
  color:#69182d;
  font-size:12px;
  line-height:1.4;
  font-weight:750;
}
.v462 .live-card.is-cancelled .live-cancel-note strong{display:block;font-size:16px;color:#a41537}
.v462 .live-card.is-cancelled .live-cancel-note a{display:block;margin-top:5px;color:#8e1533!important;text-decoration:underline!important}
.live-ais-note{
  margin-top:8px;
  padding:7px 9px;
  border-radius:10px;
  background:#fff8dd;
  color:#704800;
  font-size:9px;
  font-weight:750;
  line-height:1.25;
}
.ais-delay .live-ais-note{background:#fff0e8;color:#8b3518}
.ais-ok .live-ais-note{background:#e9fbf3;color:#126b49}
.live-ais-service{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:2px 0 14px;
  padding:11px 13px;
  border:2px solid #9ed7f1;
  border-radius:14px;
  background:linear-gradient(135deg,#eaf8ff,#f7fcff);
  color:#174e70;
  box-shadow:0 6px 14px rgba(15,103,151,.10);
  font-size:10px;
  line-height:1.25;
}
.live-ais-service b{
  font-size:11px;
  letter-spacing:.35px;
  white-space:nowrap;
}
.live-ais-service span{text-align:right;font-weight:750}
.live-ais-service.is-connected{
  border-color:#56d99b;
  background:linear-gradient(135deg,#e8fff5,#f8fffc);
  color:#0b6b48;
}
.live-ais-service.is-connected b::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:6px;
  border-radius:50%;
  background:#22c87a;
  box-shadow:0 0 0 4px rgba(34,200,122,.14);
}
.live-ais-service.is-connecting{
  border-color:#ffcf4b;
  background:linear-gradient(135deg,#fff8db,#fffdf4);
  color:#795500;
}


/* =========================================================
   V4.62.2 · Correctif mobile iPhone / smartphones
   ========================================================= */
@media (max-width: 760px) {
  html, body { overflow-x: hidden !important; }
  body.v462 { width:100%; max-width:100vw; }

  .fun-topbar{
    width:100%;
    min-height:70px;
    padding:8px 12px;
    gap:8px;
    box-sizing:border-box;
  }
  .fun-brand-cluster{gap:6px;flex:1 1 auto;min-width:0}
  .fun-brand{gap:8px; flex:1 1 auto; min-width:0}
  .fun-brand-badge{width:44px;height:44px;min-width:44px;font-size:23px;border-width:2px}
  .fun-brand-text strong{
    font-size:17px;
    line-height:1.02;
    max-width:175px;
    white-space:normal;
  }
  .fun-brand-text small{display:none}
  .fun-nav{gap:6px;flex:0 0 auto}
  .nav-pill{
    width:38px;min-width:38px;height:38px;min-height:38px;
    padding:0;border-radius:50%;font-size:0;
    display:grid;place-items:center;
  }
  .nav-pill::first-letter{font-size:17px}
  .nav-round{display:none!important}
  .fun-version{
    min-width:58px!important;height:36px!important;
    padding:0 8px!important;font-size:10px!important;
  }

  .fun-main{width:100%;max-width:100%;padding:0 10px 22px;box-sizing:border-box}
  .fun-hero{
    margin:0 -10px;
    width:calc(100% + 20px);
    height:auto;
  }
  .fun-hero img{
    width:100%;
    height:auto!important;
    min-height:0!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .fun-feature-deck{
    width:100%;
    margin:12px 0 16px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .fun-feature-card{
    min-width:0;
    min-height:105px;
    padding:10px 6px;
    border-radius:18px;
    transform:none!important;
  }
  .fun-feature-icon{font-size:27px;margin-bottom:5px}
  .fun-feature-card strong{font-size:14px;line-height:1.1}
  .fun-feature-card small{font-size:10px;line-height:1.15}

  .fun-dashboard{display:block;width:100%;min-width:0}
  .fun-search-card,.fun-live-card{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:17px 14px!important;
    border-radius:22px!important;
    overflow:hidden;
  }
  .fun-live-card{margin-top:16px!important}

  .fun-panel-title,.fun-live-head{margin-bottom:16px}
  .fun-title-left{gap:9px;min-width:0}
  .fun-step{width:36px;height:36px;min-width:36px;font-size:17px}
  .fun-panel-title h2,.fun-live-head h2{
    font-size:18px!important;
    line-height:1.1;
    overflow-wrap:anywhere;
  }
  .postcard-stamp{display:none}

  .v462 .route-grid{
    display:grid;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%;
  }
  .fun-field{width:100%;min-width:0}
  .v462 .input-shell{
    width:100%;
    min-width:0;
    min-height:56px!important;
    box-sizing:border-box;
  }
  .v462 select,.v462 input[type="date"]{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    font-size:16px!important;
  }
  .fun-swap{
    justify-self:center!important;
    align-self:center!important;
    width:42px!important;height:42px!important;
    margin:0!important;
    transform:rotate(90deg)!important;
  }
  .v462 .date-search-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%;
  }
  .fun-primary{
    width:100%;
    min-height:58px!important;
    font-size:14px!important;
    transform:none!important;
  }
  .fun-help{
    width:100%;
    box-sizing:border-box;
    grid-template-columns:auto 1fr!important;
    font-size:10px!important;
    line-height:1.35;
    padding:11px!important;
  }
  .help-island{display:none!important}
  .mobile-hide{display:none!important}

  .fun-live-list{width:100%;min-width:0}
  .v462 .live-card{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:11px!important;
  }
  .v462 .live-card-top{align-items:flex-start!important;min-width:0}
  .v462 .live-ship-visual{width:70px!important;height:58px!important;flex:0 0 70px!important}
  .v462 .live-card-copy{min-width:0;overflow:hidden}
  .v462 .live-card-copy h3{
    font-size:14px!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }
  .v462 .live-card-copy p{font-size:11px!important;white-space:normal!important}
  .v462 .live-times{font-size:10px!important}
  .v462 .live-progress{width:100%!important}
  .v462 .live-track{display:inline-flex!important;max-width:100%;box-sizing:border-box}

  .fun-result-zone{width:100%;min-width:0}
  .v462 .boat-card{width:100%;max-width:100%;box-sizing:border-box}
  .v462 .boat-content{min-width:0}
  .v462 .boat-content h2{overflow-wrap:anywhere}

  .fun-benefits{
    width:100%;
    box-sizing:border-box;
    grid-template-columns:1fr!important;
    border-radius:22px;
    padding:10px 14px;
  }
  .fun-benefits>div{
    width:100%;
    box-sizing:border-box;
    border-right:0!important;
    border-bottom:1px solid #e3edf3;
    padding:10px 4px;
  }
  .fun-benefits>div:last-child{border-bottom:0}

  .vessel-sheet{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    max-height:88vh!important;
    box-sizing:border-box;
  }
}

@media (max-width: 390px) {
  .fun-brand-text strong{font-size:15px;max-width:145px}
  .fun-brand-badge{width:40px;height:40px;min-width:40px}
  .fun-version{min-width:52px!important;padding:0 5px!important}
  .fun-feature-card strong{font-size:13px}
  .fun-feature-card small{font-size:9px}
}


/* =========================================================
   V4.62.3 · Résultats directement sous la recherche
   ========================================================= */
.fun-dashboard{
}

/* =========================================================
   V4.62.4 · Résultats parfaitement contenus
   ========================================================= */
.fun-left-column{min-width:0}
.fun-result-zone{
  position:static !important;
  width:100%;
  min-width:0;
  margin:0 !important;
  padding-top:22px;
}

/* Final specificity lock for the selected V5.0.4 design. */
.v462 .solar-trip-card{
  display:block!important;
  padding:14px!important;
  border:3px solid var(--solar-yellow)!important;
  border-radius:24px!important;
  box-shadow:0 18px 44px rgba(8,56,87,.16)!important;
}
.solar-sea-module{align-self:stretch}
@media(max-width:760px){
  .v462 .solar-trip-card{padding:10px!important;border-width:2px!important;border-radius:21px!important}
}

/* =========================================================
   V5.0.7 · Onglet « Navire vedette »
   ========================================================= */
.vessel-search-panel{overflow:hidden}
.vessel-spotlight{
  display:grid;grid-template-columns:minmax(0,55%) minmax(300px,45%);
  min-height:255px;margin:4px 0 18px;border-radius:24px;overflow:hidden;
  color:#fff;background:#062b55;box-shadow:0 14px 30px rgba(5,43,82,.18)
}
.vessel-spotlight-photo{position:relative;min-height:255px;background:linear-gradient(145deg,#cfe8f3,#f4fbfe 55%,#bad8e7);overflow:hidden}
.vessel-spotlight-photo img{width:100%;height:100%;object-fit:contain!important;object-position:center center!important;display:block;background:linear-gradient(145deg,#cfe8f3,#f4fbfe 55%,#bad8e7)}
.vessel-spotlight-photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:24%;background:linear-gradient(transparent,rgba(1,31,63,.36));pointer-events:none}
.vessel-spotlight-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:88px}
.vessel-spotlight-callout{position:absolute;top:20px;left:20px;z-index:1;color:#fff;font-size:20px;font-weight:950;font-style:italic;text-shadow:0 2px 8px rgba(0,24,51,.7);transform:rotate(-5deg)}
.vessel-spotlight-copy{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:30px 32px;background:linear-gradient(135deg,#073d71,#06264f)}
.vessel-spotlight-copy::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 20%,rgba(54,190,248,.25),transparent 30%),radial-gradient(circle at 100% 100%,rgba(255,211,10,.2),transparent 26%);pointer-events:none}
.vessel-spotlight-badge{position:relative;z-index:1;align-self:flex-start;padding:7px 11px;border-radius:999px;background:#dff5ff;color:#08345f;font-size:10px;font-weight:1000}
.vessel-spotlight-copy h3{position:relative;z-index:1;margin:15px 0 0;color:#fff;font-size:clamp(25px,3vw,39px);font-weight:1000;line-height:.97;text-transform:uppercase;overflow-wrap:anywhere}
.vessel-spotlight-wave{position:relative;z-index:1;margin-top:7px;color:#55cef9;font-size:22px;font-weight:950;letter-spacing:-5px}
.vessel-spotlight-route{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin-top:16px;color:#fff;font-size:13px;font-weight:900}
.vessel-spotlight-route>span{min-width:0;white-space:nowrap}
.vessel-spotlight-route>span:last-child{color:#72d7fb}
.vessel-spotlight-dots{overflow:hidden;color:#a9d9ef;font-size:9px;letter-spacing:1px;white-space:nowrap}
.vessel-spotlight-sheet{position:relative;z-index:1;align-self:flex-start;margin-top:22px;padding:9px 12px;border:1px solid rgba(159,222,249,.5);border-radius:999px;color:#fff;background:rgba(0,26,56,.24);font:inherit;font-size:10px;font-weight:950;cursor:pointer}
.vessel-spotlight-sheet:hover,.vessel-spotlight-sheet:focus-visible{background:#0c548d}
.vessel-spotlight-island{position:absolute;right:18px;bottom:18px;width:30px;height:52px;opacity:.28;background:#4cbbdf;clip-path:polygon(49% 0,70% 17%,60% 33%,86% 48%,67% 64%,77% 82%,45% 100%,24% 77%,33% 59%,10% 42%,28% 21%)}
.vessel-search-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border-radius:22px;background:#fff;box-shadow:0 8px 22px rgba(10,58,98,.09)}
.vessel-choice-field,.vessel-route-grid,.vessel-search-button{grid-column:1/-1}
.vessel-route-grid{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:12px;align-items:end}
.vessel-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.vessel-swap{width:46px;height:46px;margin-bottom:3px;border:0;border-radius:50%;background:linear-gradient(180deg,#ffdc19,#ffc900);color:#063462;font-size:23px;font-weight:1000;box-shadow:0 5px 0 #eab700;cursor:pointer}
.vessel-swap:hover,.vessel-swap:focus-visible{transform:translateY(-2px)}
.vessel-search-button{width:100%;margin-top:2px}
.vessel-search-help{margin-top:16px!important}
.vessel-search-result{margin-top:20px}
.vessel-search-summary{position:relative;display:flex;align-items:center;gap:13px;min-height:76px;padding:15px 20px;border-radius:22px 22px 0 0;overflow:hidden;background:linear-gradient(120deg,#062b55,#0a4c81);color:#fff}
.vessel-search-summary::after{content:"〰〰〰〰〰";position:absolute;right:20px;bottom:-8px;color:#58cef8;font-size:36px;letter-spacing:-8px;opacity:.75}
.vessel-search-summary>span{position:relative;z-index:1;font-size:32px}
.vessel-search-summary div{position:relative;z-index:1;display:flex;flex-direction:column}
.vessel-search-summary strong{font-size:22px;font-weight:1000;text-transform:uppercase}
.vessel-search-summary small{margin-top:4px;color:#bfe8f8;font-size:11px;font-weight:800}
.vessel-date-list{display:grid;gap:12px;padding:14px 0 0}
.vessel-date-card{display:grid;grid-template-columns:128px minmax(0,1fr) 180px;gap:18px;align-items:center;padding:13px;border:1px solid #d4e8f2;border-radius:20px;background:#fff;box-shadow:0 8px 19px rgba(7,54,90,.09)}
.vessel-date-ticket{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px;border-radius:14px;background:linear-gradient(145deg,#e9f8ff,#d6f0fb);color:#063c6c;text-align:center}
.vessel-date-ticket small{font-size:13px;font-weight:950}
.vessel-date-ticket strong{margin:1px 0;color:#052c58;font-size:52px;font-weight:1000;line-height:.95}
.vessel-date-ticket span{font-size:17px;font-weight:1000}
.vessel-date-journey{min-width:0}
.vessel-date-kicker{display:block;color:#5b7891;font-size:12px;font-weight:850}
.vessel-date-route{display:flex;align-items:center;gap:9px;margin-top:7px;color:#07345f;font-size:18px;text-transform:uppercase}
.vessel-date-route b{min-width:0;overflow-wrap:anywhere}
.vessel-date-route span{flex:1;min-width:46px;overflow:hidden;color:#5baed2;font-size:10px;letter-spacing:1px;white-space:nowrap}
.vessel-date-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.vessel-date-times>div{min-width:0}
.vessel-date-times small{display:block;color:#6f8498;font-size:9px;font-weight:950;text-transform:uppercase}
.vessel-date-times strong{display:block;margin-top:3px;color:#062c57;font-size:16px;font-weight:1000;line-height:1.18}
.vessel-date-meta{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.vessel-next-day,.vessel-same-day,.vessel-date-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:9px;font-weight:1000;white-space:nowrap}
.vessel-next-day{background:#dff4ff;color:#0870a9}
.vessel-same-day{background:#e6f9ed;color:#177744}
.vessel-date-badge.inferred{background:#fff0b2;color:#795700}
.vessel-date-badge.official{background:#e9eef3;color:#4b667d}
.vessel-date-meta a{color:#0b5d98;font-size:10px;font-weight:900;text-decoration:none}
.vessel-date-meta a:hover,.vessel-date-meta a:focus-visible{text-decoration:underline}
.vessel-date-note{grid-column:2/-1;margin:-3px 0 0;color:#627e94;font-size:10px;line-height:1.4}
.vessel-date-partial{margin:12px 0 0;padding:10px 12px;border-radius:13px;background:#fff5cb;color:#665100;font-size:11px;font-weight:850}
@media(max-width:760px){
  .vessel-spotlight{grid-template-columns:1fr;min-height:0;border-radius:21px}
  .vessel-spotlight-photo{min-height:205px;height:205px}
  .vessel-spotlight-copy{min-height:205px;padding:22px}
  .vessel-spotlight-copy h3{font-size:30px}
  .vessel-search-form{gap:11px;padding:13px}
  .vessel-route-grid{grid-template-columns:1fr 43px 1fr;gap:7px}
  .vessel-swap{width:42px;height:42px;font-size:20px}
  .vessel-date-grid{gap:11px}
  .vessel-date-card{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:10px;border-radius:17px}
  .vessel-date-ticket{min-height:110px}
  .vessel-date-ticket strong{font-size:39px}
  .vessel-date-ticket small{font-size:11px}
  .vessel-date-ticket span{font-size:13px}
  .vessel-date-route{font-size:15px;gap:6px}
  .vessel-date-times strong{font-size:13px}
  .vessel-date-meta{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap;padding-top:2px}
  .vessel-date-note{grid-column:1/-1;margin:0;font-size:9px}
}
@media(max-width:430px){
  .vessel-spotlight-photo{height:175px;min-height:175px}
  .vessel-spotlight-callout{top:14px;left:14px;font-size:16px}
  .vessel-spotlight-copy{padding:18px}
  .vessel-spotlight-route{font-size:11px;gap:5px}
  .vessel-search-form{grid-template-columns:1fr}
  .vessel-date-grid{grid-column:1/-1}
  .vessel-date-card{grid-template-columns:74px minmax(0,1fr);gap:9px}
  .vessel-date-ticket{min-height:102px}
  .vessel-date-ticket strong{font-size:34px}
  .vessel-date-route{font-size:13px}
  .vessel-date-route span{min-width:20px;font-size:7px}
  .vessel-date-times{grid-template-columns:1fr;gap:5px;margin-top:9px}
  .vessel-search-summary strong{font-size:18px}
}

/* =========================================================
   V5.1 · Correctif mobile final
   Bannière complète, barre de titre lisible et formulaire sans débordement.
   ========================================================= */
.new-vessel-banner{
  display:block;
  width:100%;
  max-width:100%;
  overflow:hidden;
  line-height:0;
}
.new-vessel-banner img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
}
.nav-pill-icon{display:inline-block}

@media(max-width:600px){
  .vessel-search-form,
  .vessel-route-grid,
  .vessel-date-grid,
  .vessel-route-grid>*,
  .vessel-date-grid>*{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .vessel-route-grid,
  .vessel-date-grid{
    grid-column:1/-1;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%;
  }
  .vessel-swap{
    justify-self:center;
    margin:0!important;
    transform:rotate(90deg)!important;
  }
  .vessel-route-grid .input-shell,
  .vessel-date-grid .input-shell,
  .vessel-route-grid select,
  .vessel-date-grid input[type="date"]{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

/* V5.1.3 — état des sources et traversées CCI avec escale */
.result-verification{
  display:flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:0 0 12px auto;
  padding:7px 12px;
  border:1px solid #bde6d8;
  border-radius:999px;
  background:#effcf7;
  color:#0b6d54;
  font-size:12px;
}
.result-verification span{
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#28c59a;
  color:#fff;
  font-weight:900;
}
.result-verification small{color:#55746d;font-size:11px}
.result-checked{display:block;margin-top:10px;color:#688097}
.source-warning{border-color:#ffb329!important;background:#fff8e8!important}
.solar-stopover{
  margin:8px 0 2px;
  padding:8px 11px;
  border-radius:12px;
  background:#eaf8ff;
  color:#075d91;
  font-size:12px;
}
@media(max-width:600px){
  .result-verification{margin-right:auto}
  .solar-stopover{font-size:11px}
}

@media(max-width:480px){
  .fun-topbar{
    min-height:64px;
    padding:6px 8px;
    gap:5px;
  }
  .fun-brand-cluster{gap:4px}
  .fun-brand{gap:5px}
  .fun-brand-badge{
    width:38px;
    height:38px;
    min-width:38px;
    font-size:20px;
  }
  .fun-brand-text strong{
    max-width:108px;
    font-size:15px;
    letter-spacing:-.35px;
  }
  .title-socials{gap:2px}
  .title-social-link{width:20px;height:20px}
  .title-social-link img{
    width:19px!important;height:19px!important;
    min-width:19px!important;max-width:19px!important;
    min-height:19px!important;max-height:19px!important;
  }
  .fun-nav{gap:4px}
  .nav-pill{
    width:30px;
    min-width:30px;
    height:30px;
    min-height:30px;
    padding:0;
  }
  .nav-pill span{display:none}
  .nav-pill .nav-pill-icon{
    display:inline-grid!important;
    place-items:center;
    font-size:14px!important;
    line-height:1;
  }
  .fun-version{
    min-width:46px!important;
    height:31px!important;
    padding:0 5px!important;
    font-size:9px!important;
  }
  .new-vessel-banner{margin-top:0}
}

@media(max-width:360px){
  .fun-brand-badge{width:34px;height:34px;min-width:34px;font-size:18px}
  .fun-brand-text strong{max-width:92px;font-size:14px}
  .title-social-link{width:18px;height:18px}
  .title-social-link img{
    width:17px!important;height:17px!important;
    min-width:17px!important;max-width:17px!important;
    min-height:17px!important;max-height:17px!important;
  }
  .nav-pill{width:28px;min-width:28px;height:28px;min-height:28px}
  .fun-version{min-width:43px!important;padding:0 3px!important}
}

/* =========================================================
   V5.1 · Maquette A « Billet pop »
   ========================================================= */
.main-search-panel,
.main-search-panel button,
.main-search-panel select,
.vessel-search-panel,
.vessel-search-panel button,
.vessel-search-panel select{
  font-family:"Fredoka",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
}
.main-search-panel .fun-panel-title h2,
#search,
.vessel-search-title-row h2,
.vessel-search-button{
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  letter-spacing:.35px;
}
.trip-search-form,
.vessel-search-form{
  border:3px solid var(--fun-yellow);
  border-radius:24px;
  box-shadow:0 12px 27px rgba(6,47,92,.11);
}
.trip-search-form{
  padding:18px;
  background:#fff;
}
.trip-search-form .input-shell,
.vessel-search-form .input-shell{
  border:2px solid #d8e8f1!important;
  border-radius:16px!important;
  background:#f8fbfd!important;
}
.trip-search-form select,
.vessel-search-form select{
  font-weight:500!important;
}
.trip-ticket-date{
  position:relative;
  display:flex;
  min-width:0;
  min-height:62px;
  padding:13px 16px;
  box-sizing:border-box;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  border:2px solid #b9deef;
  border-radius:19px;
  background:linear-gradient(135deg,#fff8c7,#fff);
  cursor:pointer;
}
.trip-ticket-date small{
  display:block;
  color:#53728b;
  font-size:11px;
  font-weight:500;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.trip-ticket-date strong{
  display:block;
  margin-top:3px;
  color:#062f5c;
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:clamp(18px,2.25vw,25px);
  font-weight:400;
  letter-spacing:.45px;
  line-height:1.15;
  white-space:nowrap;
}
.trip-ticket-date input[type="date"]{
  position:absolute;
  z-index:2;
  inset:0;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  opacity:.01;
  touch-action:manipulation;
  cursor:pointer;
}
.trip-ticket-date:focus-within{
  outline:3px solid #1484d6;
  outline-offset:-3px;
}
.vessel-date-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 2px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border:2px solid #b9deef;
  border-radius:19px;
  background:#f3fbff;
}
.vessel-ticket-date{
  position:relative;
  display:block;
  min-width:0;
  padding:13px 16px;
  cursor:pointer;
}
.vessel-ticket-start{background:linear-gradient(135deg,#fff8c7,#fff)}
.vessel-ticket-end{text-align:right}
.vessel-ticket-date small{
  display:block;
  color:#53728b;
  font-size:11px;
  font-weight:500;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.vessel-ticket-date strong{
  display:block;
  margin-top:3px;
  color:#062f5c;
  font-family:"Lilita One","Fredoka",ui-rounded,system-ui,sans-serif;
  font-size:clamp(18px,2.25vw,25px);
  font-weight:400;
  letter-spacing:.45px;
  line-height:1.15;
  white-space:nowrap;
}
.vessel-ticket-date input[type="date"]{
  position:absolute;
  z-index:2;
  inset:0;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  opacity:.01;
  touch-action:manipulation;
  cursor:pointer;
}
.vessel-ticket-date:focus-within{
  outline:3px solid #1484d6;
  outline-offset:-3px;
}
.vessel-date-cut{
  align-self:stretch;
  margin:9px 0;
  border-left:2px dashed #86bdd5;
}

@media(max-width:600px){
  .trip-search-form{padding:13px}
  .trip-ticket-date strong{font-size:21px}
  .vessel-date-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .vessel-date-cut{
    height:0;
    margin:0 12px;
    border-top:2px dashed #86bdd5;
    border-left:0;
  }
  .vessel-ticket-end{text-align:left}
  .vessel-ticket-date strong{font-size:21px}
}

/* V5.2.0 beta 4 — always keep the complete vessel visible. */
.boat-photo,
.live-ship-visual img,
.vessel-hero-photo img,
.solar-photo-frame .boat-photo{
  object-fit:contain!important;
  object-position:center center!important;
  background:linear-gradient(145deg,#d7edf7,#f7fcff 62%,#b9dce9)!important;
}

/* =========================================================
   QEMB 6.4 · identité marine, nouveau logo et navigation
   ========================================================= */
.fun-brand-logo{
  display:block;
  width:76px;
  height:76px;
  min-width:76px;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.25));
}
.fun-brand-text strong{
  display:flex;
  align-items:center;
  gap:6px;
  color:#fff;
  font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
  font-size:clamp(18px,1.65vw,25px);
  font-weight:900;
  font-style:italic;
  line-height:1;
  letter-spacing:.015em;
  white-space:nowrap;
  text-shadow:0 2px 0 rgba(0,20,45,.58);
  transform:skew(-4deg);
}
.fun-brand-text strong>span{color:#fff}
.fun-brand-text strong>em{color:var(--fun-yellow);font-style:inherit}
.fun-brand-text strong>mark{
  display:inline-block;
  padding:4px 7px 3px;
  border:2px solid #fff;
  border-radius:9px;
  color:#05284f;
  background:var(--fun-sky);
  box-shadow:2px 3px 0 rgba(0,18,40,.3);
  font:900 12px/1 "Trebuchet MS",Arial,sans-serif;
  font-style:normal;
  letter-spacing:.03em;
  text-shadow:none;
  transform:skew(4deg) rotate(2deg);
}
.qemb-marine-bar{
  min-height:50px;
  padding:6px max(18px,calc((100vw - 1400px)/2));
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#fff;
  background:#041f3b;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 14px rgba(4,35,68,.13);
  position:relative;
  z-index:18;
}
.qemb-marine-bar>span{
  margin-right:auto;
  color:#74cef0;
  font-size:10px;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
}
.qemb-marine-bar a{
  min-height:36px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#fff;
  font-size:11px;
  font-weight:900;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.qemb-marine-bar a:hover,.qemb-marine-bar a:focus-visible{
  color:#062b55;
  background:#fff;
  transform:translateY(-1px);
}
.qemb-marine-home a:first-of-type,.qemb-marine-bar a.is-active{
  color:#062b55;
  background:var(--fun-yellow,#ffd20a);
}
.qemb-marine-bar a.is-active{box-shadow:inset 0 -3px 0 #dcae00}

@media(max-width:1180px){
  .fun-topbar{gap:10px}
  .fun-brand{gap:8px}
  .fun-brand-logo{width:64px;height:64px;min-width:64px}
  .fun-brand-text strong{gap:4px;font-size:18px}
  .fun-brand-text strong>mark{padding:3px 5px 2px;border-width:1px;border-radius:7px;font-size:9px}
  .fun-brand-text small{font-size:11px}
  .fun-nav{gap:6px}
  .nav-pill{padding:0 12px}
  .qemb-marine-bar{padding-left:14px;padding-right:14px}
}
@media(max-width:760px){
  .fun-brand-logo{width:48px;height:48px;min-width:48px}
  .fun-brand-text strong{max-width:175px;gap:3px;font-size:15px;white-space:normal}
  .fun-brand-text strong>mark{font-size:8px}
  .qemb-marine-bar{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    padding:6px 10px 8px;
  }
  .qemb-marine-bar>span{grid-column:1/-1;width:100%;margin:0;text-align:center}
  .qemb-marine-bar a{min-width:0;min-height:34px;padding:0 7px;font-size:9px;white-space:normal;text-align:center}
}
@media(max-width:520px){
  .fun-brand-logo{width:42px;height:42px;min-width:42px}
  .fun-brand-text strong{max-width:128px;flex-wrap:wrap;gap:1px 4px;font-size:13px}
  .fun-brand-text strong>mark{padding:2px 4px;font-size:7px}
  .qemb-marine-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .qemb-marine-bar a:last-child{grid-column:1/-1}
}
@media(max-width:360px){
  .fun-brand-logo{width:38px;height:38px;min-width:38px}
  .fun-brand-text strong{max-width:108px;font-size:12px}
  .fun-brand-text strong>mark{font-size:6px}
}

/* Accès à la gare maritime et parking choisi par le passager. */
.v462 .solar-trip-card .solar-port-access{padding:0;overflow:visible;min-width:0}
.solar-port-access .solar-port-module{display:block}
.port-access-details{display:flex;flex-direction:column;gap:7px;padding:12px 14px;color:#07345e;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.port-access-details b{font-size:13px}.port-access-details small{font-size:11px;color:#315776}
.port-access-details a{color:#07558b;font-weight:800;text-decoration:underline;text-underline-offset:2px}
