/* Shared public interface. Loaded after legacy layout and phone crop styles. */
:root {
  color-scheme: dark;
  --bg-main: #101114;
  --bg-card: #17191e;
  --bg-card-hover: #202329;
  --bg-elevated: #202329;
  --bg-input: #121418;
  --bg-input-hover: #191c22;
  --bg-input-focus: #121418;
  --primary: #5865df;
  --primary-hover: #6572ec;
  --primary-active: #4a57ce;
  --primary-light: #242947;
  --primary-glow: transparent;
  --accent: #aab2ff;
  --accent-2: #aab2ff;
  --accent-hover: #c4caff;
  --secondary: #17191e;
  --secondary-hover: #24272e;
  --secondary-active: #30343d;
  --text-primary: #f0f1f5;
  --text-secondary: #b3b7c2;
  --text-muted: #9096a4;
  --text-pink: #aab2ff;
  --pink: #5865df;
  --pink-hover: #6572ec;
  --border: #30343d;
  --border-subtle: #272b33;
  --border-hover: #545b6b;
  --card-bg: #17191e;
  --ui-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { font-size: 14px; scroll-behavior: auto; scroll-padding-top: 88px; }
body { background: var(--bg-main); color: var(--text-primary); font: 14px/1.6 var(--ui-font) !important; }
button, input, select, textarea { font-family: var(--ui-font) !important; }
a { color: inherit; }
a:hover { color: var(--text-primary); }
::selection { background: #454d85; color: white; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #353944; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 2147483647; background: var(--primary); padding: 10px 18px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
#nanobar .bar { height: 2px; background: var(--primary); box-shadow: none; }

/* Stable navigation: horizontal on desktop, compact top bar on phones. */
.wrapper { max-width: 1360px; }
.page-body { padding: 104px 40px 64px; }
.nav-primary { height: 72px; top: 0 !important; bottom: auto; background: var(--bg-main) !important; border-bottom: 1px solid var(--border-subtle); box-shadow: none; transition: none; }
#site-topbar .shell-inner { max-width: 1360px; padding: 0 40px; gap: 8px; justify-content: flex-start; top: 0 !important; }
.nav-cluster { min-width: 0; }
.nav-cluster a { display: inline-flex; flex-direction: row; flex-wrap: nowrap; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); background: transparent; }
.nav-cluster a:hover { background: var(--bg-elevated); color: var(--text-primary); }
.nav-cluster a[aria-current="page"] { color: var(--text-primary); background: var(--bg-elevated); }
.nav-cluster span { width: auto; margin: 0; font-weight: 500; }
.nav-cluster:not(.brand-mark):not(.menu-flyout) > a > img { display: none; }
.nav-cluster.brand-mark { margin: 0 28px 0 0; }
.nav-cluster.brand-mark a { padding: 0; gap: 10px; }
.brand-mark a img { width: 28px; height: 28px; }
.wordmark { font-family: var(--ui-font); font-size: 20px; letter-spacing: -.7px; font-weight: 700 !important; }
.wordmark em { color: var(--text-primary); font-weight: 400; }
#site-topbar .cta-row { margin-left: auto; padding: 0; }
.member-badge.menu-trigger { width: 40px; height: 40px; background: var(--bg-card) !important; border: 1px solid var(--border); border-radius: 8px; }
.member-badge > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.member-badge img { width: 20px; height: 20px; object-fit: cover; }
.member-badge ul { top: 48px; right: 0; left: auto; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 12px 32px #0004; }
.member-badge ul li a { font-size: 13px; font-weight: 500; }
.member-badge:not(.is-authed) > .show-menu { display: none; }
.member-badge.is-authed .show-menu { opacity: 1; visibility: visible; }
.locale-switch { margin-left: auto; min-width: 0; }
.locale-switch .locale-globe { width: 18px; height: 18px; }
.locale-switch .locale-now { width: auto; font-size: 12px; margin: 0; }
.locale-switch + .cta-row { margin-left: 4px !important; }
.side-panel-shell { background: var(--bg-card); padding: 24px; width: 270px; left: -270px; box-shadow: none; }
.side-panel { padding-top: 0; }
.side-panel .brand-mark { padding-bottom: 24px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.side-panel .topnav ul li a { padding: 12px; border-radius: 6px; font-size: 14px; }
.side-panel .topnav ul li a:hover { padding-left: 12px; background: var(--bg-elevated); }
.side-panel .topnav a[aria-current="page"] { color: var(--accent); background: var(--primary-light); }

/* One control system, with clear primary / secondary / disabled states. */
.route-load-error { max-width: 640px; margin: 64px auto; padding: 24px; }
.route-load-error h1 { margin-bottom: 12px; font-size: 26px; }
.route-load-error p { margin-bottom: 24px; color: var(--text-muted); }
.route-load-error .ui-button { margin: 0 8px 8px 0; }
.ui-button, .btn, .edit-btn, .send-btn, .u-btn,
.phone-crop-download, .phone-crop-prepare,
.view-head .refine-cta a, .view-head.letter-group .refine-cta a,
.reveal-pics a, .refine-panel .refine-apply a,
.pagination-box .pagination ul li a, .login button, .register button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 9px 16px !important;
  border: 1px solid var(--border) !important; border-radius: 7px !important;
  background: var(--bg-card) !important; color: var(--text-primary) !important;
  font-size: 13px !important; font-weight: 500; line-height: 20px;
  text-decoration: none; box-shadow: none; cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.ui-button:hover, .btn:hover, .edit-btn:hover, .send-btn:hover, .u-btn:hover,
.view-head .refine-cta a:hover, .view-head.letter-group .refine-cta a:hover,
.reveal-pics a:hover, .pagination-box .pagination ul li a:hover {
  background: var(--secondary-hover) !important; border-color: var(--border-hover) !important; box-shadow: none; color: white !important;
}
.ui-button-primary, .phone-crop-download, .phone-crop-prepare,
.refine-panel .refine-apply a, .login button, .register button {
  background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important;
}
.ui-button-primary:hover, .phone-crop-download:hover, .phone-crop-prepare:hover,
.refine-panel .refine-apply a:hover, .login button:hover, .register button:hover {
  background: var(--primary-hover) !important; border-color: var(--primary-hover) !important;
}
.view-head.letter-group .refine-cta a.act,
.pagination-box .pagination ul li.act a { background: var(--primary-light) !important; border-color: #484f7c !important; color: #c9ceff !important; }
button:disabled, [aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.phone-crop-download:disabled, .phone-crop-prepare:disabled { cursor: wait; }
input[type="text"], input[type="search"], input[type="password"], input[type="email"], select, textarea {
  background-color: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border); border-radius: 7px; box-shadow: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: none; }

/* Home: useful search and a quiet, editorial introduction. */
.discovery-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; padding: 28px 0 42px; margin-bottom: 32px; border-bottom: 1px solid var(--border-subtle); }
.eyebrow { font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.hero-title { background: none; -webkit-text-fill-color: var(--text-primary); color: var(--text-primary); font: 600 44px/1.12 var(--ui-font); letter-spacing: -1.8px; text-align: left; padding: 0; margin: 0 0 18px; text-shadow: none; }
.hero-blurb { max-width: 435px; margin: 0; text-align: left; font-size: 14px; line-height: 1.75; color: var(--text-muted); background: none !important; }
.hero-finder { min-width: 0; width: 100%; max-width: 500px; margin: 0 0 0 auto; }
.search-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 12px; }
.hero-finder .finder-bar { margin: 0; max-width: none; }
.hero-finder .finder-bar form { display: flex; align-items: center; position: relative; }
.hero-finder .finder-bar input { width: 100%; height: 56px; padding: 0 70px 0 18px; font-size: 14px; font-family: var(--ui-font); border-radius: 9px; border: 1px solid #3a3f4a !important; background: var(--bg-card) !important; box-shadow: none !important; }
.hero-finder .finder-bar input:focus { border-color: var(--accent) !important; outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-finder .finder-bar .search-submit { display: flex; position: absolute; right: 7px; top: 7px; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; padding: 0; margin: 0; border: 1px solid var(--primary); border-radius: 6px; background: var(--primary); cursor: pointer; color: white; z-index: 2; }
.hero-finder .finder-bar .search-submit:hover { background: var(--primary-hover); }
.search-submit img { width: 19px; height: 19px; filter: brightness(0) invert(1); }
.hero-finder .finder-bar .is-busy { display: none; }
.hero-shortcuts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; align-items: center; font-size: 11px; color: var(--text-muted); }
.hero-shortcuts a { color: var(--text-secondary); }
.hero-shortcuts a:hover { color: var(--accent); }
.hero-shortcuts a span { margin-left: 4px; color: var(--text-muted); }
.finder-bar.open form { z-index: 9999999999; }
.hero-finder .finder-bar.open input { border-radius: 9px; }
.hero-finder .finder-bar .finder-results { top: 64px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); box-shadow: 0 12px 32px #0005; }
.finder-bar .finder-results ul li a { color: var(--text-primary); }
.finder-bar .finder-results ul li a:hover, .finder-bar .finder-results ul li a.is-picked { background: var(--bg-elevated); }
.glow-mark { color: var(--accent); background: transparent; text-shadow: none; }
.view-head, .view-head.letter-group { margin: 0 0 24px; }
.view-head .shell-inner { gap: 16px; }
.view-head:not(.piece-name) h1, .view-head:not(.piece-name) h2 { font-size: 25px; line-height: 1.3; font-weight: 600; letter-spacing: -.7px; }
.view-head:not(.piece-name) h1::before, .view-head:not(.piece-name) h2::before { display: none; }
.collection-head .eyebrow { margin-bottom: 7px; }
.collection-head h2 { font-size: 23px !important; }
.view-head.letter-group .refine-cta { width: auto; margin-top: 0; gap: 6px; }
.view-head .refine-cta a { margin-right: 0; }
.view-head .refine-cta img { width: 16px; height: 16px; opacity: .8; }
.collection-more { display: flex; justify-content: center; padding: 32px 0 0; }

/* Artwork stays still on hover. Spacing separates each image and caption. */
.cascade-grid { margin: 0 -8px; }
.cascade-grid .flow-card { padding: 0 8px 22px; }
.shot-tile, .shot-tile:hover { transform: none; box-shadow: none; will-change: auto; }
.shot-tile > a { display: block; border-radius: 8px; }
.shot-tile .flow-media { border-radius: 8px; overflow: hidden; background: var(--bg-card); }
.shot-tile .flow-media img.thumb-shot { border-radius: 8px; transform: none; transition: none; }
.shot-tile:hover .flow-media img.thumb-shot { transform: none; }
.flow-caption { margin: 10px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; font-weight: 400; }
.shot-tile > a:hover .flow-caption { color: var(--text-primary); }
.clip-meta { padding: 3px 6px; font-size: 10px; font-weight: 500; border-radius: 4px; }
.label-board { margin: 0 -8px; }
.label-board ul { padding: 0 8px; }
.label-board ul li { min-height: 46px; border-bottom: 1px solid var(--border-subtle) !important; border-radius: 0; padding: 10px 8px !important; margin: 0 !important; }
.label-board ul li:hover { border-bottom: 1px solid var(--border-subtle) !important; background: var(--bg-card) !important; }
.label-board ul li a.__link { font-size: 13px; font-weight: 400; }
.label-board span.tally-num { font-variant-numeric: tabular-nums; background: var(--bg-elevated); border-radius: 4px; color: var(--text-muted); }
.label-board ul li:hover span.tally-num { background: var(--bg-elevated); color: var(--text-secondary); }
.pagination-box { margin-top: 28px; }
.pagination-box .pagination ul li a { min-width: 40px; }

/* Detail page: image and an actionable information panel. */
.breadcrumb { margin: 0 0 22px; color: var(--text-muted); font-size: 12px; }
.artwork-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.artwork-media, .artwork-info { min-width: 0; }
.artwork-info { padding: 24px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; }
.artwork-info .eyebrow { margin-bottom: 14px; }
.artwork-info h1.title-lead, .artwork-info .piece-name h1 { font-size: 22px; line-height: 1.4; letter-spacing: -.5px; font-weight: 600; overflow-wrap: anywhere; margin: 0 0 22px; }
.artwork-info .piece-name { margin: 0; }
.artwork-info .piece-name .shell-inner { align-items: flex-start; }
.artwork-actions { display: flex; flex-direction: column; gap: 9px; }
.artwork-actions .ui-button { min-height: 44px; width: 100%; }
.artwork-actions img { width: 17px; height: 17px; }
.artwork-actions .is-saved { color: #c5ccff !important; border-color: #484f7c !important; background: var(--primary-light) !important; }
.download-info { margin: 12px 0 24px; text-align: center; font-size: 11px; color: var(--text-muted); }
.download-info span { margin: 0 5px; }
.detail-label { font-size: 12px; font-weight: 600; margin: 0 0 12px; color: var(--text-secondary); }
.artwork-info .label-list { padding: 22px 0; margin: 0; border-top: 1px solid var(--border-subtle); }
.label-set { gap: 6px; }
.label-set li { margin: 0; max-width: 100%; }
#label-set a.label-chip { display: inline-block; max-width: 100%; padding: 5px 9px; font-size: 11px; line-height: 18px; font-weight: 400; border: 1px solid var(--border) !important; border-radius: 5px; background: var(--bg-elevated) !important; color: var(--text-secondary) !important; overflow-wrap: anywhere; }
#label-set a.label-chip:hover { background: #2b2f37 !important; border-color: var(--border-hover) !important; color: white !important; box-shadow: none; }
#label-set a.label-chip.t-character { color: #b9c7eb !important; }
#label-set a.label-chip.t-artist { color: #dfb9cb !important; }
#label-set a.label-chip.t-series, #label-set a.label-chip.t-game { color: #d4c89f !important; }
.label-list .reveal-labels { margin-top: 12px; min-height: 36px; padding: 7px 12px !important; font-size: 12px !important; color: var(--accent) !important; }
.label-list #adder-wrap { position: relative; }
.label-list .ac { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); border-radius: 7px; max-height: 240px; overflow-y: auto; }
.label-list .ac:empty { display: none !important; }
.label-list .ac li { padding: 10px 12px; font-size: 12px; cursor: pointer; }
.label-list .ac li.select, .label-list .ac li:hover { background: var(--bg-elevated); color: var(--text-primary); }
.label-adder button:hover, .label-drop-btn:hover, .keeper-tools a:hover { transform: none !important; box-shadow: none; }
.artwork-info .piece-meta { margin: 0; padding-top: 10px; border-top: 1px solid var(--border-subtle); }
.artwork-info .piece-meta ul { display: block; }
.artwork-info .piece-meta ul li { display: grid !important; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 0 !important; border: 0; border-radius: 0; background: none; }
.artwork-info .piece-meta ul li .view-caption { font-size: 11px !important; font-weight: 400 !important; text-transform: none; letter-spacing: 0; line-height: 1.6; margin: 0; }
.artwork-info .piece-meta ul li span:last-child { font-size: 11px; font-weight: 400; line-height: 1.6; color: var(--text-secondary); overflow-wrap: anywhere; }
.artwork-media .piece-gallery { margin: 0; }
.artwork-media .view-shot-dock { margin: 0; background: #0b0c0f; border: 1px solid var(--border-subtle); border-radius: 9px; overflow: hidden; }
.artwork-media .view-shot-dock img { width: 100%; height: auto; }
.artwork-media .shotZoom { display: block; }
.artwork-media .reveal-pics { margin: 18px 0 0; }
.phone-wallpaper { max-width: none; margin: 16px 0 0; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); }
.phone-wallpaper > summary { padding: 16px 18px; font-size: 13px; font-weight: 500; }
.phone-wallpaper > summary:hover { color: var(--accent); }
.phone-crop-content { padding: 4px 18px 20px; font-size: 13px; }
.phone-crop-layout { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 24px; }
.phone-crop-frame { border-radius: 15px; border: 3px solid #454b57; }
.phone-crop-controls label { font-size: 12px; font-weight: 500; }
.phone-crop-controls select { width: 100%; height: 42px; margin-top: 8px; font-size: 12px; padding-right: 32px; background-color: var(--bg-input); border: 1px solid var(--border); }
.phone-crop-note { color: var(--text-muted); opacity: 1; font-size: 12px; }
.phone-crop-download-state { color: var(--text-secondary); font-size: 12px; }
.related-heading { margin: 44px 0 24px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.related-heading .eyebrow { margin-bottom: 8px; }
.related-heading .title-lead { font-size: 23px; letter-spacing: -.5px; font-weight: 600; margin: 0; }

/* Forms, dialogs and footer share the same surfaces and controls. */
.refine-panel, .card-pane { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 16px 48px #0005; }
.refine-panel > ul > li select { background-color: var(--bg-input); }
.refine-panel .filter-help { margin-top: 8px; max-width: 310px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.resolution-intro { max-width: 820px; margin: -4px 0 22px; line-height: 1.7; }
.resolution-intro p { margin-bottom: 8px; color: var(--text-secondary); }
.resolution-intro .resolution-note, .resolution-intro > span { color: var(--text-muted); font-size: 13px; }
.resolution-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.resolution-links a[aria-current="page"] { background: var(--primary-light) !important; border-color: var(--primary) !important; color: var(--text-primary) !important; }
.gallery-empty { padding: 28px 0; color: var(--text-muted); }
.gallery-empty p { margin-bottom: 16px; }
.refine-close a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 6px; }
.site-base { background: var(--bg-main); border-top: 1px solid var(--border-subtle); padding: 32px 24px; }
.site-base .base-links a.__link { padding: 4px 12px; font-size: 12px; }
.base-tags { font-size: 11px; gap: 6px 14px; }
.site-base .shell-inner p { font-size: 11px; }
.site-base .shell-inner p:first-of-type { font-size: 12px; font-weight: 500; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 36px 20px; }
.auth-page .center-box { position: static; max-width: 420px; width: 100%; margin: 0; transform: none; }
.auth-page .box { padding: 32px; background: var(--bg-card) !important; border: 1px solid var(--border); border-radius: 12px; box-shadow: none; }
.auth-page .user-box-tite { margin: 0 0 30px; text-align: left; }
.auth-page .user-box-tite a { font-size: 22px; background: none; color: var(--text-primary); -webkit-text-fill-color: var(--text-primary); }
.auth-page .auth-title { font-size: 25px; letter-spacing: -.6px; margin: 22px 0 6px; line-height: 1.3; }
.auth-page .auth-description { color: var(--text-muted); font-size: 13px; margin: 0; }
.auth-page .user-box-body { margin-top: 24px; }
.auth-page .inputBox { margin-bottom: 18px; }
.auth-page .inputBox label { position: static; display: block; width: auto; height: auto; margin-bottom: 8px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.auth-page .inputGroup input[type="text"], .auth-page .inputGroup input[type="password"] { height: 46px; padding: 0 13px; background: var(--bg-input) !important; border: 1px solid var(--border) !important; border-radius: 7px; box-shadow: none !important; font-size: 14px; }
.auth-page .inputGroup input:focus { border-color: var(--accent) !important; }
.auth-page .user-box-footer { margin-top: 24px; }
.auth-page .user-box-footer button { min-height: 44px; }
.auth-back { display: block; margin-top: 24px; color: var(--text-muted); text-align: center; font-size: 12px; }
.account-veil { overflow-y: auto; padding: 24px 16px; }
.account-veil .centered-pane { position: relative; left: auto; top: auto; width: 100%; max-width: 400px; margin: max(24px, calc((100dvh - 550px) / 2)) auto 24px; }
.account-veil .card-pane { position: relative; padding: 28px; border-radius: 10px; background: var(--bg-card) !important; }
.account-card-head a { font-size: 20px; font-weight: 600; color: var(--text-primary); }
.account-card-head h2 { font-size: 24px; letter-spacing: -.5px; line-height: 1.3; margin: 24px 0 8px; }
.account-card-head p { font-size: 12px; color: var(--text-muted); margin: 0; }
.account-card-body { margin-top: 24px; }
.account-card-body .entryBox { margin-bottom: 18px; }
.account-card-body .entryGroup label { position: static; display: block; text-align: left; margin-bottom: 7px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.account-card-body .entryGroup input { font-size: 14px !important; border-radius: 7px !important; border: 1px solid var(--border) !important; }
.account-card-foot { justify-content: space-between; align-items: center; margin-top: 24px; }
.account-card-foot a { margin: 0; font-size: 12px; color: var(--text-secondary); }
.account-veil .account-card-foot button { background: var(--primary) !important; border: 1px solid var(--primary); border-radius: 7px; color: white !important; font-size: 13px; font-weight: 500; padding: 10px 20px; height: 42px; transform: none; box-shadow: none; }
.account-veil .account-card-foot button:hover { background: var(--primary-hover) !important; transform: none; box-shadow: none; }
.account-veil .account-dismiss { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; min-width: 32px; width: 32px; height: 32px; padding: 0; background: var(--bg-elevated) !important; color: var(--text-secondary) !important; border: 1px solid var(--border); border-radius: 6px; font-size: 23px; line-height: 1; transform: none; box-shadow: none; }

/* No decorative movement. Keep loading indicators as useful feedback. */
.wrapper, .page-shell, .side-panel-shell, .parlor-box, .nav-primary,
.shot-tile, .thumb-shot, .nav-cluster a, .side-panel a,
.member-badge, .member-badge ul, .locale-menu, .label-chip,
.view-head a, .reveal-pics a, .saved-drop-btn, .iv-close,
.refine-panel, .card-pane, .hero-title, .hero-blurb {
  animation: none !important;
  transition-property: color, background-color, border-color, opacity !important;
  transition-duration: .12s !important;
}
.shot-tile:hover, .shot-tile:hover .thumb-shot, .nav-cluster a:hover,
.ui-button:hover, .ui-button:active, .btn:hover, .btn:active,
.edit-btn:hover, .edit-btn:active, .send-btn:hover, .send-btn:active,
.u-btn:hover, .u-btn:active, .label-chip:hover,
.view-head a:hover, .view-head a:active, .reveal-pics a:hover,
.saved-drop-btn:hover, .saved-drop-btn:active, .iv-close:hover, .iv-close:active,
.refine-apply a:hover, .login button:hover, .register button:hover,
.login button:active, .register button:active {
  transform: none !important; text-shadow: none; box-shadow: none;
}
@media (max-width: 1100px) {
  .page-body { padding-left: 28px; padding-right: 28px; }
  #site-topbar .shell-inner { padding: 0 28px; gap: 4px; }
  .nav-cluster.brand-mark { margin-right: 18px; }
  .nav-cluster a { padding: 0 10px; }
  .discovery-hero { gap: 40px; }
  .hero-title { font-size: 38px; }
  .artwork-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .artwork-info { padding: 20px; }
  .phone-crop-layout { gap: 16px; grid-template-columns: 130px minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .artwork-layout { grid-template-columns: 1fr; gap: 24px; }
  .artwork-info { padding: 24px; }
  .artwork-actions { flex-direction: row; }
  .artwork-actions .ui-button { width: auto; flex: 1; }
  .download-info { text-align: left; }
  .phone-crop-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .discovery-hero { gap: 28px; }
  .hero-title { font-size: 34px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 78px; }
  .nav-primary { height: 64px; }
  #site-topbar .shell-inner { padding: 0 20px; gap: 10px; }
  .nav-cluster.brand-mark { margin-right: auto; }
  .nav-cluster.brand-mark .wordmark { display: inline; font-size: 19px; }
  .nav-cluster.brand-mark a { gap: 8px; }
  .nav-cluster.brand-mark img { width: 25px; height: 25px; }
  .nav-cluster:not(.brand-mark) > a { font-size: 12px; padding: 0 10px; }
  .nav-cluster.menu-flyout { display: block; }
  .nav-cluster.menu-flyout > a { width: 38px; padding: 0; border: 1px solid var(--border); }
  .nav-cluster.menu-flyout img { width: 18px; height: 18px; }
  .nav-cluster.wide-only { display: none; }
  #site-topbar .cta-row { margin: 0; padding: 0; }
  .member-badge.menu-trigger { width: 38px; height: 40px; border-radius: 6px; }
  .member-badge ul { top: 48px; }
  .page-body { padding: 88px 20px 44px; }
  .discovery-hero { grid-template-columns: 1fr; gap: 26px; padding: 14px 0 28px; margin-bottom: 26px; }
  .hero-title { font-size: 38px; letter-spacing: -1.4px; margin-bottom: 14px; }
  .hero-blurb { max-width: 420px; font-size: 13px; line-height: 1.7; }
  .hero-finder { max-width: none; margin: 0; }
  .search-label { font-size: 12px; margin-bottom: 10px; }
  .hero-finder .finder-bar input { height: 54px; font-size: 16px; padding-left: 14px; }
  .hero-finder .finder-bar .search-submit { height: 40px; width: 40px; }
  .hero-shortcuts { font-size: 11px; gap: 12px; }
  .view-head, .view-head.letter-group { margin: 0 0 20px; }
  .view-head.letter-group .shell-inner { flex-wrap: nowrap; }
  .view-head.letter-group .refine-cta { width: auto; margin: 0; flex-shrink: 0; }
  .view-head.letter-group:not(.collection-head) .shell-inner { flex-wrap: wrap; }
  .view-head.letter-group:not(.collection-head) h1 { flex-basis: 100%; }
  .view-head:not(.piece-name) h1, .view-head:not(.piece-name) h2 { font-size: 22px; }
  .collection-head h2 { font-size: 20px !important; }
  .view-head.letter-group .refine-cta a { padding: 7px 12px !important; min-height: 38px; font-size: 12px !important; }
  .cascade-grid { margin: 0 -6px; }
  .cascade-grid .flow-card { padding: 0 6px 20px; width: 50%; }
  .flow-caption { font-size: 11px; margin-top: 8px; line-height: 1.5; }
  .shot-tile .flow-media, .shot-tile .flow-media img.thumb-shot { border-radius: 6px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .label-board { margin: 0; }
  .label-board ul { width: 100%; padding: 0; }
  .breadcrumb { margin-bottom: 18px; font-size: 11px; }
  .artwork-info { padding: 20px; }
  .artwork-info h1.title-lead, .artwork-info .piece-name h1 { font-size: 21px; }
  .artwork-actions { flex-direction: column; }
  .download-info { text-align: center; }
  .phone-crop-layout { grid-template-columns: 1fr; gap: 20px; }
  .phone-crop-frame { width: 170px; margin: 0 auto; }
  .phone-crop-download { width: 100%; }
  .phone-crop-controls select { font-size: 16px; }
  .related-heading { margin-top: 32px; }
  .related-heading .title-lead { font-size: 21px; }
  .site-base { padding: 26px 16px; }
  .base-links { gap: 2px; }
  .site-base .base-links a.__link { padding: 4px 9px; font-size: 11px; }
}
@media (max-width: 380px) {
  #site-topbar .shell-inner { gap: 6px; padding: 0 16px; }
  .page-body { padding-left: 16px; padding-right: 16px; }
  .hero-title { font-size: 34px; }
  .view-head.letter-group:not(.collection-head) .shell-inner { flex-wrap: wrap; }
  .hero-shortcuts { gap: 10px; }
  .auth-page .box { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after,
  #doc-root *, #doc-root *::before, #doc-root *::after,
  body.auth-page *, body.auth-page *::before, body.auth-page *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
