/* P01 / H01-H13. Upper Home header, hero and search retain their original rules. */
body[data-design-page="index"] .app-shell > :is(.lanes,.nearby,.today,.home-lane-band,.guide-band,.eat,.seasonal,.news,.passport,.sponsor,.latest) { margin-block: 26px 0; }
body[data-design-page="index"] .app-shell > .lanes { margin-block-start: 18px; padding-block: 0; }
body[data-design-page="index"] .section-heading { margin-block-end: 15px; }
body[data-design-page="index"] .section-heading :is(h2,h3) { font-size: clamp(1.125rem, 4.8vw, 1.4rem); line-height: 1.6; }
body[data-design-page="index"] .section-heading--row { gap: 10px; align-items: baseline; }
body[data-design-page="index"] .section-heading--row h2 { min-width: 0; }
body[data-design-page="index"] .link-more { font-size: .875rem; line-height: 1.5; min-height: 44px; display: inline-flex; align-items: center; }
body[data-design-page="index"] :is(.place-card,.home-lane-card,.guide-card,.seasonal-lead,.seasonal-side,.news-lead,.passport-card,.latest-card) { border: 1px solid var(--ad-border); border-radius: var(--ad-radius); background: var(--ad-surface); box-shadow: var(--ad-shadow); }
/* Intent icons have individual semantic labels and usable destinations. */
/* Heading box leaves room for the absolutely positioned sparkle so long EN headings never push it off-screen. */
body[data-design-page="index"] .lanes .section-heading { margin-inline-start: 19px; margin-block-end: 3px; max-width: calc(100% - 38px - 2rem); }
body[data-design-page="index"] .lanes .section-heading h2 { font-size: clamp(1.7rem, 7.6vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; padding-block-start: .2rem; }
body[data-design-page="index"] .lanes .section-swash { width: 4.6rem; height: 1rem; stroke-width: 3.4; margin-block-start: .1rem; }
body[data-design-page="index"] .lanes .section-sparkle { width: 1.75rem; height: 1.75rem; stroke-width: 3; }
body[data-design-page="index"] .lanes .lane-scroller { gap: 9px 14px; padding-inline: 19px; }
body[data-design-page="index"] .lanes .lane-button { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; padding: 0; gap: 8px; border: 0; background: transparent; box-shadow: none; }
body[data-design-page="index"] .lanes .lane-icon { position: relative; display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 1.09; overflow: hidden; border: 0; border-radius: 32%; box-shadow: none; }
/* Wide glyphs fill ~68% of the tile like the mockup; the tall cup is boxed smaller so it does not outgrow its neighbours.
 * The art is taken out of flow so the tile keeps its width + aspect-ratio size whatever the raster's box is. */
body[data-design-page="index"] .lanes .lane-icon .lane-art { position: absolute; inset: 0; margin: auto; display: block; width: 96%; height: 96%; object-fit: contain; }
body[data-design-page="index"] .lanes .lane-button--coffee .lane-icon .lane-art { width: 80%; height: 80%; }
body[data-design-page="index"] .lanes .lane-button--merit .lane-icon .lane-art { width: 84%; height: 84%; }
body[data-design-page="index"] .lanes .lane-button--photo .lane-icon .lane-art { width: 86%; height: 86%; }
body[data-design-page="index"] .lanes .lane-icon .icon { width: 62%; height: 62%; stroke-width: 2.8; }
body[data-design-page="index"] .lanes .lane-button > span:last-child { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; text-align: center; overflow-wrap: anywhere; }
body[data-design-page="index"] .lanes .lane-button--food .lane-icon { background: #fdcaa8; }
/* Cream tile: the mockup's #f8efde sits on a lighter ground; on the app canvas it needs a touch more depth to stay a card. */
body[data-design-page="index"] .lanes .lane-button--coffee .lane-icon { background: #f5ead4; }
body[data-design-page="index"] .lanes .lane-button--chill .lane-icon { background: #bce2dd; }
body[data-design-page="index"] .lanes .lane-button--merit .lane-icon { background: #fad488; }
body[data-design-page="index"] .lanes .lane-button--oldtown .lane-icon { background: #dcd6f3; }
body[data-design-page="index"] .lanes .lane-button--photo .lane-icon { background: #c7dcc1; }
/* H02: manual browse with a visible next card. No timer or artificial pause control. */
body[data-design-page="index"] .nearby .answer-list {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-inline: contain;
  padding: 0 var(--space-gutter) 8px; scroll-padding-inline: var(--space-gutter); scrollbar-width: none;
  container-type: normal; touch-action: pan-x pan-y pinch-zoom;
}
body[data-design-page="index"] .nearby .section-heading { margin-block-end: 6px; }
body[data-design-page="index"] .nearby .section-heading--row { align-items: center; }
body[data-design-page="index"] .nearby .section-swash { color: #c85230; }
body[data-design-page="index"] .nearby .nearby-heading-ripple { stroke: #c85230; }
body[data-design-page="index"] .nearby .link-more { color: #c85230; font-weight: 700; font-size: .78rem; text-decoration: none; gap: 4px; margin-inline-end: -10px; padding-inline: 10px 10px; }
body[data-design-page="index"] .nearby .link-more .icon { width: .85rem; height: .85rem; }
body[data-design-page="index"] .nearby .answer-list { grid-auto-columns: 87%; gap: 8px; padding-bottom: 0; }
body[data-design-page="index"] .answer-row { scroll-snap-align: start; height: auto; overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 4px 14px rgb(99 63 33 / 7%); }
body[data-design-page="index"] .answer-row .place-link { display: grid; grid-template-columns: 1fr; gap: 0; height: 100%; }
body[data-design-page="index"] .answer-row .place-photo { position: relative; aspect-ratio: 1.4; min-height: 0; border-radius: 0; }
body[data-design-page="index"] .answer-row .place-photo img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
/* Position counter: real index of the card among the visible ones, decorative for AT (the list is the accessible structure). Glass plate like the mockup. */
body[data-design-page="index"] .answer-row .answer-count { position: absolute; right: 11px; bottom: 8px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 14px; background: rgb(22 20 14 / 55%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--color-surface); font: 700 .75rem / 1 var(--font-body); letter-spacing: .02em; pointer-events: none; }
body[data-design-page="index"] .answer-row .place-body { padding: 14px 12px 9px; align-content: start; gap: 4px; }
body[data-design-page="index"] .answer-row .place-name { display: block; font-size: 1.06rem; white-space: normal; overflow: visible; line-height: 1.4; color: #04403f; }
body[data-design-page="index"] .answer-row .answer-why { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .74rem; line-height: 1.5; color: #59636b; }
body[data-design-page="index"] .answer-row .place-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-top: 1px; font-size: .78rem; }
body[data-design-page="index"] .answer-row .chip--open { padding: 2px 9px; border-radius: 999px; background: #d6e3d6; color: #146244; font-size: .7rem; font-weight: 700; line-height: 1.5; }
/* Heart keeps its 44px target; the visible disc is 38px and hugs the corner like the mockup. */
body[data-design-page="index"] .answer-row .save-heart { top: 6px; right: 4px; bottom: auto; transform: none; width: 44px; height: 44px; background: transparent; box-shadow: none; }
body[data-design-page="index"] .answer-row .save-heart::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ad-surface); }
body[data-design-page="index"] .answer-row .save-heart .icon { position: relative; z-index: 1; }
/* Map door: one compact strip — icon tile | title + one-line note | ดูแผนที่ → */
body[data-design-page="index"] .map-card { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 9px 12px 9px 11px; margin-top: 20px; border: 0; border-radius: 11px; background: var(--ad-surface); box-shadow: 0 4px 14px rgb(99 63 33 / 7%); }
body[data-design-page="index"] .map-doodle { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 11px; background: #e6eee8; }
body[data-design-page="index"] .map-doodle svg { width: 28px; height: 28px; }
body[data-design-page="index"] .map-copy { display: contents; }
body[data-design-page="index"] .map-copy > strong { grid-column: 2; grid-row: 1; border-left: 1px solid var(--ad-border); padding-left: 12px; font-size: .9rem; line-height: 1.35; color: #04403f; }
body[data-design-page="index"] .map-copy > span:not(.map-go) { grid-column: 2; grid-row: 2; border-left: 1px solid var(--ad-border); padding-left: 12px; font-size: .7rem; line-height: 1.5; color: #59636b; }
body[data-design-page="index"] .map-copy > .map-go { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; padding-left: 4px; color: #c85230; font-size: .75rem; font-weight: 700; white-space: nowrap; }
/* H03 retains distinct weather and emergency destinations. */
body[data-design-page="index"] .today { display: grid; gap: 8px; }
body[data-design-page="index"] .today-card { display: block; position: relative; padding: 12px 30px 12px 16px; border: 0; border-radius: 16px; background: #fefaf4; box-shadow: 0 1px 3px rgb(70 45 25 / 6%); }
body[data-design-page="index"] .today-row { display: flex; align-items: center; gap: 12px; }
body[data-design-page="index"] .today-figure { display: flex; gap: 14px; align-items: center; flex-wrap: nowrap; margin: 0; }
/* The sun, the chevron and the SOS arrow are decorative marks drawn from CSS; the locked markup and its accessible text stay untouched. */
body[data-design-page="index"] .today-figure::before { content: ""; flex: none; width: 47px; height: 47px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23c6593a' stroke-width='3.2' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='12' fill='%23c6593a' stroke='none'/%3E%3Cpath d='M24 3v6M24 39v6M3 24h6M39 24h6M9.2 9.2l4.2 4.2M34.6 34.6l4.2 4.2M9.2 38.8l4.2-4.2M34.6 13.4l4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .today-card::after { content: ""; position: absolute; right: 10px; top: 28px; width: 10px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23165251' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .today-temp { font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
body[data-design-page="index"] .today-sep { display: none; }
body[data-design-page="index"] .today-aqi { display: inline-flex; align-items: center; align-self: center; height: 37px; gap: 8px; margin-left: 4px; padding-left: 14px; border-left: 1.5px solid #c5d4bc; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
body[data-design-page="index"] .today-aqi .aqi-tag { padding: 4px 8px; border-radius: 10px; background: #d1dfc9; color: #0d4c48; font-size: 1rem; font-weight: 700; line-height: 1.25; }
body[data-design-page="index"] .today-hint { margin-top: 8px; font-size: .9rem; font-weight: 600; line-height: 1.5; color: #114f4b; }
body[data-design-page="index"] .sos-card { position: relative; grid-template-columns: 39px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 56px; padding: 8px 34px 8px 12px; border: 1px solid #e3b0ad; border-radius: 16px; background: #fefaf4; box-shadow: none; }
body[data-design-page="index"] .sos-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #fbebe6; color: #a4213a; }
body[data-design-page="index"] .sos-mark .icon { width: 29px; height: 29px; }
body[data-design-page="index"] .sos-text { font-size: 1.02rem; font-weight: 700; line-height: 1.3; color: #a4213a; }
body[data-design-page="index"] .sos-card .sos-chevron { position: absolute; right: 13px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: #a4213a; stroke-width: 2.4; }
/* H04: lead route followed by compact route rows, in canonical order. */
/* H04 heading: big title with the brush wave ABOVE it, muted daypart line, coral see-all with arrow. */
body[data-design-page="index"] .home-lane-band .section-heading { align-items: baseline; margin-block-end: 4px; }
body[data-design-page="index"] .home-lane-heading__copy { padding-top: .55rem; gap: .1rem; }
body[data-design-page="index"] .home-lane-band .section-heading h2 { font-size: 1.35rem; line-height: 1.25; color: #003d42; }
/* One S-curve brush mark above the title (the second authored arc is hidden). */
body[data-design-page="index"] .home-lane-heading__swash { inset-block-start: auto; inset-block-end: calc(100% + .5rem); width: 49px; height: 11px; overflow: visible; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49 11' fill='none' stroke='url(%23w)' stroke-width='2.4' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23c68265'/%3E%3Cstop offset='1' stop-color='%23c68265' stop-opacity='.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 8C9 2 19 1.5 26 5.5 33 9.5 42 10 47 5'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .home-lane-heading__swash path { display: none; }
body[data-design-page="index"] .home-lane-heading__daypart { max-width: none; font-size: .95rem; line-height: 1.4; color: #848b8f; }
body[data-design-page="index"] .home-lane-band .link-more { color: #b04727; font-weight: 700; gap: 4px; padding: 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(50% + .68em) / 100% 1.2px no-repeat; align-items: center; }
body[data-design-page="index"] .home-lane-band .link-more .icon { width: 1rem; height: 1rem; }
body[data-design-page="index"] .home-lane-grid { display: grid; grid-template-columns: 1fr; gap: 10px; overflow: visible; }
body[data-design-page="index"] .home-lane-grid > li { height: auto; width: auto; }
body[data-design-page="index"] .home-lane-card { position: relative; grid-template-columns: 136px minmax(0,1fr); grid-template-rows: auto; min-height: 80px; border: 0; border-radius: 13px; background: #fefaf4; box-shadow: 0 2px 8px rgb(120 80 50 / 7%); }
body[data-design-page="index"] .home-lane-card__photo { position: static; overflow: hidden; border-radius: 12px; height: 80px; min-height: 0; }
body[data-design-page="index"] .home-lane-card__body { position: relative; padding: 31px 30px 8px 12px; gap: 1px; grid-template-columns: minmax(0, 1fr); align-content: center; justify-content: start; justify-items: start; text-align: start; }
body[data-design-page="index"] .home-lane-card__route { justify-self: start; width: 100%; text-align: start; }
body[data-design-page="index"] .home-lane-card__route > span { display: block; }
/* Chevron at the right of every route card body, coral like the mockup. */
body[data-design-page="index"] .home-lane-card__body::after { content: ""; position: absolute; right: 13px; top: 50%; width: 8.5px; height: 14px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23b65437' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .home-lane-card__route > span:first-child { font-size: .84rem; line-height: 1.35; letter-spacing: -.02em; color: #003d42; }
body[data-design-page="index"] .home-lane-card__route > span:last-child { font-size: .85rem; line-height: 1.4; color: #7c858c; }
/* Category chip fills exactly as the accepted mockup maps them. */
body[data-design-page="index"] .home-lane-card[data-home-lane="food"] .home-lane-card__photo strong { background: #fbdcbf; }
body[data-design-page="index"] .home-lane-card[data-home-lane="temple"] .home-lane-card__photo strong { background: #dfe5da; }
body[data-design-page="index"] .home-lane-card[data-home-lane="nature"] .home-lane-card__photo strong { background: #cde4e7; }
body[data-design-page="index"] .home-lane-card[data-home-lane="chill"] .home-lane-card__photo strong { background: #f3d6ba; }
body[data-design-page="index"] .home-lane-card__route > span { white-space: normal; overflow: visible; }
body[data-design-page="index"] [data-home-route-name] { font-size: .86rem; line-height: 1.3; letter-spacing: -.01em; }
body[data-design-page="index"] [data-home-route-meta] { font-size: .8rem; margin-top: 2px; line-height: 1.4; color: #7c858c; }
body[data-design-page="index"] .home-lane-grid > li:not(:first-child) .home-lane-card__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transform-origin: center; }
body[data-design-page="index"] .home-lane-card__ornament { display: none; }
/* Row chips sit in the body above the name (the card is the containing block once the photo is static). */
body[data-design-page="index"] .home-lane-card__photo strong { inset-inline: calc(136px + 12px) auto; inset-block: 9px auto; max-width: calc(100% - 200px); padding: 2px 10px; border-radius: 999px; color: var(--color-ink); white-space: nowrap; line-height: 1.5; font-size: .72rem; font-weight: 700; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card { grid-template-columns: 1fr; grid-template-rows: auto auto; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__photo { position: relative; aspect-ratio: 2.35; height: auto; min-height: 0; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__photo { border-radius: 0; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__photo strong { inset-inline: 12px auto; inset-block: 12px auto; max-width: calc(100% - 24px); font-size: .72rem; padding: 2px 10px; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__body { padding: 9px 40px 12px 16px; gap: 2px; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__route > span:first-child { font-size: 1.12rem; line-height: 1.3; letter-spacing: 0; }
body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__route > span:last-child { font-size: .88rem; }
body[data-design-page="index"] .home-lane-heading__daypart { max-width: none; font-size: .8rem; color: #767e83; }
/* H05-H08 use full card bodies, not a clipped first-row sample. */
body[data-design-page="index"] .guide-grid { gap: 12px; }
/* H05: big title with the brush wave above it; six equal photo tiles, label band centred. */
body[data-design-page="index"] .guide-band .section-heading { margin-inline-start: 20px; margin-block-end: 6px; }
body[data-design-page="index"] #guide-band-title { position: relative; padding-top: 1.05rem; font-size: 1.25rem; line-height: 1.2; color: #00221f; }
body[data-design-page="index"] #guide-band-title::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 9' fill='none' stroke='url(%23w)' stroke-width='2.6' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23c25c3e'/%3E%3Cstop offset='1' stop-color='%23c25c3e' stop-opacity='.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 7C10 1 26 1 34 5.5'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .guide-track { gap: 7px; align-items: stretch; }
body[data-design-page="index"] .guide-track > li { display: grid; }
body[data-design-page="index"] .guide-card { height: 100%; grid-template-rows: auto 1fr; gap: 0; align-content: stretch; overflow: hidden; border-color: transparent; border-radius: 9px; background: #fefaf4; box-shadow: 0 2px 6px rgb(59 32 18 / 13%); }
body[data-design-page="index"] .guide-card img { aspect-ratio: 1.2; height: auto; object-fit: cover; }
body[data-design-page="index"] .guide-card :is(strong,span) { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 10px; font-size: .72rem; line-height: 1.25; white-space: normal; text-wrap: balance; text-align: center; color: #00221f; }
/* H06: big title with the wave above, coral see-all with chevron, slim filter pills, 2x2 photo cards with dot/price meta lines, stay door strip. */
body[data-design-page="index"] .app-shell > .eat { margin-block-start: -11px; }
body[data-design-page="index"] .eat .section-heading { margin-block-end: 0; }
body[data-design-page="index"] .eat .section-heading--row { align-items: center; gap: 6px; }
body[data-design-page="index"] .eat .section-heading h2 { position: relative; padding-top: .75rem; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; color: #023a3c; }
body[data-design-page="index"] .eat .section-heading h2::before { content: ""; position: absolute; left: 4px; top: 0; width: 44px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 8' fill='none' stroke='url(%23w)' stroke-width='2.8' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23d17253'/%3E%3Cstop offset='.6' stop-color='%23d17253'/%3E%3Cstop offset='1' stop-color='%23d17253' stop-opacity='.4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 6C8 1 16 1 22 4 28 7 36 7 42 3'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .eat .link-more { color: #c95c3f; font-weight: 700; text-decoration: none; gap: 4px; }
body[data-design-page="index"] .eat .link-more::after { content: ""; width: 8px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23c95c3f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .eat .place-scroller { gap: 12px; }
body[data-design-page="index"] .eat .filter-row { margin: -5px 0 4px; }
/* The rail fills the section box: no inherited scroll padding or width cap, so the 2x2 grid reaches the same right edge as the pills and the stay strip. */
body[data-design-page="index"] .eat .card-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; width: auto; max-width: none; margin-inline: var(--space-gutter); padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
body[data-design-page="index"] .eat .card-rail > li { width: 100%; min-width: 0; max-width: none; height: auto; }
body[data-design-page="index"] .eat .place-link { height: 100%; grid-template-columns: 1fr; }
body[data-design-page="index"] .eat .place-card { overflow: hidden; border-radius: 18px; }
body[data-design-page="index"] .eat .place-photo { aspect-ratio: 1.45; }
body[data-design-page="index"] .eat .place-body { padding: 7px 12px 5px; gap: 0; }
body[data-design-page="index"] .eat .place-name { white-space: normal; line-height: 1.25; font-size: .9rem; display: block; overflow: visible; margin: 0 0 4px; color: #023a3c; }
/* Meta lines stack (the grid puts the chip and the following text run on separate rows); the open chip becomes a green dot + text. */
body[data-design-page="index"] .eat .place-meta { display: grid; gap: 2px; justify-items: start; font-size: .78rem; line-height: 1.4; color: var(--color-ink); }
body[data-design-page="index"] .eat .place-meta > * { justify-self: start; width: auto; max-width: 100%; }
body[data-design-page="index"] .eat .place-meta .chip--open { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; color: var(--color-ink); font-weight: 600; }
body[data-design-page="index"] .eat .place-meta .chip--open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3bab53; }
body[data-design-page="index"] :is(.eat,.news) .filter-row { gap: 8px; }
body[data-design-page="index"] .eat .filter-row { gap: 6px; }
body[data-design-page="index"] .eat .filter-chip { min-height: 30px; padding: 3px 11px; border: 1px solid #f3e7db; background: #fef8f0; color: var(--color-ink); font-size: .86rem; font-weight: 600; }
body[data-design-page="index"] .eat .save-heart { top: 3px; right: 2px; width: 44px; height: 44px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body[data-design-page="index"] .eat .save-heart::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
body[data-design-page="index"] .eat .save-heart .icon { position: relative; z-index: 1; width: 19px; height: 19px; stroke-width: 2.2; }
body[data-design-page="index"] .eat .filter-chip[aria-pressed="true"] { border-color: #0b4a48; background: #0b4a48; color: var(--color-surface); }
body[data-design-page="index"] .filter-chip { min-height: 44px; }
body[data-design-page="index"] .eat .filter-chip { min-height: 30px; }
body[data-design-page="index"] .eat .home-door { display: grid; grid-template-columns: 55% minmax(0,1fr) 10px; gap: 0 10px; align-items: center; min-height: 108px; margin: 12px var(--space-gutter) 0; padding: 0 12px 0 0; border: 0; border-radius: 16px; background: #fefbf6; box-shadow: 0 2px 8px rgb(120 80 50 / 7%); }
body[data-design-page="index"] .eat .home-door::after { content: ""; width: 10px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23c75c3f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .eat .home-door > img { width: 100%; height: 108px; min-height: 0; aspect-ratio: auto; object-fit: cover; }
body[data-design-page="index"] .eat .home-door__copy { padding: 10px 0; gap: 3px; }
body[data-design-page="index"] .eat .home-door__copy strong { display: flex; align-items: center; gap: 8px; font-size: 1.45rem; line-height: 1.2; color: #023a3c; }
body[data-design-page="index"] .eat .home-door__copy strong::before { content: ""; flex: none; width: 36px; height: 36px; margin: -3px 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606a44' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5 12 3l8 7.5V20.5H4z'/%3E%3Cpath d='M9.5 20.5v-6h5v6z' fill='%23ce6847' stroke='%23ce6847'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .eat .home-door__copy span { font-size: .7rem; line-height: 1.42; color: var(--color-ink); word-break: keep-all; overflow-wrap: normal; }
body[data-design-page="index"] .eat .home-door > .icon { display: none; }
/* H07: big title with the wave above; tall-photo lead card with kicker pill, headline, note and chevron; photo-left side card. */
body[data-design-page="index"] .seasonal .section-heading { margin-inline-start: 0; margin-block-end: 0; }
body[data-design-page="index"] .seasonal .section-heading h2 { position: relative; padding-top: .85rem; margin-bottom: -3px; font-size: 1.2rem; line-height: 1.15; color: #023a3c; }
body[data-design-page="index"] .seasonal .section-heading h2::before { content: ""; position: absolute; left: 3px; top: 0; width: 50px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49 11' fill='none' stroke='url(%23w)' stroke-width='2.4' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23c25c3e'/%3E%3Cstop offset='1' stop-color='%23c25c3e' stop-opacity='.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 8C9 2 19 1.5 26 5.5 33 9.5 42 10 47 5'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .seasonal .section-swash { display: none; }
body[data-design-page="index"] .seasonal-lead { border-radius: 15px; box-shadow: 0 1px 4px rgb(70 45 25 / 5%); }
body[data-design-page="index"] .seasonal-photo { display: block; aspect-ratio: 1.76; overflow: hidden; }
body[data-design-page="index"] .seasonal-photo img { width: 100%; height: 100%; object-fit: cover; }
body[data-design-page="index"] .seasonal-body { position: relative; padding: 6px 14px 10px 14px; gap: 2px; justify-items: start; }
body[data-design-page="index"] .seasonal .news-kicker { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #f8e1cd; color: #b35133; font-size: .69rem; font-weight: 700; line-height: 1.5; }
body[data-design-page="index"] .seasonal .news-headline { font-size: .98rem; line-height: 1.3; letter-spacing: 0; }
body[data-design-page="index"] .seasonal-line { font-size: .79rem; line-height: 1.45; color: #899399; overflow-wrap: normal; word-break: normal; padding-right: 44px; }
body[data-design-page="index"] :is(.seasonal-body, .seasonal-side__body)::after { content: ""; position: absolute; right: 11.5px; top: 50%; width: 11px; height: 17px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23b65437' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .seasonal-side { display: grid; margin-top: 0; padding: 0; gap: 0; overflow: hidden; grid-template-columns: 164px minmax(0,1fr); border-radius: 15px; box-shadow: 0 1px 4px rgb(70 45 25 / 5%); }
body[data-design-page="index"] .seasonal-side__photo { width: auto; height: 100%; min-height: 0; aspect-ratio: 1.64; overflow: hidden; border-radius: 15px 10px 10px 15px; }
body[data-design-page="index"] .seasonal-side__photo img { display: block; width: 100%; height: 100%; min-height: 0; border-radius: 0; object-fit: cover; }
body[data-design-page="index"] .seasonal-side__body { position: relative; display: grid; gap: 5px; align-content: start; align-self: start; justify-items: start; padding: 12px 20px 10px 12px; }
body[data-design-page="index"] .seasonal-side__body::after { right: 10px; }
body[data-design-page="index"] .seasonal-side .news-kicker { background: #d5e6e4; color: #0b5359; padding-inline: 6px; }
body[data-design-page="index"] .seasonal-side .news-headline { font-size: .92rem; line-height: 1.3; }
/* H08: wave above the title, coral underlined see-all, coral/mint pills, lead card with count pill + chevron, row list with kind marks. */
body[data-design-page="index"] .news .section-heading { margin-block-end: 0; }
body[data-design-page="index"] .news .section-heading--row { align-items: baseline; gap: 6px; }
body[data-design-page="index"] .news .section-heading h2 { position: relative; padding-top: .8rem; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; color: #003e43; }
body[data-design-page="index"] .news .filter-row { margin: 0 0 11px; padding-block: 0; gap: 7px; }
body[data-design-page="index"] .news-lead { margin-top: 0; }
body[data-design-page="index"] .news .section-heading h2::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 9' fill='none' stroke='url(%23w)' stroke-width='2.4' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23c25c3e'/%3E%3Cstop offset='1' stop-color='%23c25c3e' stop-opacity='.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 7C9 1 18 1 25 4.5 32 8 40 8 46 3'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .news .link-more { color: #ba5431; font-weight: 700; font-size: .72rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(50% + .68em) / 100% 1.5px no-repeat; padding: 0; gap: 5px; align-items: center; }
body[data-design-page="index"] .news .link-more .icon { width: 1.15rem; height: 1rem; stroke-width: 2.4; }
body[data-design-page="index"] .news .filter-chip { min-height: 32px; padding: 4px 12px; border: 1px solid #eeefe6; background: #eeefe6; color: #094c50; font-size: .78rem; font-weight: 700; }
body[data-design-page="index"] .news .filter-chip[aria-pressed="true"] { border-color: #ba5431; background: #ba5431; color: var(--color-surface); }
body[data-design-page="index"] .news-lead { overflow: hidden; border: 0; border-radius: 11px; box-shadow: 0 1px 2px rgb(60 40 20 / 6%), 0 2px 6px rgb(60 40 20 / 5%); }
body[data-design-page="index"] .news-lead .news-photo { display: block; position: relative; aspect-ratio: 1.79; overflow: hidden; }
body[data-design-page="index"] .news-lead .news-photo img { width: 100%; height: 100%; object-fit: cover; }
body[data-design-page="index"] .news-lead .event-count { top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px; background: #fddfc5; color: var(--color-ink); font-size: .8rem; font-weight: 700; line-height: 1.5; box-shadow: none; }
body[data-design-page="index"] .news-lead .news-headline { color: #003e43; }
body[data-design-page="index"] .news-list { margin-top: 10px; }
body[data-design-page="index"] .news-lead .news-body { position: relative; display: grid; gap: 0; padding: 10px 40px 12px 14px; }
body[data-design-page="index"] .news-lead .news-body::after, body[data-design-page="index"] .news-list .news-item::after { content: ""; position: absolute; right: 13px; top: 50%; width: 8px; height: 14px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23b85232' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .news-list .news-item::after { right: 0; }
body[data-design-page="index"] .news .news-kicker { font-size: .8rem; font-weight: 600; line-height: 1.3; color: #6f767a; }
body[data-design-page="index"] .news-lead .news-headline { font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; }
body[data-design-page="index"] .news-list { border: 0; border-radius: 11px; padding: 0 12px; background: var(--ad-surface); box-shadow: 0 1px 2px rgb(60 40 20 / 6%), 0 2px 6px rgb(60 40 20 / 5%); }
body[data-design-page="index"] .news-list > li+li { border-top: 1px solid #f3ede6; }
body[data-design-page="index"] .news-list .news-item { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); column-gap: 10px; row-gap: 0; align-items: center; min-height: 66px; padding: 9px 12px 9px 2px; border: 0; }
body[data-design-page="index"] .news-list .news-item::before { content: ""; grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: #e6eae1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23095255' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h9l5 5v13H5z'/%3E%3Cpath d='M14 3v5h5M8.5 11h7M8.5 14.5h7M8.5 18h5'/%3E%3C/svg%3E") center / 25px no-repeat; }
body[data-design-page="index"] .news-list .news-item[data-news-kind="notice"]::before { background: #fbe8d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba5634' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L16 5v14L3 13.5z'/%3E%3Cpath d='M3 10.5v3M16 9.5a3 3 0 0 1 0 5M7.5 14l1.6 5.5h3L10.5 14'/%3E%3C/svg%3E") center / 27px no-repeat; }
body[data-design-page="index"] .news-list .news-item .news-kicker, body[data-design-page="index"] .news-list .news-item .news-headline { grid-column: 2; }
body[data-design-page="index"] .news-list .news-item .news-headline { font-size: .86rem; line-height: 1.35; letter-spacing: -.015em; color: #003e43; }
/* H09: progress remains bound to the existing stamp state. */
/* H09: wave above the title, ring + copy + passport book, one progress bar (real ratio), full-width coral CTA. */
body[data-design-page="index"] .passport-card { padding: 14px 13px 14px; border-style: solid; border-radius: 20px; background: #fefbf7; }
body[data-design-page="index"] .passport-card h2 { position: relative; padding-top: .95rem; margin-bottom: 8px; font-size: 1.55rem; line-height: 1.15; color: #06383d; }
body[data-design-page="index"] .passport-watermark { opacity: .85; stroke: #f0e6d8; color: #f0e6d8; }
body[data-design-page="index"] .passport-card h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 12' fill='none' stroke='url(%23w)' stroke-width='2.6' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23be6041'/%3E%3Cstop offset='.22' stop-color='%23be6041'/%3E%3Cstop offset='.45' stop-color='%23ede4d9'/%3E%3Cstop offset='1' stop-color='%23ede4d9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 9C10 2 22 2 30 6 38 10 48 10 56 5'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .passport-main { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; }
body[data-design-page="index"] .passport-main > .passport-copy { flex: 1 1 auto; min-width: 0; }
body[data-design-page="index"] .passport-main::after { content: ""; flex: none; align-self: flex-end; width: 58px; height: 78px; transform: rotate(-7deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 82' fill='none' stroke='%23b65134' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M9 8c0-3 2-5 5-5h37c3 0 5 2 5 5v63c0 3-2 5-5 5H14c-3 0-5-2-5-5z' fill='%23fcf0e6'/%3E%3Cpath d='M9 14H5c-2 0-3 1-3 3v51c0 2 1 3 3 3h4' stroke-width='2'/%3E%3Cpath d='M32 55V41M32 45c-7 0-11-4-12-10 6 0 11 3 12 10zM32 41c7 0 11-4 12-10-6 0-11 3-12 10z' fill='%23b65134' stroke='%23b65134' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .passport-ring { flex: none; width: 103px; height: 103px; margin: -3px 0 0 -5px; }
body[data-design-page="index"] .passport-ring .ring-track { stroke: #ede4d9; }
body[data-design-page="index"] .passport-ring .ring-fill { stroke: #b75032; }
body[data-design-page="index"] .passport-ring .ring-num { font-weight: 700; font-size: 14.5px; fill: #06383d; transform: translateY(-.5px); }
body[data-design-page="index"] .passport-ring .ring-den { font-size: 5.9px; fill: #65747e; transform: translateY(.9px); }
body[data-design-page="index"] .passport-copy { min-width: 0; }
body[data-design-page="index"] .passport-line { font-size: .82rem; line-height: 1.4; color: #65747e; overflow-wrap: normal; word-break: normal; }
body[data-design-page="index"] .passport-line .nowrap { white-space: nowrap; }
body[data-design-page="index"] .passport-line .nowrap:first-child { display: block; margin-bottom: 2px; font-size: .98rem; font-weight: 700; color: #06383d; white-space: normal; }
body[data-design-page="index"] .passport-hint { overflow-wrap: normal; word-break: normal; border-top: 0; padding-top: 0; margin-top: 4px; color: #65747e; line-height: 1.55; }
body[data-design-page="index"] .passport-hint::before { content: ""; display: block; width: 24px; height: 2px; margin: 8px 0 5px; background: #ece2d7; }
body[data-design-page="index"] .passport-hint { margin-top: 6px; padding-top: 0; font-size: .78rem; font-weight: 400; line-height: 1.45; color: #65747e; border-top: 0; max-width: 100%; }
body[data-design-page="index"] .stamp-strip { position: relative; gap: 0; margin-top: 9px; padding: 0; overflow: hidden; height: 13px; border-radius: 99px; background: #ede4d9; }
body[data-design-page="index"] .stamp-strip .st { display: none; }
body[data-design-page="index"] .stamp-strip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--passport-progress, 0%); border-radius: 99px; background: #b75033; }
body[data-design-page="index"] .passport .perf-line { display: none; }
body[data-design-page="index"] .passport-cta { position: relative; display: flex; width: 100%; justify-content: center; align-items: center; margin-top: 9px; min-height: 38px; padding: 5px 40px; border-radius: 12px; background: #b85134; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
body[data-design-page="index"] .passport-cta::before { content: ""; position: absolute; inset: -3px 0; }
body[data-design-page="index"] .passport-cta .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; }
/* H10-H12 */
/* H10: one compact strip — gift tile | bold title + grey note | coral chevron. */
body[data-design-page="index"] .sponsor-band { display: grid; grid-template-columns: 51px minmax(0,1fr) 10px; align-items: center; column-gap: 14px; min-height: 76px; padding: 13px 10px 12px 12px; border: 0; border-radius: 10px; background: #fefaf5; box-shadow: 0 1px 2px rgb(120 80 50 / 7%), 0 2px 5px rgb(120 80 50 / 5%); }
body[data-design-page="index"] .sponsor-band::after { content: ""; width: 10px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23b8522f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .sponsor-mark { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 9px; background: #feebce; color: #bb5430; }
body[data-design-page="index"] .sponsor-mark .icon { width: 37px; height: 37px; stroke-width: 1.8; }
body[data-design-page="index"] .sponsor-copy { display: grid; gap: 2px; min-width: 0; position: relative; top: 2px; }
body[data-design-page="index"] .sponsor-copy h2 { font-size: .975rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; color: #064346; }
body[data-design-page="index"] .sponsor-line { font-size: .78rem; line-height: 1.4; color: #7c8a90; }
body[data-design-page="index"] .sponsor-chevron { display: none; }
/* H11: wave above the title, underlined coral see-all with arrow, 2x2 photo cards with a coral "ใหม่" pill, name, grey meta and chevron. */
body[data-design-page="index"] .latest .section-heading { margin-inline-start: 4px; }
body[data-design-page="index"] .latest .section-heading--row { align-items: baseline; gap: 6px; margin-inline-end: 0; }
body[data-design-page="index"] .latest .section-heading h2 { position: relative; padding-top: 1.4rem; font-size: 1.42rem; line-height: 1.2; letter-spacing: -.01em; color: #003a40; }
body[data-design-page="index"] .latest .section-heading h2::before { content: ""; position: absolute; left: 0; top: 0; width: 62px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 12' fill='none' stroke='url(%23w)' stroke-width='2.6' stroke-linecap='round'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23b56746'/%3E%3Cstop offset='.35' stop-color='%23b56746' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23b56746' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 9C10 2 22 2 30 6 38 10 48 10 56 5'/%3E%3C/svg%3E") left center / contain no-repeat; }
body[data-design-page="index"] .latest .link-more { color: #b55236; font-weight: 700; font-size: .85rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(50% + .68em) / 100% 1.5px no-repeat; padding: 0; margin-inline-end: 0; gap: 5px; align-items: center; }
body[data-design-page="index"] .latest .link-more .icon { width: 1.15rem; height: 1.15rem; }
body[data-design-page="index"] .latest-grid { gap: 9px 8px; margin-inline: -3px; }
body[data-design-page="index"] .latest-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; gap: 0; border: 0; border-radius: 10px; box-shadow: 0 2px 10px rgb(120 80 50 / 10%); }
body[data-design-page="index"] .latest-card__photo { position: relative; aspect-ratio: 1.2; border-radius: 10px; overflow: hidden; }
body[data-design-page="index"] .latest-card__photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
body[data-design-page="index"] .latest-flag { top: 7px; left: 8px; padding: 2px 10px; border-radius: 999px; background: #b55333; color: var(--color-surface); font-size: .78rem; font-weight: 700; line-height: 1.35; }
body[data-design-page="index"] .latest-card__name { font-size: .8rem; line-height: 1.3; letter-spacing: -.01em; padding: 10px 26px 2px 11px; white-space: normal; color: #003a40; }
body[data-design-page="index"] .latest-card__meta { font-size: .74rem; line-height: 1.4; padding: 0 26px 11px 11px; color: #7c858c; }
body[data-design-page="index"] .latest-card::after { content: ""; position: absolute; right: 12px; bottom: 24px; width: 9px; height: 14.5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23b74f31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .skyline-divider { margin: 40px 12px 6px; height: 119px; opacity: .82; background: url("./assets/ornament/footer-skyline.webp") center bottom / 100% auto no-repeat; }
body[data-design-page="index"] .skyline-divider svg { display: none; }
/* H12: seal | two-line owner + address, hairline, phone link | version - one card, soft shadow. */
body[data-design-page="index"] .site-footer { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; grid-template-rows: auto auto auto auto; align-items: center; justify-items: start; gap: 0 14px; padding: 11px 14px 5px; margin: 0 12px 26px; border: 0; border-radius: 14px; background: #fdfaf5; box-shadow: 0 6px 14px rgb(120 80 40 / 10%), 0 -2px 8px rgb(120 80 40 / 5%); text-align: left; }
body[data-design-page="index"] .site-footer::before { content: ""; grid-column: 1 / -1; grid-row: 3; width: 100%; height: 1px; margin: 8px 0 0; background: #e8dccd; }
body[data-design-page="index"] .footer-seal { width: 84px; height: 84px; grid-column: 1; grid-row: 1 / 3; margin: 0; align-self: center; }
body[data-design-page="index"] .footer-owner { grid-column: 2 / -1; grid-row: 1; align-self: end; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: #003c43; overflow-wrap: normal; }
body[data-design-page="index"] .footer-owner .nowrap { white-space: nowrap; }
body[data-design-page="index"] .footer-line { grid-column: 2 / -1; grid-row: 2; align-self: start; margin-top: 3px; font-size: 1.08rem; line-height: 1.4; color: #62757f; }
body[data-design-page="index"] .footer-line:has(a) { grid-column: 1 / 3; grid-row: 4; margin: 0; padding: 0; border: 0; }
body[data-design-page="index"] .footer-line a { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 0; font-size: 1.12rem; font-weight: 700; color: #bf2b0b; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.2px; }
body[data-design-page="index"] .footer-line a::before { content: ""; width: 24px; height: 24px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf2b0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6.3 6.3l1.3-1.3a2 2 0 0 1 2.1-.5c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-design-page="index"] .footer-line--version { grid-column: 3; grid-row: 4; justify-self: end; align-self: center; margin: 0; padding-left: 18px; border-left: 1px solid #e2d3c1; font-size: 1rem; line-height: 1.5; color: #70818c; }
body[data-design-page="index"] .footer-line--proto { grid-column: 1 / -1; grid-row: 5; }
@media (min-width:700px) {
  body[data-design-page="index"] .app-shell > :is(.lanes,.nearby,.today,.home-lane-band,.guide-band,.eat,.seasonal,.news,.passport,.sponsor,.latest) { margin-top: 36px; }
  body[data-design-page="index"] .lanes .section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.15rem); }
  body[data-design-page="index"] .lane-scroller { grid-template-columns: repeat(6,minmax(0,1fr)); }
  body[data-design-page="index"] .lane-icon { max-width: 106px; }
  body[data-design-page="index"] .nearby .answer-list { grid-auto-flow: row; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-columns: auto; overflow: visible; }
  body[data-design-page="index"] .home-lane-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  body[data-design-page="index"] .home-lane-grid > li:first-child { grid-row: span 3; }
  body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card { grid-template-rows: 1fr auto; }
  body[data-design-page="index"] .home-lane-grid > li:first-child .home-lane-card__photo { height: 100%; aspect-ratio: auto; }
  body[data-design-page="index"] .passport-card { padding: 25px; }
  body[data-design-page="index"] .passport-main > .passport-copy { flex-basis: 55%; }
  body[data-design-page="index"] .latest-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
html[data-easy="on"] body[data-design-page="index"] .lane-scroller { grid-template-columns: repeat(2,minmax(0,1fr)); }
html[data-easy="on"] body[data-design-page="index"] .lane-icon { max-width: 120px; }
html[data-easy="on"] body[data-design-page="index"] .lanes .lane-button > span:last-child { font-size: 1.1rem; text-align: start; }
html[data-easy="on"] body[data-design-page="index"] .nearby .answer-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
html[data-easy="on"] body[data-design-page="index"] .answer-row .place-link { grid-template-columns: 1fr; }
html[data-easy="on"] body[data-design-page="index"] .home-lane-grid { grid-template-columns: 1fr; }

/* ===== Tap areas, second pass (2026-09-14) =====
 * Same transparent-border treatment for the controls the first pass missed. */
body[data-design-page="index"] .news .filter-row .filter-chip { box-sizing: border-box; min-block-size: 44px; border-block: 7px solid transparent; background-clip: padding-box; }
body[data-design-page="index"] .link-more { box-sizing: border-box; min-block-size: 44px; border-block: 10px solid transparent; background-clip: padding-box; }
body[data-design-page="index"] .home-lang a { box-sizing: border-box; min-block-size: 44px; border-block: 11px solid transparent; background-clip: padding-box; }
body[data-design-page="index"] .filter-row .filter-chip { box-sizing: border-box; min-block-size: 44px; border-block: 7px solid transparent; background-clip: padding-box; }
