/* Dedicated gallery shell: every selector is scoped; artwork is never cropped. */
.tg-gallery{--tg-bg:#160f12;--tg-panel:#24181d;--tg-cream:#f6ead9;--tg-muted:#c4adab;--tg-copper:#e7ae7a;--tg-line:rgba(225,174,135,.2);margin:0;color:var(--tg-cream);background:radial-gradient(ellipse at 85% 0,rgba(112,41,54,.24),transparent 47%),var(--tg-bg);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
.tg-gallery *{box-sizing:border-box}.tg-gallery a{color:inherit;text-decoration:none}.tg-gallery button,.tg-gallery input,.tg-gallery select{font:inherit}.tg-gallery :focus-visible{outline:3px solid #f1bb88;outline-offset:5px}.tg-gallery ::selection{color:#fff1de;background:#874858}.tg-gallery h1,.tg-gallery h2,.tg-gallery h3,.tg-gallery p,.tg-gallery figure{margin:0}.tg-gallery h1,.tg-gallery h2,.tg-gallery h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;overflow-wrap:anywhere}.tg-gallery h1{font-size:clamp(2.6rem,5.8vw,5.4rem);line-height:1.07;letter-spacing:-.045em}.tg-gallery h2{font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.2;letter-spacing:-.025em}.tg-gallery h3{font-size:1.45rem;line-height:1.25}.tg-gallery .tg-skip{position:absolute;left:20px;top:-100px;padding:12px;background:var(--tg-cream);color:var(--tg-bg);z-index:10}.tg-gallery .tg-skip:focus{top:15px}.tg-gallery .tg-header,.tg-gallery .tg-main,.tg-gallery .tg-footer{width:min(1440px,100% - 96px);margin-inline:auto}.tg-gallery .tg-header{display:flex;align-items:center;justify-content:space-between;padding:29px 0;border-bottom:1px solid var(--tg-line);gap:24px}.tg-gallery .tg-brand{display:flex;align-items:center;gap:14px;font-family:Georgia,serif;font-size:1.2rem;line-height:1.3}.tg-gallery .tg-brand-mark{display:grid;place-items:center;border:1px solid var(--tg-line);border-radius:50%;width:45px;height:45px;color:var(--tg-copper);font-size:1.7rem}.tg-gallery .tg-brand small{display:block;font:10px/1.6 system-ui,sans-serif;letter-spacing:.23em;color:var(--tg-muted);margin-top:5px}.tg-gallery .tg-header nav{display:flex;align-items:center;gap:28px;font-size:.85rem}.tg-gallery .tg-header nav a:hover,.tg-gallery .tg-footer a:hover,.tg-gallery .tg-breadcrumb a:hover{color:var(--tg-copper)}.tg-gallery .tg-feed{color:var(--tg-muted)}.tg-gallery .tg-main{padding-bottom:70px}.tg-gallery .tg-intro{display:flex;justify-content:space-between;align-items:center;gap:64px;padding:76px 0 60px}.tg-gallery .tg-intro>div{max-width:850px}.tg-gallery .tg-eyebrow{display:block;font:600 10px/1.6 system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:var(--tg-copper)}.tg-gallery .tg-intro .tg-eyebrow{margin-bottom:25px}.tg-gallery .tg-intro h1 em{color:var(--tg-copper);font-weight:400}.tg-gallery .tg-intro>div>p:last-child{max-width:600px;margin-top:25px;font-size:1.06rem;color:var(--tg-muted);line-height:1.85}.tg-gallery .tg-intro-note{flex:0 0 220px;border-left:1px solid var(--tg-line);padding-left:38px;color:var(--tg-muted)}.tg-gallery .tg-intro-note>span{font-size:3.5rem;color:var(--tg-copper);line-height:1.2}.tg-gallery .tg-intro-note p{font:italic 1.35rem/1.55 Georgia,serif;margin:18px 0 24px}.tg-gallery .tg-intro-note small{font-size:8px;letter-spacing:.2em}.tg-gallery .tg-filters{display:flex;align-items:end;gap:16px;padding:23px;background:linear-gradient(120deg,#302027,#24191e);border:1px solid var(--tg-line);border-radius:12px;margin-bottom:54px;box-shadow:0 12px 35px #0000001a}.tg-gallery .tg-filters label{display:block;font-size:11px;letter-spacing:.025em;color:var(--tg-muted);margin-bottom:9px}.tg-gallery .tg-search-field{flex:1;min-width:170px}.tg-gallery .tg-tool-field{width:280px}.tg-gallery .tg-filters input,.tg-gallery .tg-filters select{display:block;width:100%;height:49px;border:1px solid var(--tg-line);border-radius:6px;background:#190f14;color:var(--tg-cream);padding:10px 14px;font-size:.88rem}.tg-gallery .tg-filters input::placeholder{color:#a68e91;opacity:1}.tg-gallery .tg-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:49px;padding:12px 23px;border:1px solid #e2aa7c;border-radius:6px;background:#dfaa7c;color:#26151b;font:600 .85rem/1.4 system-ui,sans-serif;cursor:pointer;transition:background .2s,box-shadow .2s}.tg-gallery .tg-button:hover{background:#f2c49c;box-shadow:0 4px 22px #c6905e22}.tg-gallery .tg-clear{font-size:.8rem;text-decoration:underline;white-space:nowrap;padding-block:13px;color:var(--tg-muted)}.tg-gallery .tg-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:27px}.tg-gallery .tg-section-heading .tg-eyebrow{margin-bottom:8px}.tg-gallery .tg-count{font-size:.8rem;color:var(--tg-muted)}.tg-gallery .tg-section-heading>a{font-size:.8rem;color:var(--tg-copper)}.tg-gallery .tg-grid{columns:3;column-gap:25px}.tg-gallery .creation-card{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin-bottom:25px;border:1px solid var(--tg-line);border-radius:11px;background:#24191e;overflow:hidden;box-shadow:0 8px 24px #0000001f;transition:border-color .2s,box-shadow .2s}.tg-gallery .creation-card:hover{border-color:#c4926b99;box-shadow:0 12px 35px #00000055}.tg-gallery .tg-card-art{background:radial-gradient(ellipse,#3e2c32,#1d151a);padding:0}.tg-gallery .tg-card-art img{display:block;width:100%;height:auto;object-fit:contain}.tg-gallery .tg-card-copy{padding:20px 22px 19px}.tg-gallery .tg-card-copy .tg-eyebrow{font-size:9px;letter-spacing:.11em}.tg-gallery .tg-card-copy h3{margin-top:8px}.tg-gallery .tg-card-link{display:flex;justify-content:space-between;align-items:center;color:var(--tg-muted);font-size:.75rem;margin-top:20px;padding-top:13px;border-top:1px solid var(--tg-line)}.tg-gallery .tg-card-link span{color:var(--tg-copper);font-size:1rem}.tg-gallery .tg-empty{text-align:center;border:1px dashed var(--tg-line);border-radius:12px;padding:58px 20px;background:#21161a}.tg-gallery .tg-empty>span{font-size:3.5rem;color:var(--tg-copper)}.tg-gallery .tg-empty h3{font-size:2rem;margin:12px 0}.tg-gallery .tg-empty p{color:var(--tg-muted);margin-bottom:25px}.tg-gallery .tg-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:25px;margin-top:35px;font-size:.85rem}.tg-gallery .tg-pagination a{border:1px solid var(--tg-line);border-radius:6px;padding:9px 18px;color:var(--tg-copper)}.tg-gallery .tg-pagination span{color:var(--tg-muted)}.tg-gallery .tg-breadcrumb{display:flex;gap:13px;align-items:center;padding:30px 0;color:var(--tg-muted);font-size:.8rem;overflow-wrap:anywhere}.tg-gallery .tg-breadcrumb>span:last-child{max-width:75%}.tg-gallery .tg-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);align-items:start;gap:60px;margin-top:12px}.tg-gallery .tg-detail-art{min-width:0;background:linear-gradient(135deg,#302329,#1c1419);border:1px solid var(--tg-line);border-radius:12px;padding:18px}.tg-gallery .tg-detail-art img{display:block;width:100%;height:auto;object-fit:contain;border-radius:5px}.tg-gallery .tg-detail-art figcaption{padding-top:14px;text-align:center;color:var(--tg-muted);font-size:.7rem}.tg-gallery .tg-detail-copy{padding-top:24px}.tg-gallery .tg-detail-copy>h1{font-size:clamp(2.3rem,4vw,4rem);margin:17px 0 24px;line-height:1.1}.tg-gallery .tg-description{font-size:1rem;line-height:1.85;color:var(--tg-muted);white-space:pre-line;overflow-wrap:anywhere}.tg-gallery .tg-facts{margin:28px 0;border-top:1px solid var(--tg-line)}.tg-gallery .tg-facts>div{display:grid;grid-template-columns:85px 1fr;gap:15px;padding:14px 0;border-bottom:1px solid var(--tg-line);font-size:.8rem}.tg-gallery .tg-facts dt{color:var(--tg-muted)}.tg-gallery .tg-facts dd{margin:0}.tg-gallery .tg-create-box{padding:25px;border:1px solid #93644966;border-radius:10px;background:linear-gradient(130deg,#42252b,#2a1b21)}.tg-gallery .tg-create-box h2{font-size:1.8rem;margin:12px 0}.tg-gallery .tg-create-box p{color:var(--tg-muted);font-size:.85rem;margin-bottom:22px}.tg-gallery .tool-cta{width:100%;gap:12px;text-align:center}.tg-gallery .tg-privacy{font-size:.72rem;line-height:1.7;color:var(--tg-muted);margin-top:20px}.tg-gallery .tg-related{margin-top:78px;padding-top:35px;border-top:1px solid var(--tg-line)}.tg-gallery .tg-related-grid{columns:4}.tg-gallery .tg-related-grid .tg-card-copy{padding:16px}.tg-gallery .tg-related-grid h3{font-size:1.2rem}.tg-gallery .tg-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--tg-line);padding:30px 0 40px;color:var(--tg-muted);font-size:.72rem}.tg-gallery .tg-footer-brand{font-family:Georgia,serif;font-size:1rem;color:var(--tg-copper)}
@media(min-width:1600px){.tg-gallery .tg-grid{columns:4}}
@media(max-width:1050px){.tg-gallery .tg-header,.tg-gallery .tg-main,.tg-gallery .tg-footer{width:calc(100% - 56px)}.tg-gallery .tg-intro{gap:30px}.tg-gallery .tg-intro-note{flex-basis:180px;padding-left:25px}.tg-gallery .tg-grid{columns:2}.tg-gallery .tg-tool-field{width:230px}.tg-gallery .tg-filters{flex-wrap:wrap}.tg-gallery .tg-detail{gap:30px;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)}.tg-gallery .tg-related-grid{columns:2}.tg-gallery .tg-footer{flex-wrap:wrap}.tg-gallery .tg-footer p{display:none}}
@media(max-width:700px){.tg-gallery .tg-header,.tg-gallery .tg-main,.tg-gallery .tg-footer{width:calc(100% - 36px)}.tg-gallery .tg-header{padding:20px 0;gap:14px}.tg-gallery .tg-brand{font-size:.98rem;gap:9px}.tg-gallery .tg-brand-mark{width:35px;height:35px;font-size:1.35rem;flex-shrink:0}.tg-gallery .tg-brand small{font-size:8px}.tg-gallery .tg-header nav{font-size:.72rem}.tg-gallery .tg-header nav .tg-feed{display:none}.tg-gallery .tg-intro{padding:44px 0 35px}.tg-gallery .tg-intro-note{display:none}.tg-gallery .tg-intro>div>p:last-child{font-size:.95rem;margin-top:20px}.tg-gallery .tg-filters{padding:17px;gap:15px;margin-bottom:36px}.tg-gallery .tg-search-field,.tg-gallery .tg-tool-field{width:100%;flex-basis:100%}.tg-gallery .tg-filters>.tg-button{flex:1}.tg-gallery .tg-grid{columns:2;column-gap:14px}.tg-gallery .creation-card{margin-bottom:14px;border-radius:8px}.tg-gallery .tg-card-copy{padding:13px 12px}.tg-gallery .tg-card-copy .tg-eyebrow{font-size:8px;letter-spacing:.05em}.tg-gallery .tg-card-copy h3{font-size:1.15rem}.tg-gallery .tg-card-link{font-size:.67rem;margin-top:13px;padding-top:10px}.tg-gallery .tg-section-heading{gap:16px;align-items:start}.tg-gallery .tg-count{font-size:.72rem;white-space:nowrap;padding-top:5px}.tg-gallery .tg-detail{display:flex;flex-direction:column;gap:10px}.tg-gallery .tg-detail-art{width:100%;padding:10px}.tg-gallery .tg-detail-copy{padding-top:25px;width:100%}.tg-gallery .tg-detail-copy>h1{font-size:2.7rem}.tg-gallery .tg-related{margin-top:48px}.tg-gallery .tg-related .tg-section-heading{flex-direction:column}.tg-gallery .tg-footer{gap:16px;padding-block:25px}.tg-gallery .tg-main{padding-bottom:45px}}
@media(max-width:390px){.tg-gallery .tg-grid{columns:1}.tg-gallery .tg-header nav{max-width:75px}.tg-gallery .tg-section-heading{flex-wrap:wrap}.tg-gallery h1{font-size:2.55rem}}
@media(prefers-reduced-motion:reduce){.tg-gallery *{transition:none!important;scroll-behavior:auto!important}}

/* Member community controls; kept outside the artwork link. */
.tg-gallery [hidden]{display:none!important}.tg-gallery .tg-card-shell{break-inside:avoid;display:inline-block;width:100%;margin:0 0 24px;border:1px solid var(--tg-line);border-radius:14px;overflow:hidden;background:var(--tg-panel)}.tg-gallery .tg-card-shell .creation-card{margin:0;border:0;border-radius:0;display:block}.tg-gallery .tg-community{padding:12px 16px}.tg-gallery .tg-detail-copy>.tg-community{padding:16px 0;border-bottom:1px solid var(--tg-line);margin-bottom:20px}.tg-gallery .tg-creator{font-size:.9rem;color:var(--tg-copper);overflow-wrap:anywhere;margin-bottom:10px}.tg-gallery .tg-social-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.tg-gallery .tg-social-buttons button{min-height:44px;border:1px solid #b48270;border-radius:9px;padding:6px 13px;background:#352027;color:#fff0dd;cursor:pointer}.tg-gallery .tg-social-buttons .tg-like[aria-pressed=true]{color:#ffd5d0;background:#772b43;border-color:#e5a3b6}.tg-gallery .tg-like span:first-child{font-size:1.4rem;vertical-align:middle}.tg-gallery .tg-social-buttons button:disabled{cursor:default;opacity:.65}.tg-gallery .tg-social-buttons .tg-remove{font-size:.8rem;background:transparent}.tg-gallery .tg-login-like{font-size:.8rem;text-decoration:underline}.tg-gallery .tg-social-status{font-size:.8rem;color:var(--tg-muted);margin-top:6px;overflow-wrap:anywhere}.tg-gallery .tg-social-status:empty{display:none}

@media(max-width:700px){.tg-gallery .tg-header nav{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:95px;flex-shrink:0}.tg-gallery .tg-header nav a{white-space:normal;text-align:right}}

/* Page-only site integration; no global theme or menu changes. */
body.tg-site{margin:0;background:#160f12}
.tg-gallery{min-height:65vh}
.tg-gallery .tg-main,.tg-gallery .tg-footer{width:auto;max-width:none;margin-inline:clamp(18px,3vw,64px)}
.tg-gallery .tg-collection-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--tg-line);font-size:.82rem;color:var(--tg-copper)}
.tg-gallery .tg-collection-nav a{min-height:44px;display:inline-flex;align-items:center;gap:10px}
.tg-gallery .tg-collection-nav a:hover{text-decoration:underline}
.tg-gallery .tg-intro{padding:22px 0 24px;gap:32px}
.tg-gallery .tg-intro>div{min-width:0;flex:1}
.tg-gallery .tg-intro>div>p:last-child{max-width:900px;margin-top:14px;font-size:.95rem;line-height:1.6}
.tg-gallery .tg-intro .tg-eyebrow{margin-bottom:12px}
.tg-gallery .tg-intro h1{font-size:clamp(2.1rem,3.5vw,3.5rem);line-height:1.06}
.tg-gallery .tg-intro-note{flex:0 0 220px}
.tg-gallery .tg-intro-note>span{font-size:2rem}
.tg-gallery .tg-intro-note>p{font-size:1.1rem;margin-block:8px}
.tg-gallery .tg-collection-nav{padding-block:4px}
.tg-gallery .tg-sort-links{display:flex;gap:4px;align-items:center}
.tg-gallery .tg-sort-links a{padding:6px 14px;border-bottom:2px solid transparent}
.tg-gallery .tg-sort-links a[aria-current=page]{background:#342027;border-bottom-color:var(--tg-copper);color:var(--tg-cream)}
.tg-gallery .tg-creator-link{text-decoration:underline;text-underline-offset:3px}
.tg-gallery .tg-creator-link:hover{color:var(--tg-cream)}
.tg-gallery .tg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px;columns:unset}
.tg-gallery .tg-card-shell{min-width:0;margin:0}
@media(min-width:1600px){.tg-gallery .tg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.tg-gallery .tg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:390px){.tg-gallery .tg-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.tg-gallery .tg-intro{padding:20px 0}.tg-gallery .tg-intro-note{display:none}.tg-gallery .tg-collection-nav{padding:6px 0;font-size:.75rem;gap:8px;flex-wrap:wrap}.tg-gallery .tg-sort-links a{padding:4px 10px}.tg-gallery .tg-intro h1{font-size:clamp(2rem,7vw,2.8rem)}}
