/* EASEL ART V2 — editorial gallery system */
:root{
  --v2-bg:#fafaf7;--v2-paper:#ffffff;--v2-ink:#222720;--v2-muted:#686f65;
  --v2-line:#dedfd8;--v2-gold:#61735f;--v2-soft:#f0f1eb;--v2-green:#36483d;
  --v2-radius:2px;--v2-shadow:0 24px 70px rgba(47,40,31,.08)
}
html{scroll-behavior:smooth}
body{background:var(--v2-bg)!important;color:var(--v2-ink)!important;font-family:Inter,Arial,'Apple SD Gothic Neo','Noto Sans KR',sans-serif}
.site-header{
  height:78px!important;background:rgba(255,255,253,.97)!important;border-bottom:1px solid rgba(117,105,86,.22)!important;
  backdrop-filter:blur(18px)!important;padding:0 clamp(20px,4vw,66px)!important;gap:34px!important
}
.brand{gap:12px!important}.brand-mark{width:25px!important;height:25px!important;border-radius:50%!important;background:transparent!important;border:1px solid var(--v2-gold)!important;position:relative}
.brand-mark:after{content:"";position:absolute;inset:5px;border:1px solid var(--v2-gold);border-radius:50%}
.brand-name{font-family:Georgia,'Times New Roman',serif!important;font-size:17px!important;font-weight:600!important;letter-spacing:.18em!important}
.main-nav{gap:clamp(18px,2.5vw,38px)!important}.main-nav a{font-size:13px!important;letter-spacing:.03em!important;color:#39352f!important;position:relative;padding:28px 0}
.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:19px;height:1px;background:var(--v2-gold);transition:right .25s ease}.main-nav a:hover:after{right:0}
.header-actions .icon-btn{border:0!important;background:transparent!important;border-radius:0!important;width:34px!important;height:34px!important;font-size:17px!important}
.header-actions{gap:5px!important}
.hero{padding:30px clamp(20px,4vw,66px) 16px!important;max-width:1680px;margin:auto}
.hero-head{align-items:flex-start!important;margin-bottom:28px!important}.hero-title{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(28px,3.1vw,46px)!important;font-weight:400!important;letter-spacing:-.045em!important;max-width:780px}
.hero-sub{letter-spacing:.03em!important;font-size:13px!important;margin-top:12px!important;color:var(--v2-gold)!important}
.hero-carousel-wrap{position:relative}
.hero-rail{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 42px)/4)!important;gap:14px!important;padding:0 0 12px!important;scroll-padding:0!important}
.hero-card{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.hero-card .hero-img{aspect-ratio:auto!important;background:#ebe7df!important;min-height:260px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.hero-card .hero-img img{width:100%!important;height:auto!important;max-height:440px!important;object-fit:contain!important;background:#eeeae2}
.hero-card .hero-info{padding:13px 0 0!important}.hero-card .hero-info strong{font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;font-weight:500!important}
.hero-card .hero-info span{font-size:12px!important;letter-spacing:.02em!important}
.hero-nav button{background:rgba(20,18,15,.72)!important;border:0!important;box-shadow:none!important}
.toolbar-wrap{position:sticky!important;top:78px!important;background:rgba(250,250,247,.96)!important;border-top:1px solid var(--v2-line)!important;border-bottom:1px solid var(--v2-line)!important}
.toolbar{padding:11px clamp(20px,4vw,66px)!important;gap:7px!important;max-width:1680px;margin:auto}
.chip{border:0!important;border-radius:0!important;background:transparent!important;padding:8px 11px!important;font-size:12px!important;color:#5a554e!important}
.chip.active{background:var(--v2-ink)!important;color:#fff!important}.view-btn{border:1px solid var(--v2-line)!important;border-radius:0!important;background:transparent!important}
.view-btn.active{background:var(--v2-ink)!important;color:#fff!important}
.discovery-bar{max-width:1680px!important;margin:22px auto 0!important;padding:0 clamp(20px,4vw,66px)!important;display:grid!important;grid-template-columns:minmax(260px,1fr) auto auto!important;gap:10px!important;align-items:center}
.search-box,.sort-select,.v2-filter-toggle{height:44px!important;border:1px solid var(--v2-line)!important;border-radius:0!important;background:var(--v2-paper)!important}
.search-box{display:flex;align-items:center;padding:0 13px}.search-box input{background:transparent!important}.sort-select{padding:0 34px 0 12px!important}
.v2-filter-toggle{padding:0 17px;color:var(--v2-ink);font-size:12px;letter-spacing:.03em}
.v2-filter-panel{max-width:1680px;margin:10px auto 0;padding:0 clamp(20px,4vw,66px);display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.v2-filter-panel[hidden]{display:none!important}.v2-filter-panel label{display:grid;gap:6px;font-size:10px;letter-spacing:.1em;color:var(--v2-muted);text-transform:uppercase}
.v2-filter-panel select{height:42px;border:1px solid var(--v2-line);background:var(--v2-paper);padding:0 10px}
.v2-filter-reset{align-self:end;height:42px;border:1px solid var(--v2-ink);background:transparent}
.gallery{max-width:1680px;margin:auto;padding:28px clamp(20px,4vw,66px) 92px!important}
.grid.auto{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:44px 18px!important}
.art-card{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.art-thumb{aspect-ratio:auto!important;background:#eae6df!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:230px}
.art-thumb img{width:100%!important;height:auto!important;max-height:560px!important;object-fit:contain!important;transition:opacity .25s ease!important}.art-card:hover .art-thumb img{transform:none!important;opacity:.94}
.art-overlay{opacity:1!important;right:8px!important;top:8px!important}.art-overlay button{width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.9)!important;box-shadow:none!important}
.art-info{padding:13px 0 0!important;border-top:0!important}.art-title{font-family:Georgia,'Times New Roman',serif!important;font-size:19px!important;font-weight:500!important}
.art-meta{font-size:12px!important;color:var(--v2-muted)!important;line-height:1.6!important}.art-price{font-size:14px!important;font-weight:600!important;margin-top:8px!important}
.v2-card-material{display:block;font-size:11px;color:#8b8479;margin-top:2px}.badge{border-radius:0!important;left:8px!important;top:8px!important;background:rgba(24,22,18,.84)!important;font-size:9px!important;letter-spacing:.14em!important}
.grid.list .art-card{grid-template-columns:220px minmax(0,1fr)!important;border-bottom:1px solid var(--v2-line)!important;padding-bottom:18px}.grid.list .art-thumb{min-height:160px}
.grid.one{max-width:920px;margin:auto}.grid.one .art-thumb{min-height:420px}.grid.one .art-title{font-size:26px!important}
.v2-section{max-width:1680px;margin:0 auto;padding:64px clamp(20px,4vw,66px);border-top:1px solid var(--v2-line)}
.v2-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.v2-section h2{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:0}.v2-section p{color:var(--v2-muted);margin:0;font-size:13px}
.v2-artist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.v2-artist-card{background:var(--v2-paper);border:1px solid var(--v2-line);padding:26px;min-height:180px}.v2-artist-card small{color:var(--v2-gold);letter-spacing:.12em}.v2-artist-card h3{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:40px 0 7px}.v2-artist-card p{line-height:1.7}
.v2-collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.v2-collection-card{min-height:250px;padding:28px;background:#1c1a17;color:white;display:flex;flex-direction:column;justify-content:flex-end}.v2-collection-card:nth-child(2){background:#ddd3c4;color:#1d1a15}.v2-collection-card:nth-child(3){background:#59665d}.v2-collection-card small{letter-spacing:.16em;font-size:9px}.v2-collection-card strong{font-family:Georgia,serif;font-size:28px;font-weight:400;margin-top:10px}

/* Artwork detail — collecting decision screen */
.modal{background:rgba(26,23,18,.66)!important;padding:20px!important}
.modal .panel{width:min(1440px,100%)!important;height:min(900px,calc(100dvh - 40px))!important;border-radius:0!important;grid-template-columns:minmax(0,1.62fr) minmax(380px,.88fr)!important;background:var(--v2-paper)!important}
.detail-media{background:#e9e5dd!important;padding:32px!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;place-items:center!important;overflow:hidden!important}.detail-media #detailImg{max-height:calc(100dvh - 104px)!important;width:auto!important;height:auto!important;object-fit:contain!important;box-shadow:0 18px 60px rgba(39,33,25,.1)}
.detail-side{padding:42px 38px 60px!important;overflow:auto!important}.detail-title{font-family:Georgia,serif!important;font-size:36px!important;font-weight:400!important;letter-spacing:-.025em!important;margin-top:8px!important}.detail-meta{font-size:10px!important;letter-spacing:.16em!important;color:var(--v2-gold)!important}.detail-price{font-size:20px!important;margin:22px 0!important}
.v2-detail-facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--v2-line);margin:18px 0}.v2-detail-fact{padding:11px 0;border-bottom:1px solid var(--v2-line)}.v2-detail-fact:nth-child(odd){padding-right:15px}.v2-detail-fact small{display:block;font-size:9px;letter-spacing:.12em;color:var(--v2-muted);margin-bottom:3px;text-transform:uppercase}.v2-detail-fact strong{font-family:Georgia,serif;font-size:14px;font-weight:500}
.detail-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.detail-actions .btn{border-radius:0!important;min-height:45px!important}.detail-actions #buyBtn{grid-column:1/-1;background:var(--v2-ink)!important;color:#fff!important}.detail-actions #artworkChatBtn{display:none!important}
.v2-trust-row{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:18px 0 8px;font-size:11px;color:#514b43}.v2-trust-row span:before{content:"✓";color:var(--v2-gold);margin-right:7px}
.v2-certificate-btn{display:block;border-top:1px solid var(--v2-line);border-bottom:1px solid var(--v2-line);padding:13px 0;margin-top:16px;font-size:11px;letter-spacing:.1em;color:#594326}.v2-certificate-btn[hidden]{display:none!important}
.detail-side .section{border-top:1px solid var(--v2-line)!important;margin-top:28px!important;padding-top:22px!important;scroll-margin-top:60px}.detail-side .section h3{font-family:Georgia,serif!important;font-size:19px!important;font-weight:500!important}
#artworkYoutube iframe{border-radius:0!important}
.v2-coa-note{padding:18px;border:1px solid var(--v2-line);background:#faf7f1;margin-top:10px}.v2-coa-note strong{display:block;font-family:Georgia,serif;font-size:16px;margin-bottom:4px}.v2-coa-note span{font-size:12px;color:var(--v2-muted)}

/* Actual-size viewer */
.room{background:#f1eee8!important}.room-top{height:68px!important;background:rgba(255,253,249,.96)!important;border-bottom:1px solid var(--v2-line)!important;padding:0 22px!important}.room-top strong{font-family:Georgia,serif;font-size:18px;font-weight:500}.v2-room-note{font-size:11px;color:var(--v2-muted)}
.room-stage{height:calc(100dvh - 158px)!important;min-height:470px!important;background:#e9e4da!important;position:relative!important;overflow:hidden!important;border:0!important}
.room-stage:before{content:"";position:absolute;left:0;right:0;bottom:13%;height:1px;background:#c9c0b1}
.room-stage .sofa{display:none!important}.room-stage .wall-line{display:none!important}
#roomArt{position:absolute!important;left:48%!important;top:40%!important;transform:translate(-50%,-50%)!important;cursor:default!important;transition:width .28s ease,height .28s ease!important;box-shadow:0 13px 34px rgba(42,35,26,.15)!important;pointer-events:none!important;background:#fff!important}
#roomArt img{width:100%!important;height:100%!important;object-fit:cover!important}.room-art-label{position:absolute!important;top:calc(100% + 10px)!important;left:50%!important;transform:translateX(-50%)!important;white-space:nowrap!important;background:transparent!important;color:#5f574d!important;font-size:11px!important}
#person{position:absolute!important;left:69%!important;bottom:13%!important;width:42px!important;height:220px!important;background:none!important;transform:translateX(-50%)!important;pointer-events:none!important}
#person .head{position:absolute!important;width:30%!important;aspect-ratio:1;left:35%!important;top:0!important;border:1.5px solid #4f4a43!important;border-radius:50%!important;background:transparent!important}
#person .body{position:absolute!important;left:49%!important;top:14%!important;width:1.5px!important;height:54%!important;background:#4f4a43!important;border:0!important}
#person .body:before,#person .body:after{content:"";position:absolute;top:16%;width:1.5px;height:43%;background:#4f4a43;transform-origin:top}.room-stage #person .body:before{transform:rotate(28deg)}.room-stage #person .body:after{transform:rotate(-28deg)}
#person .leg1,#person .leg2{position:absolute!important;top:66%!important;width:1.5px!important;height:34%!important;background:#4f4a43!important;transform-origin:top!important}.room-stage #person .leg1{left:49%!important;transform:rotate(8deg)!important}.room-stage #person .leg2{left:49%!important;transform:rotate(-8deg)!important}
.person-label{position:absolute!important;left:69%!important;bottom:9%!important;transform:translateX(-50%)!important;font-size:10px!important;color:#756d61!important}
#console{position:absolute!important;left:78%!important;bottom:13%!important;width:130px!important;height:100px!important;border-top:2px solid #796f63!important;background:transparent!important}
#console:before,#console:after{content:"";position:absolute;top:0;width:2px;height:100%;background:#796f63}.room-stage #console:before{left:12px}.room-stage #console:after{right:12px}
.v2-vase{position:absolute;left:78%;bottom:calc(13% + 100px);transform:translateX(-50%);width:24px;height:34px;border:1.5px solid #796f63;border-radius:5px 5px 12px 12px}.v2-vase:before{content:"";position:absolute;left:11px;bottom:31px;width:1px;height:52px;background:#6f765f;transform:rotate(-10deg);transform-origin:bottom}.v2-vase:after{content:"";position:absolute;left:12px;bottom:55px;width:24px;height:12px;border:1px solid #6f765f;border-radius:50%;transform:rotate(-34deg)}
.v2-child{position:absolute;left:74%;bottom:13%;width:32px;height:150px;transform:translateX(-50%);pointer-events:none}.v2-child:before{content:"";position:absolute;width:14px;height:14px;border:1.5px solid #655f57;border-radius:50%;left:9px;top:0}.v2-child:after{content:"";position:absolute;left:16px;top:19px;width:1.5px;height:120px;background:#655f57}
.v2-child[hidden]{display:none!important}
.room-controls{min-height:90px!important;background:var(--v2-paper)!important;border-top:1px solid var(--v2-line)!important;padding:13px 20px!important;gap:6px!important}.size-btn{border-radius:0!important;border:1px solid var(--v2-line)!important;background:transparent!important}.size-btn.active{background:var(--v2-ink)!important;color:#fff!important}.room-custom{border-radius:0!important}.v2-figure-toggle{display:flex;gap:4px;margin-left:auto}.v2-figure-toggle button{height:34px;border:1px solid var(--v2-line);background:transparent;font-size:11px}.v2-figure-toggle button.active{background:#5c554c;color:#fff}

/* Admin V2 */
.admin{background:#f3f2ef!important}.admin-side{background:#171612!important}.admin-brand strong{font-family:Georgia,serif!important;letter-spacing:.14em!important}.admin-form-card,.admin-preview-panel,.admin-box{border-radius:4px!important;border:1px solid #ddd9d0!important;box-shadow:none!important}.admin-field input,.admin-field select,.admin-field textarea{border-radius:3px!important;border-color:#ddd8cf!important;background:#fff!important}.admin-primary{border-radius:3px!important}.v2-cert-admin-note{border:1px solid #cdbb9a;background:#fbf7ef;padding:13px 14px;border-radius:3px}.v2-cert-admin-note strong{display:block;font-size:12px;color:#6e5126;margin-bottom:3px}.v2-cert-admin-note span{font-size:11px;color:#786f63}.v2-admin-cert-link{display:inline-flex;align-items:center;gap:7px;margin-top:9px;padding:8px 10px;border:1px solid #bea77d;font-size:11px;background:#fff}
.admin-entry{opacity:.48!important;font-size:11px!important}

/* Legacy chat UI is replaced by one inquiry path */
#artworkChatModal{display:none!important}

@media(max-width:1120px){
  .hero-rail{grid-auto-columns:calc((100% - 28px)/3)!important}.grid.auto{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .v2-filter-panel{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .site-header{height:66px!important;padding:0 16px!important}.toolbar-wrap{top:66px!important}
  .hero{padding-top:34px!important}.hero-rail{grid-auto-columns:74vw!important}.grid.auto{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 10px!important}
  .discovery-bar{grid-template-columns:1fr auto!important}.v2-filter-toggle{grid-column:2}.sort-select{grid-column:1/-1;width:100%}
  .v2-filter-panel{grid-template-columns:1fr 1fr}.modal{padding:0!important}.modal .panel{height:100dvh!important;grid-template-columns:1fr!important;overflow:auto!important}.detail-media{min-height:52dvh!important;padding:20px!important}.detail-side{overflow:visible!important;padding:28px 20px 60px!important}
  .v2-artist-grid,.v2-collection-grid{grid-template-columns:1fr}.room-stage{height:calc(100dvh - 210px)!important}
}
@media(max-width:560px){
  .hero-title{font-size:34px!important}.grid.auto{grid-template-columns:1fr 1fr!important}.art-thumb{min-height:170px}.art-title{font-size:16px!important}
  .v2-filter-panel{grid-template-columns:1fr}.v2-detail-facts{grid-template-columns:1fr}.detail-actions{grid-template-columns:1fr!important}.detail-actions #buyBtn{grid-column:auto}.v2-trust-row{grid-template-columns:1fr}
  #console,.v2-vase{display:none!important}#person{left:78%!important}.person-label{left:78%!important}#roomArt{left:43%!important}
}
