@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:'DM Sans','Noto Sans KR',sans-serif;color:#25352f;background:#eeeee8}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #2c8876;outline-offset:3px}.world{height:100dvh;overflow:hidden;position:relative;background:#eeeee8}#planet{position:absolute;inset:0}.top{position:absolute;top:30px;left:36px;right:36px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.brand{font-size:19px;letter-spacing:-.04em;font-weight:700}.brand-icon{display:inline-grid;place-items:center;width:32px;height:32px;background:#1c7762;color:white;border-radius:50%;font-size:19px;margin-right:7px}.top p{font-size:12px;color:#858f89;margin:9px 0 0 40px}.counter{background:#ffffffc7;border:1px solid #fff;padding:11px 16px;border-radius:30px;font-size:12px;font-weight:600;color:#547164}.intro{position:absolute;top:23%;left:5%;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:700;color:#448674}.intro h1{font-size:clamp(27px,3vw,44px);line-height:1.38;letter-spacing:-.07em;font-weight:600;margin:16px 0}.intro p{font-size:13px;color:#87918a;line-height:1.8;margin:0}.guide{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);font-size:12px;color:#75847b;background:#ffffffc9;padding:12px 19px;border-radius:30px;white-space:nowrap;pointer-events:none}.mouse{color:#25836c;margin-right:7px}.divider{margin:0 8px;color:#b3c1b9}.trips{position:absolute;right:36px;top:50%;transform:translateY(-50%);width:200px}.trip-label{font-size:10px;color:#8e9a92;letter-spacing:.13em;font-weight:700;margin-bottom:13px}.trip-label span{float:right}.trip-list{display:grid;gap:8px}.trip-chip{border:1px solid #fff;background:#ffffffba;border-radius:14px;display:flex;text-align:left;gap:10px;align-items:center;padding:11px;color:#25352f;box-shadow:0 6px 20px #304d3c0a;transition:.2s}.trip-chip:hover{background:white;transform:translateX(-4px)}.chip-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#dcebe1;font-size:16px}.chip-copy strong,.chip-copy small{display:block}.chip-copy strong{font-size:12px}.chip-copy small{font-size:10px;color:#97a29b;margin-top:4px}.panel{position:absolute;z-index:15;top:12px;bottom:12px;right:12px;width:min(440px,calc(100% - 24px));border-radius:20px;background:#fbfbf8;box-shadow:0 16px 60px #203d3026;transform:translateX(calc(100% + 24px));transition:transform .45s cubic-bezier(.2,.8,.2,1);overflow:auto;overscroll-behavior:contain}.panel.open{transform:translateX(0)}.panel-top{position:sticky;top:0;z-index:3;background:#fbfbf8ee;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:19px 23px;border-bottom:1px solid #f0f1ed}.panel-top span{font-weight:700;font-size:13px}.close{border:0;background:#eef1ed;color:#526158;width:34px;height:34px;border-radius:50%;font-size:19px}.cover{height:218px;position:relative;margin:16px 16px 0;border-radius:13px;overflow:hidden;background:#d8e5dc}.cover img{width:100%;height:100%;object-fit:cover}.cover:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#15251d80)}.cover-caption{position:absolute;z-index:1;bottom:15px;left:17px;color:white;font-size:12px}.panel-body{padding:22px 24px 32px}.location{font-size:11px;color:#34846e;font-weight:700;letter-spacing:.05em}.panel h2{font-size:25px;letter-spacing:-.055em;margin:8px 0}.summary{font-size:13px;line-height:1.7;color:#8a958d;margin:0 0 20px}.facts{display:flex;gap:10px;flex-wrap:wrap}.fact{border-radius:7px;background:#f0f4ef;color:#648073;font-size:11px;padding:8px 10px}.tabs{display:flex;gap:23px;border-bottom:1px solid #e8ece8;margin:26px 0 23px}.tab{border:0;background:none;color:#a3ada6;padding:0 0 13px;font-size:13px;font-weight:600;position:relative}.tab.active{color:#1c6f59}.tab.active:after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#277b62}.section-title{font-size:15px;font-weight:700;margin:0 0 5px}.section-sub{color:#a2aca5;font-size:11px;margin:0 0 20px}.day{display:grid;grid-template-columns:45px 1fr;gap:13px;margin:20px 0}.day-label{color:#21806a;font-size:11px;font-weight:700;padding-top:4px}.day h4{font-size:13px;margin:0 0 8px}.day p{font-size:12px;color:#8a978e;line-height:1.7;margin:0}.route{background:#edf4ed;padding:17px;border-radius:12px}.route-line{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:12px;line-height:1.8;color:#49665a}.route-line span{background:white;border-radius:6px;padding:5px 8px}.route-line b{color:#9cb5a8}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-grid img{width:100%;height:125px;object-fit:cover;border-radius:9px;background:#e8eee9}.photo-grid img:first-child{grid-column:span 2;height:190px}.note{background:#f3f5ef;border-radius:12px;padding:17px;color:#6f7f73;font-size:12px;line-height:1.8}.shade{display:none}.fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center}.webgl-fallback .fallback{display:flex}.fallback-globe{width:min(52vw,570px);aspect-ratio:1;border-radius:50%;position:relative;background:radial-gradient(circle at 35% 28%,#dcece2,#a3c7b5 48%,#72a18d 100%);box-shadow:inset -30px -35px 80px #39695235,0 35px 65px #345e4520;overflow:hidden}.island{position:absolute;background:#e9e4cc;box-shadow:inset -8px -8px 20px #919b7860;filter:blur(.2px)}.island-a{width:49%;height:40%;left:15%;top:20%;border-radius:52% 31% 60% 27%;transform:rotate(-25deg)}.island-b{width:26%;height:35%;left:42%;top:53%;border-radius:30% 60% 46% 70%;transform:rotate(-17deg)}.island-c{width:20%;height:18%;right:9%;top:37%;border-radius:60% 20% 50% 40%;transform:rotate(20deg)}.fbmarkers{position:absolute;inset:0}.fbmarker{position:absolute;border:0;background:#fffffff2;box-shadow:0 5px 20px #27463233;border-radius:30px;padding:8px 11px;font-size:11px;font-weight:700;white-space:nowrap;color:#263e32}.fbmarker i{display:inline-grid;place-items:center;border-radius:50%;width:19px;height:19px;background:#227c65;color:white;font-size:9px;font-style:normal;margin-right:6px}.fbmarker:nth-child(1){top:25%;left:29%}.fbmarker:nth-child(2){top:45%;left:55%}.fbmarker:nth-child(3){top:65%;left:22%}.fbmarker:nth-child(4){top:74%;left:52%}@media(max-width:850px){.intro{top:105px;left:25px}.intro h1{font-size:28px}.intro p{display:none}.trips{right:20px;top:auto;bottom:84px;transform:none;width:auto;left:20px}.trip-label{display:none}.trip-list{display:flex;overflow:auto}.trip-chip{min-width:142px}.guide{bottom:25px;font-size:10px}.fallback-globe{width:min(80vw,500px)}.top{top:20px;left:20px;right:20px}.top p{display:none}}@media(max-width:500px){.counter{font-size:10px}.intro h1{font-size:24px}.intro{top:90px}.fallback-globe{width:95vw}.fbmarker{font-size:9px;padding:6px}.fbmarker i{width:16px;height:16px}.guide{max-width:94%;overflow:hidden;text-overflow:ellipsis}.trip-chip{min-width:132px}.panel{top:auto;bottom:0;right:0;width:100%;height:90dvh;border-radius:20px 20px 0 0}.shade.show{display:block;position:absolute;inset:0;background:#1b292f55;z-index:10}}
#intro-loader{position:fixed;inset:0;z-index:9999;background-color:#eeebe4;background-image:linear-gradient(#1416190d 1px,transparent 1px),linear-gradient(90deg,#1416190d 1px,transparent 1px),linear-gradient(#14161908 1px,transparent 1px),linear-gradient(90deg,#14161908 1px,transparent 1px);background-size:160px 160px,160px 160px,32px 32px,32px 32px;background-position:center;touch-action:none;user-select:none;cursor:grab}#intro-loader:active{cursor:grabbing}#loader-canvas{position:absolute;inset:0;width:100%;height:100%}.loader-corner{position:absolute;width:14px;height:14px;opacity:.4;border-color:#141619;border-style:solid;border-width:0}.loader-corner.tl{top:16px;left:16px;border-top-width:1px;border-left-width:1px}.loader-corner.tr{top:16px;right:16px;border-top-width:1px;border-right-width:1px}.loader-corner.bl{bottom:16px;left:16px;border-bottom-width:1px;border-left-width:1px}.loader-corner.br{bottom:16px;right:16px;border-bottom-width:1px;border-right-width:1px}.loader-title,.loader-sheet,.loader-count,#loader-cta{position:absolute;transition:opacity .45s ease}.loader-title{left:32px;top:30px}.loader-title strong{display:block;font:400 30px/1 'Instrument Serif',Georgia,serif;color:#141619}.loader-title span,.loader-sheet span,.loader-count>span{display:block;color:#14161990;font:12px/1.4 'DM Sans',sans-serif;margin-top:8px}.loader-sheet{right:32px;top:32px;text-align:right;color:#141619;font:12px/1.4 'DM Sans',sans-serif}.loader-count{left:32px;bottom:26px}.loader-count div{font:400 56px/1 'Instrument Serif',Georgia,serif;color:#141619;margin-top:4px}.loader-count em{font-style:normal;font-size:26px;color:#17806d;margin-left:2px}#loader-cta{left:50%;transform:translateX(-50%);text-align:center;white-space:nowrap;font:12px 'DM Sans',sans-serif;color:#14161990}#loader-enter{border:0;background:#141619;color:#fff;border-radius:30px;padding:11px 12px 11px 20px;font:500 15px 'DM Sans',sans-serif;box-shadow:0 10px 30px #1416192e}#loader-enter span{display:inline-grid;place-items:center;background:#17806d;width:26px;height:26px;border-radius:50%;margin-left:9px;font-size:16px}.leaving .loader-title,.leaving .loader-sheet,.leaving .loader-count,.leaving #loader-cta,.leaving .loader-corner{opacity:0}.leaving{pointer-events:none!important}@media(max-width:640px){.loader-title{left:20px;top:22px}.loader-sheet{right:20px;top:23px;max-width:130px}.loader-sheet span{display:none}.loader-count{left:20px;bottom:18px}#loader-cta{max-width:95vw}}
.login-notice[hidden]{display:none}.login-notice{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(20,28,24,.36);padding:20px}.login-card{width:min(400px,100%);position:relative;background:#fbfbf8;border-radius:20px;padding:34px;box-shadow:0 20px 70px #10251e33;color:#25352f}.login-close{position:absolute;right:18px;top:18px;width:34px;height:34px;border:0;border-radius:50%;background:#eef1ed;color:#526158;font-size:20px}.login-mark{display:grid;place-items:center;width:42px;height:42px;background:#1c7762;color:white;border-radius:50%;font-size:23px}.login-card h2{font-size:22px;letter-spacing:-.04em;margin:22px 0 10px}.login-card p{color:#738078;font-size:14px;line-height:1.65;margin:0 0 24px}.demo-enter{width:100%;border:0;border-radius:30px;background:#141619;color:#fff;padding:15px;font-size:14px;font-weight:600}.demo-enter span{margin-left:8px}

.top-actions{display:flex;gap:8px;align-items:center;pointer-events:auto}.theme-control{display:flex;align-items:center;gap:7px;background:#ffffffdc;border:1px solid #fff;border-radius:30px;padding:9px 12px;color:#547164;font-size:12px;font-weight:600}.theme-control select{border:0;background:transparent;color:#25352f;font:inherit;cursor:pointer;max-width:100px}.theme-control select:focus-visible{outline:2px solid #2c8876;outline-offset:3px}@media(max-width:500px){.theme-control{font-size:10px;padding:9px}.theme-control span{display:none}}

@media(min-width:851px){.trip-list{max-height:min(64dvh, 700px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 5px 2px 2px}.trips{max-height:70dvh}}
.webgl-fallback .fbmarkers{inset:auto 10% 8%;display:flex;gap:6px;overflow-x:auto;padding:5px}.webgl-fallback .fbmarker{position:static;flex:none}.webgl-fallback .fallback-globe{overflow:visible}
/* Nomi sign-in */
.login-providers{display:grid;gap:10px;margin:22px 0 12px}
.provider-btn{width:100%;border:1px solid #dfe4df;border-radius:30px;background:#fff;color:#25352f;padding:14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.provider-btn.provider-apple{background:#141619;border-color:#141619;color:#fff}
.provider-btn:disabled{opacity:.55;cursor:default}
.provider-btn:focus-visible,.demo-enter:focus-visible,.signout:focus-visible{outline:2px solid #2c8876;outline-offset:3px}
.login-error{margin:0 0 12px;color:#b3412d;font-size:13px}
.login-card .demo-enter{background:transparent;color:#526158;padding:10px;font-weight:500}
.signout{background:#ffffffc7;border:1px solid #fff;padding:11px 16px;border-radius:30px;font:inherit;font-size:12px;font-weight:600;color:#547164;cursor:pointer}
.cover-empty{width:100%;height:100%;display:grid;place-items:center;font-size:54px;background:linear-gradient(135deg,#d8e5dc,#eef1e8)}
.trip-empty{cursor:default}
/* The page itself never scrolls: the trip panel parks off-screen when closed,
   and keyboard/focus scrolling would otherwise drag it (and the layout) into view. */
html,body{overflow:hidden}
.world{overflow:clip}
/* Theme travel: a second planet layer exists while travelling (see planet.js). */
.planet-layer{position:absolute;inset:0}
.theme-control select:disabled{opacity:.6;cursor:progress}

/* ---------------------------------------------------------------------------
   Nomi brand (this site is a Nomi sub-site): Clash Display + Nomi green
   ------------------------------------------------------------------------- */
@font-face{font-family:'Clash Display';src:url('/planet/fonts/ClashDisplay-Medium.otf') format('opentype');font-weight:500;font-display:swap}
@font-face{font-family:'Clash Display';src:url('/planet/fonts/ClashDisplay-Semibold.otf') format('opentype');font-weight:600;font-display:swap}
:root{--nomi:#9FE870;--nomi-ink:#0c0c0c;--nomi-deep:#4f8f2b;--glass:rgba(255,255,255,.12);--clash:'Clash Display','DM Sans','Noto Sans KR',sans-serif}

/* 1. Logo + name */
.brand-block{display:flex;align-items:center;gap:12px;pointer-events:auto}
.brand-logo{width:40px;height:40px;border-radius:12px;display:block;flex-shrink:0}
.brand{font-family:var(--clash);font-weight:600;font-size:19px;letter-spacing:-.01em;line-height:1.1}
.top .brand-sub{margin:3px 0 0;font-size:12px;color:#858f89}

/* 2. Intro, centred vertically on the left */
@media(min-width:851px){.intro{top:50%;transform:translateY(-50%)}}
.eyebrow{font-size:12px;letter-spacing:.02em;font-weight:600;color:#8e9590}
.intro h1{font-family:var(--clash);font-weight:600;letter-spacing:-.02em;line-height:1.08;margin:10px 0 10px}
.intro p{line-height:1.55}

/* 3. Planet controls (bottom left, drawn by planet.js) */
#planet .tp-btn,.planet-layer .tp-btn{background:var(--glass)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;color:#fff!important;box-shadow:none!important}

/* 4. Theme picker: name + chevron, centred */
.theme-control{position:relative;justify-content:center;gap:6px;height:42px;padding:0 16px;border:0;background:var(--glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#25352f}
.theme-control select{appearance:none;-webkit-appearance:none;padding:0;margin:0;text-align:center;font-size:13px;font-weight:600;line-height:1;max-width:none}
.theme-chevron{width:12px;height:12px;flex-shrink:0;pointer-events:none}

/* 5. Profile + menu */
.profile{position:relative;pointer-events:auto}
.profile-btn{display:flex;align-items:center;gap:10px;height:46px;padding:5px 16px 5px 5px;border:0;border-radius:999px;background:#0c0c0c;color:#fff;font:inherit;cursor:pointer}
.profile-btn:focus-visible,.menu-item:focus-visible{outline:2px solid var(--nomi);outline-offset:2px}
.profile-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;flex-shrink:0;display:grid;place-items:center;background:var(--nomi);color:var(--nomi-ink);font-weight:700;font-size:14px}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-text{display:grid;text-align:left;line-height:1.2;min-width:0}
.profile-text strong{font-size:13px;font-weight:600}
.profile-text small{font-size:11px;color:rgba(255,255,255,.55);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-menu{position:absolute;right:0;top:calc(100% + 8px);width:264px;z-index:30;padding:10px;border-radius:20px;background:#0c0c0c;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s}
.profile.open .profile-menu{opacity:1;visibility:visible;transform:none} /* opens on click only */
.menu-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}
.menu-stats div{background:rgba(255,255,255,.06);border-radius:14px;padding:12px}
.menu-stats strong{display:block;font-family:var(--clash);font-weight:600;font-size:22px;color:var(--nomi)}
.menu-stats span{font-size:11px;color:rgba(255,255,255,.55)}
.menu-section-title{font-size:11px;color:rgba(255,255,255,.45);padding:0 6px 6px}
.menu-destinations{max-height:150px;overflow-y:auto;display:grid;gap:2px;scrollbar-width:thin}
.menu-destination{display:flex;justify-content:space-between;gap:10px;padding:7px 6px;font-size:13px}
.menu-destination small{color:rgba(255,255,255,.45);font-size:11px;flex-shrink:0}
.menu-empty{color:rgba(255,255,255,.45)}
.menu-divider{height:1px;background:rgba(255,255,255,.08);margin:8px 4px}
.menu-item{display:block;width:100%;text-align:left;border:0;background:transparent;color:#fff;font:inherit;font-size:13px;padding:10px 8px;border-radius:12px;text-decoration:none;cursor:pointer}
.menu-item:hover{background:rgba(255,255,255,.08)}
.menu-signout{color:#ff8a7a}
@media(max-width:640px){.profile-text{display:none}.profile-btn{padding:5px;height:46px}}

/* 6–9. Travel logs list */
.trip-label{font-size:12px;letter-spacing:.01em;font-weight:600;color:#6f7a74;margin-bottom:8px}
@media(min-width:851px){.trips{width:244px}}
.trip-list{gap:6px}
.trip-chip{border:0;border-radius:18px;background:var(--glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:none}
.trip-chip:hover{background:rgba(255,255,255,.24)}
.chip-dot{width:40px;height:40px;border-radius:12px;overflow:hidden;flex-shrink:0;background:rgba(159,232,112,.28)}
.chip-dot img{width:100%;height:100%;object-fit:cover;display:block}
.chip-copy small{margin-top:2px;font-weight:300}

/* 10. Trip panel header: solid at the top, fading out over the content */
.panel{border-radius:26px}
.panel-top{background:linear-gradient(#fbfbf8 0%,#fbfbf8 50%,rgba(251,251,248,0) 100%);backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0;padding-bottom:30px;margin-bottom:-26px}
.panel-top .panel-title{font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 52px)}
.close{display:grid;place-items:center;font-size:25px;line-height:1}

/* 11. Cover with the trip details on the photo */
.cover{height:340px;border-radius:24px;margin:0 16px}
.cover:after{inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 22%,rgba(0,0,0,.74) 100%)}
.cover-empty{width:100%;height:100%;background:linear-gradient(135deg,#26332b,#0c0c0c)}
.cover-info{position:absolute;z-index:1;left:16px;right:16px;bottom:16px;color:#fff}
.cover-info .location{color:rgba(255,255,255,.24);font-size:10px;font-weight:600;letter-spacing:.01em}
.cover-info h2{font-family:var(--clash);font-weight:600;font-size:26px;line-height:1.1;letter-spacing:-.01em;margin:4px 0 4px;color:#fff}
.cover-info .summary{font-size:12px;line-height:1.45;color:rgba(255,255,255,.6);margin:0 0 10px}
.cover-info .facts{gap:6px}
.cover-info .fact{background:var(--glass);color:rgba(255,255,255,.6);font-size:10px;padding:6px 9px;border-radius:7px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}

/* Nomi green across the site (deeper shade where it's text on light backgrounds) */
.tab.active{color:var(--nomi-ink)}
.tab.active:after{background:var(--nomi)}
.day-label{color:var(--nomi-deep)}
.route{background:rgba(159,232,112,.14)}
.route-line{color:#2f4a22}
.mouse{color:var(--nomi-deep)}
.loader-count em,#loader-enter span{color:var(--nomi-deep)}
.login-mark{background:var(--nomi);color:var(--nomi-ink)}
button:focus-visible,.provider-btn:focus-visible,.demo-enter:focus-visible,.theme-control select:focus-visible{outline-color:var(--nomi-deep)}

/* 24px safe margin on all four sides (desktop): every edge-anchored element lines up on it */
@media(min-width:851px){
  .top{top:24px;left:24px;right:24px}
  .intro{left:24px}
  .trips{right:24px}
  .guide{bottom:24px}
  .panel{top:24px;bottom:24px;right:24px}
  #planet .tp-ctrl,.planet-layer .tp-ctrl{left:24px!important;bottom:24px!important}
  #planet .tp-help,.planet-layer .tp-help{left:24px!important;bottom:78px!important}
}

/* Cards span the full width of the "Travel logs" header row */
@media(min-width:851px){.trip-list{padding:0}}
.trip-chip{width:100%;box-sizing:border-box}
.trip-chip:hover{transform:none}

/* Day / night: page UI follows the planet's time of day (body.is-night, set from
   the planet's "time" event). Glass surfaces are black 8% by day, white 8% at night. */
:root{--ui-fg:#25352f;--ui-fg2:#6f7a74;--ui-fg3:#8e9590;--ui-glass:rgba(0,0,0,.08);--ui-glass-hover:rgba(0,0,0,.13);--ui-icon:#25352f}
body.is-night{--ui-fg:#f4f5f2;--ui-fg2:rgba(255,255,255,.62);--ui-fg3:rgba(255,255,255,.5);--ui-glass:rgba(255,255,255,.08);--ui-glass-hover:rgba(255,255,255,.14);--ui-icon:#fff}
.brand,.intro h1,.chip-copy strong,.theme-control,.theme-control select{color:var(--ui-fg)}
.top .brand-sub,.trip-label,.intro p,.chip-copy small{color:var(--ui-fg2)}
.eyebrow{color:var(--ui-fg3)}
.trip-chip,.theme-control,.guide{background:var(--ui-glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:0}
.trip-chip:hover{background:var(--ui-glass-hover)}
.guide{color:var(--ui-fg2);box-shadow:none}
.theme-control select option{color:#25352f}
#planet .tp-btn,.planet-layer .tp-btn{background:var(--ui-glass)!important;color:var(--ui-icon)!important}
.brand,.top .brand-sub,.eyebrow,.intro h1,.intro p,.trip-label,.chip-copy strong,.chip-copy small,.trip-chip,.theme-control,.theme-control select,.guide,#planet .tp-btn,.planet-layer .tp-btn{transition:color .8s ease,background-color .8s ease}

/* Performance: blurred glass is recomposited every frame over the moving planet,
   so keep the blur radius modest and isolate the layers. */
.trip-chip,.guide{contain:paint}

/* Trip panel: spacing, pill tabs, and day/night colours (text on the cover photo stays white) */
:root{--pn-bg:#fbfbf8;--pn-bg0:rgba(251,251,248,0);--pn-fg:#25352f;--pn-fg2:#8a958d;--pn-fg3:#a2aca5;--pn-soft:rgba(0,0,0,.05);--pn-close:#eef1ed;--pn-close-fg:#526158;--pn-tab:rgba(0,0,0,.06);--pn-tab-fg:#6f7a74}
body.is-night{--pn-bg:#141414;--pn-bg0:rgba(20,20,20,0);--pn-fg:#f4f5f2;--pn-fg2:rgba(255,255,255,.6);--pn-fg3:rgba(255,255,255,.42);--pn-soft:rgba(255,255,255,.06);--pn-close:rgba(255,255,255,.1);--pn-close-fg:#fff;--pn-tab:rgba(255,255,255,.08);--pn-tab-fg:rgba(255,255,255,.6)}
.panel{background:var(--pn-bg);color:var(--pn-fg);transition:transform .45s cubic-bezier(.2,.8,.2,1),background-color .8s ease,color .8s ease}
.panel-top{background:linear-gradient(var(--pn-bg) 0%,var(--pn-bg) 50%,var(--pn-bg0) 100%);margin-bottom:-14px}
.panel-top .panel-title{color:var(--pn-fg)}
.panel .close{background:var(--pn-close);color:var(--pn-close-fg)}
.panel-body{padding-top:16px}
.panel .section-title,.panel .day h4{color:var(--pn-fg)}
.panel .section-sub{color:var(--pn-fg3)}
.panel .day p{color:var(--pn-fg2)}
.panel .note{background:var(--pn-soft);color:var(--pn-fg2)}
.panel .photo-grid img{background:var(--pn-soft)}
.panel .tabs{display:flex;gap:8px;border-bottom:0;margin:0 0 20px}
.panel .tab{padding:9px 16px;border-radius:999px;background:var(--pn-tab);color:var(--pn-tab-fg);font-size:13px;font-weight:600;cursor:pointer;transition:background-color .2s,color .2s}
.panel .tab:after{display:none}
.panel .tab.active{background:var(--nomi);color:var(--nomi-ink)}
body.is-night .panel .day-label{color:var(--nomi)}
.panel .section-title,.panel .section-sub,.panel .day h4,.panel .day p,.panel .note,.panel-top .panel-title,.panel .close{transition:color .8s ease,background-color .8s ease}

/* Panel: no visible scrollbar (still scrolls) */
.panel{scrollbar-width:none;-ms-overflow-style:none}
.panel::-webkit-scrollbar{display:none}


/* One 24px left edge for the header, cover photo, tabs and content */
.panel-top{padding-left:24px;padding-right:24px}
.cover{margin:0 24px}
.panel-body{padding-left:24px;padding-right:24px}

/* Smaller, lighter pill tabs */
.panel .tab{padding:7px 13px;font-size:12px;font-weight:500}

/* Section heading with its subtitle on the same line, then a dotted rule */
.panel .section-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.panel .section-head .section-title,.panel .section-head .section-sub{margin:0}
.panel .dot-rule{height:3px;margin:0 0 18px;background-image:radial-gradient(circle,var(--pn-fg3) 1.1px,transparent 1.5px);background-size:8px 3px;background-repeat:repeat-x;opacity:.7}

/* Panel content: a touch more side padding, tighter vertical rhythm, dashed rule */
.panel [role="tabpanel"]{padding:0 4px}
.panel .tabs{margin-bottom:14px}
.panel .section-head{margin-bottom:8px}
.panel .dot-rule{height:2px;margin:0 0 12px;opacity:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2'%3E%3Cline x1='1' y1='1' x2='5' y2='1' stroke='%23000' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center/10px 2px}
body.is-night .panel .dot-rule{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2'%3E%3Cline x1='1' y1='1' x2='5' y2='1' stroke='%23fff' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}

/* ---------------------------------------------------------------------------
   Loading page: dark Nomi sheet (#0c0c0c) with light linework
   ------------------------------------------------------------------------- */
#intro-loader{background-color:#0c0c0c;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px)}
.loader-corner{border-color:#fff;opacity:.25}
.loader-title strong{font:600 30px/1.05 var(--clash);letter-spacing:-.01em;color:#f4f5f2}
.loader-title span{color:rgba(255,255,255,.5);margin-top:4px}
.loader-sheet{color:#f4f5f2}
.loader-sheet span{color:rgba(255,255,255,.5);margin-top:3px}
.loader-count>span{color:rgba(255,255,255,.5)}
.loader-count div{font:600 56px/1 var(--clash);color:#f4f5f2;letter-spacing:-.02em}
.loader-count em{font:600 26px var(--clash);color:var(--nomi)}
#loader-cta{color:rgba(255,255,255,.5);bottom:24px;top:auto}
#loader-enter{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0c0c0c;padding:8px 18px 8px 8px;font:600 13px 'DM Sans',sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.35);cursor:pointer}
#loader-enter[hidden]{display:none}
.loader-enter-logo{width:26px;height:26px;border-radius:8px;display:block}
@media(max-width:640px){#loader-cta{bottom:20px}}

/* ---------------------------------------------------------------------------
   Login card (#151515, 20px padding)
   ------------------------------------------------------------------------- */
.login-notice{background:rgba(0,0,0,.55)}
.login-card{background:#151515;color:#f4f5f2;padding:20px;border-radius:24px;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.login-logo{display:block;width:40px;height:40px;border-radius:12px}
.login-close{top:20px;right:20px;background:rgba(255,255,255,.08);color:#fff;font-size:24px;font-weight:300;line-height:1;display:grid;place-items:center;cursor:pointer}
.login-close:focus-visible{outline:2px solid var(--nomi);outline-offset:2px}
.login-card h2{font-family:var(--clash);font-weight:600;font-size:24px;letter-spacing:-.01em;margin:20px 0 6px;color:#fff}
.login-card p{color:rgba(255,255,255,.55);font-size:13px;line-height:1.45;margin:0 0 20px}
.login-providers{margin:0 0 10px;gap:8px}
.provider-btn{display:flex;align-items:center;justify-content:center;gap:10px;border:0;background:#fff;color:#0c0c0c}
.provider-btn.provider-apple{background:#000;border:1px solid rgba(255,255,255,.18);color:#fff}
.provider-logo{width:18px;height:18px;flex-shrink:0}
.login-error{color:#ff8a7a}
.login-card .demo-enter{padding:8px 10px 0;margin:0;font-size:13px;font-weight:500;color:rgba(255,255,255,.4);cursor:pointer}
.login-card .demo-enter:hover{color:rgba(255,255,255,.7)}
/* Loader button label: undo the old "↗ circle" span styling */
#loader-enter #loader-enter-label{display:inline;width:auto;height:auto;margin:0;padding:0;background:none;border-radius:0;color:#0c0c0c;font:inherit;line-height:1.2;white-space:nowrap}
#loader-enter{color:#0c0c0c}
.loader-enter-logo{border-radius:40px}

/* Loader button rises in slowly at 100%; login card pops in (and out) */
@keyframes nomiRise{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes nomiFadeIn{from{opacity:0}to{opacity:1}}
@keyframes nomiFadeOut{from{opacity:1}to{opacity:0}}
@keyframes nomiCardIn{from{opacity:0;transform:translateY(26px) scale(.96)}to{opacity:1;transform:none}}
@keyframes nomiCardOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(14px) scale(.97)}}
#loader-enter:not([hidden]){animation:nomiRise 1.1s cubic-bezier(.16,1,.3,1) both}
.login-notice:not([hidden]){animation:nomiFadeIn .35s ease both}
.login-notice:not([hidden]) .login-card{animation:nomiCardIn .55s cubic-bezier(.16,1,.3,1) both}
.login-notice.closing{animation:nomiFadeOut .22s ease both}
.login-notice.closing .login-card{animation:nomiCardOut .22s ease both}
@media(prefers-reduced-motion:reduce){#loader-enter:not([hidden]),.login-notice,.login-notice .login-card{animation:none!important}}

/* Landmark labels: number badge in Nomi green with black digits */
#planet .tp-pill i,.planet-layer .tp-pill i{background:var(--nomi)!important;color:#0c0c0c!important}

/* Theme dropdown (custom, matches the profile menu) */
.theme-control{position:relative;padding:0;cursor:default}
.theme-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.theme-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 16px;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer;border-radius:inherit}
.theme-btn:focus-visible{outline:2px solid var(--nomi-deep);outline-offset:2px}
.theme-control.open .theme-chevron{transform:rotate(180deg)}
.theme-chevron{transition:transform .2s ease}
.theme-menu{position:absolute;left:0;top:calc(100% + 8px);min-width:168px;z-index:30;padding:6px;border-radius:18px;background:#0c0c0c;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s}
.theme-control.open .theme-menu{opacity:1;visibility:visible;transform:none}
.theme-item{display:flex;align-items:center;justify-content:space-between;gap:12px}
.theme-item.is-active{color:var(--nomi)}
.theme-item.is-active::after{content:'';width:7px;height:7px;border-radius:50%;background:var(--nomi);flex-shrink:0}
body:has(.theme-native:disabled) .theme-btn{opacity:.6;cursor:progress}

/* Mobile: travel log cards size to their content on a single line; no bottom hint */
@media(max-width:850px){
  .trip-list{gap:6px}
  .trip-chip{width:auto;flex:0 0 auto;min-width:0;max-width:72vw}
  .chip-copy{min-width:0}
  .chip-copy strong,.chip-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .guide{display:none}
}

/* Theme menu: right-aligned under its button; header menus sit above everything while open */
.theme-menu{left:auto;right:0}
.top{z-index:5}
.top:has(.theme-control.open),.top:has(.profile.open){z-index:60}

/* Mobile loading screen: no top-right "Your Nomi Travelog" (it collides with the title) */
@media(max-width:640px){.loader-sheet{display:none}}
