:root{color-scheme:light;--forest:#173d32;--deep:#102e29;--text:#234337;--muted:#637568;--paper:#fcfaf4;--gold:#b8a074;--line:#ded5bd}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--text);font:16px/1.7 system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;word-break:keep-all}img{display:block;max-width:100%}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #b88e4d;outline-offset:4px}button{font:inherit;cursor:pointer}.skip{position:absolute;top:-80px;left:12px;z-index:100;padding:9px 16px;color:#fff;background:var(--deep)}.skip:focus{top:10px}
.gallery-header{position:sticky;top:0;z-index:30;background:rgba(252,249,240,.97);border-bottom:1px solid #e4dcca;backdrop-filter:blur(8px)}.gallery-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1190px;min-height:78px;margin:auto;padding:13px 25px}.gallery-logo{text-decoration:none;display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;color:#153f31;font-family:Georgia,"Noto Serif KR",serif;font-weight:750;font-size:25px;letter-spacing:-.07em}.gallery-logo small{font:700 10px/1.2 system-ui,sans-serif;letter-spacing:.17em;color:#8b7a5c}.gallery-header nav{display:flex;align-items:center;gap:clamp(9px,1.8vw,24px);flex-wrap:wrap}.gallery-header nav a{font-weight:650;text-decoration:none;font-size:13px}.gallery-header nav a:hover{text-decoration:underline;text-underline-offset:5px}.gallery-header .header-call{padding:10px 16px;color:white;background:var(--forest);border-radius:999px}
.gallery-hero{display:grid;grid-template-columns:.82fr 1.18fr;align-items:stretch;max-width:1220px;margin:26px auto 56px;padding:0 19px;gap:0}.gallery-hero-content{position:relative;z-index:1;display:flex;align-items:start;justify-content:center;flex-direction:column;padding:clamp(34px,4.5vw,65px);background:linear-gradient(150deg,#f2ebdd,#fbf9f3 56%,#f4f1e7);border:1px solid #e1d7bf;border-right:0;border-radius:17px 0 0 17px}.gallery-kicker{text-transform:uppercase;color:#8f754e;font-size:11px;font-weight:800;letter-spacing:.2em;line-height:1.6}.gallery-hero h1,.gallery-section h2,.gallery-endnote h2{margin:14px 0 18px;color:#173c31;font-family:Georgia,"Noto Serif KR","Apple SD Gothic Neo",serif;font-weight:650;letter-spacing:-.055em}.gallery-hero h1{font-size:clamp(33px,3.7vw,53px);line-height:1.35}.gallery-hero h1 em{font-style:normal;color:#95794c}.gallery-hero-content>p:not(.gallery-kicker){max-width:430px;line-height:1.95;color:#526354;font-size:15px}.gallery-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.gallery-hero-actions>a{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;min-height:47px;border:1px solid #c9b995;border-radius:8px;font-size:13px;font-weight:750;text-decoration:none;background:#fffdf7}.gallery-hero-actions>a:first-child{background:var(--forest);color:#fff;border-color:var(--forest)}.gallery-hero-image{position:relative;min-width:0;overflow:hidden;background:#172f44;border-radius:0 17px 17px 0;box-shadow:0 18px 44px rgba(22,49,40,.12)}.gallery-hero-image img{width:100%;height:100%;min-height:470px;object-fit:cover}.gallery-hero-image>span{position:absolute;right:14px;bottom:13px;padding:6px 10px;background:rgba(7,29,39,.63);color:#fff9d8;font:700 10px/1.3 system-ui;letter-spacing:.16em;border:1px solid rgba(255,255,255,.2)}.gallery-rule{max-width:1150px;margin:0 auto 20px;height:1px;border-top:1px solid #d9d5c5;text-align:center}.gallery-rule span{position:relative;top:-16px;background:var(--paper);color:#a68b57;padding:0 22px;font-size:22px}
.gallery-section{max-width:1160px;margin:0 auto;padding:45px 25px 85px}.gallery-section-intro{max-width:740px;margin:0 auto 41px;text-align:center}.gallery-section-intro h2{font-size:clamp(28px,3.5vw,42px);line-height:1.45}.gallery-section-intro>p:last-child{color:#52695b;font-size:15px;line-height:1.9}.gallery-art-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 28px}.gallery-piece{min-width:0;margin:0;background:#fdfaf3;border:1px solid #e2d8c5;box-shadow:0 18px 45px rgba(28,50,40,.075);border-radius:8px;overflow:hidden}.gallery-piece .gallery-art-frame{background:#f0e5cc;padding:12px;position:relative}.gallery-piece .gallery-art-frame img{width:100%;height:clamp(250px,30vw,350px);object-fit:cover;border:1px solid rgba(92,81,57,.25);box-shadow:0 5px 22px rgba(39,43,32,.15)}.gallery-piece .gallery-art-frame-cat{background:#eee7d7}.gallery-piece .gallery-art-frame-cat img{object-fit:contain;background:#f8f2e6}.gallery-piece figcaption{padding:23px 28px 28px}.gallery-index{font:750 11px/1.6 system-ui;letter-spacing:.12em;color:#987c4f}.gallery-piece h3{margin:9px 0 11px;font:650 clamp(21px,2.1vw,28px)/1.5 Georgia,"Noto Serif KR","Apple SD Gothic Neo",serif;color:#193b30;letter-spacing:-.045em}.gallery-piece figcaption>p{font-size:14px;color:#526b5a;line-height:1.8;margin:0 0 18px}.gallery-links{display:flex;flex-wrap:wrap;gap:17px}.gallery-links a,.gallery-links button{font-weight:750;font-size:13px;color:#24583e;text-decoration:underline;text-underline-offset:4px;border:0;padding:0;background:transparent}.gallery-links button{display:none}.gallery-js .gallery-links button{display:inline-block}.gallery-piece:hover .gallery-art-frame img{filter:saturate(1.06)}.gallery-piece:focus-within{border-color:#b49a64}
.gallery-education{max-width:none;background:linear-gradient(160deg,#eaf0e8,#f5f3e8 62%,#f5ecdc);padding-inline:max(25px,calc((100% - 1110px)/2))}.gallery-education-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery-note{min-width:0;display:block;background:#fffcf5;border:1px solid #d4d9cb;border-radius:10px;overflow:hidden;text-decoration:none;box-shadow:0 11px 25px rgba(34,64,43,.06)}.gallery-note img{width:100%;height:145px;object-fit:cover;background:#e6ece1}.gallery-note>span{display:flex;flex-direction:column;gap:5px;padding:20px 19px 21px}.gallery-note small{font-size:11px;color:#95774d;font-weight:750}.gallery-note strong{font-family:Georgia,"Noto Serif KR",serif;font-size:19px;letter-spacing:-.05em;line-height:1.55}.gallery-note span span{font-size:13px;font-weight:700;color:#467354}.gallery-note:hover{border-color:#97b29a}.gallery-endnote{text-align:center;background:#204436;color:#fff8e6;padding:clamp(54px,7vw,90px) 20px}.gallery-endnote h2{color:#fff6e2;font-size:clamp(29px,3.8vw,44px)}.gallery-endnote>p:not(.gallery-kicker){max-width:620px;margin:auto;color:#e5e9db;line-height:1.9}.gallery-endnote .gallery-kicker{color:#e5c795}.gallery-endnote .gallery-hero-actions{justify-content:center}.gallery-endnote .gallery-hero-actions>a:first-child{color:#173d30;background:#fff5dc;border-color:#fff5dc}.gallery-endnote .gallery-hero-actions>a:not(:first-child){color:#fff;background:transparent;border-color:#739080}.gallery-footer{display:flex;justify-content:space-between;align-items:start;gap:25px;background:#14362e;color:#e4ebe2;padding:34px max(22px,calc((100% - 1110px)/2));font-size:13px}.gallery-footer strong{font:700 23px/1.6 Georgia,"Noto Serif KR",serif}.gallery-footer p{margin:6px 0}.gallery-footer small{display:block;margin-top:15px;max-width:550px;color:#bfcbbf;line-height:1.8}.gallery-footer nav{display:flex;gap:20px;flex-wrap:wrap}.gallery-footer a{color:#e4ebe2;text-decoration:underline;text-underline-offset:4px}
.gallery-dialog{box-sizing:border-box;max-width:min(94vw,1150px);max-height:94vh;padding:15px;border:1px solid #dfd2b7;border-radius:12px;background:#faf6ed;color:#203d32;box-shadow:0 30px 80px rgba(0,0,0,.3)}.gallery-dialog::backdrop{background:rgba(8,24,23,.87)}.gallery-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 5px 15px}.gallery-dialog-head strong{font-size:17px}.gallery-dialog-head button{border:1px solid #c0baa8;border-radius:8px;min-height:42px;padding:7px 15px;background:white;color:#173d30}.gallery-dialog img{max-width:min(89vw,1080px);max-height:calc(94vh - 140px);width:auto;height:auto;margin:auto;object-fit:contain}.gallery-dialog p{margin:9px 0 0;color:#576757;text-align:center;font-size:12px}
@media(max-width:850px){.gallery-hero{grid-template-columns:1fr;max-width:750px;margin-top:14px}.gallery-hero-content{border-right:1px solid #e1d7bf;border-radius:17px 17px 0 0;padding:35px 30px}.gallery-hero-image{border-radius:0 0 17px 17px}.gallery-hero-image img{min-height:0;max-height:460px;aspect-ratio:1200/720}.gallery-art-grid{gap:22px 16px}.gallery-piece figcaption{padding:20px}.gallery-piece .gallery-art-frame img{height:260px}.gallery-header nav a:nth-child(3){display:none}}
@media(max-width:600px){.gallery-header-inner{padding:11px 15px;min-height:68px}.gallery-logo{font-size:22px}.gallery-logo small{font-size:8px;letter-spacing:.09em}.gallery-header nav{gap:8px}.gallery-header nav a{font-size:11px}.gallery-header nav a:nth-child(2){display:none}.gallery-header .header-call{padding:8px 11px}.gallery-hero{padding:0 12px;margin:12px auto 38px}.gallery-hero-content{padding:27px 23px}.gallery-hero h1{font-size:33px}.gallery-hero-content>p:not(.gallery-kicker){font-size:14px}.gallery-hero-actions>a{padding:10px 12px;font-size:12px}.gallery-section{padding:31px 14px 60px}.gallery-section-intro{margin-bottom:24px}.gallery-art-grid{grid-template-columns:minmax(0,1fr);gap:20px}.gallery-piece .gallery-art-frame{padding:8px}.gallery-piece .gallery-art-frame img{height:auto;aspect-ratio:1200/720;object-fit:contain}.gallery-piece .gallery-art-frame-cat img{aspect-ratio:650/543;max-height:360px}.gallery-piece figcaption{padding:17px 21px 21px}.gallery-education{padding:41px 14px 55px}.gallery-education-grid{grid-template-columns:minmax(0,1fr);gap:12px}.gallery-note img{height:150px}.gallery-footer{flex-direction:column;padding:32px 22px}.gallery-endnote .gallery-hero-actions{flex-direction:column;align-items:center}.gallery-endnote .gallery-hero-actions>a{width:min(100%,325px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gallery-piece:hover .gallery-art-frame img{filter:none}}
@media(forced-colors:active){.gallery-piece,.gallery-note,.gallery-header,.gallery-hero-content{background:Canvas;border:1px solid CanvasText}.gallery-piece h3,.gallery-note strong{color:CanvasText}.gallery-endnote{background:Canvas;color:CanvasText}.gallery-endnote h2,.gallery-endnote p{color:CanvasText}}


/* Exhibition II: a quieter museum composition, not four identical product cards. */
.gallery-exhibition-index{
 display:grid;
 grid-template-columns:minmax(170px,1.3fr) repeat(4,minmax(0,1fr));
 align-items:stretch;gap:1px;
 max-width:1170px;margin:22px auto 8px;
 padding:1px;background:#ddd5c5;border:1px solid #ddd5c5;
 border-radius:9px;overflow:hidden;
 box-shadow:0 12px 28px rgba(37,56,41,.045);
}
.gallery-exhibition-index>*{
 min-width:0;padding:18px 17px;background:#fbf8ef;
 text-decoration:none;
}
.gallery-exhibition-index>.gallery-exhibition-label{
 display:flex;flex-direction:column;justify-content:center;gap:5px;
 background:#244d3e;color:#fff9e8;
}
.gallery-exhibition-label small,
.gallery-exhibition-index>a>small{
 display:block;font-size:10px;font-weight:800;
 letter-spacing:.12em;line-height:1.5;color:#ab9060;
}
.gallery-exhibition-label small{color:#e0c392}
.gallery-exhibition-label strong{
 font:650 16px/1.55 Georgia,"Noto Serif KR","Apple SD Gothic Neo",serif;
 letter-spacing:-.04em;
}
.gallery-exhibition-index>a{
 display:flex;justify-content:center;align-items:start;flex-direction:column;
 gap:6px;min-height:90px;color:#214c3a;
}
.gallery-exhibition-index>a>span{
 font:700 13px/1.5 Georgia,"Noto Serif KR","Apple SD Gothic Neo",serif;
 letter-spacing:-.03em;
}
.gallery-exhibition-index>a:hover{
 background:#f0f1e7;
}
/* Linked from the homepage: show which exhibit was selected.
   Anchors work natively without JavaScript or a modal. */
#paintings .gallery-piece{
 scroll-margin-top:105px;
}
#paintings .gallery-piece:target{
 border-color:#947545;
 box-shadow:0 2px 0 #c2a677,0 19px 45px rgba(24,51,35,.15);
}
#paintings .gallery-piece:target .gallery-art-frame{
 background:linear-gradient(130deg,#d4b982,#efe1bb 45%,#b69e6e);
}
#paintings .gallery-piece:target figcaption::before{
 content:"선택한 작품";
 display:inline-block;
 width:fit-content;
 margin:0 0 8px;
 padding:4px 11px;
 color:#fefaf0;
 background:#285340;
 border:1px solid #a98b55;
 border-radius:2px;
 font-size:11px;
 font-weight:800;
 letter-spacing:.07em;
}

.gallery-exhibition-index>a:focus-visible{
 outline:3px solid #aa8852;outline-offset:-4px;position:relative;z-index:1;
}
.gallery-section-intro .gallery-intro-ornament{
 display:flex;align-items:center;justify-content:center;gap:16px;
 margin-top:18px;color:#9c8d71;
 font:700 9px/1.5 system-ui,sans-serif;letter-spacing:.15em;
}
.gallery-intro-ornament>span{
 font-size:18px;color:#bcaa83;
}
#paintings .gallery-art-grid{
 column-gap:25px;row-gap:30px;
}
#paintings .gallery-piece{
 border-radius:2px;
 background:linear-gradient(150deg,#fffdf7,#f8f4ea);
 box-shadow:0 2px 3px rgba(43,59,47,.03),0 17px 45px rgba(28,50,40,.08);
}
#paintings .gallery-piece .gallery-art-frame{
 padding:14px;background:
  linear-gradient(125deg,#e9dbbb,#f5eddc 45%,#d2c6a8);
}
#paintings .gallery-piece .gallery-art-frame img{
 border:6px solid #faf6e7;
 outline:1px solid #b3a17f;
 box-shadow:0 11px 22px rgba(40,49,42,.14);
}
#paintings .gallery-piece figcaption{
 padding:25px clamp(22px,2.8vw,36px) 28px;
}
#paintings .gallery-piece figcaption p{
 font-size:15px;line-height:1.83;
}
#paintings .gallery-piece h3{
 font-size:clamp(23px,2.4vw,30px);
}
#paintings .gallery-piece .gallery-index{
 font-size:11px;letter-spacing:.13em;
}
#paintings .gallery-piece .gallery-art-frame-cat img{
 object-fit:contain;background:#eee8d8;
}
#paintings .gallery-piece .gallery-links button,
#paintings .gallery-piece .gallery-links a{
 display:inline-flex;align-items:center;min-height:40px;
 padding:5px 0;text-decoration:none;
 border-bottom:1px solid #a8baa3;
}
#paintings .gallery-links button{display:none}
.gallery-js #paintings .gallery-links button{display:inline-flex}
#paintings .gallery-piece .gallery-links :is(button,a):hover{
 color:#0e6c48;border-bottom-color:#0e6c48;
}
@media(min-width:851px){
 #paintings .gallery-piece-feature{
  grid-column:1/-1;
  display:grid;grid-template-columns:minmax(0,1.34fr) minmax(0,.66fr);
  align-items:stretch;min-height:395px;
 }
 #paintings .gallery-piece-feature .gallery-art-frame{
  display:flex;align-items:center;justify-content:center;
  min-width:0;padding:17px;
 }
 #paintings .gallery-piece-feature .gallery-art-frame img{
  display:block;width:100%;height:auto;max-height:440px;
  aspect-ratio:1200/720;object-fit:contain;
 }
 #paintings .gallery-piece-feature figcaption{
  display:flex;flex-direction:column;align-items:start;
  justify-content:center;padding:34px clamp(25px,4vw,55px);
  min-width:0;
 }
 #paintings .gallery-piece-feature figcaption>p{
  max-width:270px;margin-bottom:22px;
 }
 #paintings .gallery-piece-portrait{
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
 }
 #paintings .gallery-piece-portrait .gallery-art-frame img{
  aspect-ratio:650/543;max-height:420px;
 }
 #paintings .gallery-piece-portrait figcaption{
  background:linear-gradient(135deg,#fbf7ee,#eff3e9);
 }
}
/* Classic exhibition readability and easy art-room navigation on small screens. */
@media(max-width:1000px){
 .gallery-exhibition-index{
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-inline:18px;
 }
 .gallery-exhibition-index>.gallery-exhibition-label{
  grid-column:1/-1;padding:13px 16px;
 }
 .gallery-exhibition-label strong{font-size:15px}
}
@media(max-width:850px){
 #paintings .gallery-piece-feature{
  display:block;min-height:0;
 }
 #paintings .gallery-piece .gallery-art-frame{
  padding:10px;
 }
 #paintings .gallery-piece .gallery-art-frame img{
  height:clamp(195px,29vw,285px);object-fit:contain;
 }
 #paintings .gallery-piece-portrait .gallery-art-frame img{
  object-fit:contain;
 }
}
@media(max-width:650px){
 .gallery-exhibition-index{
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0 13px 11px;gap:1px;
 }
 .gallery-exhibition-index>.gallery-exhibition-label{
  padding:14px 16px;
 }
 .gallery-exhibition-index>a{
  min-height:68px;padding:11px 13px;gap:2px;
 }
 .gallery-exhibition-index>a>span{
  font-size:13px;line-height:1.45;
 }
 #paintings .gallery-piece .gallery-art-frame{
  padding:9px;
 }
 #paintings .gallery-piece .gallery-art-frame img{
  height:auto;max-height:none;
  aspect-ratio:1200/720;
 }
 #paintings .gallery-piece-portrait .gallery-art-frame img{
  aspect-ratio:650/543;max-height:360px;
 }
 #paintings .gallery-piece figcaption{
  padding:18px 20px 22px;
 }
 #paintings .gallery-piece figcaption p{font-size:14px}
 .gallery-section-intro .gallery-intro-ornament{
  gap:8px;font-size:8px;letter-spacing:.06em;
 }
}


/* On browsers without modal dialog support, show the direct original-image link only. */
#paintings .gallery-piece .gallery-links button{display:none}
.gallery-js #paintings .gallery-piece .gallery-links button{display:inline-flex}


/* Mobile artwork navigation should retain generous tap areas and the
   selected frame should stay visible below the sticky gallery header. */
@media(max-width:650px){
 #paintings .gallery-piece{scroll-margin-top:92px}
 #paintings .gallery-piece:target figcaption::before{font-size:11px}
 .gallery-exhibition-index>a{min-height:72px}
}
@media(forced-colors:active){
 #paintings .gallery-piece:target{
  outline:3px solid Highlight;
  outline-offset:3px;
  box-shadow:none;
 }
 #paintings .gallery-piece:target figcaption::before{
  border:1px solid CanvasText;
  background:Canvas;
  color:CanvasText;
 }
}


/* Museum edition XVIII · Navigate four paintings without closing the frame.
 * The four existing SVG/WebP originals are reused, not duplicated or fetched
 * from any third party. Controls remain visible on narrow phones. */
.gallery-dialog .gallery-dialog-controls{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 align-items:center;
 gap:clamp(8px,1.7vw,18px);
 margin:13px auto 4px;
 padding:12px clamp(5px,1vw,12px);
 border-top:1px solid #ded5c2;
 max-width:100%;
}
.gallery-dialog .gallery-dialog-controls button{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 box-sizing:border-box;
 min-height:46px;
 padding:9px clamp(8px,1.6vw,19px);
 color:#24513c;
 background:#f5f5eb;
 border:1px solid #b6c4ae;
 border-radius:7px;
 font-size:clamp(12px,1.25vw,15px);
 font-weight:750;
 line-height:1.5;
 word-break:keep-all;
}
.gallery-dialog .gallery-dialog-controls button:last-child{
 color:#fffaf0;
 background:#275e43;
 border-color:#275e43;
}
.gallery-dialog .gallery-dialog-controls button:hover{
 border-color:#a58b57;
 box-shadow:0 4px 11px rgba(25,57,40,.10);
}
.gallery-dialog #gallery-dialog-position{
 text-align:center;
 font:750 13px/1.5 system-ui,sans-serif;
 letter-spacing:.13em;
 color:#617762;
 white-space:nowrap;
}
.gallery-dialog #gallery-dialog-image{
 max-height:calc(94vh - 200px);
 max-height:calc(94dvh - 200px);
}
@media(max-width:520px){
 .gallery-dialog{max-width:96vw;padding:11px}
 .gallery-dialog .gallery-dialog-head{padding-bottom:10px}
 .gallery-dialog .gallery-dialog-controls{gap:6px;padding:10px 2px 3px}
 .gallery-dialog .gallery-dialog-controls button{
  min-height:48px;
  padding:9px 6px;
  font-size:12px;
 }
 .gallery-dialog #gallery-dialog-position{font-size:12px;letter-spacing:.03em}
 .gallery-dialog #gallery-dialog-image{
  max-height:calc(94vh - 208px);
  max-height:calc(94dvh - 208px);
 }
}
@media(forced-colors:active){
 .gallery-dialog .gallery-dialog-controls button{
  color:ButtonText;background:ButtonFace;
  border:1px solid ButtonText;box-shadow:none;
 }
 .gallery-dialog #gallery-dialog-position{color:CanvasText}
}

/* Nine original artworks · owner approved gallery expansion */
/* New original artwork frames: same aspect ratio, no forced crop */
#paintings .gallery-piece[id^="art-cubist-"],
#paintings .gallery-piece[id^="art-lakeside-"],
#paintings .gallery-piece[id^="art-starry-night-"],
#paintings .gallery-piece[id^="art-quiet-"],
#paintings .gallery-piece[id^="art-street-"]{scroll-margin-top:100px}
#paintings .gallery-piece[id^="art-cubist-"] .gallery-art-frame img,
#paintings .gallery-piece[id^="art-lakeside-"] .gallery-art-frame img,
#paintings .gallery-piece[id^="art-starry-night-"] .gallery-art-frame img,
#paintings .gallery-piece[id^="art-quiet-"] .gallery-art-frame img,
#paintings .gallery-piece[id^="art-street-"] .gallery-art-frame img{object-fit:contain;background:#f3efe6}
.gallery-exhibition-index{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
@media(max-width:650px){.gallery-exhibition-index{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Gallery finale: uncropped originals with a consistent museum frame, 2026-10-29.
   Existing nine paintings, zoom controls, captions and accessible anchor targets stay. */
.gallery-hero-image{
  background:#172f44;
  border:1px solid #d3c098;
}
.gallery-hero-image img{
  object-fit:contain;
  object-position:center;
  background:#172f44;
}
.gallery-piece{
  border:1px solid #d8c8aa;
  border-radius:4px;
  background:#fffdf8;
  box-shadow:0 13px 33px rgba(33,53,39,.075);
}
.gallery-piece .gallery-art-frame,
.gallery-piece .gallery-art-frame-cat{
  padding:clamp(9px,1.15vw,14px);
  background:linear-gradient(145deg,#e8ddc7,#f7f1e5);
}
.gallery-piece .gallery-art-frame img,
.gallery-piece .gallery-art-frame-cat img{
  object-fit:contain;
  object-position:center;
  background:#f2efe8;
  border:1px solid #d7cdb9;
  box-shadow:0 5px 19px rgba(37,44,35,.09);
}
.gallery-piece figcaption{
  border-top:1px solid #e5dbcb;
}
.gallery-piece h3{
  color:#1f4535;
  line-height:1.5;
}
.gallery-exhibition-index>a:focus-visible,
.gallery-piece .gallery-links :is(a,button):focus-visible{
  outline:3px solid #af864b;outline-offset:3px;
}
@media(max-width:850px){
  .gallery-hero-image img{
    aspect-ratio:1200/720;
    height:auto;
    min-height:0;
    max-height:460px;
    object-fit:contain;
  }
  .gallery-piece .gallery-art-frame img{
    object-fit:contain;
  }
}
@media(max-width:600px){
  .gallery-piece .gallery-art-frame,
  .gallery-piece .gallery-art-frame-cat{padding:9px}
  .gallery-piece .gallery-art-frame img{
    object-fit:contain;
    height:auto;
    max-height:350px;
  }
  .gallery-piece figcaption{padding:19px 19px 23px}
  .gallery-links a,.gallery-links button{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    line-height:1.5;
  }
  .gallery-links button{display:none}
  .gallery-js .gallery-links button{display:inline-flex}
}
@media(forced-colors:active){
  .gallery-piece,.gallery-hero-image{background:Canvas;border:1px solid CanvasText;box-shadow:none}
}


/* Original watercolor no. 10 — uncropped 3:2 artwork, 2026-10-29 */
#paintings .gallery-piece-original-cat{
  scroll-margin-top:100px;
  border-top:2px solid #a88d5f;
}
#paintings .gallery-piece-original-cat .gallery-art-frame{
  background:linear-gradient(140deg,#e8dfcd,#f8f1e5);
}
#paintings .gallery-piece-original-cat .gallery-art-frame img{
  box-sizing:border-box;
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:3/2;
  object-fit:contain;
  object-position:center;
  background:#fbf5e9;
}
#paintings .gallery-piece-original-cat .gallery-index{color:#95754b}
@media(max-width:650px){
  #paintings .gallery-piece-original-cat .gallery-art-frame img{
    height:auto;
    max-height:none;
    aspect-ratio:3/2;
  }
}


/* 2026-10-30 · Full gallery: natural proportions on tablets and phones. */
/* Keep each of the ten existing paintings in its real proportion rather
   than forcing a landscape crop/letterbox at narrow breakpoints. */
@media(max-width:850px){
  #paintings .gallery-piece .gallery-art-frame>img {
    box-sizing:border-box;
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    background:#f7f2e7;
  }
}
@media(max-width:780px){
  /* At tablet size, two narrow paintings are less useful than one full
     framed original with a readable gallery label. */
  #paintings .gallery-art-grid {
    grid-template-columns:minmax(0,1fr);
    gap:clamp(17px,3vw,25px);
  }
  #paintings .gallery-piece {
    width:100%;
    max-width:700px;
    margin-inline:auto;
  }
  #paintings .gallery-piece .gallery-art-frame {
    padding:clamp(9px,2vw,15px);
  }
  #paintings .gallery-piece figcaption {
    padding:clamp(18px,2.8vw,27px) clamp(17px,3.5vw,30px);
  }
  #paintings .gallery-piece figcaption p {
    font-size:clamp(14px,1.8vw,16px);
    line-height:1.84;
    word-break:keep-all;
  }
}
@media(max-width:480px){
  #paintings .gallery-piece figcaption {
    padding:18px 17px 22px;
  }
  #paintings .gallery-piece .gallery-links {
    gap:5px 17px;
    align-items:center;
  }
  #paintings .gallery-piece .gallery-links :is(a,button) {
    min-height:46px;
    font-size:13px;
    line-height:1.55;
  }
}


/* 2026-10-30 · Clinical artwork lightbox: relevant reading exit. */
/* Only the ten illustrated patient studies expose a care link, derived from
   their actual article anchors; the ten decorative paintings show none. */
.gallery-dialog .gallery-dialog-care{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  width:fit-content;
  max-width:100%;
  margin:10px auto 4px;
  padding:10px 20px;
  border:1px solid #214b39;
  border-radius:4px 12px 4px 12px;
  background:#214b39;
  color:#fffdf4;
  font:750 14px/1.6 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  text-decoration:none;
  word-break:keep-all;
}
.gallery-dialog .gallery-dialog-care[hidden]{display:none!important}
.gallery-dialog .gallery-dialog-care:hover{
  background:#15392c;
  border-color:#15392c;
}
.gallery-dialog .gallery-dialog-care:focus-visible{
  outline:3px solid #b39250;
  outline-offset:3px;
}
.gallery-dialog.gallery-dialog--care #gallery-dialog-image{
  max-height:calc(94vh - 260px);
  max-height:calc(94dvh - 260px);
}
@media(max-width:520px){
  .gallery-dialog .gallery-dialog-care{
    width:100%;
    margin:9px 0 4px;
    padding:10px 11px;
    min-height:48px;
  }
  .gallery-dialog.gallery-dialog--care #gallery-dialog-image{
    max-height:calc(94vh - 273px);
    max-height:calc(94dvh - 273px);
  }
}
@media(forced-colors:active){
  .gallery-dialog .gallery-dialog-care{
    background:LinkText;
    color:Canvas;
    border-color:LinkText;
  }
}


/* Exhibition-room context in the 23-piece lightbox. The small label makes
   the transitions between fine art, watercolors and clinical guides clear. */
.gallery-dialog .gallery-dialog-heading{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  gap:3px;
}
.gallery-dialog .gallery-dialog-section{
  display:block;
  color:#836a45;
  font:800 11px/1.45 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.045em;
  word-break:keep-all;
}
.gallery-dialog .gallery-dialog-heading strong{
  display:block;
  margin:0;
  line-height:1.5;
  word-break:keep-all;
}
.gallery-dialog .gallery-dialog-head>button{
  flex-shrink:0;
  min-height:46px;
}
.gallery-dialog #gallery-dialog-image{
  max-height:calc(94vh - 225px);
  max-height:calc(94dvh - 225px);
}
.gallery-dialog.gallery-dialog--care #gallery-dialog-image{
  max-height:calc(94vh - 280px);
  max-height:calc(94dvh - 280px);
}
@media(max-width:520px){
  .gallery-dialog .gallery-dialog-section{
    font-size:10px;
    letter-spacing:0;
  }
  .gallery-dialog .gallery-dialog-heading strong{
    font-size:15px;
  }
  .gallery-dialog .gallery-dialog-head>button{
    min-height:48px;
  }
  .gallery-dialog #gallery-dialog-image{
    max-height:calc(94vh - 240px);
    max-height:calc(94dvh - 240px);
  }
  .gallery-dialog.gallery-dialog--care #gallery-dialog-image{
    max-height:calc(94vh - 294px);
    max-height:calc(94dvh - 294px);
  }
}
@media(forced-colors:active){
  .gallery-dialog .gallery-dialog-section{color:CanvasText}
}


/* 2026-10-30 · A distinct entrance painting, not a duplicate of exhibit 01.
   The original cat-and-dental-books watercolor is shown uncropped in a warm
   gallery mat; the 23 numbered collection works remain untouched. */
.gallery-hero-image{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  border:1px solid #c5ae83;
  background:linear-gradient(148deg,#e9ddc7,#f9f3e7);
}
.gallery-hero-image img{
  box-sizing:border-box;
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:560px;
  aspect-ratio:3 / 2;
  object-fit:contain;
  object-position:center;
  background:#f6eddf;
  border:8px solid rgba(255,251,242,.72);
}
.gallery-hero-image > span{
  right:14px;
  bottom:13px;
  max-width:calc(100% - 28px);
  overflow-wrap:anywhere;
  background:rgba(29,57,43,.88);
  border-color:rgba(255,246,221,.55);
  color:#fff7e7;
}
@media(max-width:850px){
  .gallery-hero-image img{
    max-height:460px;
    aspect-ratio:3 / 2;
  }
}
@media(max-width:600px){
  .gallery-hero-image img{
    max-height:none;
    aspect-ratio:3 / 2;
    border-width:6px;
  }
  .gallery-hero-image > span{
    font-size:9px;
    letter-spacing:.08em;
  }
}
@media(forced-colors:active){
  .gallery-hero-image,
  .gallery-hero-image img,
  .gallery-hero-image > span{
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
  }
}


/* Mobile exhibition catalogue · 2026-10-30
   Show all ten work names in a short horizontally swipeable index.
   Native anchor navigation still jumps to each numbered painting; CSS-only,
   so no script or additional artwork loads are required. */
.gallery-exhibition-swipe-hint {
  display:none;
}
@media (max-width:650px) {
  .gallery-exhibition-swipe-hint {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:calc(100% - 26px);
    max-width:720px;
    margin:0 auto 8px;
    padding:10px 12px;
    background:#eff2e8;
    border-left:3px solid #9e8354;
    color:#234b38;
    border-radius:3px 8px 8px 3px;
    font-size:12px;
    font-weight:750;
    line-height:1.6;
    word-break:keep-all;
  }
  .gallery-exhibition-swipe-hint > span {
    flex:none;
    color:#80633b;
    font-size:18px;
  }
  .gallery-exhibition-index {
    box-sizing:border-box;
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    gap:9px;
    width:calc(100% - 26px);
    max-width:720px;
    min-width:0;
    margin:0 auto 15px;
    padding:3px 2px 15px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:3px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#a99062 transparent;
  }
  .gallery-exhibition-index > .gallery-exhibition-label {
    display:none;
  }
  .gallery-exhibition-index > a {
    box-sizing:border-box;
    flex:0 0 min(59vw,205px);
    display:flex;
    justify-content:center;
    min-width:0;
    min-height:82px;
    margin:0;
    padding:12px 14px;
    border:1px solid #d1c5ad;
    border-top:2px solid #b39868;
    border-radius:4px 9px 4px 9px;
    background:#fffdf8;
    box-shadow:0 4px 12px rgba(35,57,40,.055);
    scroll-snap-align:start;
    word-break:keep-all;
  }
  .gallery-exhibition-index > a > small {
    color:#8a6d42;
    font-size:11px;
  }
  .gallery-exhibition-index > a > span {
    color:#214633;
    font-size:14px;
    line-height:1.52;
  }
  .gallery-exhibition-index > a:focus-visible {
    outline:3px solid #a47f45;
    outline-offset:-3px;
  }
}
@media (max-width:360px) {
  .gallery-exhibition-index > a {
    flex-basis:min(66vw,187px);
  }
}
@media (forced-colors:active) {
  .gallery-exhibition-swipe-hint,
  .gallery-exhibition-index > a {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
  }
  .gallery-exhibition-index > a :is(small,span),
  .gallery-exhibition-swipe-hint > span {
    color:CanvasText;
  }
}
@media print {
  .gallery-exhibition-swipe-hint {display:none}
  .gallery-exhibition-index {
    display:grid;
    overflow:visible;
    grid-template-columns:repeat(3,minmax(0,1fr));
    box-shadow:none;
  }
  .gallery-exhibition-index > .gallery-exhibition-label {
    display:flex;
    grid-column:1 / -1;
  }
}


/* Mobile appointment actions for the long picture gallery.
   The configured Naver booking page and clinic telephone are reachable
   without leaving the exhibition to find the homepage footer. */
.gallery-mobile-dock {
  display:none;
}
.gallery-endnote .gallery-hero-actions > a.gallery-endnote-booking {
  background:#ecd4a5;
  color:#173c2e;
  border-color:#dbc18f;
  box-shadow:0 5px 18px rgba(0,0,0,.10);
}
.gallery-endnote .gallery-hero-actions > a.gallery-endnote-booking:hover {
  background:#ffedc9;
  color:#173c2e;
}
.gallery-endnote .gallery-hero-actions > a.gallery-endnote-booking:focus-visible {
  outline:3px solid #f0d090;
  outline-offset:3px;
}
@media (max-width:650px) {
  body:has(.gallery-mobile-dock) {
    padding-bottom:calc(83px + env(safe-area-inset-bottom, 0px));
  }
  .gallery-mobile-dock {
    box-sizing:border-box;
    position:fixed;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center;
    gap:10px;
    z-index:45;
    left:0;
    right:0;
    bottom:0;
    padding:10px max(13px, env(safe-area-inset-right, 0px))
      calc(10px + env(safe-area-inset-bottom, 0px))
      max(13px, env(safe-area-inset-left, 0px));
    background:rgba(255,252,246,.97);
    border-top:1px solid #d4c3a5;
    box-shadow:0 -9px 28px rgba(24,51,38,.12);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }
  .gallery-mobile-dock > a {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:49px;
    padding:11px 8px;
    border:1px solid #284e3a;
    border-radius:8px;
    text-decoration:none;
    text-align:center;
    font:800 15px/1.45 system-ui,"Apple SD Gothic Neo",sans-serif;
    word-break:keep-all;
  }
  .gallery-mobile-dock > .gallery-mobile-dock__booking {
    color:#fffdf3;
    border-color:#20523b;
    background:#20523b;
  }
  .gallery-mobile-dock > .gallery-mobile-dock__call {
    color:#214d37;
    background:#fffdf7;
  }
  .gallery-mobile-dock > a:focus-visible {
    outline:3px solid #af8747;
    outline-offset:2px;
  }
  /* A modal painting uses the top layer; remove the dock so it never
     competes visually with the full-screen close/previous/next controls. */
  body:has(#gallery-dialog[open]) .gallery-mobile-dock {
    display:none;
  }
}
@media (forced-colors:active) {
  .gallery-mobile-dock {
    background:Canvas;
    border-color:CanvasText;
    box-shadow:none;
  }
  .gallery-mobile-dock > a,
  .gallery-endnote .gallery-hero-actions > a.gallery-endnote-booking {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
}
@media print {
  .gallery-mobile-dock {display:none!important}
}


/* Exhibition exit · artwork leads to clinically useful reading, 2026-10-30.
   Four real patient-information destinations, no repeated painting or JS. */
.gallery-care-bridge {
  box-sizing:border-box;
  max-width:1160px;
  margin:clamp(20px,3vw,42px) auto clamp(32px,4vw,56px);
  padding:clamp(22px,3.2vw,37px);
  border:1px solid #d5c7ad;
  border-top:3px solid #b69a68;
  border-radius:3px 15px 3px 15px;
  background:linear-gradient(137deg,#fcf8ee 0%,#f3f4ea 65%,#faf5e8 100%);
  box-shadow:0 14px 36px rgba(33,53,39,.055);
}
.gallery-care-bridge__heading {
  max-width:790px;
  margin-bottom:22px;
}
.gallery-care-bridge__eyebrow {
  margin:0 0 9px;
  color:#856b46;
  font:750 11px/1.6 system-ui,sans-serif;
  letter-spacing:.12em;
}
.gallery-care-bridge__heading h2 {
  margin:0 0 12px;
  color:#224734;
  font:700 clamp(23px,2.5vw,34px)/1.47 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.045em;
  word-break:keep-all;
  text-wrap:balance;
}
.gallery-care-bridge__heading p:last-child {
  margin:0;
  color:#4e6654;
  font-size:14px;
  line-height:1.85;
  word-break:keep-all;
}
.gallery-care-bridge__links {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
.gallery-care-bridge__links > a {
  box-sizing:border-box;
  display:flex;
  gap:10px;
  align-items:flex-start;
  min-width:0;
  min-height:130px;
  padding:18px 13px;
  border:1px solid #dfd6c5;
  border-left:3px solid #bda47a;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  color:#254d37;
  text-decoration:none;
  box-shadow:0 5px 14px rgba(34,54,40,.04);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.gallery-care-bridge__links > a > span:nth-child(2) {
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  gap:7px;
}
.gallery-care-bridge__links strong {
  display:block;
  color:#204a35;
  font:700 clamp(15px,1.38vw,17px)/1.45 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.03em;
  word-break:keep-all;
}
.gallery-care-bridge__links small {
  display:block;
  color:#597160;
  font:550 12px/1.7 system-ui,"Apple SD Gothic Neo",sans-serif;
  word-break:keep-all;
}
.gallery-care-bridge__number {
  flex:none;
  padding-top:2px;
  color:#927347;
  font:750 11px/1.5 system-ui,sans-serif;
}
.gallery-care-bridge__arrow {
  align-self:flex-start;
  flex:none;
  color:#987a4b;
  font-size:14px;
}
.gallery-care-bridge__all {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:16px;
  padding:6px 0;
  color:#20503b;
  font-size:14px;
  font-weight:800;
  line-height:1.6;
  text-decoration:underline;
  text-underline-offset:5px;
}
.gallery-care-bridge__links > a:focus-visible,
.gallery-care-bridge__all:focus-visible {
  outline:3px solid #a98249;
  outline-offset:3px;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .gallery-care-bridge__links > a:hover {
    border-color:#9c9b7d;
    border-left-color:#51785b;
    box-shadow:0 12px 25px rgba(32,54,39,.11);
    transform:translateY(-2px);
  }
}
@media (max-width:960px) {
  .gallery-care-bridge__links {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .gallery-care-bridge__links > a {
    min-height:104px;
  }
}
@media (max-width:650px) {
  .gallery-care-bridge {
    width:calc(100% - 26px);
    margin:17px auto 30px;
    padding:22px 13px 24px;
  }
  .gallery-care-bridge__heading {
    margin-bottom:17px;
  }
  .gallery-care-bridge__heading h2 {
    font-size:clamp(21px,5.5vw,26px);
  }
  .gallery-care-bridge__links {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .gallery-care-bridge__links > a {
    align-items:center;
    min-height:76px;
    padding:12px 14px;
  }
  .gallery-care-bridge__links strong {
    font-size:16px;
  }
  .gallery-care-bridge__links small {
    font-size:12px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .gallery-care-bridge__links > a {
    transition:none;
  }
}
@media (forced-colors:active) {
  .gallery-care-bridge,
  .gallery-care-bridge__links > a {
    border-color:CanvasText;
    background:Canvas;
    color:CanvasText;
    box-shadow:none;
  }
  .gallery-care-bridge :is(h2,p,strong,small,span,a) {
    color:CanvasText;
  }
}
@media print {
  .gallery-care-bridge {
    box-shadow:none;
    break-inside:avoid;
  }
  .gallery-care-bridge__links {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* Exhibition-to-exhibition wayfinding · 2026-10-30.
   A visitor arriving from a direct painting link can follow the exhibition
   without scrolling back to the first-screen table of contents. */
#paintings,
#education,
#patient-studies {
  scroll-margin-top:102px;
}
.gallery-room-transition {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(15px,3vw,34px);
  margin:clamp(22px,3.5vw,42px) 0 0;
  padding:clamp(18px,2.3vw,27px);
  border:1px solid #d9cbb1;
  border-left:4px solid #a88d5f;
  border-radius:3px 12px 3px 12px;
  background:linear-gradient(115deg,#f7f2e6,#eff3e8);
  box-shadow:0 7px 24px rgba(32,53,38,.045);
}
.gallery-room-transition > span {
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:7px;
}
.gallery-room-transition small {
  display:block;
  color:#80653e;
  font:800 11px/1.5 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.09em;
}
.gallery-room-transition strong {
  display:block;
  color:#244c37;
  font:700 clamp(17px,1.8vw,22px)/1.55 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.035em;
  word-break:keep-all;
}
.gallery-room-transition > a {
  box-sizing:border-box;
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  gap:12px;
  padding:11px 17px;
  border:1px solid #25513d;
  border-radius:6px;
  background:#25513d;
  color:#fff9eb;
  font:800 13px/1.55 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-decoration:none;
  word-break:keep-all;
  transition:background-color .18s ease,box-shadow .18s ease;
}
.gallery-room-transition > a:hover {
  background:#173d2c;
  box-shadow:0 7px 19px rgba(35,59,41,.16);
}
.gallery-room-transition > a:focus-visible {
  outline:3px solid #b18c4f;
  outline-offset:4px;
}
#paintings:focus-visible,
#education:focus-visible,
#patient-studies:focus-visible,
#paintings .gallery-piece:focus-visible,
#patient-studies .gallery-patient-studies__piece:focus-visible {
  outline:3px solid #a47d42;
  outline-offset:4px;
}
@media (max-width:650px) {
  #paintings,#education,#patient-studies {
    scroll-margin-top:83px;
  }
  .gallery-room-transition {
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    margin-top:26px;
    padding:18px 16px;
  }
  .gallery-room-transition > a {
    flex:initial;
    justify-content:space-between;
    min-height:52px;
    width:100%;
  }
}
@media (prefers-reduced-motion:reduce) {
  .gallery-room-transition > a {
    transition:none;
  }
}
@media (forced-colors:active) {
  .gallery-room-transition,
  .gallery-room-transition > a {
    color:CanvasText;
    background:Canvas;
    border-color:CanvasText;
    box-shadow:none;
  }
  .gallery-room-transition :is(small,strong) {
    color:CanvasText;
  }
}
@media print {
  .gallery-room-transition {
    display:none;
  }
}


/* Gallery edition XX · Exhibition-room selector within the 23-art modal.
   Native buttons remain large enough to tap and reveal the active room.
   Extra controls reduce the picture height, never crop a painting. */
.gallery-dialog .gallery-dialog-rooms {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  width:100%;
  margin:1px auto 9px;
}
.gallery-dialog .gallery-dialog-rooms > button {
  box-sizing:border-box;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:4px 9px;
  min-width:0;
  min-height:46px;
  padding:8px 9px;
  border:1px solid #cfc5ae;
  border-radius:7px;
  background:#fcf8ee;
  color:#325440;
  font-family:system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  word-break:keep-all;
  transition:background-color .2s ease,border-color .2s ease;
}
.gallery-dialog .gallery-dialog-rooms > button > span {
  color:#967b4c;
  font-size:11px;
  font-weight:800;
}
.gallery-dialog .gallery-dialog-rooms > button > strong {
  font-size:13px;
  font-weight:800;
  line-height:1.4;
}
.gallery-dialog .gallery-dialog-rooms > button > small {
  color:#6b7868;
  font-size:11px;
  font-weight:700;
}
.gallery-dialog .gallery-dialog-rooms > button[aria-current="true"] {
  background:#26543d;
  border-color:#26543d;
  color:#fffdf3;
  box-shadow:inset 0 0 0 1px rgba(255,248,226,.28);
}
.gallery-dialog .gallery-dialog-rooms > button[aria-current="true"] :is(span,small) {
  color:#f0dfb8;
}
.gallery-dialog .gallery-dialog-rooms > button:hover {
  border-color:#84683f;
}
.gallery-dialog .gallery-dialog-rooms > button:focus-visible {
  outline:3px solid #c0954e;
  outline-offset:3px;
}
.gallery-dialog #gallery-dialog-image {
  box-sizing:border-box;
  max-height:calc(94vh - 292px);
  max-height:calc(94dvh - 292px);
  object-fit:contain;
}
.gallery-dialog.gallery-dialog--care #gallery-dialog-image {
  max-height:calc(94vh - 345px);
  max-height:calc(94dvh - 345px);
}
@media (max-width:540px) {
  .gallery-dialog .gallery-dialog-rooms {
    gap:5px;
    margin:0 auto 7px;
  }
  .gallery-dialog .gallery-dialog-rooms > button {
    flex-direction:column;
    flex-wrap:nowrap;
    gap:2px;
    min-height:52px;
    padding:6px 4px;
  }
  .gallery-dialog .gallery-dialog-rooms > button > span {
    font-size:10px;
    line-height:1.3;
  }
  .gallery-dialog .gallery-dialog-rooms > button > strong {
    font-size:12px;
    line-height:1.45;
  }
  .gallery-dialog .gallery-dialog-rooms > button > small {
    display:none;
  }
  .gallery-dialog #gallery-dialog-image {
    max-height:calc(94vh - 310px);
    max-height:calc(94dvh - 310px);
  }
  .gallery-dialog.gallery-dialog--care #gallery-dialog-image {
    max-height:calc(94vh - 365px);
    max-height:calc(94dvh - 365px);
  }
}
@media (prefers-reduced-motion:reduce) {
  .gallery-dialog .gallery-dialog-rooms > button {
    transition:none;
  }
}
@media (forced-colors:active) {
  .gallery-dialog .gallery-dialog-rooms > button,
  .gallery-dialog .gallery-dialog-rooms > button[aria-current="true"] {
    background:ButtonFace;
    color:ButtonText;
    border-color:ButtonText;
    box-shadow:none;
  }
  .gallery-dialog .gallery-dialog-rooms > button[aria-current="true"] {
    outline:2px solid Highlight;
    outline-offset:-4px;
  }
  .gallery-dialog .gallery-dialog-rooms > button :is(span,small),
  .gallery-dialog .gallery-dialog-rooms > button[aria-current="true"] :is(span,small) {
    color:ButtonText;
  }
}


/* Lightbox performance and mobile accessibility · 2026-10-30.
   A painting loads only after explicit selection; loading/error messages
   remain accessible without making the artwork itself shrink or crop. */
.gallery-dialog {
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.gallery-dialog .gallery-dialog-head {
  position:sticky;
  top:0;
  z-index:2;
  border-bottom:1px solid #e0d5c1;
  background:rgba(250,246,237,.98);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}
.gallery-dialog .gallery-dialog-loading {
  box-sizing:border-box;
  display:block;
  width:100%;
  min-height:36px;
  max-width:68ch;
  margin:7px auto 0;
  padding:7px 12px;
  border:1px solid #d8c5a1;
  border-radius:6px;
  background:#fff9e9;
  color:#4e5b45;
  font:700 12px/1.6 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  word-break:keep-all;
}
.gallery-dialog .gallery-dialog-loading[hidden] {
  display:none!important;
}
@media (max-width:540px) {
  .gallery-dialog .gallery-dialog-head {
    padding:7px 4px 10px;
  }
  .gallery-dialog .gallery-dialog-loading {
    font-size:12px;
    margin-top:6px;
    padding:8px;
  }
}
@media (forced-colors:active) {
  .gallery-dialog .gallery-dialog-head,
  .gallery-dialog .gallery-dialog-loading {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
  }
}


/* 2026-10-30 | Picture-first exhibition finishing pass.
   Preserve each original work at its full visible aspect; do not crop the
   approved portrait, background art, or educational illustrations.
   Existing titles, 23 artwork anchors, lightbox and patient links stay. */
.gallery-hero{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:0;
}
.gallery-hero-content{
  background:linear-gradient(137deg,#f7f1e4,#fffdf7 64%,#f1f4eb);
  border-color:#d4c4a5;
  border-radius:5px 0 0 19px;
}
.gallery-hero-content h1{
  color:#214131;
  font-weight:650;
  line-height:1.47;
  text-wrap:balance;
}
.gallery-hero-image{
  background:#f2eee2;
  border:9px solid #e8ddc5;
  border-left:0;
  border-radius:0 19px 5px 0;
  box-shadow:0 18px 38px rgba(27,48,35,.085);
}
.gallery-hero-image>img{
  box-sizing:border-box;
  width:100%;
  height:100%;
  max-height:520px;
  min-height:0;
  object-fit:contain;
  object-position:center;
  background:#f5f0e4;
}
.gallery-hero-image>span{
  color:#fffaf0;
  background:rgba(28,56,42,.87);
  letter-spacing:.09em;
}
#paintings .gallery-art-grid{
  column-gap:clamp(15px,2.5vw,28px);
  row-gap:clamp(18px,2.9vw,32px);
}
#paintings .gallery-piece{
  border-color:#d6c9af;
  border-radius:4px 15px 4px 15px;
  background:#fffcf5;
  box-shadow:0 13px 30px rgba(34,54,40,.068);
}
#paintings .gallery-piece .gallery-art-frame{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#e8dcc5,#f5eedf);
  padding:clamp(7px,1.2vw,13px);
}
#paintings .gallery-piece .gallery-art-frame>img{
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:460px;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  border:5px solid #fffcf4;
  background:#f9f5ec;
  box-shadow:0 8px 22px rgba(30,52,35,.075);
}
#paintings .gallery-piece.gallery-piece-feature .gallery-art-frame>img{
  width:100%;
  height:auto;
  max-height:480px;
  aspect-ratio:auto;
  object-fit:contain;
}
#paintings .gallery-piece figcaption{
  padding:clamp(19px,2.2vw,29px);
  background:#fffdf8;
}
#paintings .gallery-piece figcaption>h3{
  color:#244633;
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(20px,2.15vw,26px);
  line-height:1.49;
  letter-spacing:-.05em;
  text-wrap:balance;
}
#paintings .gallery-piece figcaption>p{
  color:#4b6451;
  line-height:1.83;
}
#paintings .gallery-piece .gallery-index{
  color:#876d48;
}
#paintings .gallery-piece .gallery-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 17px;
}
#paintings .gallery-piece .gallery-links :is(button,a) {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:8px 0;
  font-size:13px;
  line-height:1.6;
  word-break:keep-all;
  text-underline-offset:4px;
}
#paintings .gallery-piece .gallery-links :is(button,a):focus-visible{
  outline:3px solid #a88550;
  outline-offset:3px;
}
@media(min-width:851px){
  #paintings .gallery-piece-feature .gallery-art-frame{
    align-items:center;
    padding:clamp(13px,1.7vw,20px);
  }
  #paintings .gallery-piece-feature figcaption{
    background:linear-gradient(140deg,#fffdf7,#f6f3e9);
  }
}
@media(max-width:850px){
  .gallery-hero{
    grid-template-columns:minmax(0,1fr);
  }
  .gallery-hero-content{
    border-right:1px solid #d4c4a5;
    border-radius:5px 15px 0 0;
  }
  .gallery-hero-image{
    border:7px solid #e8ddc5;
    border-top:0;
    border-radius:0 0 5px 15px;
  }
  .gallery-hero-image>img{
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:3/2;
    object-fit:contain;
  }
}
@media(max-width:600px){
  #paintings .gallery-piece .gallery-art-frame{
    padding:8px;
  }
  #paintings .gallery-piece .gallery-art-frame>img{
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:auto;
    border-width:4px;
  }
  #paintings .gallery-piece figcaption {
    padding:18px 17px 22px;
  }
  .gallery-hero-image>span{
    right:9px;
    bottom:9px;
    font-size:9px;
  }
}
@media(prefers-reduced-motion:reduce){
  #paintings .gallery-piece .gallery-art-frame>img{
    transition:none;
  }
}
@media(forced-colors:active){
  .gallery-hero-content,.gallery-hero-image,
  #paintings .gallery-piece,#paintings .gallery-piece .gallery-art-frame,
  #paintings .gallery-piece figcaption{
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
}


/* 2026-10-31 · Original artwork and caption in the 23-work lightbox.
   Authentic captions come from existing displayed gallery text; a first-party
   original-file link is updated with each artwork, without external fetches. */
.gallery-dialog .gallery-dialog-description{
  box-sizing:border-box;
  display:block;
  max-width:min(88vw,920px);
  margin:9px auto 4px;
  padding:7px 12px 4px;
  color:#506552;
  font-size:clamp(12px,1.25vw,14px);
  line-height:1.72;
  text-align:center;
  word-break:keep-all;
  overflow-wrap:break-word;
}
.gallery-dialog .gallery-dialog-art-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
  margin:11px auto 4px;
  max-width:100%;
}
.gallery-dialog .gallery-dialog-art-actions>a{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:47px;
  max-width:100%;
  width:fit-content;
  margin:0;
  padding:10px 17px;
  border:1px solid #c0b198;
  border-radius:4px 11px 4px 11px;
  color:#285640;
  background:#f7f1e6;
  font:750 13px/1.6 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  text-decoration:none;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.gallery-dialog .gallery-dialog-art-actions>.gallery-dialog-original[hidden]{
  display:none!important;
}
.gallery-dialog .gallery-dialog-art-actions>.gallery-dialog-care{
  color:#fffefa;
  background:#214b39;
  border-color:#214b39;
}
.gallery-dialog .gallery-dialog-art-actions>.gallery-dialog-original:hover{
  border-color:#9b825a;
  background:#f1e8d6;
}
.gallery-dialog .gallery-dialog-art-actions>a:focus-visible{
  outline:3px solid #aa8046;
  outline-offset:3px;
}
.gallery-dialog #gallery-dialog-image,
.gallery-dialog.gallery-dialog--care #gallery-dialog-image{
  max-height:clamp(180px,calc(94vh - 315px),70vh);
  max-height:clamp(180px,calc(94dvh - 315px),70dvh);
  width:auto;
  height:auto;
  object-fit:contain;
}
@media(max-width:520px){
  .gallery-dialog .gallery-dialog-art-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:10px 0 4px;
  }
  .gallery-dialog .gallery-dialog-art-actions>a{
    width:100%;
    min-width:0;
    min-height:46px;
    padding:10px 7px;
    font-size:12px;
  }
  .gallery-dialog .gallery-dialog-art-actions>a:only-child{
    grid-column:1/-1;
  }
  .gallery-dialog .gallery-dialog-description{
    max-width:100%;
    margin:7px 0 3px;
    padding:6px 3px;
    font-size:12px;
  }
  .gallery-dialog #gallery-dialog-image,
  .gallery-dialog.gallery-dialog--care #gallery-dialog-image{
    max-height:clamp(150px,calc(94vh - 340px),63vh);
    max-height:clamp(150px,calc(94dvh - 340px),63dvh);
  }
}
@media(forced-colors:active){
  .gallery-dialog .gallery-dialog-art-actions>a,
  .gallery-dialog .gallery-dialog-description{
    color:CanvasText;
    background:Canvas;
    border-color:CanvasText;
  }
}
@media print{
  .gallery-dialog .gallery-dialog-art-actions{display:none!important}
}


/* 2026-10-31 | Gallery entrance room-ticket navigation.
   Three exhibit destinations plus the original owner's journal, all
   plain anchors with no JS and no extra downloaded artwork. */
.gallery-hero .gallery-hero-content>.gallery-hero-actions {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
  width:100%;
  margin-top:clamp(23px,2.7vw,32px);
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:90px;
  margin:0;
  padding:14px clamp(13px,1.3vw,18px);
  border:1px solid #c8b894;
  border-left:4px solid #b79a64;
  border-radius:4px 12px 4px 12px;
  background:#fffcf5;
  color:#274935;
  text-align:left;
  font-size:clamp(12px,1.05vw,14px);
  font-weight:750;
  line-height:1.65;
  word-break:keep-all;
  text-decoration:none;
  box-shadow:0 5px 15px rgba(44,63,44,.045);
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a::before {
  content:"ROOM 01 / 10 WORKS";
  display:block;
  color:#866939;
  font:800 10px/1.45 system-ui,sans-serif;
  letter-spacing:.12em;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(2) {
  border-left-color:#82a18b;
  background:#f8fbf4;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(2)::before {
  content:"ROOM 02 / 03 WORKS";
  color:#52765c;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(3) {
  border-left-color:#9d8aaa;
  background:#faf8fb;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(3)::before {
  content:"ROOM 03 / 10 WORKS";
  color:#73627c;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(4) {
  border-left-color:#b9ad90;
  background:#f2f0e8;
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:nth-child(4)::before {
  content:"DOCTOR'S JOURNAL";
}
.gallery-hero .gallery-hero-content>.gallery-hero-actions>a:focus-visible {
  outline:3px solid #9c783a;
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine) {
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a:hover {
    border-color:#9e8a66;
    background:#eef3e9;
    box-shadow:0 9px 21px rgba(40,60,43,.09);
  }
}
@media(max-width:600px) {
  .gallery-hero .gallery-hero-content>.gallery-hero-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin-top:22px;
  }
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a {
    min-height:98px;
    padding:12px 11px;
    font-size:13px;
    line-height:1.58;
  }
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a::before {
    font-size:9px;
    letter-spacing:.07em;
  }
}
@media(max-width:390px) {
  .gallery-hero .gallery-hero-content>.gallery-hero-actions {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a {
    min-height:66px;
    gap:3px;
    padding:9px 15px;
    font-size:13px;
  }
}
@media(forced-colors:active) {
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a {
    background:Canvas;
    color:LinkText;
    border-color:CanvasText;
    box-shadow:none;
  }
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a::before {
    color:CanvasText;
  }
}
@media print {
  .gallery-hero .gallery-hero-content>.gallery-hero-actions>a {
    break-inside:avoid;
    background:#fff;
    box-shadow:none;
  }
}


/* 2026-10-31 | First gallery room: consistent art labels and honest zoom.
   Keep ten original illustrations uncropped, with their own distinct labels.
   The optional JS-only zoom must never appear as a dead button when scripts
   fail; the direct original-file link is always available. */
#paintings .gallery-art-grid{
  align-items:stretch;
  gap:clamp(19px,2.5vw,30px);
}
#paintings .gallery-piece:not(.gallery-piece-feature){
  display:flex;
  flex-direction:column;
  min-width:0;
}
#paintings .gallery-piece{
  overflow:hidden;
  border:1px solid #d6c6a7;
  border-top:4px solid #baa071;
  border-radius:4px 16px 4px 16px;
  background:#fffdf9;
}
#paintings .gallery-piece:nth-child(even){
  border-top-color:#85a48a;
}
#paintings .gallery-piece .gallery-art-frame{
  box-sizing:border-box;
  min-width:0;
  padding:clamp(9px,1.35vw,16px);
  background:linear-gradient(145deg,#e8ddca,#f8f2e6);
  border-bottom:1px solid #dbcfb8;
}
#paintings .gallery-piece .gallery-art-frame>img{
  display:block;
  box-sizing:border-box;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  border:5px solid #fffaf0;
  background:#f8f4ec;
  box-shadow:0 8px 19px rgba(34,54,40,.075);
}
#paintings .gallery-piece figcaption{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  padding:clamp(20px,2.3vw,30px);
  border-top:0;
  background:linear-gradient(145deg,#fffdf8,#f8f6ef);
}
#paintings .gallery-piece .gallery-index{
  display:block;
  width:fit-content;
  max-width:100%;
  margin-bottom:6px;
  padding-bottom:8px;
  border-bottom:1px solid #ceb789;
  color:#846943;
  font:800 11px/1.5 system-ui,sans-serif;
  letter-spacing:.07em;
  overflow-wrap:anywhere;
}
#paintings .gallery-piece figcaption>h3{
  margin:8px 0 10px;
  color:#244b38;
  font-size:clamp(20px,2.2vw,27px);
  line-height:1.55;
  text-wrap:balance;
}
#paintings .gallery-piece figcaption>p{
  max-width:57ch;
  margin:0 0 18px;
  color:#4d6454;
  font-size:15px;
  line-height:1.88;
  word-break:keep-all;
}
#paintings .gallery-piece .gallery-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:9px;
  width:100%;
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid #e1d8c6;
}
#paintings .gallery-piece .gallery-links :is(a,button){
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:49px;
  margin:0;
  padding:11px 12px;
  border:1px solid #c6b591;
  border-radius:5px 10px 5px 10px;
  background:#fbf7ed;
  color:#29543d;
  font:750 13px/1.55 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  word-break:keep-all;
}
#paintings .gallery-piece .gallery-links>button.gallery-zoom{
  background:#28553e;
  border-color:#28553e;
  color:#fffaf0;
}
html:not(.gallery-js) #paintings .gallery-piece .gallery-links>button.gallery-zoom{
  display:none;
}
html:not(.gallery-js) #paintings .gallery-piece .gallery-links>a{
  grid-column:1/-1;
}
html.gallery-js #paintings .gallery-piece .gallery-links>button.gallery-zoom{
  display:inline-flex;
}
#paintings .gallery-piece .gallery-links :is(a,button):focus-visible{
  outline:3px solid #ad874d;
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine){
  #paintings .gallery-piece .gallery-links>a:hover{
    background:#f2eddc;
  }
  #paintings .gallery-piece .gallery-links>button.gallery-zoom:hover{
    background:#1f4734;
    border-color:#1f4734;
  }
}
@media(max-width:780px){
  #paintings .gallery-piece:not(.gallery-piece-feature){
    max-width:700px;
    margin-inline:auto;
  }
}
@media(max-width:600px){
  #paintings .gallery-piece .gallery-art-frame{
    padding:9px;
  }
  #paintings .gallery-piece .gallery-art-frame>img{
    width:100%;
    height:auto;
    max-height:none;
    border-width:4px;
  }
  #paintings .gallery-piece figcaption{
    padding:19px 17px 23px;
  }
  #paintings .gallery-piece .gallery-links :is(a,button){
    min-height:48px;
    padding:10px 8px;
    font-size:13px;
  }
}
@media(max-width:370px){
  #paintings .gallery-piece .gallery-links{
    grid-template-columns:minmax(0,1fr);
    gap:7px;
  }
}
@media(prefers-reduced-motion:reduce){
  #paintings .gallery-piece .gallery-links :is(a,button){
    transition:none;
  }
}
@media(forced-colors:active){
  #paintings .gallery-piece,
  #paintings .gallery-piece .gallery-art-frame,
  #paintings .gallery-piece .gallery-art-frame>img,
  #paintings .gallery-piece figcaption,
  #paintings .gallery-piece .gallery-links :is(a,button){
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
  #paintings .gallery-piece .gallery-index{
    color:CanvasText;
  }
}
