/* Vakantieradar: licht zomerthema. Wit, blauwgroen (zee), koraal voor deals. */
:root {
  --bg: #ffffff;
  --soft: #f3f8fa;
  --panel: #ffffff;
  --panel-2: #f3f8fa;
  --line: #e1ecf0;
  --text: #0e2a35;
  --muted: #5d7681;
  --teal: #0f9bb4;
  --teal-d: #0b7d93;
  --seagreen: #12a58a;
  --grad: linear-gradient(90deg, #15aec6, #12a58a);
  --coral: #ff6a55;
  --sun: #ffb43d;
  --sunset: linear-gradient(120deg, #ff8a4c, #ff5f6d);
  --good: #0f9d68;
  --warn: #b97f00;
  --bad: #d93f52;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 60, 80, .06), 0 8px 24px rgba(14, 60, 80, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 "Poppins", "Tahoma", "Arial", sans-serif;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }

/* highlight-blokken (titel, logo) */
.hl { display: inline-block; font-weight: 700; padding: 0 .3em; line-height: 1.35; border-radius: 4px; }
.hl-w { background: #fff; color: var(--text); }
.hl-m { background: var(--teal); color: #fff; }
.hl-d { background: var(--teal-d); color: #fff; }

/* zee-achtergrond bovenaan */
.sea {
  background: #dff4fa url("/static/sea.svg") center bottom / cover no-repeat;
  padding-bottom: clamp(110px, 15vw, 190px);
}
.hdr {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px); flex-wrap: wrap;
}
.brand { font-size: 26px; letter-spacing: -.5px; }
.brand .hl-w { box-shadow: var(--shadow); }
.hdr-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { color: var(--text); font-size: 13px; background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 999px; }
.status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin-right: 6px; vertical-align: 1px; }
.status .dot.run { background: var(--sun); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3 } }

.btn {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--teal-d); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: #eaf6f9; border-color: #c6e4ec; }
.btn-grad { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(15, 155, 180, .3); }
.btn-grad:hover { filter: brightness(1.06); background: var(--grad); border-color: transparent; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* hero */
.hero-top { padding: 4px clamp(16px, 4vw, 48px) 0; }
.hero-top h1 { font-size: clamp(30px, 5.2vw, 56px); line-height: 1.15; margin: 14px 0 16px; font-weight: 800; letter-spacing: -1px; }
.hero-top h1 .hl { margin-bottom: 6px; }
.hero-top h1 .hl-w { box-shadow: var(--shadow); }
.hero-top .sub { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-d); color: #fff; font-weight: 600; font-size: 13px; padding: 4px 11px; border-radius: 999px; }
.chip.ghost { background: rgba(255,255,255,.8); color: var(--text); font-weight: 500; }
.hero { padding: 0 clamp(16px, 4vw, 48px) 26px; margin-top: calc(-1 * clamp(70px, 9vw, 120px)); position: relative; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kpi { background: var(--panel); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.kpi .lbl { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi .val { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin: 2px 0; }
.kpi .val small { font-size: 15px; font-weight: 600; color: var(--muted); }
.kpi .det { font-size: 13px; color: var(--muted); }

/* tabs */
.tabs {
  position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  display: flex; gap: 4px; padding: 10px clamp(16px, 4vw, 48px); overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: none; border: 0; padding: 8px 15px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button:hover { color: var(--teal-d); }
.tabs button.on { background: var(--grad); color: #fff; }
.tab { display: none; padding: 22px clamp(16px, 4vw, 48px) 40px; }
.tab.on { display: block; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.sec-h h2 { margin: 0; font-size: 22px; font-weight: 700; }
.sec-h .muted { font-size: 13px; }

/* resultaatkaarten */
.list { display: grid; gap: 12px; }
.card { background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.res { display: grid; grid-template-columns: 54px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; }
.res:hover { background: #fbfdfe; }
.rank { font-size: 26px; font-weight: 800; color: #b7c8cf; text-align: center; }
.rank.top { color: var(--teal); }
.dest-name { font-size: 18px; font-weight: 700; line-height: 1.25; }
.dest-area { font-size: 13px; color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eef4f6; color: var(--muted); }
.tag.asia { background: #fff0e4; color: #a8520f; }
.tag.eu { background: #e5f1fb; color: #0b5c99; }
.tag.ca { background: #fdecea; color: #b3261e; }
.tag.good { background: #e2f6ee; color: #0a7a4d; }
.tag.warn { background: #fff3d6; color: #8a5a00; }
.tag.bad { background: #fdecea; color: #b3261e; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); display: block; letter-spacing: 0; }
.delta { font-size: 12px; font-weight: 700; }
.delta.down { color: var(--good); }
.delta.up { color: var(--bad); }
.noprice { color: var(--muted); font-size: 14px; font-weight: 600; }
.spark { display: block; margin-top: 4px; }
.bars { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 8px; font-size: 12px; align-items: center; }
.bars .bl { color: var(--muted); }
.bars .bv { font-weight: 700; text-align: right; min-width: 26px; }
.bar { height: 6px; background: #e8f0f3; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--grad); }
.score { text-align: center; }
.score .n { font-size: 30px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.detail { display: none; padding: 0 18px 18px; }
.card.open .detail { display: block; }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.box { background: var(--soft); border-radius: 12px; padding: 14px; }
.box h4 { margin: 0 0 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); }
.box p { margin: 0 0 8px; font-size: 14px; }
.box a { color: var(--teal-d); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
table.opts { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.opts th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 4px 6px; }
table.opts td { padding: 6px; border-top: 1px solid var(--line); vertical-align: top; }
table.opts td.r, table.opts th.r { text-align: right; }
.legs { font-size: 12px; color: var(--muted); }
.adv { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.adv i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.c-groen { background: #19b47a; } .c-geel { background: #f2c418; } .c-oranje { background: #ff8a3d; } .c-rood { background: #e5374d; }

/* andere periodes */
.periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.period { padding: 18px; }
.period h3 { margin: 0; font-size: 20px; }
.period .when { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.mini { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 12px; align-items: center; font-size: 14px; }
.mini .s { font-weight: 800; color: var(--teal-d); }
.mini .p { font-weight: 700; text-align: right; }
.mini a { text-decoration: none; }
.mini a:hover { text-decoration: underline; color: var(--teal-d); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* deals */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button:hover { color: var(--teal-d); }
.seg button.on { background: var(--teal); color: #fff; }
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.deal { display: flex; flex-direction: column; text-decoration: none; transition: transform .15s; }
.deal:hover { transform: translateY(-2px); }
.deal .img { aspect-ratio: 16/9; background: linear-gradient(180deg, #bfe8f3, #5cc6d8) center/cover no-repeat; }
.deal .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal .t { font-weight: 600; line-height: 1.35; }
.deal .meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.deal .dp { font-weight: 800; font-size: 18px; }

/* bestemmingen */
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; padding: 8px; position: sticky; top: 52px; background: var(--bg); }
.dtable td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.dtable tr.off td { opacity: .45; }
.months { display: grid; grid-template-columns: repeat(12, 18px); gap: 2px; }
.months span { height: 18px; border-radius: 3px; font-size: 9px; display: grid; place-items: center; color: rgba(0,0,0,.6); font-weight: 700; }
.months span.cur { outline: 2px solid var(--text); outline-offset: 1px; }
.pill { font-weight: 700; display: inline-block; min-width: 34px; text-align: center; padding: 2px 6px; border-radius: 6px; background: var(--soft); }
.scroll-x { overflow-x: auto; }
.method { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.method .box p { color: var(--muted); font-size: 13.5px; }

/* instellingen */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.form .card { padding: 18px; }
.form h3 { margin: 0 0 12px; font-size: 17px; }
.field { display: grid; gap: 4px; margin-bottom: 12px; }
.field label, .lbl2 { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field small { color: var(--muted); font-size: 12px; }
input[type=text], input[type=number], input[type=date], select {
  background: #fff; border: 1px solid #cfe0e6; color: var(--text); border-radius: 10px; padding: 9px 10px; font: inherit; width: 100%;
  color-scheme: light;
}
input:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; background: var(--soft); padding: 7px 10px; border-radius: 10px; cursor: pointer; }
.check input { accent-color: var(--teal); width: 16px; height: 16px; }
.dests { display: grid; gap: 6px; }
.drow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.drow select { padding: 6px 8px; font-size: 13px; }
.win { background: var(--soft); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.save-bar { position: sticky; bottom: 0; padding: 14px 0; display: flex; gap: 10px; justify-content: flex-end; background: linear-gradient(rgba(255,255,255,0), var(--bg) 40%); }
.weights .wrow { display: grid; grid-template-columns: 110px 1fr 34px; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 14px; }
input[type=range] { accent-color: var(--teal); width: 100%; }

.foot { padding: 24px clamp(16px, 4vw, 48px) 40px; color: var(--muted); font-size: 12px; display: grid; gap: 4px; border-top: 1px solid var(--line); background: var(--soft); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 999px; z-index: 20; box-shadow: 0 8px 30px rgba(14,42,53,.3); max-width: calc(100% - 32px); }
.empty { padding: 30px; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--radius); }

@media (max-width: 900px) {
  .res { grid-template-columns: 40px 1fr auto; grid-template-areas: "r n s" "r p p" "r b b"; gap: 10px 12px; }
  .res .rank { grid-area: r; font-size: 20px; align-self: start; }
  .res .nm { grid-area: n; }
  .res .pr { grid-area: p; }
  .res .bars { grid-area: b; }
  .res .score { grid-area: s; align-self: start; }
  .detail-grid { grid-template-columns: 1fr; }
  .dtable th { top: 0; position: static; }
}
@media (max-width: 520px) {
  .brand { font-size: 22px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .periods { grid-template-columns: 1fr; }
}

/* deals uitlichten: koraal/zonsondergang tegen de zee */
.tag.hot { background: var(--coral); color: #fff; }
.hi-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 10px; font-size: 20px; }
.hi-head .hl-m { background: var(--coral); }
.hi-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #cfe0e6 transparent; }
.hi-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; min-height: 160px; transition: transform .15s ease, box-shadow .15s ease; }
.hi-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14,60,80,.08), 0 14px 30px rgba(14,60,80,.12); }
.hi-card.first { background: var(--sunset); color: #fff; border-color: transparent; }
.hi-card.first .hi-sub, .hi-card.first .hi-p small { color: rgba(255,255,255,.9); }
.hi-card.first .hi-lbl { background: #fff; color: #d6453a; }
.hi-lbl { align-self: flex-start; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--coral); color: #fff; padding: 2px 8px; border-radius: 4px; }
.hi-card.k-drop .hi-lbl, .hi-card.k-low .hi-lbl { background: var(--good); color: #fff; }
.hi-card.first.k-drop .hi-lbl, .hi-card.first.k-low .hi-lbl { background: #fff; color: var(--good); }
.hi-t { font-weight: 700; line-height: 1.3; }
.hi-sub { font-size: 12.5px; color: var(--muted); }
.hi-p { margin-top: auto; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.hi-p small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tabs .badge { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.tabs button.on .badge { background: #fff; color: var(--coral); }
@media (max-width: 520px) { .hi-strip { grid-auto-columns: 78%; } }

/* wat zit erin: vaste, goed te onderscheiden labels */
.inc { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 2px 8px 2px 6px; border-radius: 6px; white-space: nowrap; }
.inc i { font-style: normal; font-size: 12px; letter-spacing: -1px; }
.inc-vlucht { background: #e3f1fc; color: #0b5c99; }
.inc-verblijf { background: #fff2d1; color: #855600; }
.inc-vlucht-verblijf { background: #f1e7ff; color: #6a2fb0; }
.inc-allin { background: #dcf6ea; color: #08744a; }
.inc-zelf { background: #edf2f4; color: #3f5a65; }
.tp { margin: 2px 0; line-height: 1.2; }
.tp b { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.tp small { color: var(--muted); font-size: 12px; font-weight: 500; }
.hi-p .tp b { font-size: 22px; }
.hi-card.first .inc { background: rgba(255,255,255,.25); color: #fff; }
.hi-card.first .tp small, .hi-card.first .hi-trip { color: rgba(255,255,255,.9); }
.hi-trip { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.trip { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.trip small { color: var(--muted); font-size: 12px; }
.pr .inc { margin-bottom: 4px; }
.kpi .inc { margin: 6px 0 2px; }
.mini-ico { font-style: normal; font-size: 11px; opacity: .7; }

/* periodes: navigatie + swipe-animatie */
.pnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 4px; }
.pbtn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--teal-d); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding-bottom: 3px; }
.pbtn:hover { background: #fff; }
.pbtn[disabled] { opacity: .35; cursor: default; }
.dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(11,125,147,.3); cursor: pointer; }
.dot.vast { background: rgba(11,125,147,.55); }
.dot.on { width: 26px; border-radius: 6px; background: var(--teal-d); }
.dot.new { width: 18px; height: 18px; background: #fff; color: var(--teal-d); font-weight: 800; font-size: 13px; line-height: 18px; box-shadow: var(--shadow); }
.dot.new.on { background: var(--teal-d); color: #fff; width: 18px; }
.pnav-hint { font-size: 12px; color: var(--teal-d); background: rgba(255,255,255,.6); padding: 2px 8px; border-radius: 999px; }
@keyframes inL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes inR { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.hero-top.slide-left h1, .hero-top.slide-left .sub { animation: inL .28s ease; }
.hero-top.slide-right h1, .hero-top.slide-right .sub { animation: inR .28s ease; }
.newp { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: rgba(255,255,255,.85); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 760px; }
.newp label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; flex: 1 1 160px; }
.note.big { font-size: 14px; color: var(--text); background: #fff6e6; padding: 10px 14px; border-radius: 12px; margin: 0 0 12px; }

/* foto's */
.res { grid-template-columns: 84px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; }
.rank { width: 84px; height: 84px; border-radius: 14px; background: #dff4fa center/cover no-repeat; position: relative; display: block; }
.rank span { position: absolute; left: 6px; top: 6px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: rgba(255,255,255,.92); color: var(--text); font-size: 14px; font-weight: 800; display: grid; place-items: center; }
.rank.top span { background: var(--teal); color: #fff; }
.kpi.ph { position: relative; overflow: hidden; }
.kpi.ph::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: var(--ph) center/cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); opacity: .9; pointer-events: none; }
.kpi.ph > * { position: relative; z-index: 1; max-width: 70%; }
.hi-card { padding: 0 0 14px; overflow: hidden; }
.hi-card > :not(.hi-img) { margin-left: 16px; margin-right: 16px; }
.hi-img { display: block; height: 120px; background: #bfe8f3 center/cover no-repeat; position: relative; margin-bottom: 8px; }
.hi-img .hi-lbl { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hi-card.first .hi-img .hi-lbl { background: #fff; }
.credit { font-size: 11.5px !important; color: var(--muted); margin-top: 10px !important; }
.credit a { color: var(--muted) !important; }
.dl-item { margin: 0 0 10px; overflow: hidden; }
.dl-item img { float: left; width: 64px; height: 48px; object-fit: cover; border-radius: 8px; margin: 2px 10px 4px 0; }
.dtable td.dn { display: flex; align-items: center; gap: 10px; }
.dtable td.dn img { width: 48px; height: 36px; object-fit: cover; border-radius: 8px; flex: none; }
@media (max-width: 900px) {
  .res { grid-template-columns: 64px 1fr auto; }
  .rank { width: 64px; height: 64px; }
  .kpi.ph::after { width: 34%; }
}
.direct { color: var(--good); font-weight: 700; }
.when { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--teal-d); background: #eaf6f9; padding: 1px 8px; border-radius: 6px; align-self: flex-start; }
.when.muted { color: var(--muted); background: #f1f4f5; font-weight: 500; }
.hi-card.first .when { background: rgba(255,255,255,.25); color: #fff; }
.trip small.save { color: var(--good); font-weight: 700; }
