/* TripZone V1.0 — maquette PWA
   Layout: application mobile (colonne de 430px max), barre d'onglets fixe en bas.
   Trois univers de couleur selon le compte :
   - voyageur  : sable crème + orange solaire (charte de la fondatrice)
   - profil    : couleur d'accent (orange) en dominante
   - prestataire : mode sombre (brun nuit) pour le tableau de bord */
:root {
  --orange: #E0621E;
  --orange-deep: #C24E12;
  --orange-soft: #FBE3D3;
  --sand: #FAF2E7;
  --sand-2: #F3E6D4;
  --paper: #FFFDF9;
  --ink: #2B2119;
  --ink-2: #6B5A4B;
  --line: #E8D9C6;
  --brown-1: #594631;
  --brown-2: #2B2119;
  --ok: #2E7D5B;
  --warn: #B7791F;
  --no: #B3261E;
  --night: #17110D;
  --night-2: #221A14;
  --night-3: #2E241C;
  --night-line: #3D3127;
  --night-ink: #F6EBDD;
  --night-ink-2: #BFA994;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--sand-2);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- cadre application ---------- */
.shell {
  max-width: 430px;
  min-height: 100%;
  margin: 0 auto;
  background: var(--sand);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px var(--line);
}
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  background: var(--sand);
}
.logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  letter-spacing: -0.01em;
  background: none;
  border: 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  white-space: nowrap;
}
button.chip:hover { border-color: var(--orange); }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  flex: none;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
main.view { flex: 1; padding: 4px 18px 104px; }
.hint { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; text-align: center; }
h1.screen-title {
  font-family: var(--f-display);
  font-size: 26px; line-height: 1.15;
  margin: 6px 0 2px;
  text-wrap: balance;
}
.screen-sub { color: var(--ink-2); margin: 0 0 18px; font-size: 14px; }
.section-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin: 22px 0 10px;
}
.example-flag {
  display: block; text-align: center; font-size: 11.5px; color: var(--ink-2);
  margin: 18px 0 0; opacity: .8;
}

/* ---------- barre d'onglets ---------- */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px));
}
.tab {
  background: none; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  padding: 4px 0;
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--orange); }
.tab .dot {
  position: absolute; margin-left: 18px; margin-top: -2px;
  min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  background: var(--orange); color: #fff; font-size: 10px; line-height: 16px;
}
.tab { position: relative; }

/* ---------- Fil ---------- */
.feed { display: grid; gap: 16px; }
.xp {
  position: relative;
  border-radius: 22px;
  min-height: 460px;
  padding: 18px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(180deg, var(--g1, #594631) 0%, var(--g2, #2B2119) 100%);
  background-size: cover; background-position: center;
}
.xp::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,12,6,.72) 100%);
  pointer-events: none;
}
.xp > * { position: relative; z-index: 1; }
.xp-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange); color: #fff;
}
.tag.alt { background: #8A5A34; }
.play {
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.22); color: #fff;
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.xp-art { align-self: center; opacity: .9; }
.xp h2 {
  font-family: var(--f-display); font-size: 27px; line-height: 1.12; margin: 0 0 4px;
  text-wrap: balance;
}
.xp .where { opacity: .88; font-size: 14px; margin: 0 0 10px; }
.xp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.by { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.by .avatar { width: 30px; height: 30px; font-size: 11px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; opacity: .8; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px;
  font-weight: 700; font-size: 14.5px;
  background: var(--orange); color: #fff;
}
.btn:hover { background: var(--orange-deep); }
.btn.ghost { background: transparent; color: var(--orange-deep); border: 2px solid var(--orange); }
.btn.light { background: #fff; color: var(--orange-deep); }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.mana-gain {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.18);
}

/* ---------- Instants ---------- */
.sub-open { text-align: center; color: var(--ink-2); font-size: 13px; margin: -4px 0 14px; }
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.story { background: none; border: 0; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); flex: none; }
.story .ring {
  width: 68px; height: 68px; border-radius: 50%; padding: 3px;
  background: var(--orange);
}
.story.seen .ring { background: var(--line); }
.story .ring span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  border: 3px solid var(--sand); font-size: 26px;
  background: linear-gradient(160deg, var(--g1, #6b4a2e), var(--g2, #2b2119));
}
.instant {
  border-radius: 20px; min-height: 360px; padding: 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, var(--g1,#4a3726), var(--g2,#1f1711));
  background-size: cover; background-position: center;
  position: relative; overflow: hidden; margin-bottom: 14px;
}
.instant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.55)); }
.instant > * { position: relative; z-index: 1; }
.who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.who i { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); display: inline-block; }
.who small { font-weight: 500; opacity: .85; }
.quote { font-size: 16px; line-height: 1.4; margin: 0 0 6px; }
.place { font-size: 13px; opacity: .9; }
.share-btn {
  width: 100%; border: 2px solid var(--orange); background: var(--paper);
  color: var(--orange-deep); border-radius: 18px; padding: 16px;
  font-family: var(--f-display); font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.filters button { flex: none; }
.filters button[aria-pressed="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Mana ---------- */
.mana-hero {
  border-radius: 24px; padding: 22px; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #F08A4B 0%, var(--orange) 40%, var(--orange-deep) 100%);
}
.mana-hero .score { font-family: var(--f-display); font-size: 56px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.mana-hero .lvl { font-weight: 600; opacity: .95; margin: 6px 0 14px; }
.bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.28); overflow: hidden; }
.bar b { display: block; height: 100%; background: #fff; border-radius: 6px; }
.bar-legend { display: flex; justify-content: space-between; font-size: 12px; margin-top: 6px; opacity: .9; }
.rows { display: grid; gap: 10px; }
.row {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
}
.row .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-size: 14.5px; }
.row .txt span { font-size: 12.5px; color: var(--ink-2); }
.row .pts { font-weight: 700; color: var(--orange-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.locked { opacity: .9; }
.locked .ico { background: var(--sand-2); }
.pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.wait { background: #FFF1D6; color: #8A5A00; }
.pill.ok { background: #DDF1E7; color: #1D5E42; }
.pill.no { background: #F8DDDA; color: #8C1D16; }
.pill.done { background: var(--orange-soft); color: var(--orange-deep); }
.pill.lock { background: var(--sand-2); color: var(--ink-2); }

/* ---------- Carnet ---------- */
.day { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 20px 0 8px; }
.page {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
}
.page h3 { font-family: var(--f-display); font-size: 18px; margin: 0 0 6px; }
.page p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.page .link { color: var(--orange-deep); font-weight: 700; font-size: 13px; background: none; border: 0; padding: 0; }
.page.soon { border-style: dashed; text-align: center; color: var(--ink-2); background: transparent; }
.film {
  margin-top: 22px; border-radius: 18px; padding: 18px; background: var(--brown-2); color: var(--sand);
  display: grid; gap: 10px; text-align: center;
}
.film b { font-family: var(--f-display); font-size: 19px; }
.resa-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 6px; }

/* ---------- Passeport ---------- */
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stamp {
  aspect-ratio: 1; max-width: 100%; border-radius: 50%;
  border: 3px solid var(--orange); outline: 2px dashed var(--orange); outline-offset: 4px;
  background: var(--orange-soft);
  display: grid; place-items: center; align-content: center; gap: 2px;
  text-align: center; padding: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px; line-height: 1.15;
  color: var(--orange-deep); letter-spacing: .04em; text-transform: uppercase;
}
.stamp .e { font-size: 28px; }
.stamp.off { border-color: var(--line); outline-color: var(--line); background: transparent; color: #A8998A; }
.stamp.off .e { filter: grayscale(1); opacity: .45; }
.stamp.new { animation: pop .6s ease-out; }
@keyframes pop { 0% { transform: scale(.6) rotate(-12deg); } 70% { transform: scale(1.08) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
.note { color: var(--ink-2); font-size: 14px; margin-top: 22px; }

/* ---------- feuille (réservation, story, publication) ---------- */
.sheet-back {
  position: fixed; inset: 0; z-index: 50; background: rgba(23,17,13,.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: 100%; max-width: 430px; max-height: 92%; overflow-y: auto;
  background: var(--paper); color: var(--ink);
  border-radius: 24px 24px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  animation: up .25s ease-out;
}
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { font-family: var(--f-display); font-size: 22px; margin: 0 0 2px; }
.sheet .muted { color: var(--ink-2); font-size: 13.5px; margin: 0 0 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .lbl { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff;
}
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.switch input { width: 20px; height: 20px; accent-color: var(--orange); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 4px; }
.total b { font-size: 22px; font-variant-numeric: tabular-nums; }
.payinfo { font-size: 12.5px; color: var(--ink-2); background: var(--sand); border-radius: 12px; padding: 10px 12px; margin: 8px 0 14px; }

.story-view {
  position: fixed; inset: 0; z-index: 60; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px calc(28px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, var(--g1,#6b4a2e), var(--g2,#1f1711));
  background-size: cover; background-position: center;
  max-width: 430px; margin: 0 auto;
}
.story-view .prog { height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.story-view .prog b { display: block; height: 100%; width: 0; background: #fff; animation: prog 5s linear forwards; }
@keyframes prog { to { width: 100%; } }
.story-view .close { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; }
.story-view .big { font-family: var(--f-display); font-size: 26px; line-height: 1.2; text-wrap: balance; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 70;
  background: var(--ink); color: var(--sand); padding: 12px 18px; border-radius: 14px;
  font-weight: 600; font-size: 14px; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* ---------- Accueil / choix du compte ---------- */
.welcome {
  min-height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 24px 32px; gap: 28px;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(224,98,30,.22), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(89,70,49,.18), transparent 60%),
    var(--sand);
}
.welcome .brand { font-family: var(--f-display); font-weight: 700; font-size: 54px; color: var(--orange); line-height: 1; }
.welcome .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.welcome .line { font-family: var(--f-display); font-size: 30px; line-height: 1.15; margin: 10px 0 0; text-wrap: balance; }
.welcome .lead { color: var(--ink-2); margin: 14px 0 0; }
.choices { display: grid; gap: 12px; }
.choice {
  text-align: left; border-radius: 20px; padding: 16px 18px; border: 2px solid var(--line); background: var(--paper);
  display: grid; gap: 2px;
}
.choice b { font-size: 16px; }
.choice span { font-size: 13px; color: var(--ink-2); }
.choice.main { background: var(--orange); border-color: var(--orange); color: #fff; }
.choice.main span { color: rgba(255,255,255,.88); }
.choice.pro { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.choice.pro span { color: var(--night-ink-2); }
.legal { font-size: 11.5px; color: var(--ink-2); text-align: center; }

/* ---------- Profil (couleur d'accent) ---------- */
.shell[data-screen="profil"] { background: var(--orange); }
.shell[data-screen="profil"] .topbar { background: var(--orange); }
.shell[data-screen="profil"] .logo { color: #fff; }
.shell[data-screen="profil"] .topbar .chip { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
.profile-head { color: #fff; text-align: center; padding: 6px 0 20px; }
.profile-head .avatar { width: 88px; height: 88px; font-size: 30px; margin: 0 auto 10px; background: #fff; color: var(--orange-deep); }
.profile-head h1 { font-family: var(--f-display); font-size: 28px; margin: 0; }
.profile-head p { margin: 4px 0 0; opacity: .92; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; }
.stats div { background: rgba(255,255,255,.16); border-radius: 16px; padding: 12px 6px; text-align: center; }
.stats b { display: block; font-family: var(--f-display); font-size: 24px; font-variant-numeric: tabular-nums; }
.stats span { font-size: 11.5px; opacity: .92; }
.card-light { background: var(--paper); border-radius: 22px; padding: 16px; color: var(--ink); }
.card-light + .card-light { margin-top: 12px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: 0; }
.setting span { font-size: 14.5px; }
.setting small { color: var(--ink-2); display: block; font-size: 12px; }
.setting select { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: #fff; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--orange-deep); font-weight: 700; }
.linkbtn.danger { color: var(--no); }

/* ---------- Espace prestataire (mode sombre) ---------- */
.shell[data-role="pro"] { background: var(--night); color: var(--night-ink); box-shadow: none; color-scheme: dark; }
.shell[data-role="pro"] .topbar { background: var(--night); }
.shell[data-role="pro"] .topbar .chip { background: var(--night-3); border-color: var(--night-line); color: #F5A370; }
.shell[data-role="pro"] .tabbar { background: var(--night-2); border-top-color: var(--night-line); }
.shell[data-role="pro"] .tab { color: var(--night-ink-2); }
.shell[data-role="pro"] .tab[aria-current="page"] { color: #F5883F; }
.shell[data-role="pro"] .screen-sub, .shell[data-role="pro"] .section-label, .shell[data-role="pro"] .example-flag { color: var(--night-ink-2); }
.pro-badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink-2); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; min-width: 0; }
.kpi span { font-size: 12px; color: var(--night-ink-2); }
.kpi b { display: block; font-family: var(--f-display); font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: #F5A370; }
.kpi.hl { background: linear-gradient(150deg, #3A2618, var(--night-2)); border-color: #5A3A22; }
.dark-list { display: grid; gap: 10px; }
.req { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.req-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.req b { font-size: 15px; }
.req .meta { font-size: 13px; color: var(--night-ink-2); }
.req .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.req .btn.ghost { color: var(--night-ink); border-color: var(--night-line); }
.shell[data-role="pro"] .pill.wait { background: #3F3113; color: #F2C66D; }
.shell[data-role="pro"] .pill.ok { background: #16372A; color: #7FD6AA; }
.shell[data-role="pro"] .pill.no { background: #3E1916; color: #F09A92; }
.shell[data-role="pro"] .pill.done { background: #3A2618; color: #F5A370; }
.empty { border: 1px dashed var(--night-line); border-radius: 18px; padding: 22px; text-align: center; color: var(--night-ink-2); font-size: 14px; }
.agenda-day { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--night-line); }
.agenda-day .d { text-align: center; background: var(--night-2); border-radius: 14px; padding: 8px 0; }
.agenda-day .d b { display: block; font-family: var(--f-display); font-size: 22px; line-height: 1; }
.agenda-day .d span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--night-ink-2); }
.slot { background: var(--night-2); border-left: 3px solid var(--orange); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; margin-bottom: 6px; }
.slot.free { border-left-color: var(--night-line); color: var(--night-ink-2); }
.dark-form .field input, .dark-form .field select, .dark-form .field textarea { background: var(--night-2); border-color: var(--night-line); color: var(--night-ink); }
.dark-form .switch { border-color: var(--night-line); }
.preview-label { font-size: 12px; color: var(--night-ink-2); margin: 18px 0 8px; }
.plans { display: grid; gap: 12px; }
.plan { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: 16px; display: grid; gap: 8px; }
.plan.current { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan h3 { margin: 0; font-family: var(--f-display); font-size: 19px; }
.plan .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0; padding-left: 18px; color: var(--night-ink-2); font-size: 13.5px; }
.fee { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; font-size: 13.5px; color: var(--night-ink-2); }
.fee b { color: var(--night-ink); }
.upload {
  display: grid; place-items: center; gap: 6px; text-align: center;
  border: 2px dashed var(--night-line); border-radius: 18px; padding: 22px; color: var(--night-ink-2); font-size: 14px;
}
.upload input { max-width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.thumbs div { aspect-ratio: 9/16; border-radius: 12px; background-size: cover; background-position: center; background-color: var(--night-3); max-width: 100%; }
