﻿:root{--black:#101010;--ink:#171717;--muted:#777;--line:rgba(16,16,16,.12);--paper:#f6f5ef;--card:#fff;--soft:#ebe8df;--shadow:0 22px 60px rgba(0,0,0,.14)}
html.hanari-live-root,body.hanari-live-mode{width:100%;min-height:100%;margin:0;background:radial-gradient(circle at 30% 0,#fff 0,#eeeae0 35%,#d9d4c9 100%);overflow:hidden;font-family:"Avenir Next","Montserrat","Pretendard",sans-serif;color:var(--ink)}
body.hanari-live-mode>*:not(#hanariLiveApp):not(script):not(style):not(link){display:none!important}
#hanariLiveApp{position:fixed;inset:0;z-index:2147483000;background:linear-gradient(135deg,#f8f7f1,#dad5ca);overflow:hidden}#hanariLiveApp *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button{border:0;cursor:pointer}.live-shell{width:min(100vw,430px);height:100dvh;min-height:100vh;margin:0 auto;display:flex;flex-direction:column;background:radial-gradient(circle at 50% -8%,rgba(255,255,255,.98) 0 18%,transparent 34%),linear-gradient(180deg,#f7f6f1,#ece9e0);box-shadow:0 0 0 1px rgba(0,0,0,.08),var(--shadow);overflow:hidden}.live-topbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(14px + env(safe-area-inset-top)) 16px 12px;background:rgba(246,245,240,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.live-logo-lockup{min-width:0;display:flex;align-items:center;gap:10px;text-align:left;color:var(--black);background:transparent}.live-logo{width:42px;height:42px;flex:0 0 42px;border-radius:15px;background:#fff;border:1px solid rgba(0,0,0,.1);overflow:hidden;display:grid;place-items:center}.live-logo img,.sx-hero-mascot img,.brand-feature-logo img,.brand-avatar img,.profile-card img{width:100%;height:100%;object-fit:cover}.live-logo-lockup b,.live-logo-lockup small{display:block;line-height:1.05}.live-logo-lockup b{font-size:15px;letter-spacing:-.04em}.live-logo-lockup small{margin-top:4px;color:var(--muted);font-size:11px}.live-top-action{height:38px;padding:0 16px;border-radius:999px;color:#fff;background:var(--black);font-weight:900;font-size:12px}.live-main{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:12px 14px calc(92px + env(safe-area-inset-bottom))}.live-shell[data-route=detail] .live-main{padding-bottom:calc(160px + env(safe-area-inset-bottom))}.live-main::-webkit-scrollbar,.brand-rail::-webkit-scrollbar,.filter-row div::-webkit-scrollbar,.option-grid::-webkit-scrollbar{width:0;height:0}.live-tabbar{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:9px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.88);border-top:1px solid var(--line);backdrop-filter:blur(18px)}.live-tab{min-height:42px;border-radius:18px;color:var(--muted);background:transparent;font-size:12px;font-weight:900}.live-tab.is-active{color:#fff;background:var(--black);box-shadow:0 10px 24px rgba(0,0,0,.16)}
.sx-hero,.discover-hero,.ranking-hero,.brand-page-hero,.page-title,.profile-card,.hcx-product-detail,.filter-board,.cart-summary,.checkout-card,.ops-board article,.ops-kpi div{border:1px solid var(--line);background:rgba(255,255,255,.86);box-shadow:0 18px 44px rgba(0,0,0,.08)}.sx-hero{position:relative;min-height:270px;display:grid;grid-template-columns:1.15fr .85fr;gap:12px;overflow:hidden;border-radius:34px;padding:24px 18px;background:radial-gradient(circle at 88% 18%,rgba(240,90,40,.24),transparent 34%),linear-gradient(135deg,#111 0%,#242424 58%,#f5f2e9 59%,#fff 100%);color:#fff}.sx-hero h1,.discover-hero h1,.ranking-hero h1,.page-title h1{margin:8px 0 10px;font-size:clamp(32px,10vw,48px);line-height:.88;letter-spacing:-.08em}.sx-hero p,.ranking-hero p,.brand-feature p,.detail-body p,.trust-item p,.empty-state p,.ops-board p,.profile-card p{margin:0;color:inherit;opacity:.72;font-size:12px;line-height:1.55;word-break:keep-all}.eyebrow{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.12);color:inherit;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.hero-actions{display:flex;gap:8px;margin-top:18px}.hero-actions button,.section-head button,.cart-summary button,.checkout-total button,.profile-actions button,.brand-admin-list button{border-radius:999px;padding:11px 14px;color:var(--black);background:#fff;font-size:12px;font-weight:950}.hero-actions button:first-child,.cart-summary button,.checkout-total button{color:#fff;background:var(--black)}.sx-hero-mascot{align-self:end;aspect-ratio:1;border-radius:30px;background:#fff;overflow:hidden;transform:rotate(4deg);box-shadow:0 18px 30px rgba(0,0,0,.24)}.module-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 16px}.module-tile{min-height:86px;padding:12px 8px;border-radius:22px;color:#fff;background:#121212;text-align:left;box-shadow:0 14px 26px rgba(0,0,0,.14)}.module-tile:nth-child(even){color:var(--black);background:#fff}.module-tile b,.module-tile span{display:block}.module-tile b{font-size:13px;line-height:1.05;letter-spacing:-.06em}.module-tile span{margin-top:12px;opacity:.55;font-size:9px;overflow:hidden;text-overflow:ellipsis}.live-section{margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section-head span{font-weight:950;letter-spacing:-.05em}.section-head small{color:var(--muted);font-size:11px}.section-head button{padding:8px 12px;border:1px solid var(--line)}
.brand-feature{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px;border-radius:30px;background:#fff;border:1px solid var(--line)}.brand-feature-logo,.brand-avatar,.product-media,.detail-media,.cart-thumb,.rank-visual{background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.95),transparent 26%),linear-gradient(135deg,var(--accent,var(--tone,#111)),#f5f3eb)}.brand-feature-logo{min-height:128px;border-radius:24px;display:grid;place-items:center;overflow:hidden;color:#fff;font-weight:950}.brand-feature h2{margin:8px 0;font-size:24px;line-height:.95;letter-spacing:-.08em}.mini-tags,.style-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.mini-tags span,.style-tags span{padding:6px 8px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.7);font-size:10px;font-weight:850}.brand-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(118px,36%);gap:10px;overflow-x:auto;padding-bottom:4px}.brand-pill{min-height:146px;padding:12px;border-radius:28px;background:#fff;border:1px solid var(--line);color:var(--black);text-align:left}.brand-avatar{width:56px;height:56px;margin-bottom:14px;border-radius:20px;display:grid;place-items:center;overflow:hidden;color:#fff;font-weight:950}.brand-pill b,.brand-pill small{display:block}.brand-pill b{font-size:13px;letter-spacing:-.04em}.brand-pill small{margin-top:5px;color:var(--muted);font-size:10px}.ranking-stack,.ranking-list,.cart-list,.order-stack,.brand-admin-list{display:grid;gap:10px}.rank-line,.ranking-card,.order-card,.hcx-cart-line{width:100%;display:grid;align-items:center;gap:10px;border-radius:24px;border:1px solid var(--line);background:rgba(255,255,255,.86);color:var(--black)}.rank-line{grid-template-columns:34px 1fr;padding:12px;text-align:left}.rank-line span,.rank-number{width:34px;height:34px;display:grid;place-items:center;border-radius:13px;color:#fff;background:var(--black);font-weight:950}.rank-line b,.rank-line small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-line small{grid-column:2;color:var(--muted);font-size:11px}
.discover-hero,.ranking-hero,.page-title{border-radius:30px;padding:18px}.ranking-hero,.page-title.dark{color:#fff;background:linear-gradient(140deg,#101010,#252525)}.discover-hero h1,.page-title h1{color:var(--black);font-size:32px}.page-title.dark h1{color:#fff}.search-box{display:grid;gap:7px;margin-top:14px}.search-box span,.checkout-card label{color:var(--muted);font-size:11px;font-weight:900}.search-box input,.checkout-card input,.checkout-card textarea{width:100%;border:1px solid var(--line);border-radius:20px;outline:0;background:#fff;color:var(--black);padding:14px 15px;font-weight:850}.filter-board{margin-top:12px;padding:14px;border-radius:28px}.filter-board.slim{padding:10px}.filter-row{display:grid;gap:8px;margin-top:12px}.filter-row:first-child{margin-top:0}.filter-row b{font-size:11px;letter-spacing:-.03em}.filter-row div{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.filter-chip{flex:0 0 auto;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);color:var(--black);background:#fff;font-size:11px;font-weight:900}.filter-chip.is-active{color:#fff;background:var(--black)}
.hcx-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hcx-product-grid.compact{grid-auto-flow:column;grid-auto-columns:minmax(154px,48%);grid-template-columns:none;overflow-x:auto;padding-bottom:4px}.hcx-product-card{position:relative;min-width:0;display:grid;grid-template-rows:150px auto;border-radius:28px;overflow:hidden;background:#fff;border:1px solid var(--line);color:var(--black);text-align:left;box-shadow:0 16px 34px rgba(0,0,0,.08);cursor:pointer}.hcx-product-card.is-compact{grid-template-rows:132px auto}.product-media{position:relative;display:flex;align-items:flex-end;justify-content:space-between;padding:12px;color:#fff}.product-media:after,.detail-media:after{content:"";position:absolute;inset:18% 14%;border-radius:999px;background:rgba(255,255,255,.28);filter:blur(16px)}.product-media span,.product-media b,.detail-media span,.detail-media b{position:relative;z-index:1}.product-media span,.detail-media span{padding:6px 8px;border-radius:999px;background:rgba(0,0,0,.34);font-size:9px;font-weight:950}.product-media b,.detail-media b{font-size:28px;letter-spacing:-.08em}.product-copy{min-width:0;display:grid;gap:6px;padding:12px}.product-copy small,.detail-body p,.product-copy p{color:var(--muted);font-size:10px}.product-copy b{min-height:36px;font-size:13px;line-height:1.25;letter-spacing:-.04em}.product-copy p{min-height:26px;margin:0;line-height:1.3}.price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}.price-row strong{font-size:22px;letter-spacing:-.06em}.price-row.small strong{font-size:14px}.price-row del{color:var(--muted);font-size:12px}.price-row span{color:#fff;background:var(--black);border-radius:999px;padding:3px 6px;font-size:10px;font-weight:950}.card-cart{position:absolute;right:10px;top:10px;width:34px;height:34px;border-radius:14px;background:#fff;color:var(--black);font-size:20px;font-weight:900;box-shadow:0 10px 20px rgba(0,0,0,.12);cursor:pointer;touch-action:manipulation;z-index:3}.hcx-product-card:focus-visible,.card-cart:focus-visible{outline:2px solid var(--black);outline-offset:3px}
.ranking-card{grid-template-columns:40px 78px 1fr;padding:10px}.rank-visual,.cart-thumb{height:78px;border-radius:22px;display:grid;place-items:center;color:#fff;font-weight:950}.ranking-card small,.ranking-card p,.hcx-cart-line small,.order-card small{display:block;color:var(--muted);font-size:10px}.ranking-card b,.ranking-card strong{display:block;margin-top:4px}.brand-stats,.profile-actions,.ops-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.brand-stats span,.profile-actions button,.ops-kpi div{min-height:72px;display:grid;align-content:center;gap:4px;border-radius:22px;background:#fff;border:1px solid var(--line);padding:10px;color:var(--black);font-size:10px;font-weight:850}.brand-stats b,.ops-kpi b{display:block;font-size:20px;letter-spacing:-.06em}.hcx-product-detail{overflow:hidden;border-radius:34px;background:#fff}.detail-media{min-height:310px;display:flex;align-items:flex-end;justify-content:space-between;padding:20px;color:#fff}.detail-body,.option-board,.trust-panel{padding:16px;border-top:1px solid var(--line)}.brand-link{padding:0;background:transparent;color:var(--muted);font-size:11px;font-weight:950}.detail-body h1{margin:10px 0 8px;font-size:28px;line-height:.98;letter-spacing:-.08em}.option-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(84px,1fr);gap:8px;overflow-x:auto}.hcx-option{min-height:48px;padding:0 12px;border-radius:17px;border:1px solid var(--line);background:#fff;color:var(--black);font-weight:950}.hcx-option.is-active{color:#fff;background:var(--black)}.trust-panel{display:grid;gap:8px}.trust-panel.compact-trust{margin-top:12px;border-radius:28px;border:1px solid var(--line);background:#fff}.trust-item{padding:12px;border-radius:20px;background:#f7f6f1;border:1px solid rgba(0,0,0,.06)}.trust-item b{display:block;margin-bottom:5px;font-size:12px}
.live-fixed-cta{position:absolute;left:50%;bottom:calc(66px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),406px);z-index:4;display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px;border-radius:24px;background:rgba(16,16,16,.94);color:#fff;box-shadow:0 22px 46px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.live-fixed-cta small,.live-fixed-cta b{display:block}.live-fixed-cta small{opacity:.58;font-size:10px}.live-fixed-cta b{font-size:16px}.live-fixed-cta button{min-height:42px;padding:0 13px;border-radius:17px;background:#fff;color:var(--black);font-size:12px;font-weight:950}.live-fixed-cta button.ghost{color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}.hcx-cart-line{grid-template-columns:74px 1fr auto;padding:10px}.hcx-cart-line b,.order-card b{display:block;font-size:12px;line-height:1.25}.hcx-cart-line strong{display:block;margin-top:6px}.qty-box{display:grid;grid-template-columns:repeat(3,32px);gap:5px;justify-items:center}.qty-box button,.qty-box span{width:32px;height:32px;display:grid;place-items:center;border-radius:12px;color:var(--black);background:#f3f1ea;font-weight:950}.qty-box button:last-child{grid-column:1/-1;width:100%;color:#fff;background:#111}.cart-summary{position:sticky;bottom:8px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:12px;padding:14px;border-radius:26px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px)}.cart-summary b{font-size:22px;letter-spacing:-.07em}.cart-summary button{grid-column:1/-1}.checkout-card{display:grid;gap:12px;margin-top:12px;padding:14px;border-radius:28px}.checkout-card label{display:grid;gap:7px}.checkout-card textarea{min-height:96px;resize:vertical}.profile-card{display:grid;grid-template-columns:86px 1fr;gap:14px;align-items:center;border-radius:30px;padding:14px}.profile-card img{width:86px;height:86px;border-radius:26px}.profile-card h1{margin:6px 0;font-size:25px;line-height:.95;letter-spacing:-.08em}.order-card{grid-template-columns:1fr auto auto;padding:12px}.order-card span{padding:7px 10px;border-radius:999px;color:#fff;background:var(--black);font-size:10px;font-weight:950}.ops-kpi div{min-height:94px}.ops-board{display:grid;gap:10px;margin-top:12px}.ops-board article{padding:15px;border-radius:26px}.ops-board b{display:block;margin-bottom:8px}.brand-admin-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:20px;text-align:left}.brand-admin-list span{color:var(--muted);font-size:10px}.empty-state{min-height:160px;display:grid;place-items:center;align-content:center;gap:8px;border-radius:28px;border:1px dashed var(--line);background:rgba(255,255,255,.55);text-align:center}
@media(max-width:360px){.sx-hero{grid-template-columns:1fr}.sx-hero-mascot{width:132px;justify-self:end}.module-strip{grid-template-columns:repeat(2,1fr)}.hcx-product-grid{grid-template-columns:1fr}.live-fixed-cta{grid-template-columns:1fr 1fr}.live-fixed-cta div{grid-column:1/-1}}
@media(min-width:760px){#hanariLiveApp{display:grid;place-items:center;padding:28px}.live-shell{height:min(920px,calc(100vh - 56px));min-height:740px;border-radius:36px}}

/* Brand rail: keep shop identity separate from real brand navigation and enable mobile swipe. */
:where(.brand-rail,.brand-row,.brand-strip,.brand-scroll,.brand-list,.brand-grid,.brand-pills,.live-brand-row){display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:8px;max-width:100%}
:where(.brand-rail,.brand-row,.brand-strip,.brand-scroll,.brand-list,.brand-grid,.brand-pills,.live-brand-row)::-webkit-scrollbar{display:none}
.brand-pill{flex:0 0 clamp(104px,32vw,138px);scroll-snap-align:start;white-space:normal}
@supports selector(:has(*)){.live-section:has(.brand-pill),.hcx-section:has(.brand-pill),section:has(.brand-pill),div:has(>.brand-pill){overflow:visible}.live-section:has(.brand-pill)>:where(.brand-rail,.brand-row,.brand-strip,.brand-scroll,.brand-list,.brand-grid,.brand-pills,.live-brand-row),.hcx-section:has(.brand-pill)>:where(.brand-rail,.brand-row,.brand-strip,.brand-scroll,.brand-list,.brand-grid,.brand-pills,.live-brand-row){margin-inline:-4px;padding-inline:4px}}
/* Final mobile brand rail fix: @sxhxhshdgd is a shop name, real brands swipe horizontally. */
.brand-rail,
.brand-row,
.brand-strip,
.brand-scroll,
.brand-list,
.brand-grid,
.brand-pills,
.live-brand-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x proximity !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-x: contain !important;
  padding: 0 4px 10px !important;
  margin-inline: -4px !important;
}

.brand-rail::-webkit-scrollbar,
.brand-row::-webkit-scrollbar,
.brand-strip::-webkit-scrollbar,
.brand-scroll::-webkit-scrollbar,
.brand-list::-webkit-scrollbar,
.brand-grid::-webkit-scrollbar,
.brand-pills::-webkit-scrollbar,
.live-brand-row::-webkit-scrollbar {
  display: none !important;
}

.brand-pill {
  flex: 0 0 clamp(112px, 34vw, 148px) !important;
  min-width: clamp(112px, 34vw, 148px) !important;
  scroll-snap-align: start !important;
  white-space: normal !important;
}

.brand-pill[data-brand="sxh"],
.brand-pill[data-id="sxh"],
.brand-pill[data-brand-id="sxh"] {
  display: none !important;
}

/* Precision mobile alignment pass: icons, text rhythm, and product grids. */
.live-logo-lockup{max-width:min(58vw,230px)}
.live-logo-lockup span{min-width:0}
.live-logo-lockup b,
.live-logo-lockup small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-logo-lockup b{line-height:1.15}
.live-logo-lockup small{line-height:1.25}
.sx-hero{align-items:stretch}
.sx-hero h1{line-height:.96;max-width:11ch}
.sx-hero-mascot{width:min(100%,132px);justify-self:end;align-self:end;display:grid;place-items:center;transform:rotate(3deg)}
.sx-hero-mascot img{display:block;transform:scale(.98)}
.module-tile{display:grid;align-content:space-between;gap:10px}
.module-tile b{min-height:30px;line-height:1.15;word-break:keep-all}
.module-tile span{margin-top:0;line-height:1.2;white-space:nowrap}
.hcx-product-grid.compact{grid-auto-flow:row;grid-auto-columns:initial;grid-template-columns:repeat(2,minmax(0,1fr));overflow-x:visible;padding-bottom:0}
.hcx-product-card.is-compact{grid-template-rows:136px auto}
.product-media{min-width:0}
.product-media span{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}
.product-copy b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px;line-height:1.28}
.product-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price-row.small{min-height:20px}
.card-cart{display:grid;place-items:center;border-radius:50%;line-height:1}
.live-tab{display:grid;place-items:center;text-align:center;line-height:1.1;white-space:nowrap}
@media(max-width:360px){
  .hcx-product-grid.compact{grid-template-columns:1fr}
  .module-tile b{min-height:auto}
}

/* Final hero typography safety correction. */
.sx-hero h1{line-height:1.08}
@media(max-width:420px){
  .sx-hero h1{font-size:clamp(30px,9.2vw,44px);line-height:1.08}
}

/* Korean display-title clipping guard for mobile fonts. */
@media(max-width:420px){
  .sx-hero h1{min-height:126px;margin-bottom:0}
}


/* Image performance layer: responsive WebP, fixed boxes, and lazy paint containment */
.hcx-optimized-picture{display:block;width:100%;height:100%;contain:paint}
.hcx-optimized-picture>img{display:block;width:100%;height:100%;object-fit:cover;background:#f4f4f1}
.live-logo .hcx-optimized-picture,.sx-hero-mascot .hcx-optimized-picture,.brand-avatar .hcx-optimized-picture,.brand-feature-logo .hcx-optimized-picture{width:100%;height:100%}
.profile-card>.hcx-optimized-picture.profile-logo{flex:0 0 72px;width:72px;height:72px;border-radius:24px;overflow:hidden;box-shadow:0 16px 36px rgba(0,0,0,.18)}
