/* RANDOM KOREA mobile v2 — scoped to phones; desktop styles untouched */
@media screen and (max-width:768px){
 :root{--rk-m-ink:#38291e;--rk-m-brown:#8b643d;--rk-m-line:#e9dfd2;--rk-m-paper:#fcf9f3}
 html{scroll-padding-top:78px}body{overflow-x:clip;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));background:#f8f4ed}
 *,*:before,*:after{box-sizing:border-box}
 .site-header.rk-clean-header{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'logo actions'!important;min-height:62px!important;padding:8px 16px!important;gap:8px!important;background:#fcf9f3!important}
 .rk-clean-logo{grid-area:logo;min-width:0;gap:5px!important}.rk-clean-logo strong{font-size:21px!important;letter-spacing:-1.4px!important}.rk-clean-logo svg{width:60px!important;height:31px!important;flex-shrink:0}
 .rk-clean-actions{grid-area:actions;gap:2px!important}.rk-clean-nav{display:none!important}.rk-icon-control{width:38px;height:40px}.rk-account-panel{right:0;max-width:calc(100vw - 24px);z-index:11010}
 .poster-hero{min-height:0!important;max-width:none!important;padding:0 0 16px!important;background:#f8f4ed!important;display:flex!important;flex-direction:column!important;gap:0!important}
 .poster-hero>.poster-hand{display:none!important}
 .poster-hero>.poster-copy{order:0;position:relative;isolation:isolate;width:100%!important;min-height:360px!important;margin:0!important;padding:36px 23px 28px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:linear-gradient(90deg,rgba(250,246,239,.97) 0%,rgba(250,246,239,.88) 48%,rgba(250,246,239,.32) 100%),url('./travel-background.png') center center/cover no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
 .poster-copy .kicker{font-family:'Noto Serif KR',serif;font-size:13px!important;color:#65513e;margin:0 0 11px!important}
 .poster-copy h1{font-family:'Noto Serif KR',serif;font-size:clamp(23px,6.4vw,31px)!important;letter-spacing:-1.5px!important;line-height:1.48!important;word-break:keep-all;overflow-wrap:normal;margin:0 0 10px!important;max-width:330px;color:#38291e}
 .poster-copy>p:not(.kicker){font-size:12px!important;line-height:1.65!important;color:#5f554b!important;margin:0 0 20px!important}
 .poster-start{width:100%!important;max-width:345px;min-height:51px!important;display:flex!important;align-items:center;justify-content:center;gap:10px!important;padding:11px 18px!important;margin:0!important;border-radius:999px!important;background:#8b643d!important;color:#fff!important;font-size:14px!important;font-weight:700!important;box-shadow:0 6px 14px #503b2822}
 .poster-hero>.poster-shortcuts{order:1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:15px 12px!important;background:#fcf9f3}
 .poster-shortcuts a{min-width:0!important;min-height:72px!important;padding:10px 3px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;border:1px solid #eee4d7!important;border-radius:14px!important;background:#fffdfa!important;text-align:center!important;font-size:10px!important;white-space:nowrap;color:#5c4530!important}
 .poster-shortcuts a:nth-child(n+5){display:none!important}.poster-shortcuts b{font-size:22px!important;line-height:1.2;color:#8b643d!important}
 .poster-hero>.rk-ad-carousel{order:2;position:relative!important;inset:auto!important;width:auto!important;margin:14px 13px 4px!important;z-index:1!important}
 .rk-ad-carousel .rk-ad-window{border-radius:17px!important;box-shadow:0 5px 15px #3a2c1d16!important}
 .rk-ad-carousel .rk-ad-track{height:186px!important}
 .rk-ad-carousel .rk-ad-slide::after{background:linear-gradient(90deg,#241b17dd 0%,#241b17a8 45%,#241b1710 100%)!important}
 .rk-ad-carousel .rk-ad-copy{padding:16px!important;max-width:75%;justify-content:center!important}
 .rk-ad-carousel .rk-ad-label{font-size:9px!important;letter-spacing:1px!important;margin-bottom:5px!important}
 .rk-ad-carousel .rk-ad-title{font-size:clamp(19px,5.2vw,24px)!important;line-height:1.3!important;word-break:keep-all;margin-bottom:7px!important}
 .rk-ad-carousel .rk-ad-description{font-size:10px!important;line-height:1.45!important;max-height:32px;overflow:hidden;margin-bottom:7px!important}
 .rk-ad-carousel .rk-ad-benefit{font-size:10px!important;padding:4px 6px!important;margin-bottom:7px!important}
 .rk-ad-carousel .rk-ad-link{font-size:11px!important;padding:7px 11px!important}
 .rk-ad-carousel .rk-ad-controls{height:29px!important;gap:0!important}.rk-ad-carousel .rk-ad-dot{height:28px!important;width:29px!important}.rk-ad-carousel .rk-ad-pause{font-size:10px!important}
 .poster-hero>.poster-bottom{order:3;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 13px 0!important}
 .poster-photo{min-width:0!important;border-radius:12px!important}.poster-photo img{height:86px!important}.poster-photo figcaption{font-size:10px!important;line-height:1.4!important;padding:8px!important;min-height:42px;word-break:keep-all}
 /* Preserve the existing notice dismiss and 24-hour suppression behavior. */
 .poster-hero>.poster-notices{order:4;position:fixed!important;top:74px!important;left:50%!important;transform:translateX(-50%)!important;width:min(400px,calc(100vw - 24px))!important;min-height:0!important;max-height:65vh!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;z-index:10900!important;pointer-events:none}
 .poster-notices>.poster-notice{flex:0 0 100%!important;width:100%!important;max-width:none!important;scroll-snap-align:start;pointer-events:auto}.poster-notices.no-notices{display:none!important}
 .poster-notice-body{min-height:150px!important;padding:14px!important}.poster-notice h2{font-size:23px!important;margin:5px 0 8px!important;padding-bottom:7px!important}.poster-placeholder{font-size:12px!important;margin-bottom:8px!important}.poster-lines{height:22px!important;margin-bottom:7px!important}.poster-compass{width:55px!important;height:55px!important;font-size:40px!important;margin-bottom:7px!important}
 .page-container{width:calc(100% - 26px)!important;max-width:540px!important}.travel-section,.ideas-section,.advertise-section{padding-top:25px!important}
 .section-heading{margin-bottom:16px!important}.section-heading h2,.course-heading h2{font-size:clamp(22px,6vw,28px)!important;word-break:keep-all}.section-heading p{font-size:12px!important}.section-number{display:none!important}
 .workspace{display:flex!important;flex-direction:column!important;gap:12px!important}.workspace>.control-card{order:0!important}.workspace>.map-card{order:1!important}.map-card,.control-card{padding:16px!important;border-radius:17px!important;min-width:0}.control-title-row h2,.panel-heading h2{font-size:20px!important}.theme-options{gap:7px!important}.theme-button{min-height:42px}.draw-button{min-height:52px!important;font-size:15px!important}#map{height:270px!important}.map-legend{flex-wrap:wrap}.result-card{padding:16px!important}.result-details{grid-template-columns:1fr!important}.result-actions{display:flex;flex-wrap:wrap;gap:8px}.result-actions a,.result-actions button{max-width:100%}
 .inspiration-grid{gap:10px!important}.inspiration-card{min-height:190px}.ideas-section img,.advertise-section img{max-width:100%}
 .rk-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:10500;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));background:#fcf9f3;border-top:1px solid #e5d8c8;box-shadow:0 -4px 16px #38291e0e;padding:6px 4px calc(5px + env(safe-area-inset-bottom,0px))}
 .rk-mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:48px;padding:3px 0;border:0;background:none;color:#685542;text-decoration:none;font:600 10px/1.3 'Noto Sans KR',sans-serif}.rk-mobile-bottom-nav .rk-nav-icon{font-size:20px;line-height:1.2}.rk-mobile-bottom-nav a[aria-current='page']{color:#8b643d}.rk-mobile-bottom-nav a:focus-visible{outline:2px solid #8b643d;outline-offset:-2px;border-radius:8px}
}
@media screen and (min-width:769px){.rk-mobile-bottom-nav{display:none!important}}
@media screen and (max-width:360px){.poster-copy h1{font-size:23px!important}.poster-shortcuts a{font-size:9px!important}.rk-clean-logo strong{font-size:19px!important}.rk-clean-logo svg{width:48px!important}}
@media (prefers-reduced-motion:reduce) and (max-width:768px){.rk-ad-carousel .rk-ad-slide,.rk-ad-carousel .rk-ad-copy{transition:none!important}}

/* v3 hotfix: notices.js injects stronger selectors after the stylesheet. */
@media screen and (max-width:768px) {
 .poster-hero > .poster-notices.rk-notice-pair {
   position:fixed!important; inset:72px auto auto 50%!important;
   transform:translateX(-50%)!important;
   width:min(390px,calc(100vw - 24px))!important;
   height:auto!important; max-height:min(72dvh,590px)!important;
   min-height:0!important; display:flex!important; flex-direction:column!important;
   gap:10px!important; padding:0 2px 8px!important; margin:0!important;
   overflow-x:hidden!important; overflow-y:auto!important;
   overscroll-behavior:contain; z-index:11000!important;
   pointer-events:auto!important; -webkit-overflow-scrolling:touch;
 }
 .poster-hero > .poster-notices.rk-notice-pair.no-notices {display:none!important}
 .poster-hero > .poster-notices.rk-notice-pair .poster-notice {
   flex:0 0 auto!important; width:100%!important; max-width:none!important;
   min-height:0!important; display:flex!important; border-radius:16px!important;
 }
 .poster-hero > .poster-notices.rk-notice-pair .poster-notice[hidden] {display:none!important}
 .rk-notice-pair .rk-notice-copy{padding:15px 17px 0!important}
 .rk-notice-pair h2{font-size:20px!important;line-height:1.38!important;margin:9px 0!important}
 .rk-notice-pair .rk-notice-text{font-size:12px!important;line-height:1.55!important}
 .rk-notice-pair .rk-notice-art{height:84px!important;margin-top:3px!important}
 .rk-notice-pair .rk-notice-actions{min-height:0!important;padding:0 16px 8px!important;margin-top:0!important;gap:5px!important}
 .rk-notice-pair .rk-notice-cta{min-height:39px!important;padding:8px!important;font-size:12px!important}
 .rk-notice-pair .rk-notice-secondary{min-height:26px!important;font-size:11px!important}
 .rk-notice-pair .poster-footer{position:sticky;bottom:0;z-index:2;min-height:44px!important;padding:3px 12px!important;background:#fbf6ed!important}
 .rk-notice-pair .poster-footer button{min-width:66px!important;min-height:40px!important;font-size:14px!important;font-weight:700!important}
}


/* ================================================================
   RANDOM KOREA mobile v4 — fixes on top of existing mobile rules.
   All overrides scoped to <=768px; desktop CSS remains unchanged.
   ================================================================ */
@media screen and (max-width:768px){
 html{scroll-padding-top:72px!important}
 body{background:#f7f2e9!important;overflow-x:hidden!important}
 .site-header.rk-clean-header{position:relative!important;z-index:30!important;background:#faf6ee!important;border-bottom:1px solid #e9ddce!important;box-shadow:none!important;padding:10px 14px!important;min-height:60px!important}
 .rk-clean-logo{display:flex!important;align-items:center!important;gap:5px!important}
 .rk-clean-logo strong{font-family:'Noto Serif KR',serif!important;font-size:20px!important;white-space:nowrap!important}
 .rk-clean-logo svg{display:block!important;width:65px!important;height:30px!important}
 .rk-clean-nav{display:none!important}
 .rk-clean-actions{gap:0!important}
 .rk-icon-control{width:39px!important;height:39px!important}
 .poster-hero{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:0 0 16px!important;margin:0!important;gap:0!important;background:#faf6ee!important;overflow:visible!important}
 .poster-hero>.poster-copy{order:1!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;min-height:365px!important;padding:35px 22px 26px!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;background:linear-gradient(90deg,rgba(250,246,239,.94) 0%,rgba(250,246,239,.82) 52%,rgba(250,246,239,.2) 100%),url('./travel-background.png') center/cover no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;isolation:isolate!important}
 .poster-copy .kicker{font-size:13px!important;line-height:1.5!important;color:#66503c!important;margin:0 0 9px!important}
 .poster-copy h1{font-family:'Noto Serif KR',serif!important;font-size:clamp(24px,6.2vw,30px)!important;line-height:1.52!important;letter-spacing:-1.6px!important;word-break:keep-all!important;overflow-wrap:normal!important;max-width:330px!important;color:#3a291f!important;margin:0 0 11px!important}
 .poster-copy>p:not(.kicker){font-size:12px!important;line-height:1.7!important;color:#574c41!important;margin:0 0 20px!important}
 .poster-start{width:100%!important;max-width:350px!important;min-height:52px!important;margin:0!important;padding:12px 18px!important;border-radius:999px!important;background:#865b35!important;color:#fffaf2!important;font-size:15px!important;justify-content:center!important;box-shadow:0 5px 12px #3d2c1a22!important}
 .poster-hero>.poster-shortcuts{order:2!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:13px 12px 16px!important;margin:0!important;background:#faf6ee!important;width:100%!important}
 .poster-shortcuts a{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-width:0!important;min-height:76px!important;gap:5px!important;padding:8px 2px!important;background:#fffcf7!important;border:1px solid #e9ddce!important;border-radius:15px!important;color:#60442d!important;font-size:10px!important;line-height:1.3!important;text-align:center!important;white-space:nowrap!important}
 .poster-shortcuts a:nth-child(n+5){display:none!important}
 .poster-shortcuts b{font-size:23px!important;color:#865b35!important}
 .poster-hero>.rk-ad-carousel{order:3!important;position:relative!important;inset:auto!important;left:auto!important;top:auto!important;right:auto!important;width:calc(100% - 28px)!important;max-width:none!important;margin:3px 14px 7px!important;z-index:1!important}
 .rk-ad-carousel .rk-ad-window{border-radius:17px!important;overflow:hidden!important;background:#223529!important}
 .rk-ad-carousel .rk-ad-track{height:196px!important}
 .rk-ad-carousel .rk-ad-slide{border-radius:0!important}
 .rk-ad-carousel .rk-ad-slide.rk-uhjs{background:#213728!important}
 .rk-ad-carousel .rk-ad-slide.rk-uhjs img{position:absolute!important;inset:0 0 0 auto!important;width:38%!important;height:100%!important;object-fit:contain!important;background:#f0efec!important}
 .rk-ad-carousel .rk-uhjs .rk-ad-copy{position:absolute!important;inset:0 auto 0 0!important;width:62%!important;max-width:62%!important;padding:12px!important;justify-content:center!important;gap:2px!important}
 .rk-ad-carousel .rk-uhjs .rk-ad-title{font-size:clamp(17px,4.8vw,21px)!important;line-height:1.35!important;max-height:2.7em!important;overflow:hidden!important;word-break:keep-all!important}
 .rk-ad-carousel .rk-uhjs .rk-ad-label{font-size:9px!important;line-height:1.4!important;margin:0 0 5px!important;letter-spacing:0!important}
 .rk-ad-carousel .rk-uhjs .rk-ad-description{font-size:10px!important;line-height:1.4!important;max-height:2.8em!important;margin:0 0 6px!important}
 .rk-ad-carousel .rk-uhjs-actions{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:5px!important;width:100%!important}
 .rk-ad-carousel .rk-uhjs .rk-ad-link{display:flex!important;align-items:center!important;justify-content:center!important;min-height:31px!important;padding:5px 7px!important;font-size:10px!important;line-height:1.2!important;border-radius:8px!important;white-space:normal!important;text-align:center!important}
 .rk-ad-carousel .rk-ad-controls{height:34px!important;gap:1px!important}
 .rk-ad-carousel .rk-ad-dot{height:30px!important;width:28px!important}
 .rk-ad-carousel .rk-ad-pause{font-size:10px!important;white-space:nowrap!important}
 .poster-hero>.poster-bottom{order:4!important;display:none!important}
 .poster-hero>.poster-hand{display:none!important}
 /* notices.js injects its own style after the page loads: explicit !important prevents conflicts */
 .poster-hero>.poster-notices.rk-notice-pair{position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;padding:calc(16px + env(safe-area-inset-top,0px)) 15px calc(18px + env(safe-area-inset-bottom,0px))!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;background:rgba(27,23,19,.62)!important;z-index:50000!important;pointer-events:auto!important;-webkit-overflow-scrolling:touch!important}
 .poster-hero>.poster-notices.rk-notice-pair.no-notices{display:none!important}
 .poster-hero>.poster-notices.rk-notice-pair .poster-notice{display:flex!important;position:relative!important;flex:0 1 auto!important;align-self:center!important;width:100%!important;max-width:400px!important;max-height:min(82dvh,650px)!important;min-height:0!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:18px!important;box-shadow:0 18px 45px #0005!important;scroll-snap-align:none!important}
 .poster-hero>.poster-notices.rk-notice-pair .poster-notice[hidden]{display:none!important}
 .rk-notice-pair .rk-notice-copy{padding:20px 19px 0!important}
 .rk-notice-pair h2{font-size:clamp(20px,5.7vw,25px)!important;line-height:1.4!important;margin:10px 0!important;word-break:keep-all!important}
 .rk-notice-pair .rk-notice-text{font-size:12px!important;line-height:1.65!important}
 .rk-notice-pair .rk-notice-art{height:112px!important;margin-top:5px!important;flex-shrink:0!important}
 .rk-notice-pair .rk-notice-actions{margin:0!important;min-height:0!important;padding:0 18px 10px!important;gap:5px!important;flex:0 0 auto!important}
 .rk-notice-pair .rk-notice-cta{min-height:41px!important;padding:8px!important;font-size:13px!important}
 .rk-notice-pair .poster-footer{position:sticky!important;bottom:0!important;z-index:10!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;min-height:54px!important;padding:7px 13px!important;margin:0!important;background:#fcf7ee!important;border-top:1px solid #e5d9ca!important}
 .rk-notice-pair .poster-footer label{font-size:11px!important;white-space:nowrap!important}
 .rk-notice-pair .poster-footer button{display:block!important;min-height:38px!important;min-width:65px!important;padding:6px 9px!important;font-size:14px!important;font-weight:700!important;color:#62462e!important}
 .rk-notice-pair .rk-mobile-notice-dismiss{position:absolute!important;top:8px!important;right:8px!important;z-index:12!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;background:#fff9ef!important;color:#38291e!important;font-size:23px!important;line-height:1!important;box-shadow:0 1px 6px #0002!important}
 .page-container{width:calc(100% - 28px)!important;max-width:540px!important}
 .travel-section,.ideas-section,.advertise-section{padding-top:26px!important}
 .workspace{display:flex!important;flex-direction:column!important;gap:12px!important}
 .workspace>.control-card{order:0!important}
 .workspace>.map-card{order:1!important}
 #map{height:280px!important}
 .rk-mobile-bottom-nav{z-index:30000!important;background:#fcf9f3!important}
}
@media screen and (max-width:360px){.rk-ad-carousel .rk-uhjs .rk-ad-title{font-size:16px!important}.poster-copy h1{font-size:23px!important}}
