:root {
  --ink: #171717;
  --brand: #242424;
  --brand-dark: #0f0f0f;
  --muted: #565656;
  --subtle: #686868;
  --control-border: #878787;
  --line: #dedede;
  --soft: #f2f2f2;
  --soft-hover: #e8e8e8;
  --surface: #fafafa;
  --paper: #fff;
  --bg: var(--paper);
  --focus: #4d4d4d;
  --gutter: clamp(24px, 4.5vw, 80px);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px;
  color-scheme: light;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.65}body.has-dialog{overflow:hidden}button,input,textarea,select{font:inherit}button,input,textarea,select,a,summary{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0}button:disabled,select:disabled{cursor:wait;opacity:.55}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}::selection{background:var(--brand);color:var(--paper)}a{color:var(--brand);text-underline-offset:4px}p,h1,h2,h3{margin:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-100px;padding:12px 18px;background:var(--paper);border:1px solid var(--brand);z-index:100}.skip-link:focus{top:16px}.site-shell{width:100%;margin:0 auto}
.site-header{height:88px;padding:0 var(--gutter);display:grid;grid-template-columns:minmax(200px,1fr) auto minmax(200px,1fr);align-items:center;gap:35px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:max-content;color:var(--ink);text-decoration:none}.brand-name{font-size:24px;font-weight:800;letter-spacing:-.055em;line-height:1.2}.wordmark-dot{color:var(--brand);margin-left:1px}.brand-note{font-size:12px;letter-spacing:.035em;color:var(--subtle);line-height:1.5}.header-nav{align-self:stretch;display:flex;align-items:stretch;gap:39px}.header-nav a{display:flex;align-items:center;position:relative;font-size:15px;font-weight:600;color:var(--subtle);text-decoration:none;padding:0 5px}.header-nav a:hover,.header-nav a.active{color:var(--brand)}.header-nav a.active:after{content:"";position:absolute;bottom:0;height:3px;background:var(--brand);left:0;right:0}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px;white-space:nowrap}.collection-badge{font-size:13px;color:var(--subtle)}.text-button{display:flex;align-items:center;gap:7px;background:none;padding:9px 0;font-size:14px;font-weight:550;color:var(--muted)}.text-button:hover{color:var(--brand)}.text-button svg{width:17px;height:17px;stroke-width:1.5}
.hero-topline{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:550;color:var(--subtle)}.demo-label{font-size:12px;color:var(--muted);letter-spacing:.015em}.hero-description{word-break:keep-all;font-size:16px;color:var(--paper);line-height:1.75;letter-spacing:-.015em}.search-form{position:relative;display:flex;align-items:center;gap:12px;margin-top:23px;background:var(--paper);max-width:936px;min-height:64px;padding:7px 7px 7px 19px;border:1px solid var(--control-border);border-radius:3px}.search-form:focus-within{outline:2px solid var(--paper);outline-offset:2px}.search-icon{width:23px;height:23px;color:var(--subtle);margin-right:2px}.search-form textarea{display:block;width:100%;resize:none;background:none;border:0;outline:none!important;color:var(--ink);font-size:17px;line-height:1.65;min-height:36px;max-height:150px;padding:4px 0;overflow:auto;letter-spacing:-.02em}.search-form textarea::placeholder{color:var(--subtle)}.search-submit{display:flex;align-items:center;justify-content:center;flex:none;gap:10px;min-height:48px;min-width:125px;padding:10px 22px;border-radius:2px;background:var(--brand);color:var(--paper);font-size:15px;font-weight:600;letter-spacing:-.01em}.search-submit:hover{background:var(--brand-dark)}.search-submit svg{display:none}.clear-query{display:grid;place-items:center;flex:none;width:28px;height:34px;padding:0;background:none;color:var(--subtle)}.clear-query:hover{color:var(--ink)}.clear-query svg{width:17px;height:17px}.examples-row{display:flex;align-items:flex-start;gap:14px;margin-top:14px;max-width:1020px}.examples-label{font-size:14px;line-height:30px;color:var(--paper);white-space:nowrap}.example-buttons{display:flex;flex-wrap:wrap;gap:7px}.example-button{border:1px solid #ffffff66;border-radius:2px;background:#141414a6;color:var(--paper);font-size:14px;font-weight:400;padding:4px 10px;line-height:1.5;text-align:left;transition:background .15s,border-color .15s}.example-button:hover{background:var(--brand-dark);border-color:var(--paper)}

.gallery-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);gap:42px;align-items:start;max-width:1600px;margin:0 auto;padding:35px var(--gutter) 0}.filter-sidebar{position:sticky;top:25px}.filter-panel{border:0;border-radius:0;background:var(--paper)}.filter-panel summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:4px 0 17px;border-bottom:1px solid var(--ink);font-size:16px;font-weight:650;letter-spacing:-.025em}.filter-panel summary::-webkit-details-marker{display:none}.filter-panel summary svg{width:16px;height:16px;color:var(--subtle);transition:transform .15s}.filter-panel[open] summary svg{transform:rotate(180deg)}.filter-content{padding:16px 0 0}.filter-description{font-size:14px;line-height:1.9;color:var(--subtle);letter-spacing:-.015em;margin-bottom:23px}.filter-fields{display:grid;gap:21px}.filter-field>span:first-child{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:8px}.select-wrap{display:block;position:relative}.select-wrap select{appearance:none;-webkit-appearance:none;width:100%;border:1px solid var(--control-border);border-radius:2px;background:var(--paper);color:var(--ink);font-size:14px;line-height:1.5;padding:10px 32px 10px 12px;cursor:pointer}.select-wrap select:hover{border-color:var(--brand)}.select-wrap>svg{position:absolute;top:14px;right:10px;width:14px;height:14px;color:var(--subtle);pointer-events:none}.reset-button{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:25px;width:100%;padding:10px 3px;min-height:41px;background:var(--soft);color:var(--subtle);font-size:14px;border-radius:2px}.reset-button:hover{background:var(--soft-hover);color:var(--brand)}.reset-button svg{width:15px;height:15px}.filter-note{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.note-title{display:block;font-size:14px;font-weight:600;color:var(--subtle);margin-bottom:7px}.filter-note p{font-size:14px;line-height:1.95;color:var(--subtle);word-break:keep-all;overflow-wrap:anywhere}.gallery-section{min-width:0;scroll-margin-top:25px}.results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;min-height:49px}.section-eyebrow{font-size:13px;letter-spacing:.035em;color:var(--subtle);margin-bottom:3px;max-width:850px;overflow-wrap:anywhere}.results-heading h2{font-size:24px;font-weight:600;letter-spacing:-.045em;line-height:1.5;color:var(--ink)}.sort-label{flex:none;min-width:110px}.sort-label .select-wrap select{background:var(--paper);border-color:transparent;font-size:14px;padding:8px 26px 8px 7px;color:var(--subtle)}.sort-label .select-wrap>svg{top:13px;right:5px;width:12px;height:12px}.query-summary{margin-bottom:22px;border:1px solid var(--line);border-left:3px solid var(--brand);background:var(--surface);border-radius:0;padding:15px 17px}.summary-label{font-size:14px;font-weight:600;color:var(--subtle);margin-bottom:8px}.condition-chips{display:flex;flex-wrap:wrap;gap:6px}.condition-chip{display:inline-flex;align-items:center;gap:5px;background:var(--soft-hover);color:var(--brand);border-radius:2px;padding:3px 8px;font-size:14px;line-height:1.6;font-weight:500}.condition-chip.filter{background:var(--soft);color:var(--muted)}.search-explanation{font-size:14px;line-height:1.85;color:var(--subtle);margin-top:9px}.search-explanation:empty{display:none}.unrecognized-note{font-size:14px;line-height:1.8;color:var(--muted);background:var(--surface);padding:9px 11px;margin-top:10px;border-radius:2px}.result-status{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:15px}.result-status:empty{display:none}.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 25px}.art-card{display:block;min-width:0;width:100%;height:100%;padding:0;text-align:left;background:var(--paper);border:0;border-radius:0;overflow:hidden;border-bottom:1px solid var(--line)}.art-card:hover .art-frame{background:var(--soft-hover)}.art-card:hover .art-title{color:var(--brand)}.art-card:hover .art-frame img{transform:scale(1.025)}.art-frame{height:235px;display:grid;place-items:center;position:relative;overflow:hidden;padding:24px;background:var(--soft);transition:background .18s}.art-frame img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #00000015);transition:transform .3s}.image-missing{font-size:14px;text-align:center;color:var(--subtle)}.art-frame .frame-number{position:absolute;left:10px;top:10px;background:#ffffffdf;color:var(--subtle);padding:1px 6px;font-size:12px;line-height:1.7;border-radius:2px}.art-card-body{padding:15px 0 21px}.art-artist{font-size:13px;line-height:1.8;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.art-title{font-size:18px;line-height:1.55;font-weight:600;letter-spacing:-.035em;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.95em;transition:color .15s}.art-date{font-size:12px;line-height:1.8;margin-top:5px;color:var(--subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.art-tags{display:flex;flex-wrap:wrap;gap:5px;min-height:26px;margin-top:12px}.art-tag{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:2px;background:var(--soft);padding:2px 7px;font-size:14px;line-height:1.6;color:var(--subtle)}.art-tag.matched{color:var(--brand);background:var(--soft-hover)}.color-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;border:1px solid #00000044}.gallery-bottom-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid var(--line);margin-top:32px;padding:20px 0;color:var(--subtle);font-size:14px;line-height:1.9}.gallery-bottom-note svg{width:16px;height:16px;margin-top:4px;color:var(--subtle)}.empty-state,.error-state{display:grid;justify-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:2px;padding:65px 28px;text-align:center;min-height:345px}.empty-state>svg{width:43px;height:43px;color:var(--subtle);stroke-width:1.2;margin-bottom:8px}.empty-state h3,.error-state h3{font-size:21px;font-weight:600;letter-spacing:-.035em}.empty-state p,.error-state p{font-size:16px;line-height:1.9;color:var(--subtle);max-width:430px}.primary-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;background:var(--brand);color:var(--paper);border:1px solid var(--brand);border-radius:2px;padding:10px 20px;font-size:14px;font-weight:550}.primary-button:hover{background:var(--brand-dark)}.empty-state .primary-button,.error-state .primary-button{margin-top:7px}.site-footer{max-width:1600px;margin:51px auto 0;padding:27px var(--gutter) 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--subtle);font-size:12px;line-height:1.9}.site-footer>p:first-child{display:flex;gap:16px;align-items:center;font-size:13px;color:var(--subtle)}.site-footer>p:first-child strong{font-size:16px;color:var(--ink);letter-spacing:.045em;font-weight:700}.site-footer>p:first-child span{color:var(--subtle)}.site-footer a{color:var(--subtle)}.footer-divider{padding:0 7px}.skeleton{pointer-events:none;min-height:370px}.skeleton .art-frame{background:linear-gradient(100deg,var(--soft) 30%,var(--surface) 50%,var(--soft) 70%);background-size:200% 100%;animation:shimmer 1.8s infinite}.skeleton-line{height:13px;margin-top:9px;background:var(--soft);width:80%;border-radius:1px}.skeleton-line.short{width:50%}@keyframes shimmer{to{background-position:-200% 0}}
/* Artwork and method dialogs */
dialog{color:var(--ink);border:0;background:var(--paper);border-radius:4px;padding:0;max-height:calc(100vh - 50px);box-shadow:0 25px 100px #00000060;overflow:auto}dialog::backdrop{background:#000000b8;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:15px;top:15px;z-index:3;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:2px;background:var(--paper);color:var(--muted)}.dialog-close:hover{color:var(--brand);background:var(--surface)}.art-dialog{width:min(1120px,calc(100% - 50px))}.art-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:560px}.detail-image-area{position:sticky;top:0;display:flex;align-items:center;justify-content:center;background:var(--soft);padding:38px;max-height:calc(100vh - 52px);min-height:460px}.detail-image-area img{display:block;max-width:100%;max-height:calc(100vh - 135px);width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 5px 8px #00000015)}.detail-body{min-width:0;padding:39px 35px 32px}.detail-body .eyebrow{font-size:12px;letter-spacing:.13em;color:var(--subtle);padding-right:20px}.detail-title{font-size:27px;font-weight:600;letter-spacing:-.045em;line-height:1.5;margin:12px 0 8px}.detail-original-title{font-size:14px;color:var(--subtle);line-height:1.8;margin-bottom:13px}.detail-artist{font-size:16px;color:var(--brand);margin-bottom:21px}.detail-metadata{margin:0;display:grid;grid-template-columns:82px minmax(0,1fr);gap:7px 13px;font-size:14px;line-height:1.85}.detail-metadata dt{color:var(--subtle)}.detail-metadata dd{margin:0;color:var(--muted);overflow-wrap:anywhere}.detail-section{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.detail-section h3{font-size:16px;font-weight:600;line-height:1.8;margin-bottom:10px}.detail-section p{font-size:16px;line-height:1.95;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.detail-section .detail-note{font-size:14px;line-height:1.9;color:var(--subtle);margin-top:10px}.review-label{display:inline-block;font-size:12px;font-weight:500;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:2px;padding:1px 6px;margin-left:7px}.review-label.pending{color:var(--subtle);background:var(--soft);border-color:var(--line)}.detail-source{display:inline-flex;gap:7px;align-items:center;text-decoration:none;border:1px solid var(--line);border-radius:2px;padding:9px 12px;margin-top:22px;color:var(--brand);font-size:14px;font-weight:500}.detail-source:hover{border-color:var(--brand);color:var(--brand)}.detail-source svg{width:16px;height:16px}.detail-license{font-size:12px;line-height:1.9;color:var(--subtle);margin-top:10px}.method-dialog{width:min(650px,calc(100% - 40px));padding:36px 39px}.method-dialog>.eyebrow{color:var(--muted);font-size:12px}.method-dialog>h2{font-size:28px;font-weight:600;letter-spacing:-.045em;margin:8px 0 15px}.method-intro{font-size:16px;line-height:1.95;color:var(--muted)}.method-steps{list-style:none;margin:27px 0 0;padding:0;display:grid;gap:23px}.method-steps li{display:flex;align-items:flex-start;gap:14px}.step-marker{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid var(--line);border-radius:2px;color:var(--brand);background:var(--soft);font-size:14px;font-weight:600;margin-top:2px}.method-steps h3{font-size:16px;font-weight:600;line-height:1.75;margin:0 0 6px}.method-steps p{font-size:16px;line-height:1.9;color:var(--subtle)}.method-current{font-size:14px;line-height:1.9;color:var(--brand);background:var(--surface);border-left:2px solid var(--brand);padding:12px 14px;margin-top:24px}.model-record{border-top:1px solid var(--line);margin-top:23px;padding-top:18px}.model-record>span{font-size:14px;font-weight:600;color:var(--subtle)}.model-record>p{font-size:14px;line-height:1.85;margin-top:5px;overflow-wrap:anywhere}.model-stats{display:flex;gap:15px;flex-wrap:wrap;font-size:14px;color:var(--subtle);margin-top:11px}.model-stats strong{font-weight:600;color:var(--brand)}.method-limit{font-size:14px;line-height:1.9;color:var(--subtle);margin-top:19px}.method-done{width:100%;margin-top:25px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:var(--ink);color:var(--paper);border-radius:3px;padding:11px 19px;font-size:14px;max-width:calc(100% - 35px);box-shadow:0 6px 25px #00000038;text-align:center}
@media(min-width:1450px){.hero-content{padding-top:37px;padding-bottom:34px}.search-hero h1{font-size:46px}.gallery-workspace{grid-template-columns:210px minmax(0,1fr);gap:46px}.art-frame{height:260px}}
@media(max-width:1200px){.site-header{gap:25px}.header-nav{gap:26px}.collection-badge{display:none}.examples-row{max-width:850px}.search-form{max-width:900px}.gallery-workspace{grid-template-columns:180px minmax(0,1fr);gap:30px}.art-grid{gap:24px 20px}.art-frame{height:211px;padding:19px}.art-title{font-size:17px}.detail-body{padding:35px 27px}.detail-image-area{padding:30px}}
@media(max-width:1000px){.gallery-workspace{grid-template-columns:170px minmax(0,1fr);gap:26px}.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 22px}.art-frame{height:245px;padding:23px}.site-header{grid-template-columns:1fr auto 1fr;gap:20px}.brand-name{font-size:22px}.header-nav{gap:23px}.header-nav a{font-size:14px}.header-actions{gap:0}.search-hero h1{font-size:40px}.detail-title{font-size:24px}.detail-metadata{grid-template-columns:82px 1fr;gap:7px 10px}}
@media(max-width:760px){:root{--gutter:25px}.site-header{height:79px;grid-template-columns:1fr auto;gap:20px}.header-nav{display:none}.brand-name{font-size:23px}.brand-note{font-size:12px;letter-spacing:.025em}.text-button{font-size:14px}.hero-content{padding-top:29px;padding-bottom:27px}.hero-topline .demo-label{display:none}.eyebrow{font-size:12px;letter-spacing:.14em}.search-hero h1{font-size:35px;line-height:1.28;margin-top:15px;margin-bottom:12px}.hero-description{font-size:16px;max-width:440px;line-height:1.8}.search-form{margin-top:24px;min-height:62px;padding-left:15px;gap:9px}.search-form textarea{font-size:16px}.search-icon{width:20px;height:20px}.search-submit{min-width:104px;padding:10px 16px;font-size:14px}.examples-row{margin-top:15px;display:block}.examples-label{display:none}.example-buttons{gap:6px}.example-button{font-size:14px;padding:4px 9px}.gallery-workspace{display:block;padding-top:27px}.filter-sidebar{position:static;margin-bottom:27px}.filter-panel summary{font-size:15px;padding-bottom:12px}.filter-content{padding-top:15px}.filter-description{display:none}.filter-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.filter-field>span:first-child{font-size:14px;margin-bottom:7px}.filter-field .select-wrap select{font-size:14px;padding-left:10px}.reset-button{width:auto;font-size:14px;margin-top:13px;padding:7px 12px;min-height:35px}.filter-note{display:none}.desktop-break{display:none}.results-heading{margin-bottom:18px}.results-heading h2{font-size:23px}.art-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 18px}.art-frame{height:185px;padding:16px}.art-card-body{padding-top:12px}.art-title{font-size:16px;line-height:1.6;min-height:3em}.art-artist{font-size:13px}.art-date{font-size:12px}.art-tags{gap:4px;margin-top:9px}.art-tag{font-size:14px;padding:2px 5px}.site-footer{display:block;margin-top:38px;padding-top:22px}.site-footer p+p{margin-top:7px}.art-dialog{width:calc(100% - 30px);max-height:calc(100vh - 30px)}.art-detail{display:block}.detail-image-area{position:static;min-height:0;max-height:none;padding:27px 40px}.detail-image-area img{max-height:42vh;max-width:100%;width:auto;height:auto;object-fit:contain}.detail-body{padding:28px 28px 31px}.detail-title{font-size:25px}.detail-metadata{grid-template-columns:82px 1fr}.method-dialog{padding:32px}}
@media(max-width:540px){:root{--gutter:20px}.site-header{height:74px;gap:12px}.brand-name{font-size:21px}.brand-note{font-size:12px}.text-button{font-size:14px;gap:6px}.text-button svg{width:16px;height:16px}.hero-content{padding-top:29px;padding-bottom:27px}.search-hero h1{font-size:30px;line-height:1.31;letter-spacing:-.05em;margin-top:15px}.hero-description{font-size:16px;line-height:1.9;max-width:350px}.search-form{align-items:flex-start;min-height:68px;margin-top:23px;padding:8px 8px 8px 13px;gap:8px}.search-icon{width:19px;height:19px;margin-top:10px}.search-form textarea{font-size:16px;min-height:49px;line-height:1.75;padding-top:5px}.search-submit{min-width:42px;width:42px;min-height:42px;padding:10px;margin-top:3px}.search-submit>span{display:none}.search-submit>svg{display:block;width:20px;height:20px}.clear-query{position:absolute;right:62px;bottom:6px;width:24px;height:24px}.search-form:has(.clear-query:not([hidden])) textarea{padding-bottom:16px}.examples-row{margin-top:13px}.example-buttons{gap:6px}.example-button{font-size:14px;padding:4px 7px;letter-spacing:-.025em}.gallery-workspace{padding-top:24px}.filter-sidebar{margin-bottom:24px}.filter-panel summary{font-size:14px}.filter-fields{gap:8px}.filter-field>span:first-child{font-size:14px}.filter-field .select-wrap select{padding-left:8px;padding-right:24px;font-size:14px}.select-wrap>svg{right:7px;width:12px;height:12px;top:14px}.results-heading{gap:10px;margin-bottom:17px;min-height:45px}.results-heading h2{font-size:22px}.section-eyebrow{font-size:12px;max-width:230px}.sort-label{min-width:92px}.sort-label .select-wrap select{font-size:14px;padding-left:0;padding-right:22px}.sort-label .select-wrap>svg{right:3px}.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 14px}.art-frame{height:182px;padding:14px}.art-card-body{padding:11px 0 17px}.art-title{font-size:16px;min-height:3.2em}.art-artist{font-size:13px;line-height:1.75;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:1.75em}.art-date{font-size:12px}.art-tags{margin-top:9px;gap:4px}.art-tag{font-size:14px;padding:2px 5px}.query-summary{padding:13px}.summary-label,.condition-chip,.search-explanation,.unrecognized-note{font-size:14px}.empty-state,.error-state{min-height:310px;padding:45px 20px}.empty-state h3,.error-state h3{font-size:19px}.empty-state p,.error-state p{font-size:16px}.gallery-bottom-note{font-size:14px;line-height:1.95}.site-footer{font-size:12px}.site-footer>p:first-child{flex-wrap:wrap;gap:7px 13px;font-size:12px}.site-footer>p:last-child{max-width:330px}.art-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);border-radius:3px}.detail-image-area{padding:25px 35px}.detail-body{padding:26px 22px 30px}.detail-title{font-size:24px}.detail-body .eyebrow{font-size:12px}.detail-metadata{grid-template-columns:82px 1fr;font-size:14px}.dialog-close{top:12px;right:12px;width:34px;height:34px}.detail-section p{font-size:16px}.method-dialog{width:calc(100% - 24px);padding:30px 24px}.method-dialog>h2{font-size:26px}.method-intro{font-size:16px}.method-steps{gap:21px}.method-steps li{gap:11px}.method-steps p{font-size:16px}.step-marker{width:25px;height:25px}.model-stats{gap:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.art-card:hover .art-frame img{transform:none}}

.detail-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
}
.detail-tab {
  background: var(--paper);
  color: var(--muted);
  border-bottom: 2px solid transparent;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 15px;
  text-align: left;
}
.detail-tab[aria-selected="true"] {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}
.detail-match {
  margin-top: 12px;
  border-left: 2px solid var(--brand);
  padding: 9px 11px;
  background: var(--surface);
}
.detail-match h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
}
.detail-match p {
  font-size: 14px;
  color: var(--muted);
}
.visual-evidence {
  margin-top: 15px;
  padding: 11px 14px;
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.visual-evidence summary {
  cursor: pointer;
  font-weight: 600;
}
.visual-evidence h4 {
  margin: 12px 0 4px;
  font-size: 14px;
}
.visual-evidence ul {
  padding-left: 22px;
  margin: 0;
}
.visual-evidence li + li {
  margin-top: 4px;
}
.question-panel {
  min-height: 230px;
}
.question-intro {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 13px;
}
.question-form {
  display: flex;
  gap: 8px;
}
.question-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid var(--control-border);
  border-radius: 3px;
  background: var(--paper);
  font-size: 16px;
}
.question-input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.question-form .primary-button {
  flex-shrink: 0;
  padding-inline: 12px;
}
.question-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.question-example {
  color: var(--brand);
  background: var(--soft);
  padding: 5px 9px;
  border-radius: 2px;
  font-size: 14px;
  text-align: left;
}
.question-example:hover {
  background: var(--soft-hover);
}
.question-answer.has-answer {
  margin-top: 17px;
  padding: 13px 14px;
  border-left: 2px solid var(--brand);
  background: var(--surface);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.answer-text {
  white-space: pre-line;
}
.answer-source {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.filter-fields {
  grid-template-columns: minmax(0, 1fr);
}

.filter-note p {
  color: var(--muted);
}

.art-grid {
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
}

.art-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--paper);
  text-align: left;
}

.art-frame {
  height: auto;
  aspect-ratio: 3 / 2;
  padding: clamp(12px, 2vw, 25px);
}

.art-frame img {
  min-width: 0;
  min-height: 0;
}

.art-frame-source {
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.art-frame-source svg {
  width: 23px;
  height: 23px;
}

a.art-frame-source:hover span {
  text-decoration: underline;
}

.art-card .art-title {
  min-height: auto;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.card-category {
  margin-top: 7px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.art-card .art-date {
  white-space: normal;
  overflow-wrap: anywhere;
}

.art-detail {
  display: block;
  min-height: auto;
}

.detail-image-area {
  position: static;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: clamp(20px, 4vw, 44px);
}

.detail-image-area img {
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 660px);
}

.detail-image-area .art-frame-source {
  width: 100%;
}

.image-credit {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.image-credit a {
  color: inherit;
}

.art-dialog.without-image {
  width: min(650px, calc(100% - 30px));
}

.related-artworks {
  border-top: 1px solid var(--line);
}

.search-related {
  margin-bottom: 25px;
  padding-top: 15px;
}

.search-suggestions {
  margin-bottom: 18px;
}

.exact-results-title {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.search-suggestions h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.search-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-suggestions-list li {
  max-width: 100%;
}

.search-suggestion-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid var(--control-border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}

.search-suggestion-button:hover {
  border-color: var(--brand);
  background: var(--soft-hover);
}

.search-suggestion-count {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.detail-related {
  padding: 24px clamp(22px, 4vw, 39px) 34px;
}

.related-artworks h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.5;
}

.related-artwork-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-artwork-trigger {
  display: grid;
  align-content: start;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 0 0 8px;
  background: var(--paper);
  text-align: left;
  overflow-wrap: anywhere;
}

.related-artwork-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: clamp(7px, 1vw, 13px);
  margin-bottom: 5px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.related-artwork-preview img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.search-related .related-artwork-preview {
  height: clamp(78px, 9vw, 112px);
  aspect-ratio: auto;
}

.related-artwork-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.related-artwork-trigger:hover .related-artwork-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-artwork-artist,
.related-artwork-reason {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.related-artwork-reason {
  color: var(--brand);
}

@media (max-width: 1000px) {
  .related-artwork-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-related .related-artwork-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 27%);
    padding: 4px;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .filter-fields {
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  }
}

@media (max-width: 540px) {
  .related-artwork-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-related .related-artwork-list {
    grid-auto-columns: minmax(138px, 43%);
  }
}

/* Main artworks and entry points into the collection */
:root {
  --site-header-height: 72px;
  --hero-gutter: clamp(24px, 6.1vw, 104px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  height: var(--site-header-height);
}

#artwork-home, #artwork-collection, #search-form, #results {
  scroll-margin-top: var(--site-header-height);
}

.filter-sidebar {
  top: calc(var(--site-header-height) + 24px);
}

.search-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
  overflow: clip;
  color: var(--paper);
  background: #19201a;
}

.hero-artworks,
.hero-artwork-slide,
.search-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-artworks { z-index: -2; }

.hero-artwork-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--desktop-crop, center);
  opacity: 0;
}

.hero-artwork-slide[data-state="current"] { z-index: 1; opacity: 1; }
.hero-artwork-slide[data-state="incoming"] { z-index: 2; opacity: 1; }

.search-hero::before {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #121212e0 0%, #121212ab 32%, #12121236 60%, transparent 84%),
              linear-gradient(0deg, #121212b8, transparent 24%);
}

.hero-content, .hero-footer {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
  padding-inline: var(--hero-gutter);
}

.hero-content {
  display: grid;
  align-items: center;
  padding-block: clamp(30px, 8svh, 96px) 0;
}

.hero-search-panel { width: min(100%, 650px); }

.search-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(42px, 4.45vw, 72px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.065em;
  word-break: keep-all;
}

.hero-description {
  max-width: 465px;
  margin: 21px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

.hero-search-panel .search-form { margin-top: 28px; }

.hero-search-panel .example-button {
  padding-inline: 8px;
  font-size: 13px;
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-block: 16px 22px;
}

.hero-artwork-controls {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 3px;
  padding: 2px;
  border: 1px solid #ffffff59;
  border-radius: 30px;
  background: #171717a6;
}

.hero-artwork-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
}

.hero-artwork-controls button:hover { background: #ffffff26; }
.hero-artwork-controls button:focus-visible { outline-offset: -4px; }
.hero-artwork-controls svg { width: 16px; height: 16px; }
.hero-artwork-controls .hero-play-icon { fill: currentColor; stroke: none; }
.hero-artwork-controls[data-playing="true"] .hero-play-icon,
.hero-artwork-controls[data-playing="false"] .hero-pause-icon { display: none; }

.hero-artwork-index {
  min-width: 54px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hero-artwork-playback { padding-left: 2px; border-left: 1px solid #ffffff55; }

.hero-collection-link {
  display: grid;
  align-content: center;
  justify-items: center;
  grid-column: 2;
  min-height: 44px;
  font-size: 14px;
  color: var(--paper);
  text-decoration: none;
}

.hero-collection-link span { font-size: 18px; line-height: 1; }
.hero-collection-link:hover { text-decoration: underline; }

.hero-credit {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  padding: 3px 7px;
  background: #171717a6;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.hero-credit a { color: inherit; text-underline-offset: 3px; }
.search-hero :focus-visible { outline-color: var(--paper); }

@media (max-width: 760px) {
  :root { --site-header-height: 62px; --hero-gutter: 18px; }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-inline: var(--hero-gutter);
  }

  .header-nav { display: flex; gap: 10px; }
  .header-nav a { padding-inline: 3px; white-space: nowrap; }
  .brand-name { font-size: 20px; }
  .brand-note { font-size: 11px; }

  .hero-artwork-slide { object-position: var(--mobile-crop, 55% center); }

  .search-hero::before {
    background: linear-gradient(0deg, #121212e7 0%, #121212d1 29%, #121212a6 46%, #1212121a 74%, transparent 100%);
  }

  .hero-content { align-content: end; padding-block: 28px 18px; }
  .search-hero h1 { font-size: clamp(27px, 7.7vw, 41px); line-height: 1.14; }
  .search-hero h1 br { display: none; }
  .hero-description { margin-top: 7px; font-size: 14px; line-height: 1.65; }
  .hero-search-panel .search-form { margin-top: 12px; }
  .examples-row { margin-top: 8px; }
  .hero-search-panel .example-button { padding: 3px 7px; font-size: 12px; }

  .hero-footer {
    grid-template-columns: 1fr auto;
    grid-template-rows: minmax(24px, auto) auto;
    gap: 8px 10px;
    padding-block: 0 12px;
  }

  .hero-credit { grid-area: 1 / 1 / 2 / -1; justify-self: start; text-align: left; }
  .hero-artwork-controls { grid-area: 2 / 1; }
  .hero-collection-link { grid-area: 2 / 2; }
}

@media (max-width: 540px) {
  #open-method { justify-content: center; min-width: 38px; min-height: 40px; }
  #open-method span { display: none; }
  .search-hero .search-form {
    align-items: center;
    min-height: 56px;
    padding: 5px 5px 5px 11px;
  }
  .search-hero .search-icon { flex-shrink: 0; margin-top: 0; }
  .search-hero .search-form textarea { min-width: 0; min-height: 40px; }
  .search-hero .search-submit { margin-top: 0; }
}

@media (max-width: 365px) {
  .site-header { gap: 6px; }
  .header-nav { gap: 5px; }
  .hero-footer { grid-template-rows: minmax(42px, auto) auto; }
}
