:root { color-scheme: light; --seoul-ink:#23354c; --seoul-blue:#0068d5; --seoul-line:#dbe6f3; }
html { scroll-behavior:smooth; }
body { margin:0; background:#f5f8fc; color:var(--seoul-ink); font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif; }
.seoul-header,.seoul-footer,.seoul-main,.seoul-toast,.seoul-map-dialog { box-sizing:border-box; font-size:16px; line-height:1.7; }
.seoul-header *, .seoul-main *, .seoul-footer *, .seoul-map * { box-sizing:border-box; }
.seoul-header a,.seoul-footer a,.seoul-main a { color:inherit; }
.seoul-header a,.seoul-main a { text-decoration:none; }
/* The article header shares the article's 724px column, like the Marina Bay Sands guide pages. */
.seoul-header { --u:min(1px, calc(100vw / 724)); max-width:724px; margin:0 auto; background:#fff; }
.seoul-header-inner { position:relative; padding:7px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #cfe6ff; }
.seoul-brand { display:inline-flex; align-items:center; color:var(--seoul-blue)!important; font-size:19px; font-weight:900; letter-spacing:-.03em; line-height:1.2; white-space:nowrap; }
.seoul-brand span { font-weight:700; }
.seoul-logo { flex:none; width:28px; height:28px; margin-right:8px; }
/* The menu opens without JavaScript (details); site.js closes it on an outside click or Escape. */
.seoul-menu summary { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#f0f4fa; color:var(--seoul-ink); list-style:none; cursor:pointer; }
.seoul-menu summary::-webkit-details-marker { display:none; }
.seoul-menu summary svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.seoul-menu[open] summary { background:#e1ecfa; color:var(--seoul-blue); }
.seoul-menu-panel { position:absolute; z-index:2000; top:calc(100% - 2px); right:24px; display:flex; flex-direction:column; width:260px; max-height:calc(100vh - 70px); overflow-y:auto; padding:8px; background:#fff; border:1px solid var(--seoul-line); border-radius:12px; box-shadow:0 12px 32px #1b35542e; font-size:14px; }
.seoul-menu-panel a { padding:9px 12px; border-radius:8px; font-weight:700; }
.seoul-menu-panel a:hover { background:#f3f8ff; color:var(--seoul-blue); }
.seoul-menu-panel p { margin:8px 12px 2px; padding-top:10px; border-top:1px solid var(--seoul-line); color:#61748b; font-size:11px; font-weight:700; }
.seoul-nav { display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); height:max(42px, calc(61 * var(--u))); padding:0 calc(14 * var(--u)); border-bottom:1px solid #cfe6ff; }
.seoul-nav a { position:relative; display:grid; place-items:center; font-size:max(11.5px, calc(20 * var(--u))); font-weight:850; letter-spacing:-.03em; white-space:nowrap; }
.seoul-nav a[aria-current],.seoul-nav a:hover { color:var(--seoul-blue); background:#f3f8ff; }
.seoul-nav a[aria-current]::after { content:""; position:absolute; left:8%; right:8%; bottom:0; height:max(3px, calc(6 * var(--u))); border-radius:99px; background:var(--seoul-blue); }
/* Top of every article hero: the breadcrumbs and, on hotels, the ad notice under them.
   The title and everything below it move down by just enough room (the photo and wash stay as the background). */
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero { --hero-inset:max(12px, calc(24 * var(--u))); --hero-top:max(6px, calc(10 * var(--u))); --hero-small:max(10.5px, calc(14 * var(--u))); --hero-line:calc(var(--hero-small) * 1.6); --hero-rows:calc(var(--hero-top) + var(--hero-line)); --hero-shift:max(0px, calc(var(--hero-rows) + max(6px, calc(10 * var(--u))) - 33 * var(--u))); height:calc(499 * var(--u) + var(--hero-shift)); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero:has(> .hero-meta) { --hero-rows:calc(var(--hero-top) + var(--hero-line) + var(--hero-small) * 1.5); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero > :not(.hero-photo, .rk-photo, .hero-wash, .hero-top, .hero-meta) { translate:0 var(--hero-shift); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero-photo { height:calc(521 * var(--u) + var(--hero-shift)); }
/* Title lines wider than the hero shrink by --fit (data/title-fit.json) and stay centred on their own line. */
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero .hotel-name[style*="--fit"] { font-size:calc(54 * var(--fit) * var(--u)); top:calc((33 + 31.05 * (1 - var(--fit))) * var(--u)); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero .hotel-name-ja[style*="--fit"] { font-size:calc(30.5 * var(--fit) * var(--u)); top:calc((95 + 19.06 * (1 - var(--fit))) * var(--u)); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero-top { position:absolute; z-index:4; top:var(--hero-top); left:var(--hero-inset); right:var(--hero-inset); }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero-meta { position:absolute; z-index:4; top:calc(var(--hero-top) + var(--hero-line)); left:var(--hero-inset); right:var(--hero-inset); margin:0; color:#34536b; font-size:var(--hero-small); font-weight:550; line-height:1.5; text-align:right; white-space:nowrap; text-shadow:0 0 4px #fff, 0 0 2px #fff; }
/* The "image" tag of a hero photo not taken at the place (added by the article script) moves to the bottom left. */
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .hero .rk-photo > .photo-tag { top:auto; right:auto; bottom:calc(38 * var(--u) + 6px); left:var(--hero-inset); }
/* Always one line; a trail longer than the hero scrolls sideways. */
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs { font-size:var(--hero-small); line-height:1.6; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs ol { display:flex; gap:max(6px, calc(8 * var(--u))); margin:0; padding:0; list-style:none; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs ol::-webkit-scrollbar { display:none; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs li { flex:none; margin:0; padding:0; color:var(--seoul-ink); font-weight:550; text-shadow:0 0 4px #fff, 0 0 2px #fff; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs li::before { content:none; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs li + li::before { content:"›"; padding-right:max(6px, calc(8 * var(--u))); color:#8296a8; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs a { color:#34536b; text-decoration:none; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .seoul-breadcrumbs a:hover { color:var(--seoul-blue); text-decoration:underline; }
/* The update date sits under the chapter index, out of the hero picture. */
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .article-updated { margin:0; text-align:right; padding:max(8px, calc(12 * var(--u))) max(12px, calc(24 * var(--u))) 0; color:#61748b; font-size:max(11px, calc(13 * var(--u))); font-weight:500; line-height:1.5; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .article-updated svg { display:inline-block; width:1.15em; height:1.15em; margin-right:4px; vertical-align:-.22em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#rk-clay-article#rk-clay-article#rk-clay-article#rk-clay-article .article-updated + .research-notice { margin-top:max(6px, calc(8 * var(--u))); }
/* Floating My Plan buttons at the bottom right of every article: add this place, and open the plan. */
.seoul-fab { position:fixed; z-index:900; right:max(14px, env(safe-area-inset-right)); bottom:calc(18px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:center; gap:10px; }
.seoul-fab a { display:grid; place-items:center; border-radius:50%; text-decoration:none; transition:transform .15s; -webkit-tap-highlight-color:transparent; }
.seoul-fab a:hover { transform:scale(1.06); }
.seoul-fab a:focus-visible { outline:3px solid #007ffb; outline-offset:3px; }
.seoul-fab-plan { width:48px; height:48px; align-content:center; gap:2px; background:#fff; color:#1d2f55; box-shadow:0 3px 12px #1b355433; }
.seoul-fab-plan svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.seoul-fab-plan span { font-size:8px; font-weight:700; line-height:1; }
.seoul-fab-add { width:58px; height:58px; background:#1677f2; color:#fff; box-shadow:0 6px 18px #1677f259; }
.seoul-fab-add svg { width:32px; height:32px; overflow:visible; }
.seoul-fab-add .fab-heart { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.seoul-fab-add .fab-badge { fill:#fff; }
.seoul-fab-add .fab-plus,.seoul-fab-add .fab-check { fill:none; stroke:#1677f2; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.seoul-fab-add .fab-check,.seoul-fab-add.is-saved .fab-plus { display:none; }
.seoul-fab-add.is-saved .fab-check { display:inline; }
.seoul-fab-add.is-saved .fab-heart { fill:currentColor; }
body:has(.seoul-fab) .seoul-footer { padding-bottom:120px; }
body:has(.seoul-fab) .seoul-toast { bottom:calc(150px + env(safe-area-inset-bottom)); }
.seoul-main { max-width:1100px; padding:0 24px 72px; margin:auto; }
.seoul-intro { padding:65px 0 44px; }
.seoul-eyebrow { font-size:12px; letter-spacing:.2em; font-weight:800; color:var(--seoul-blue); }
.seoul-main h1 { font-size:clamp(30px,5vw,53px); line-height:1.35; letter-spacing:-.04em; margin:15px 0 22px; }
.seoul-intro > p:not(.seoul-eyebrow) { max-width:700px; color:#50657e; font-size:16px; line-height:1.95; }
.seoul-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:32px 0 18px; }
.seoul-category-grid a { display:grid; grid-template-columns:1fr auto; padding:24px; background:#fff; border:1px solid var(--seoul-line); border-radius:14px; }
.seoul-category-grid strong { font-size:20px; }
.seoul-category-grid span { grid-column:1; font-size:13px; color:#61748b; }
.seoul-category-grid b { grid-column:2; grid-row:1 / span 2; align-self:center; color:var(--seoul-blue); font-size:24px; }
.seoul-plan-link { color:var(--seoul-blue)!important; display:inline-block; font-weight:700; margin-top:20px; }
.seoul-section { margin-top:40px; }
.seoul-section-heading { display:flex; align-items:baseline; gap:16px; justify-content:space-between; }
.seoul-section-heading h2 { font-size:24px; }
.seoul-section-heading a { white-space:nowrap; font-size:13px; color:var(--seoul-blue); }
.seoul-cards { list-style:none; margin:20px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.seoul-card { min-width:0; background:#fff; border:1px solid var(--seoul-line); border-radius:12px; }
.seoul-card > a { display:flex; flex-direction:column; height:100%; padding:24px; }
.seoul-card h2,.seoul-card h3 { margin:10px 0 0; font-size:19px; line-height:1.5; }
.seoul-card-kind { align-self:flex-start; padding:2px 10px; border-radius:20px; background:#edf5ff; color:var(--seoul-blue); font-size:11px; font-weight:700; }
.seoul-card-en { margin:4px 0 10px!important; font-size:11px!important; color:#6a7b90; overflow-wrap:anywhere; }
.seoul-card p { margin:10px 0 18px; font-size:13px; line-height:1.85; }
.seoul-card-more { margin-top:auto; color:var(--seoul-blue); font-weight:800; font-size:13px; }
.seoul-card:hover { border-color:#8fb9e8; box-shadow:0 5px 20px #1d456b0b; }
.seoul-list-intro { padding:25px 0 16px; }
.seoul-list-intro h1 { font-size:clamp(28px,4vw,42px); }
.seoul-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; max-width:620px; margin-top:28px; }
.seoul-search label { grid-column:1 / -1; font-size:13px; font-weight:700; }
.seoul-search input,.seoul-search button,.seoul-plan-actions button,.seoul-plan-item button { font:inherit; border:1px solid #b5cbe5; border-radius:7px; padding:10px 14px; min-width:0; background:#fff; color:var(--seoul-ink); }
.seoul-search button { background:var(--seoul-blue); color:#fff; cursor:pointer; }
#search-count { font-size:13px; color:#566b83; }
.seoul-footer { padding:36px 24px; background:#eaf1f9; border-top:1px solid var(--seoul-line); text-align:center; }
.seoul-footer nav { display:flex; justify-content:center; gap:10px 25px; flex-wrap:wrap; font-size:12px; }
.seoul-footer p { font-size:11px; color:#61748b; margin:18px 0 0; }
.seoul-toast { position:fixed; z-index:30000; bottom:20px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100vw - 32px); padding:12px 18px; border-radius:9px; background:#1b3554; color:white; box-shadow:0 5px 24px #112b4e33; font-size:13px; }
.seoul-toast a { color:#fff; padding-left:12px; font-weight:800; }
.seoul-storage-note { padding:16px 20px; background:#eaf2fc; border-radius:8px; font-size:13px; }
.seoul-plan-item { margin-top:20px; padding:22px; border:1px solid var(--seoul-line); border-radius:10px; background:#fff; }
.seoul-plan-item h2 { margin:0 0 12px; font-size:20px; }
.seoul-plan-item h2 a { color:var(--seoul-blue); }
.seoul-plan-item label { display:block; font-size:13px; margin-bottom:6px; }
.seoul-plan-item textarea { display:block; box-sizing:border-box; width:100%; min-height:80px; padding:12px; margin:8px 0 14px; border:1px solid #b5cbe5; border-radius:7px; font:inherit; font-size:14px; }
.seoul-plan-item button { font-size:12px; cursor:pointer; margin-right:8px; }
.seoul-plan-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.seoul-plan-actions button { cursor:pointer; }
.seoul-plan-course { padding:14px 18px; background:#f3f8ff; font-size:13px; }
.seoul-plan-course ol { padding-left:20px; }
.seoul-plan-course li { margin-top:8px; }
.seoul-plan-course span { display:block; color:#50657e; }
.seoul-main button:disabled { opacity:.45; cursor:default; }
.seoul-main [hidden], .seoul-map [hidden], .seoul-toast[hidden] { display:none!important; }
.seoul-main a:focus-visible,.seoul-header a:focus-visible,.seoul-header summary:focus-visible,.seoul-main button:focus-visible,.seoul-main input:focus-visible,.seoul-main textarea:focus-visible { outline:3px solid #007ffb; outline-offset:4px; }
@media(max-width:760px) { .seoul-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .seoul-category-grid a { padding:18px; } .seoul-category-grid strong { font-size:17px; } }
@media(max-width:500px) { .seoul-header-inner { padding:6px 16px; } .seoul-brand { font-size:17px; } .seoul-logo { width:26px; height:26px; } .seoul-menu summary { width:32px; height:32px; } .seoul-menu-panel { left:12px; right:12px; width:auto; } .seoul-main { padding:0 18px 48px; } .seoul-intro { padding-top:34px; } .seoul-category-grid { gap:8px; } .seoul-category-grid a { padding:14px 10px; } .seoul-category-grid strong { grid-column:1 / -1; font-size:13px; white-space:nowrap; } .seoul-category-grid span { font-size:11px; } .seoul-category-grid b { grid-row:2; font-size:18px; } .seoul-cards { grid-template-columns:1fr; gap:12px; } .seoul-section-heading h2 { font-size:20px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
