/* The guides page as a 3D guidebook (17 Nov 2026; built by site/scripts/build-guides.py, driven by book.js). Sits on top of guide.css: same tokens, header, rows,
   chips, buttons and footer.
   Layout: without JavaScript (or before book.js has built the book) it is one plain long page: contents, every
   chapter, the refund desks as a list, the index. With book.js (html.bk): a hardcover book on the page canvas.
   Phones and tablets: one page at a time, tabs along the top. From 960 px: a two-page spread, thumb-index tabs on the
   right. Pages turn in 3D (each leaf its own perspective(), preserve-3d only inside a leaf, explicit backface rules);
   Reduce Motion or no 3D support: html.flat, pages swap with a fade. */
:root{
  --dot:"Doto","Geist Mono",ui-monospace,monospace;
  --paper:var(--surface); --gutter:rgba(0,0,0,.09); --edge:#EDECE6; --edge-line:#CFCDC4;
  --cloth:#1F2422; --cloth-ink:#F1F1EC; --cloth-muted:#B3BAB6; --cloth-line:rgba(255,255,255,.14);
  --steel:#E2E3DF; --steel-hi:#F4F4F1; --steel-lo:#CBCCC7;
  --screen:#141615; --screen-ink:#F4F4F2; --screen-muted:#AEB1AC; --screen-key:#262927; --screen-line:rgba(255,255,255,.10);
  --slip:#F7F7F4; --slip-ink:#1C1C1C; --slip-muted:#55554F; --slip-line:#C9C8C0;
  --sign:var(--yellow); --sign-ink:var(--on-yellow);
  --turn-shade:rgba(0,0,0,.30); --turn-shade2:rgba(0,0,0,.06); --free-edge:transparent; --cast:rgba(0,0,0,.20);
  --book-shadow:0 2px 3px rgba(0,0,0,.10),0 18px 36px -12px rgba(0,0,0,.30),0 50px 80px -40px rgba(0,0,0,.35);
  --tab-shut:#ECEBE6;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --paper:#1E2021; --gutter:rgba(0,0,0,.45); --edge:#2E3132; --edge-line:#4A4E4F;
  --cloth:#323A36; --cloth-line:rgba(255,255,255,.18);
  --turn-shade:rgba(255,255,255,.10); --turn-shade2:rgba(255,255,255,.02); --free-edge:rgba(255,255,255,.22); --cast:rgba(0,0,0,.55);
  --steel:#2C2F2E; --steel-hi:#3A3E3C; --steel-lo:#202322;
  --screen:#060707; --screen-key:#1C1F1D; --tab-shut:#121314;
  --book-shadow:0 0 0 1px rgba(255,255,255,.10),0 -1px 0 rgba(255,255,255,.08),0 18px 36px -12px rgba(0,0,0,.8),0 0 90px -20px rgba(255,255,255,.07);
}}
:root[data-theme="dark"]{
  --paper:#1E2021; --gutter:rgba(0,0,0,.45); --edge:#2E3132; --edge-line:#4A4E4F;
  --cloth:#323A36; --cloth-line:rgba(255,255,255,.18);
  --turn-shade:rgba(255,255,255,.10); --turn-shade2:rgba(255,255,255,.02); --free-edge:rgba(255,255,255,.22); --cast:rgba(0,0,0,.55);
  --steel:#2C2F2E; --steel-hi:#3A3E3C; --steel-lo:#202322;
  --screen:#060707; --screen-key:#1C1F1D; --tab-shut:#121314;
  --book-shadow:0 0 0 1px rgba(255,255,255,.10),0 -1px 0 rgba(255,255,255,.08),0 18px 36px -12px rgba(0,0,0,.8),0 0 90px -20px rgba(255,255,255,.07);
}
.top{top:env(safe-area-inset-top,0px)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ================= The plain page (no JavaScript, and the first frame) ================= */
.bookwrap{padding-top:8px}
.tabs,.p-cover,.cov-open{display:none}
.part{margin:0}
.p-title{margin-bottom:8px}
.p-title .tp-t,.p-title .tp-s,.p-title .tp-imp{display:none}
.ph{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.part-h{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.3;margin:24px 0 10px;color:var(--ink)}
.toc{list-style:none;padding:0;margin:0;background:var(--surface);box-shadow:var(--lift);border-radius:16px;overflow:hidden}
article .toc li{max-width:none;margin:0}
article .toc>.ch{border-top:1px solid var(--line)}
article .toc>.ch:first-child{border-top:0}
.chl{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;text-decoration:none;transition:background .15s}
@media (hover:hover){.chl:hover{background:var(--sunk)}}
.chl:active{background:var(--sunk)}
.chl .cc{flex:none;min-width:40px;text-align:center}
.chl .tflag{margin:0 4px}
.cn{flex:1 1 auto;min-width:0}
.cn b{display:block;font-size:17px;line-height:1.3}
.cn .br{display:block;color:var(--muted);font-size:15px;line-height:1.4;margin-top:2px}
.lead{display:none}
.pnum{flex:none;color:var(--muted);font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
.chl .go{flex:none;color:var(--muted);font-weight:400;font-size:24px;line-height:1;padding-right:2px;transition:transform .2s}
.opener{scroll-margin-top:80px;margin-top:40px;display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}
.opener h2{margin:0;flex:0 1 auto}
.opener .brands{flex:1 1 100%;margin:4px 0 0;color:var(--muted);font-size:15px}
.opener .cnt{flex:1 1 100%;margin:0 0 12px;color:var(--muted);font-size:15px}
.o-tax .rows{flex:1 1 100%}
.cnt{color:var(--muted);font-size:15px}
.fly{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px;margin:12px 0 0;color:var(--muted);font-size:15px;line-height:1.4}
.fly span{flex:1 1 100%;padding-top:4px}
.fly a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-thickness:1px}
.fly a:active{opacity:.6}
.rows a{transition:background .15s}
.rows a:active{background:var(--sunk)}
.idx{list-style:none;padding:4px 16px;margin:0;background:var(--surface);box-shadow:var(--lift);border-radius:16px}
article .idx li{max-width:none;margin:0;display:grid;grid-template-columns:8.5rem minmax(0,1fr);gap:0 12px;align-items:start;padding:2px 0;border-top:1px solid var(--line)}
article .idx li:first-child{border-top:0}
.idx .bn{font-size:17px;line-height:1.3;padding-top:11px}
.idx .bl{display:flex;flex-wrap:wrap;column-gap:16px}
.idx .bl a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px}
.p-index{margin-top:40px}
.p-index2{margin-top:-1px}
.p-index h2{margin:0 0 4px}
.p-index .cnt{margin:0 0 12px}
.p-index2 .idx{border-radius:0 0 16px 16px}
.p-index:not(.p-index2) .idx{border-radius:16px 16px 0 0}

/* The refund kiosk. Plain page: a heading and the six airports as slips, each one readable. */
.p-kiosk{margin-top:24px}
.kiosk{max-width:420px}
.sign{display:inline-flex;align-items:center;gap:8px;margin:0;background:var(--sign);color:var(--sign-ink);font-weight:700;font-size:17px;line-height:1;padding:10px 14px;border-radius:8px}
.sign svg{flex:none}
.screen{display:none}
.slips{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}
article .slips li{max-width:none;margin:0}
.slip{background:var(--slip);color:var(--slip-ink);border-radius:4px;padding:14px 16px 10px;box-shadow:0 1px 2px rgba(0,0,0,.08),0 8px 20px -10px rgba(0,0,0,.25)}
.slip p{margin:0}
.s-ap{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;font-size:17px;line-height:1.3}
.s-ap span{flex:1 1 100%;color:var(--slip-muted);font-size:15px}
.s-code{font-variant-numeric:tabular-nums;margin-right:4px}
.s-desk{display:flex;justify-content:space-between;gap:12px;margin-top:10px!important;padding:8px 0;border-top:1px dashed var(--slip-line);border-bottom:1px dashed var(--slip-line);font-size:15px}
.s-desk span{color:var(--slip-muted)}
.s-ans{font-size:15px;line-height:1.45;margin-top:8px!important}
.s-go{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:2px;color:var(--slip-ink);font-size:15px;font-weight:700;text-decoration:underline;text-decoration-thickness:1px}
.s-go .go{font-size:20px;font-weight:400;text-decoration:none}
.s-go:active{opacity:.6}

/* While book.js builds the book, the plain page waits out of sight (held for at most 3 s by the inline script) */
.js:not(.bk) .parts{visibility:hidden}

/* ================= The book (html.bk) ================= */
.bk .parts{display:none}
.bk .bookarea{position:relative;--W:340px;--H:640px;--edgeR:6px;--edgeL:0px}
.bk .clip{overflow:hidden;overflow:clip;overflow-y:visible;margin:0 -16px;padding:20px 16px 56px}
.bk .mover{position:relative;width:calc(var(--W) + 8px);height:var(--H);will-change:transform}
.bk .book{position:absolute;inset:0}
/* The back board (case) under the page block: a hardcover, 8 px proud of the pages */
.bk .case{position:absolute;top:-8px;bottom:-8px;left:-4px;right:0;border-radius:4px 7px 7px 4px;background:var(--cloth);box-shadow:var(--book-shadow)}
.bk .case::before{content:"";position:absolute;left:0;top:0;bottom:0;width:10px;border-radius:4px 0 0 4px;background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(255,255,255,.05) 60%,transparent)}
/* Page edges: the block of pages still to read, seen at the outer edge and the foot */
.bk .edge-r,.bk .edge-b{z-index:1}
.bk .edge-l{z-index:3}
.bk .edge-r{position:absolute;top:2px;bottom:2px;left:calc(100% - 8px);width:var(--edgeR);border-radius:0 2px 2px 0;
  background:repeating-linear-gradient(90deg,var(--edge) 0 1px,var(--edge-line) 1px 2px);box-shadow:1px 0 0 var(--edge-line)}
.bk .edge-b{position:absolute;left:0;right:calc(8px - var(--edgeR));top:calc(100% - 1px);height:4px;border-radius:0 0 3px 3px;
  background:repeating-linear-gradient(180deg,var(--edge) 0 1px,var(--edge-line) 1px 2px)}
.bk .edge-l{display:none}
.bk .stage{position:absolute;top:0;left:0;width:var(--W);height:var(--H);touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.bk .leaf{position:absolute;top:0;left:0;width:var(--W);height:var(--H);transform-origin:0 50%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}
/* Only the page about to move gets its own layer, so the phone has it ready before the first frame */
.bk .leaf.moving{will-change:transform}
.bk .face{position:absolute;inset:0;overflow:hidden;background:var(--paper);-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:rotateY(0deg)}
.bk .face.back{transform:rotateY(180deg)}
/* Light falls from the top left: a page turning away darkens, the far side of a lifted page catches a highlight */
.bk .shade{position:absolute;inset:0;pointer-events:none;z-index:3;opacity:0;background:linear-gradient(270deg,var(--turn-shade),var(--turn-shade2) 60%,transparent)}
.bk .face.back .shade{background:linear-gradient(90deg,var(--turn-shade),var(--turn-shade2) 60%,transparent)}
/* While a page is in the air its free edge catches the light (shows in dark mode) */
.bk .leaf.moving .face.front{box-shadow:inset -1px 0 0 var(--free-edge)}
.bk .leaf.moving .face.back{box-shadow:inset 1px 0 0 var(--free-edge)}
/* The shadow a lifted page casts on the page under it: one element, only its opacity changes */
.bk .cast{position:absolute;top:0;height:var(--H);width:var(--W);left:0;pointer-events:none;opacity:0;background:linear-gradient(90deg,var(--cast),transparent 55%)}
.bk .cast.on-left{transform:scaleX(-1)}
/* The fold: pages darken toward the spine */
.bk .face::after{content:"";position:absolute;top:0;bottom:0;width:44px;pointer-events:none;z-index:2;left:0;background:linear-gradient(90deg,var(--gutter),rgba(0,0,0,0))}
.bk .face.back::after{left:auto;right:0;background:linear-gradient(270deg,var(--gutter),rgba(0,0,0,0))}
.bk .face.blank::after,.bk .face.f-cover::after{display:none}
.bk .fi{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;padding:24px 20px 4px 26px}
.bk .face.back .fi{padding:24px 26px 4px 20px}
.bk .measuring .face{height:auto;bottom:auto}
.bk .measuring .fi{height:auto}
.bk .measuring .slips{display:grid;min-height:0}
.bk .measuring .slip{display:block!important;grid-area:1/1;position:static;animation:none}
/* Running foot: back a page, the page number, on a page */
.bk .pf{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;min-height:48px;font-size:15px;color:var(--muted);box-shadow:0 -1px 0 var(--line)}
.bk .pf .pn{font-variant-numeric:tabular-nums;font-size:13px}
.bk .turn{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;color:var(--ink);font-weight:600;text-decoration:none;white-space:nowrap}
.bk .turn .go{font-size:24px;font-weight:400;line-height:1;color:var(--muted)}
.bk .turn.next{justify-content:flex-end;justify-self:end}
.bk .turn.prev{justify-self:start}
.bk .turn:active{opacity:.6}
.bk .pf .sp{flex:1}

/* The cover leaf is the front board: cloth, a blind-stamped frame, the title */
.bk .leaf.cov{top:-8px;height:calc(var(--H) + 16px);width:calc(var(--W) + 8px)}
.bk .face.f-cover{border-radius:4px 7px 7px 4px;color:var(--cloth-ink);
  background:radial-gradient(120% 70% at 0% 0%,rgba(255,255,255,.14),rgba(255,255,255,0) 60%),linear-gradient(105deg,rgba(255,255,255,.06),rgba(255,255,255,0) 38%),repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,rgba(0,0,0,.02) 1px 3px),var(--cloth)}
.bk .face.f-cover .shade{background:linear-gradient(270deg,rgba(0,0,0,.45),rgba(0,0,0,.1))}
/* The hinge groove near the spine */
.bk .f-cover .fi::before{content:"";position:absolute;top:0;bottom:0;left:16px;width:6px;background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(255,255,255,.07) 70%,transparent)}
.bk .f-cover .fi{padding:0}
.bk .p-cover{display:flex;flex:1;position:relative}
.bk .cov-in{flex:1;margin:22px 22px 22px 36px;border:1px solid var(--cloth-line);border-radius:4px;display:flex;flex-direction:column;padding:28px 24px 24px;cursor:pointer}
.bk .face.f-cover{--wear:#00B259}
.bk .cov-wm{font-size:24px;color:var(--cloth-ink)}
.bk .cov-wm em{color:var(--wear)}
.bk .cov-t{margin:32px 0 0;font-family:var(--display);font-weight:700;font-size:48px;line-height:1.02;letter-spacing:-.03em;text-wrap:balance}
.bk .cov-e{margin:20px 0 0;font-size:15px;color:var(--cloth-muted);padding-top:14px;border-top:1px solid var(--cloth-line)}
.bk .cov-open{display:inline-flex;align-self:flex-start;align-items:center;min-height:44px;margin-top:16px;padding:10px 18px;border-radius:999px;border:0;font:inherit;font-size:15px;font-weight:600;
  background:rgba(255,255,255,.12);color:var(--cloth-ink);box-shadow:inset 0 0 0 1px var(--cloth-line);cursor:pointer;transition:transform .15s,background .15s}
.bk .cov-open:hover{background:rgba(255,255,255,.18)}
.bk .cov-open:active{transform:scale(.97)}
/* Inside the front board: the endpaper (the title page sits on it) */
.bk .face.f-endpaper{background:var(--cloth);border-radius:4px 0 0 4px}
.bk .face.f-endpaper .fi{margin:8px 0 8px 8px;height:calc(100% - 16px);background:var(--paper);border-radius:2px 0 0 2px}

/* Title page */
.bk .p-title{display:flex;flex-direction:column;flex:1;margin:0}
.bk .p-title .tp-t,.bk .p-title .tp-s,.bk .p-title .tp-imp{display:flex}
.bk .tp-t{margin:24px 0 0;font-family:var(--display);font-weight:700;font-size:40px;line-height:1.05;letter-spacing:-.03em}
.bk .tp-s{display:block!important;margin:16px 0 0;font-size:17px;line-height:1.45;color:var(--muted)}
.bk .p-title .key{margin:auto 0 0;font-size:15px;line-height:1.5;padding-top:14px;border-top:1px solid var(--line)}
.bk .tp-imp{align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:24px 0 16px;font-size:13px;color:var(--muted)}
.bk .tp-imp .wm{font-size:17px;color:var(--ink)}

/* On paper the cards become ruled lines */
.bk .toc,.bk .rows,.bk .idx{background:transparent;box-shadow:none;border-radius:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bk .idx{padding:0}
.bk .part-h{font-size:17px;margin:16px 0 6px}
.bk .p-contents .part-h:first-of-type{margin-top:0}
.toc3{margin-top:16px}
.bk .chl{min-height:48px;padding:4px 4px;gap:10px}
.bk .cn b{font-size:17px;line-height:1.25}
.bk .cn .br{margin-top:0;line-height:1.3}
.bk .cn .br{font-size:13px}
@media (hover:hover){ .bk .chl:hover .go{transform:translateX(3px)} }
.bk .rows a{padding:10px 4px;gap:12px}
.bk .rows .t>b{font-size:17px}
.bk .opener{margin:0;display:block}
.bk .opener .cc{display:inline-block}
.bk .opener h2{margin:20px 0 0;font-size:48px;line-height:1.02;letter-spacing:-.03em;text-wrap:balance}
.bk .opener .brands{margin:14px 0 0;font-size:17px;line-height:1.4;max-width:26ch}
.bk .opener .cnt{margin:10px 0 0}
.bk .o-tax h2{font-size:40px}
.bk .o-tax .rows{margin-top:24px}
.bk .plist{margin:0}
.bk .p-index{margin:0}
.bk .p-index .idx{border-radius:0}
.bk .p-index2{padding-top:4px}
/* A merged page (phone): the opener is the page's head */
.bk .merged .opener h2{font-size:28px;margin-top:10px}
.bk .merged .opener .brands{font-size:15px;margin-top:6px;max-width:none}
.bk .merged .opener .cnt{margin:2px 0 14px}

/* The kiosk, as it stands in the departures hall: a yellow sign, a steel housing, a dark screen with the six
   airports, a slot that prints the answer on a paper slip (paper in dark mode too: it's a real object). */
.bk .p-kiosk{margin:0;flex:1;display:flex;justify-content:center;align-items:flex-start;padding-top:4px}
.bk .kiosk{width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center}
.bk .sign{position:relative;z-index:2;border-radius:8px 8px 0 0;padding:10px 18px;box-shadow:0 2px 0 rgba(0,0,0,.12)}
.bk .kiosk .body{width:100%;border-radius:22px 22px 12px 12px;padding:14px 14px 0;
  background:linear-gradient(180deg,var(--steel-hi),var(--steel) 30%,var(--steel-lo));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 0 1px rgba(0,0,0,.08),0 14px 24px -14px rgba(0,0,0,.4)}
.bk .screen{display:block;background:var(--screen);color:var(--screen-ink);border-radius:12px;padding:14px 12px 12px;
  box-shadow:inset 0 0 0 3px #000,inset 0 2px 14px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.4)}
.bk .q{margin:0 0 10px;font-size:15px;font-weight:600;color:var(--screen-muted);text-align:center}
.bk .keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bk .kkey{appearance:none;border:0;margin:0;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;padding:8px 4px;border-radius:10px;
  background:var(--screen-key);color:var(--screen-ink);box-shadow:inset 0 0 0 1px var(--screen-line);cursor:pointer;transition:transform .12s,background .15s}
.bk .kkey .kc{font-family:var(--dot);font-weight:900;font-size:24px;line-height:1;letter-spacing:.04em}
.bk .kkey .kn{font-size:13px;line-height:1.2;color:var(--screen-muted)}
@media (hover:hover){.bk .kkey:hover{background:#333734}}
.bk .kkey:active{transform:scale(.96)}
.bk .kkey[aria-pressed="true"]{background:var(--screen-ink);color:var(--screen)}
.bk .kkey[aria-pressed="true"] .kn{color:#3C3E3B}
.bk .kkey:focus-visible{outline:2.5px solid var(--sign);outline-offset:2px}
.bk .slot{height:16px;margin:14px 18px 0;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#0A0B0B,#2A2C2B);box-shadow:inset 0 2px 4px rgba(0,0,0,.6)}
/* The slip prints out of the slot (the tray clips it so it appears from inside) */
.bk .slips{position:relative;display:block;margin:0 26px;overflow:hidden;padding:0 6px 14px;min-height:var(--slipH,200px)}
.bk .slip{border-radius:0;padding:14px 16px 16px;box-shadow:0 6px 14px -8px rgba(0,0,0,.35);
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 6px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 6px repeat-x;
  mask:linear-gradient(#000,#000) top/100% calc(100% - 6px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 6px repeat-x;padding-bottom:22px}
.bk .slip:not(.on){display:none}
.bk .slip.out{display:block;position:absolute;top:0;left:6px;right:6px}
.bk .s-ap{font-size:17px}
.bk .slip.print{animation:print .52s cubic-bezier(.25,.9,.3,1) both}
.bk .slip.out{animation:unprint .18s ease-in both}
@keyframes print{0%{transform:translateY(-102%)}70%{transform:translateY(2%)}100%{transform:none}}
@keyframes unprint{to{transform:translateY(-102%)}}

/* ---- Thumb-index tabs ---- */
.bk .tabs{display:block}
.bk .tabs a{-webkit-tap-highlight-color:transparent;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 14px;color:var(--muted);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;
  background:var(--tab-shut);transition:transform .15s,background .15s,color .15s}
.bk .tabs a:active{transform:scale(.97)}
.bk .tabs a[aria-current="true"]{background:var(--paper);color:var(--ink)}
@media (hover:hover){.bk .tabs a:hover{color:var(--ink)}}

/* Phones and tablets: tabs along the top edge, sticky under the header, scrolling sideways with a fade */
@media (max-width:959.98px){
  .bk .tabs{position:sticky;top:calc(64px + env(safe-area-inset-top,0px));z-index:6;margin:0 -16px;background:var(--bg);box-shadow:inset 0 -1px 0 var(--line)}
  .bk .tabrow{display:flex;gap:4px;padding:8px 16px 0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
  .bk .tabrow::-webkit-scrollbar{display:none}
  .bk .tabrow.more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
  .bk .tabrow.more-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px);mask-image:linear-gradient(90deg,transparent,#000 40px)}
  .bk .tabrow.more-l.more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
  .bk .tabs a{flex:none;border-radius:10px 10px 0 0;box-shadow:inset 0 -1px 0 var(--line)}
  .bk .tabs a[aria-current="true"]{box-shadow:inset 1px 0 0 var(--line),inset -1px 0 0 var(--line),inset 0 3px 0 var(--ink)}
  @media (min-width:700px){ .bk .tabs{margin:0 -28px} .bk .tabrow{padding-inline:28px} .bk .clip{margin:0 -28px;padding-inline:28px} }
  .bk .mover{margin-left:4px}
  .bk .clip{overflow:hidden;overflow:clip}
  .bk .slips{margin:0 6px}
}

/* Desktop: the two-page spread. The stage is two pages wide; leaves hinge on the spine in the middle. */
@media (min-width:960px){
  .bk .headwrap,.bk .bookwrap{max-width:1080px}
  .bk .clip{padding:28px 16px 72px}
  .bk .mover{width:calc(var(--W) * 2 + 8px);margin-left:12px}
  .bk .stage{width:calc(var(--W) * 2)}
  .bk .leaf{left:var(--W)}
  .bk .case{left:calc(var(--W) - 2px);border-radius:2px 7px 7px 2px}
  .bk.flat .leaf.lft{left:0}
  .bk.flat .leaf.cov.lft{left:-8px}
  .bk .case::before{display:none}
  .bk.open .case,.bk .open .case{left:-8px;border-radius:7px}
  .bk .edge-b{left:var(--W)}
  .bk .open .edge-b{left:calc(0px - var(--edgeL))}
  .bk .edge-l{display:block;position:absolute;top:2px;bottom:2px;right:100%;width:var(--edgeL);border-radius:2px 0 0 2px;
    background:repeating-linear-gradient(90deg,var(--edge-line) 0 1px,var(--edge) 1px 2px);box-shadow:-1px 0 0 var(--edge-line)}
  .bk .fi{padding:30px 30px 6px 40px}
  .bk .face.back .fi{padding:30px 40px 6px 30px}
  .bk .face.f-endpaper .fi{padding:30px 40px 6px 30px}
  .bk .opener h2{margin-top:28px;font-size:56px}
  .bk .o-tax h2{font-size:48px}
  /* Thumb tabs cut into the right page's fore-edge */
  .bk .tabs{position:absolute;z-index:4;top:28px;left:calc(12px + var(--W) * 2 + 8px)}
  .bk .tabrow{display:flex;flex-direction:column;gap:4px;padding-top:16px}
  .bk .tabs a{justify-content:flex-start;border-radius:0 10px 10px 0;padding:8px 16px 8px 12px;box-shadow:inset 3px 0 4px -3px rgba(0,0,0,.25)}
  .bk .tabs a[aria-current="true"]{box-shadow:var(--lift),inset -3px 0 0 var(--ink)}
  .bk .tabs a:hover{transform:translateX(3px)}
  .bk .cta{max-width:760px}
}

/* Reduce Motion, or no 3D: the same book, pages swap with a fade (book.js sets html.flat) */
.flat .bk .leaf,.bk.flat .leaf{transform:none!important}
.bk.flat .shade{display:none}
.bk.flat .face{-webkit-backface-visibility:visible;backface-visibility:visible;transform:none!important;visibility:hidden}
.bk.flat .face.show{visibility:visible}
.bk.flat .face.fadein{animation:fadein .22s ease-out both}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .bbl,.chl,.rows a,.bk .tabs a,.bk .kkey,.bk .cov-open,.chl .go{transition:none}
  .bk .slip.print{animation:fadein .2s ease-out both}
  .bk .slip.out{animation:none;display:none}
}

.cc-r{display:inline-flex;align-items:center;justify-content:center}
.cc-ic{display:block;margin:2px 0}
/* Short laptop screens: the whole book is drawn a little smaller so a spread fits (book.js sets --fit) */
@media (min-width:960px){ .bk .mover,.bk .tabs{transform-origin:0 0} }
/* …and anything tappable inside it keeps a 44 px target at that size (--inv = 1 / the scale) */
.bk .turn,.bk .cov-open,.bk .bbl,.bk .idx .bl a,.bk .fly a,.bk .s-go,.bk .idx .bn{min-height:calc(44px * var(--inv,1))}

/* Brand badges: copied unchanged from the landing page (site/public/index.html), each brand's own colours and
   lettering where it identifies that brand (a brand exception in rules.md). */
.bb{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;line-height:1;white-space:nowrap;vertical-align:middle}
.bb.zara{background:#000;color:#fff;font-family:"Didot","Bodoni 72","Bodoni MT",Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.12em;padding:4px 7px 3px 8px;font-size:12px}
.bb.uniqlo{background:#E60012;color:#fff;font-family:var(--body);font-weight:800;letter-spacing:.02em;padding:4px 6px;font-size:10.5px}
.bb.massimodutti{background:#3B2F2A;color:#F4EFE9;font-family:var(--body);font-weight:500;letter-spacing:.2em;padding:4px 6px 4px 8px;font-size:9.5px}
.bb.aritzia{background:#F4F1EC;color:#111;border:1px solid #111;font-family:var(--body);font-weight:600;letter-spacing:.24em;padding:3px 5px 3px 7px;font-size:9.5px}
.bb.mango{background:#111;color:#fff;font-family:var(--body);font-weight:800;letter-spacing:.3em;padding:4px 5px 4px 8px;font-size:10px}
.bb.maje{background:#EDE6DC;color:#111;font-family:var(--body);font-weight:500;letter-spacing:.32em;padding:4px 5px 4px 8px;font-size:9.5px}
.bb.sandro{background:#fff;color:#000;box-shadow:inset 0 0 0 1px #000;font-family:"Didot","Bodoni 72","Bodoni MT",Georgia,serif;font-weight:700;letter-spacing:.2em;padding:4px 5px 3px 8px;font-size:11px}
.bb.longchamp{background:#F3EEE6;color:#2B1D14;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.14em;padding:4px 6px 3px 8px;font-size:10.5px}
.bb.acne{background:#F5D6D6;color:#111;font-family:var(--body);font-weight:700;letter-spacing:.04em;padding:4px 6px;font-size:10px}
.bb.apc{background:#fff;color:#000;box-shadow:inset 0 0 0 1px #000;font-family:var(--body);font-weight:800;letter-spacing:.06em;padding:4px 6px;font-size:10.5px}
.bb.valentino{background:#B5121B;color:#fff;font-family:"Didot","Bodoni 72","Bodoni MT",Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:.2em;padding:4px 5px 3px 8px;font-size:10.5px}
.bb.miumiu{background:#E9EEF5;color:#1C1C1C;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.1em;padding:4px 6px 3px 7px;font-size:10.5px}
.bb.prada{background:#000;color:#fff;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.18em;padding:4px 5px 3px 8px;font-size:10.5px}
.bb.ami{background:#fff;color:#000;box-shadow:inset 0 0 0 1px #000;font-family:var(--body);font-weight:800;letter-spacing:.12em;padding:4px 5px 4px 7px;font-size:10px}
.bb.bape{background:#5A6B3B;color:#F6EDCF;font-family:var(--body);font-weight:900;letter-spacing:.06em;padding:4px 6px;font-size:10.5px}
.bb.isseymiyake{background:#EEEEEC;color:#111;box-shadow:inset 0 0 0 1px #CBCBCB;font-family:var(--body);font-weight:400;letter-spacing:.22em;padding:4px 5px 4px 7px;font-size:9.5px}
.bb.gentlemonster{background:#1C1C1C;color:#fff;font-family:var(--body);font-weight:600;letter-spacing:.2em;padding:4px 5px 4px 7px;font-size:9px}
.bb.brandymelville{background:#fff;color:#111;box-shadow:inset 0 0 0 1px #111;font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:.1em;padding:4px 5px 4px 6px;font-size:9.5px}
.bb.onitsukatiger{background:#fff;color:#0B1E3F;box-shadow:inset 0 0 0 1px #0B1E3F;font-family:var(--body);font-weight:700;letter-spacing:.08em;padding:4px 5px 4px 6px;font-size:9.5px}
.bb.burberry{background:#D6C3A0;color:#1A1A1A;font-family:"Didot","Bodoni 72","Bodoni MT",Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.16em;padding:4px 5px 3px 8px;font-size:10.5px}
.bb.loewe{background:#fff;color:#111;box-shadow:inset 0 0 0 1px #111;font-family:"Didot","Bodoni 72","Bodoni MT",Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:.24em;padding:4px 5px 3px 8px;font-size:10.5px}
.bb.bottegaveneta{background:#F2EFE6;color:#1A1A1A;box-shadow:inset 0 0 0 1px #D9D4C7;font-family:var(--body);font-weight:700;letter-spacing:.14em;padding:4px 5px 4px 7px;font-size:10px}
.bb.xl.zara{font-size:26px;padding:9px 16px 7px 18px;border-radius:8px}
.bb.xl.uniqlo{font-size:22px;padding:9px 14px;border-radius:8px}
.bb.xl.massimodutti{font-size:17px;padding:11px 14px 11px 18px;border-radius:8px}
.bb.xl.aritzia{font-size:17px;padding:10px 14px 10px 18px;border-radius:8px}
.bb.xl.mango{font-size:19px;padding:10px 14px 10px 20px;border-radius:8px}
.bb.xl.maje{font-size:17px;padding:11px 14px 11px 20px;border-radius:8px}
.bb.xl.sandro{font-size:22px;padding:9px 14px 8px 18px;border-radius:8px}
.bb.xl.longchamp{font-size:19px;padding:10px 14px 9px 18px;border-radius:8px}
.bb.xl.acne{font-size:18px;padding:10px 14px;border-radius:8px}
.bb.xl.apc{font-size:20px;padding:10px 14px;border-radius:8px}
.bb.xl.valentino{font-size:19px;padding:10px 14px 9px 20px;border-radius:8px}
.bb.xl.miumiu{font-size:20px;padding:10px 14px 9px 16px;border-radius:8px}
.bb.xl.prada{font-size:20px;padding:10px 14px 9px 18px;border-radius:8px}
.bb.xl.ami{font-size:19px;padding:10px 14px 10px 18px;border-radius:8px}
.bb.xl.bape{font-size:21px;padding:9px 14px;border-radius:8px}
.bb.xl.isseymiyake{font-size:16px;padding:11px 14px 11px 20px;border-radius:8px}
.bb.xl.gentlemonster{font-size:15px;padding:11px 14px 11px 20px;border-radius:8px}
.bb.xl.brandymelville{font-size:16px;padding:11px 14px 11px 16px;border-radius:8px}
.bb.xl.onitsukatiger{font-size:16px;padding:11px 14px 11px 16px;border-radius:8px}
.bb.xl.burberry{font-size:20px;padding:10px 14px 9px 18px;border-radius:8px}
.bb.xl.loewe{font-size:20px;padding:10px 14px 9px 20px;border-radius:8px}
.bb.xl.bottegaveneta{font-size:18px;padding:11px 14px 10px 17px;border-radius:8px}

/* Chapter openers: the country's flag (a printed plate on the page) and the chapter's brands as badges.
   Flags: flag-icons (MIT), stored with the page. */
:root{--flag-ring:rgba(0,0,0,.10)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--flag-ring:rgba(255,255,255,.16)}}
:root[data-theme="dark"]{--flag-ring:rgba(255,255,255,.16)}
.flag,.tflag{display:block;flex:none;object-fit:cover;box-shadow:0 0 0 1px var(--flag-ring)}
.flag{width:40px;height:30px;border-radius:4px}
.tflag{width:32px;height:24px;border-radius:3px}
.bbs{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:6px 0 4px}
/* Each badge opens its brand's guide; the tap area is 44 px tall around the badge */
.bbl{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;transition:transform .15s}
.bbl:active{transform:scale(.97)}
@media (hover:hover){.bbl:hover .bb{filter:brightness(1.08)}}
/* Dark paper: near-black badges keep their edge */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .bbs .bb{outline:1px solid var(--flag-ring);outline-offset:0}}
:root[data-theme="dark"] .bbs .bb{outline:1px solid var(--flag-ring);outline-offset:0}
html:not(.bk) .bbs .bb.xl,.bk .merged .bbs .bb.xl{font-size:13px;padding:6px 8px 5px 10px;border-radius:6px}
.bmore{color:var(--muted);font-size:15px}
.bk .opener .flag{margin:0}
.bk .opener h2{margin-top:20px}
.bk .face:not(.merged) .opener:not(.o-tax){display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;flex:1}
.bk .face:not(.merged) .opener:not(.o-tax)>*{flex:none}
.bk .face:not(.merged) .opener .flag{width:112px;height:84px;border-radius:5px}
.bk .face:not(.merged) .opener h2{margin-top:28px}
.bk .face:not(.merged) .opener .bbs{order:2;margin:auto 0 8px;padding-top:24px;gap:4px 10px}
.bk .face:not(.merged) .opener .cnt{order:1;margin-top:8px}
.bk .merged .opener{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px}
.bk .merged .opener .flag{width:48px;height:36px}
.bk .merged .opener h2{margin:0}
.bk .merged .opener .cnt{order:1;flex:1 1 100%;margin:4px 0 0}
.bk .merged .opener .bbs{order:2;margin:6px 0 10px}

/* Phones: three badges, then "and N more" (desktop shows them all) */
/* The brand index: each brand as its badge */
.idx .bl{column-gap:14px;row-gap:0}
.idx .bn{display:flex;align-items:center;min-height:44px;padding-top:0}
.idx .bb.xl{font-size:13px;padding:6px 8px 5px 10px;border-radius:6px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .idx .bb{outline:1px solid var(--flag-ring)}}
:root[data-theme="dark"] .idx .bb{outline:1px solid var(--flag-ring)}
/* Badge and guides on one line, wrapping only when they don't fit (a fixed badge column left the links too narrow) */
article .idx li{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;padding:2px 0}
.idx .bl{display:contents}

/* The page's anchors from before the book (#paris, #london, #refunds) sit inside the chapters they became */
.anchor{position:absolute;width:0;height:0;scroll-margin-top:80px}
/* Fade turns (Reduce Motion, no 3D support, ?book3d=0): the pages slide a little with the finger, then fade over or settle back */
.bk.flat .stage.sliding{transition:none}
.bk.flat .stage.settle{transition:transform .18s ease-out,opacity .18s ease-out}
/* Phones: an arrow at each end of the tab row that has more tabs past it (the fade alone went unnoticed); a tap
   scrolls the row. book.js adds them and shows each only while there's more that way. */
.tabmore{display:none}
@media (max-width:959.98px){
  .bk .tabs{position:sticky}
  .bk .tabmore{display:flex;align-items:center;justify-content:center;position:absolute;bottom:0;width:44px;height:44px;margin-bottom:0;border:0;padding:0;
    font:inherit;font-size:24px;line-height:1;color:var(--ink);cursor:pointer;z-index:2;background:transparent;-webkit-tap-highlight-color:transparent}
  .bk .tabmore[hidden]{display:none}
  .bk .tabmore.r{right:0;background:linear-gradient(90deg,transparent,var(--bg) 45%)}
  .bk .tabmore.l{left:0;background:linear-gradient(270deg,transparent,var(--bg) 45%)}
  .bk .tabmore span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:var(--surface);box-shadow:var(--lift)}
  .bk .tabmore:active span{transform:scale(.94)}
}
/* A page that carries on a chapter (phones paginate long chapters onto pages of one fixed size) */
.bk .contd{margin:0 0 8px;color:var(--muted);font-size:15px;font-weight:600}
/* Phones: a compact kiosk, so one page height fits the screen under the tabs (the kiosk is the one block that
   can't move to another page, so it sets the page height) */
@media (max-width:959.98px){
  .bk .clip{padding-top:12px}
  .bk .p-kiosk{padding-top:0}
  .bk .sign{padding:6px 14px;font-size:15px}
  .bk .kiosk .body{padding:8px 10px 0;border-radius:18px 18px 10px 10px}
  .bk .screen{padding:8px 8px 6px}
  .bk .q{margin:0 0 4px;font-size:13px}
  .bk .keys{gap:6px}
  .bk .kkey{min-height:48px;padding:2px;gap:1px}
  .bk .kkey .kc{font-size:20px}
  .bk .kkey .kn{font-size:13px}
  .bk .p-kiosk{margin-bottom:4px}
  .bk .slot{height:12px;margin:4px 14px 0}
  .bk .slips{margin:0 6px;padding:0 4px}
  .bk .slip{padding:10px 14px 16px}
  .bk .slip .s-ap{font-size:15px}
  .bk .slip .s-ap span{font-size:13px}
  .bk .s-desk{margin-top:6px!important;padding:5px 0}
  .bk .s-ans{margin-top:6px!important;line-height:1.4}
}
@media (max-width:959.98px){ .bk .merged .o-tax h2{font-size:28px;margin-top:10px} .bk .merged .o-tax .rows{margin-top:12px} }
/* Pages already turned past (fade turns) let taps through to the open page */
.bk.flat .leaf{pointer-events:none}
.bk.flat .face.show{pointer-events:auto}
/* A chapter row's compact form: only on a compact phone page (book.js) */
.pc,.fly .fs{display:none}
.bk .compact .opener .bbs,.bk .compact .opener .bmore{display:none}
.bk .compact .rows a{min-height:48px;padding:4px 4px}
.bk .compact .rows .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bk .compact .pc{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:10px}
.bk .compact .pb{display:flex;flex-wrap:wrap;gap:6px;flex:0 1 auto}
.bk .compact .pb .bb.xl{font-size:13px;padding:6px 8px 5px 10px;border-radius:6px}
.bk .compact .pl{font-size:15px;font-weight:600;color:var(--ink)}
.bk .compact .pv{flex:none;white-space:nowrap;font-size:15px;font-weight:500;color:var(--prompt)}   /* a tap prompt: brand green on light, ink on dark (bright green means good news) */
.bk .compact .rows .go{margin-left:-4px}
@media (max-width:374.98px){ .bk .compact .pc{gap:6px} .bk .compact .pv{font-size:13px} .bk .compact .rows a{gap:6px} }
@media (max-width:340px){ .bk .compact .rows .go{display:none} .bk .compact .pv{flex:0 1 auto;white-space:normal;text-align:right;line-height:1.15} }   /* 320 px screens: the words are the cue, on two lines if need be */
.bk .compact .fly .fl{display:none}
.bk .compact .fly .fs{display:inline;flex:0 0 auto;padding:0}
.bk .compact .fly{column-gap:14px;margin-top:6px}
.bk .compact .merged .opener h2,.bk .compact.merged .opener h2{font-size:24px}
.bk .compact.merged .opener .cnt{margin:2px 0 0}
/* The brand index's M (Maje) list joins the list before it */
.bk .p-index2 .idx{border-top:0}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .bk .compact .pb .bb{outline:1px solid var(--flag-ring)}}
:root[data-theme="dark"] .bk .compact .pb .bb{outline:1px solid var(--flag-ring)}
/* Compact contents (phones): the countries as a two-column grid of flag and name; the other lines lose their subtitle */
.bk .compact .toc .chl .br{display:none}
.bk .compact .toc:not(.toc2):not(.toc3){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;border-bottom:0}
.bk .compact .toc:not(.toc2):not(.toc3)>.ch{border-top:1px solid var(--line)}
.bk .compact .toc:not(.toc2):not(.toc3) .pnum,.bk .compact .toc:not(.toc2):not(.toc3) .go{display:none}
.bk .compact .toc .chl{min-height:48px;padding:4px 2px;gap:10px}
.bk .compact .toc .cn b{font-size:15px}
.bk .compact .toc2,.bk .compact .toc3{border-top:1px solid var(--line)}
.bk .compact .toc3{margin-top:0;border-top:0}
.bk .compact .part-h{margin:10px 0 4px}
/* Compact brand index (phones): one page, the 17 badges in a wrapping grid, each opening its brand's guide */
.bk .compact .p-index,.bk .compact .p-index2{display:inline;margin:0;padding:0}
.bk .compact .p-index h2,.bk .compact .p-index .cnt{display:block}
.bk .compact .idx{display:inline;border:0;padding:0}
.bk .compact .idx li{display:inline-flex;border:0;padding:0;margin:0 8px 0 0;vertical-align:top}
.bk .compact .idx .bl{display:none}
.bk .compact .p-index .cnt{display:none}
.bk .compact .p-index h2{margin-bottom:8px}
/* 21 badges since 24 Nov 2026: a tighter grid so the compact brand index stays no taller than the kiosk page */
.bk .compact .idx li{margin:0 5px 0 0}
.bk .compact .idx .bb.xl{font-size:12px;padding:5px 6px 4px 7px}
/* 320 px: the longest badge, Bottega Veneta, tighter so "See savings" stays on one line beside it (1 Dec 2026). */
@media (max-width:340px){ .bk .compact .bb.xl.bottegaveneta{letter-spacing:.06em;padding-left:12px;padding-right:10px} }
