/* Fix Express REWARDS+ — components (Premium White & Gold)
   No colour values in this file: every colour comes from a token in theme.css. */
@font-face { font-family: "Adventor"; src: url("/fonts/adventor-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter RP"; src: url("/fonts/inter-regular.woff") format("woff"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter RP"; src: url("/fonts/inter-semibold.woff") format("woff"); font-weight: 600 800; font-display: swap; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding: 0 18px 120px; }

.sandbox { background: var(--dark); color: var(--on-dark); font-size: 12px; text-align: center; padding: 5px 8px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 8px; position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid transparent; }
.brand { text-decoration: none; color: var(--ink); font: 700 16px/1 var(--display); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.brand b { color: var(--accent-ink); font-weight: 700; }
.iconbtn { background: var(--surface); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; position: relative; color: var(--ink); text-decoration: none; }
.iconbtn svg, .tabbar svg, .app-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }

h1 { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; margin: 10px 0 16px; color: var(--ink); }
h2 { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; margin: 26px 0 12px; color: var(--ink); }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ── greeting + member card ── */
.hello p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.hello h1 { font-size: 34px; margin: 2px 0 18px; }
.pass { position: relative; display: block; text-decoration: none; color: var(--on-dark); background: var(--dark); border-radius: var(--r-lg); padding: 20px 20px 16px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-md); }
.pass::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.pass-top { display: flex; justify-content: space-between; align-items: center; }
.pass-brand { font: 700 13px/1 var(--display); color: var(--on-dark-2); } .pass-brand b { color: var(--on-dark); }
.pass-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--vip-gold); color: var(--points); }
.pass-label { margin-top: 26px; font-size: 13px; color: var(--on-dark-2); }
.pass-amt { font: 700 46px/1 var(--display); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; color: var(--points); }
.pass-amt .cur { font-size: 20px; margin-right: 4px; vertical-align: 16px; letter-spacing: 0; }
.pass-amt .dec { font-size: 24px; }
.pass-amt-lg { margin-top: 30px; }
.perf { position: relative; height: 0; border-top: 1.5px dashed var(--on-dark-2); opacity: .45; margin: 20px -20px 14px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.perf::before { left: -11px; } .perf::after { right: -11px; }
.pass-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-dark-2); }
.pass-foot span:first-child { color: var(--on-dark); font-weight: 600; }
/* Membership variants (ready for tiers): standard = white + gold, VIP = charcoal + champagne gradient */
.pass.pass--standard { background: var(--surface); color: var(--ink); border: 1.5px solid var(--accent-line); box-shadow: var(--shadow-sm); }
.pass.pass--standard .pass-brand, .pass.pass--standard .pass-label, .pass.pass--standard .pass-foot { color: var(--ink-2); }
.pass.pass--standard .pass-brand b, .pass.pass--standard .pass-foot span:first-child { color: var(--ink); }
.pass.pass--standard .pass-amt, .pass.pass--standard .pass-tag { color: var(--accent-ink); }
.pass.pass--standard .pass-tag { border-color: var(--accent-line); background: var(--surface-warm); }
.pass.pass--standard .perf { border-top-color: var(--line); opacity: 1; }
.pass.pass--vip { background: linear-gradient(135deg, var(--vip-from) 0%, var(--vip-from) 55%, var(--vip-to) 100%); border: 1px solid var(--vip-gold); }
.pass.pass--vip::before { background: linear-gradient(90deg, var(--vip-gold), var(--accent), var(--vip-gold)); }

/* ── live repair tracker ── */
.live { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 16px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.live-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); }
.live-eta { margin-left: auto; color: var(--ink-2); font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.live-device { font: 700 18px/1.2 var(--display); margin-top: 8px; }
.live-status { color: var(--ink-2); font-size: 14px; }
.rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; }
.rail i { height: 6px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); }
.rail i.on { background: var(--dark); border-color: var(--dark); } .rail i.now { background: var(--accent); border-color: var(--accent); }

/* ── app grid ── */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; margin: 22px 0 6px; }
.apps a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 500; text-align: center; line-height: 1.25; }
.app-ic { position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-warm); border: 1px solid var(--accent-line); color: var(--dark); }
.app-ic em { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--dark); color: var(--points); font: 700 11px/20px var(--font); font-style: normal; box-shadow: 0 0 0 2px var(--bg); }

/* ── section heads, deals strip, feed ── */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 26px; }
.sec-head h2 { margin: 0 0 12px; } .sec-head a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.deal { flex: 0 0 72%; max-width: 260px; scroll-snap-align: start; text-decoration: none; color: var(--promo-ink); background: var(--promo-bg); border: 1px solid var(--promo-border); border-top: 3px solid var(--promo-accent); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); }
.deal-name { font-weight: 600; font-size: 14px; }
.deal-price { align-self: flex-start; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; background: var(--promo-accent); color: var(--promo-on-accent); padding: 6px 10px; border-radius: var(--r-sm); margin-top: 2px; }
.deal-meta { font-size: 12px; color: var(--ink-2); }
[data-promo-theme="dark"] .deal-meta { color: var(--on-dark-2); }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 16px; }
.feed-item { padding: 12px 0; border-bottom: 1px solid var(--line); } .feed-item:last-child { border-bottom: 0; }
.feed-item p { margin: 0; font-size: 14px; } .feed-item time { font-size: 12px; color: var(--ink-2); }

/* ── generic surfaces ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; margin-bottom: 12px; }
.card.warm { background: var(--surface-warm); border-color: var(--accent-line); }
.card.promo { background: var(--promo-bg); color: var(--promo-ink); border-color: var(--promo-border); border-top: 3px solid var(--promo-accent); }
.hero { background: var(--dark); color: var(--on-dark); border: 0; display: block; text-decoration: none; border-radius: var(--r-lg); padding: 20px; }
.hero .muted { color: var(--on-dark-2); }
.amount { font: 700 40px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.tile strong { display: block; font-size: 14px; margin-top: 4px; }
.tile .n { font: 700 24px/1 var(--display); color: var(--ink); }
.tile.ok { background: var(--ok-soft); border-color: var(--ok-soft); } .tile.ok .n, .tile.ok strong { color: var(--ok); }
.tile.pending { background: var(--pending-soft); border-color: var(--pending-soft); } .tile.pending .n, .tile.pending strong { color: var(--pending); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li, .list > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.list > :last-child { border-bottom: 0; }
.list > li.row, .list > a.row { display: flex; }

/* status labels */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--expired-soft); color: var(--expired); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--pending-soft); color: var(--pending); }
.pill.brand { background: var(--accent-soft); color: var(--accent-ink); }
.pill.gold { background: var(--accent); color: var(--on-accent); }

/* buttons: gold primary always carries dark text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 600; cursor: pointer; background: var(--accent); color: var(--on-accent); text-decoration: none; min-height: 48px; }
.btn.block { width: 100%; }
.btn.dark { background: var(--dark); color: var(--on-dark); }
.btn.ghost { background: var(--surface-warm); color: var(--ink); border: 1px solid var(--accent-line); }
.btn.line { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btns.spaced { margin-top: 14px; }

/* forms */
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; color: var(--ink-2); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], input[type=datetime-local], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 84px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--dark); }
.notice { padding: 11px 14px; border-radius: 12px; background: var(--pending-soft); color: var(--pending); font-size: 13.5px; margin-bottom: 12px; }
.err { padding: 11px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14px; margin: 10px 0; }
.empty { text-align: center; padding: 28px 12px; color: var(--ink-2); font-size: 14px; }

/* ── QR: always white background + black code ── */
.qrbox { position: relative; background: var(--fx-qr-bg); border-radius: 16px; padding: 16px; display: flex; justify-content: center; margin: 10px auto; max-width: 290px; border: 1.5px solid var(--accent-line); }
.qrbox svg { width: 100%; height: auto; display: block; }
.countdown { text-align: center; font: 700 15px/1.2 var(--display); font-variant-numeric: tabular-nums; margin: 8px 0 2px; color: var(--ink); }
.card.used { text-align: center; border-color: var(--ok); background: var(--ok-soft); }
.card.used strong { color: var(--ok); }
.usedmark { width: 64px; height: 64px; margin: 6px auto 10px; border-radius: 50%; background: var(--ok); color: var(--on-dark); font-size: 32px; line-height: 64px; font-weight: 800; }

/* ── repair progress ── */
.steps { list-style: none; margin: 6px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 30px; color: var(--ink-2); }
.steps li::before { content: ""; position: absolute; left: 5px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.steps li::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); } .steps li.done::before { background: var(--dark); border-color: var(--dark); } .steps li.done::after { background: var(--dark); }
.steps li.skip { opacity: .55; }
.steps li.now { color: var(--ink); font-weight: 600; } .steps li.now::before { background: var(--accent); border-color: var(--dark); box-shadow: 0 0 0 4px var(--accent-soft); }
.steps li.now.final::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.tiers { width: 100%; border-collapse: collapse; font-size: 14px; } .tiers td { padding: 9px 0; border-bottom: 1px solid var(--accent-line); } .tiers td:last-child { text-align: right; font: 700 16px var(--display); color: var(--accent-ink); }
.price-old { text-decoration: line-through; color: var(--ink-2); font-size: 13px; margin-right: 8px; }
.price-new { font: 700 14px var(--display); background: var(--promo-accent); color: var(--promo-on-accent); padding: 2px 8px; border-radius: 8px; }

/* E-Warranty */
.warranty-item.expired { color: var(--expired); }
.warranty-head { background: var(--dark); color: var(--on-dark); border-radius: var(--r-md) var(--r-md) 0 0; margin: -16px -16px 14px; padding: 14px 16px; }
.warranty-head strong { font: 700 16px/1.2 var(--display); }
.ticket { margin: 10px 0 12px; }
.ticket-device { font: 700 26px/1.15 var(--display); letter-spacing: -.02em; margin-top: 22px; color: var(--on-dark); }
.ticket-eta { font-size: 16px; font-weight: 600; margin-top: 2px; color: var(--on-dark); }
.pass-tag.tag-ok { border-color: var(--ok-soft); color: var(--ok-soft); }

/* ── tab bar: white, gold Book button with dark icon ── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; padding: 0 14px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.tabbar[hidden] { display: none; }
.tabbar nav { pointer-events: auto; display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; max-width: 520px; border-radius: 22px; padding: 6px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; font-size: 11px; color: var(--ink-2); text-decoration: none; font-weight: 600; border-radius: 16px; }
.tabbar a.on { color: var(--ink); background: var(--surface-warm); }
.tabbar a.tab-main, .tabbar a.tab-main.on { color: var(--ink); background: none; }
.tabbar a.tab-main svg { width: 48px; height: 48px; padding: 12px; margin-top: -26px; border-radius: 50%; background: var(--accent); stroke: var(--on-accent); box-shadow: 0 0 0 5px var(--bg), var(--shadow-md); }

.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--dark); color: var(--on-dark); padding: 11px 18px; border-radius: 12px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }
.card.install { border: 1.5px dashed var(--accent-line); background: var(--surface-warm); margin-top: 12px; }
.card.install[hidden] { display: none; }
.ioshow { margin: 8px 0 0; padding-left: 20px; } .ioshow li { margin: 4px 0; }
.shareicon { display: inline-block; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 4px; font-size: 11px; line-height: 16px; }
@media (display-mode: standalone) { .sandbox { padding-top: max(5px, env(safe-area-inset-top)); } }
@media (prefers-reduced-motion: no-preference) { .btn:active, .apps a:active .app-ic { transform: scale(.98); } }

/* ── staff console (same tokens) ── */
.staff .app { max-width: 1100px; padding-bottom: 40px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; font-weight: 600; }
.tabs button.on { background: var(--dark); color: var(--on-dark); border-color: var(--dark); box-shadow: inset 0 -3px 0 var(--accent); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--ink-2); font-weight: 600; }
.cols { display: grid; gap: 12px; } @media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }
pre.out { background: var(--surface-2); padding: 10px; border-radius: 10px; overflow: auto; font-size: 12px; max-height: 320px; white-space: pre-wrap; word-break: break-word; }
video.scan { width: 100%; border-radius: 12px; background: var(--dark); max-height: 280px; }
.staff .tile .n { color: var(--accent-ink); }

/* ── public warranty verification page ── */
.verify main { max-width: 560px; margin: 0 auto; padding: 18px; }
.vhead { background: var(--dark); color: var(--on-dark); padding: 16px 18px; font: 700 15px/1.2 var(--display); border-bottom: 3px solid var(--accent); }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.vcard h1 { font-size: 22px; } .vcard ul { padding-left: 18px; } .vcard li span { color: var(--ink-2); font-size: 13px; }
.vcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; } .vcard dt { color: var(--ink-2); } .vcard dd { margin: 0; font-weight: 600; }
.vbadge { display: inline-block; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0; }
.vcard.ok .vbadge { background: var(--accent); color: var(--on-accent); } .vcard.bad .vbadge { background: var(--danger-soft); color: var(--danger); }


/* ── language switch ── */
.top-right { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang button { border: 0; background: transparent; color: var(--ink-2); font: 600 12px/1 var(--body, inherit); padding: 7px 10px; min-height: 32px; border-radius: 999px; cursor: pointer; }
@media (max-width: 359px) { .brand-fx { display: none; } }
@media (max-width: 420px) { .brand { font-size: 14px; gap: 6px; } .lang button { padding: 7px 8px; } }
.lang button { white-space: nowrap; }
.brand { white-space: nowrap; }
.lang button[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ── log in / register switch ── */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; min-height: 44px; border-radius: 9px; font: 600 15px/1 inherit; font-family: inherit; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.center { text-align: center; }

/* ── login page: why join, offers, repair tips ── */
.join { margin-top: 8px; }
.perks { display: grid; gap: 10px; }
.perk { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.perk .app-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; }
.perk .app-ic svg { width: 22px; height: 22px; }
.perk strong { display: block; margin-bottom: 2px; } .perk p { margin: 0; }
.tips { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; }
.tips::-webkit-scrollbar { display: none; }
.tip { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; background: var(--surface-warm); border: 1px solid var(--accent-line); border-radius: var(--r-md); padding: 14px; }
.tip-n { display: block; font: 700 13px/1 var(--display); color: var(--accent-ink); margin-bottom: 8px; }
.tip strong { display: block; margin-bottom: 4px; } .tip p { margin: 0; }
.join-cta { margin-top: 18px; }

/* ── tablet & desktop (kept last so it overrides the mobile defaults) ── */
@media (min-width: 768px) {
  body:not(.staff) .app { max-width: 760px; padding-left: 28px; padding-right: 28px; }
  .apps { grid-template-columns: repeat(8, 1fr); }
  .deal { flex-basis: 240px; }
  .tabbar nav { max-width: 560px; }
  .hello h1 { font-size: 40px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tips { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .tip { max-width: none; }
}