:root {
  --ink: #1e293b;
  --muted: #64748b;
  --soft: #f5f8fc;
  --line: #e2e8f0;
  --blue: #168fcd;
  --pink: #e84c9b;
  --purple: #7954e8;
  --green: #10a981;
  --orange: #f0932b;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 10Q0 0 10 0H90Q100 0 100 10V76C93 77 91 83 84 81C75 78 70 88 61 84C51 80 46 91 36 86C26 81 19 90 10 86C6 84 3 84 0 86Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

body.member-gate-open { overflow:hidden; }
.member-gate { position:fixed; z-index:120; inset:0; display:grid; place-items:center; padding:20px; background:linear-gradient(135deg,rgba(6,33,64,.88),rgba(59,52,119,.84)),radial-gradient(circle at 20% 18%,#11a4d4,transparent 45%); backdrop-filter:blur(12px); }
.member-gate-card { width:min(430px,100%); display:flex; flex-direction:column; align-items:stretch; padding:33px; border:1px solid rgba(250,223,157,.66); border-radius:24px; color:#26344c; background:#fff; box-shadow:0 30px 75px rgba(7,20,49,.34); }
.member-gate-mark { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; color:#fbe7af; background:linear-gradient(135deg,#172746,#475987); box-shadow:0 9px 19px rgba(25,43,77,.2); font-size:1.19rem; font-weight:950; letter-spacing:-.09em; }
.member-gate-eyebrow { margin-top:23px; color:#be9552; font-size:.58rem; font-weight:950; letter-spacing:.17em; }
.member-gate-card h2 { margin:7px 0 7px; font-size:1.55rem; letter-spacing:-.04em; }
.member-gate-card p { margin:0 0 21px; color:#66738a; font-size:.81rem; line-height:1.55; }
.member-gate-card label { margin-bottom:7px; font-size:.73rem; font-weight:850; }
.member-gate-card input { width:100%; height:47px; padding:0 13px; outline:0; border:1px solid #dce4ee; border-radius:12px; color:#24344e; background:#f9fbfe; font-size:.86rem; }
.member-gate-card input:focus { border-color:#6f90df; box-shadow:0 0 0 3px rgba(93,119,211,.13); }
.member-gate-card > button { min-height:46px; margin-top:12px; border:0; border-radius:12px; color:#fff; background:linear-gradient(120deg,#138fc5,#7558d9); box-shadow:0 9px 18px rgba(77,99,193,.22); font-size:.8rem; font-weight:900; }
.member-gate-card > button:disabled { opacity:.68; cursor:wait; }
.member-gate-error { margin-top:11px; color:#b53045; font-size:.74rem; font-weight:700; line-height:1.4; }
.member-gate-card small { margin-top:21px; padding-top:16px; border-top:1px solid #eef1f5; color:#798497; font-size:.68rem; line-height:1.47; }

.sidebar {
  position: fixed; z-index: 40; inset: 0 auto 0 0; width: 258px; display: flex; flex-direction: column;
  background: #fff; border-right: 1px solid var(--line); box-shadow: 5px 0 24px rgba(30,41,59,.035);
}
.sidebar-brand-wrap { display: flex; align-items: center; justify-content: space-between; padding: 25px 21px 22px; border-bottom: 1px solid #eef2f7; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(140deg,#13b8d4,#168fcd 48%,#7954e8); box-shadow: 0 8px 18px rgba(22,143,205,.25); font-size: 1rem; font-weight: 950; letter-spacing: -.08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .92rem; font-weight: 950; letter-spacing: .08em; }
.brand small { margin-top: 2px; color: #8995a7; font-size: .56rem; font-weight: 850; letter-spacing: .13em; }
.sidebar-search { height: 43px; margin: 22px 17px 14px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #e6ebf2; border-radius: 12px; background: #f8fafc; color: #8a97a8; }
.sidebar-search > span { font-size: 1.5rem; line-height: 1; transform: rotate(-20deg); }
.sidebar-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .78rem; }
.sidebar-search input::placeholder { color: #94a0af; }
.sidebar-nav { display: flex; flex-direction: column; gap: 7px; padding: 8px 13px; }
.nav-item { height: 48px; width: 100%; display: flex; align-items: center; gap: 13px; padding: 0 14px; border: 0; border-radius: 12px; color: #657286; background: transparent; text-align: left; font-size: .87rem; font-weight: 700; transition: .2s ease; }
.nav-item:hover { color: var(--blue); background: #edf8fd; }
.nav-item.active { color: #fff; background: linear-gradient(110deg,#109bcf,#168fcd 58%,#5a75e7); box-shadow: 0 7px 16px rgba(22,143,205,.22); }
.nav-icon { width: 24px; text-align: center; font-size: 1.3rem; line-height: 1; }
.sidebar-rows { flex: 1 1 auto; min-height: 0; margin: 12px 0 0; padding: 14px 12px 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c6d5e4 transparent; border-top: 1px solid #eef2f7; background: linear-gradient(#fcfdff,#fff 75%); }
.sidebar-rows-label { display: block; margin: 3px 11px 13px; color: #74839b; font-size: .6rem; font-weight: 950; letter-spacing: .14em; }
.sidebar-rows-label::before { content: "✦"; margin-right: 7px; color: #d1a555; font-size: .85rem; }
.sidebar-rows-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-row-link { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #e8eef5; border-radius: 14px; color: #35445e; background: #fff; box-shadow: 0 4px 12px rgba(30,52,87,.045); text-align: left; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.sidebar-row-link:hover { border-color: #cddbef; background: #f8fbff; box-shadow: 0 8px 17px rgba(30,52,87,.1); transform: translateX(2px); }
.sidebar-row-link:focus-visible { outline: 3px solid #92cceb; outline-offset: 2px; }
.sidebar-row-link.active { border-color: #d8c18b; color: #fff; background: linear-gradient(115deg,#1d2c4c,#405788 66%,#6755a1); box-shadow: 0 10px 19px rgba(29,44,76,.22),inset 0 1px rgba(255,255,255,.18); }
.sidebar-row-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--row-accent,#168fcd); background: var(--row-soft,#e8f7fd); }
.sidebar-row-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-row-link.active .sidebar-row-icon { color: #ffe3a1; background: rgba(255,223,160,.16); }
.sidebar-row-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sidebar-row-copy strong { color: inherit; font-size: .73rem; font-weight: 850; line-height: 1.2; }
.sidebar-row-copy small { color: #95a0af; font-size: .6rem; font-weight: 700; line-height: 1.1; }
.sidebar-row-link.active .sidebar-row-copy small { color: #e1e4f1; }
.sidebar-row-arrow { color: #9aa9bb; font-size: 1.18rem; font-weight: 800; line-height: 1; }
.sidebar-row-link.active .sidebar-row-arrow { color: #f1dba6; }
.sidebar-bottom { flex: 0 0 auto; padding: 11px 16px 17px; border-top: 1px solid #eef2f7; }
.admin-entry { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #e9eef4; border-radius: 11px; color: #607087; background: #fff; text-align: left; font-size: .75rem; font-weight: 750; transition: .2s ease; }
.admin-entry:hover { border-color: #b8dff0; color: var(--blue); background: #f5fbfe; }
.admin-entry > span { font-size: 1.02rem; }
.sidebar-footnote { display: block; margin: 13px 2px 0; color: #a5afbc; font-size: .62rem; text-align: center; letter-spacing: .02em; }
.icon-button { border: 0; background: transparent; color: #526174; }
.sidebar-close, .mobile-topbar, .sidebar-scrim { display: none; }

.main-shell { min-height: 100vh; margin-left: 258px; padding: 30px clamp(24px,3.3vw,54px) 25px; overflow: hidden; }
.hero-banner { position: relative; min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; padding: 34px clamp(28px,4vw,57px); border-radius: 22px 22px 0 0; isolation: isolate; color: #fff; background: linear-gradient(110deg,#087fae 0%,#158fc6 39%,#5669d8 73%,#8258df 100%); box-shadow: 0 18px 42px rgba(35,103,181,.2); }
.hero-banner::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .22; background-image: radial-gradient(circle at 14% 18%,#fff 0 2px,transparent 3px),radial-gradient(circle at 35% 68%,#fff 0 1px,transparent 2px),radial-gradient(circle at 68% 27%,#fff 0 2px,transparent 3px),radial-gradient(circle at 88% 72%,#fff 0 2px,transparent 3px); background-size: 110px 100px,130px 120px,140px 110px,120px 130px; }
.hero-banner::after { content: ""; position: absolute; z-index: -1; top: -120px; right: 12%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025); }
.hero-bottom-wave { position: absolute; z-index: -1; right: 0; bottom: -1px; left: 0; height: 26px; opacity: .85; background: #fff; clip-path: polygon(0 75%,8% 67%,15% 88%,25% 69%,36% 83%,46% 61%,56% 78%,66% 58%,76% 82%,86% 61%,94% 75%,100% 54%,100% 100%,0 100%); }
.hero-copy { position: relative; z-index: 2; flex: 1 1 56%; min-width: 0; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: rgba(255,255,255,.86); font-size: .64rem; font-weight: 900; letter-spacing: .14em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffcf6f; box-shadow: 0 0 0 4px rgba(255,207,111,.18); }
.hero-statement { margin: 0; font-weight: 400; }
.hero-lead { display: block; max-width: 600px; color: #fff; font-size: clamp(1.26rem,1.65vw,1.68rem); font-weight: 850; line-height: 1.2; letter-spacing: -.025em; text-wrap: pretty; }
.hero-detail { display: block; max-width: 560px; margin-top: 17px; color: rgba(255,255,255,.91); font-size: clamp(.78rem,.88vw,.9rem); font-weight: 570; line-height: 1.56; text-wrap: pretty; }
.hero-art { position: relative; flex: 0 0 41%; width: 41%; height: 290px; max-width: 440px; min-width: 305px; }
.hero-art::before { content: ""; position: absolute; inset: 18% 4% 2%; border-radius: 50%; background: radial-gradient(circle,rgba(255,227,155,.32),transparent 68%); filter: blur(12px); }
.hero-art-print { position: absolute; width: 48%; aspect-ratio: 1.58/1; padding: 5px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 13px; background: #fff; box-shadow: 0 18px 28px rgba(18,30,77,.32); }
.hero-art-print::before { content: "✦"; position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 8px; color: rgba(255,255,255,.9); background: linear-gradient(130deg,#f58ab1,#7b67df); font-size: 2.5rem; }
.hero-art-print img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.hero-print-one { top: 8px; left: 1%; transform: rotate(-14deg); }
.hero-print-two { top: 4px; right: 0; transform: rotate(11deg); }
.hero-print-two::before { background: linear-gradient(130deg,#18c3c0,#4b79de); }
.hero-print-three { right: 1%; bottom: 6px; transform: rotate(18deg); }
.hero-print-three::before { background: linear-gradient(130deg,#f8bc67,#ec6f9f); }
.hero-member-card { position: absolute; z-index: 2; top: 39px; left: 9%; width: 82%; min-width: 265px; height: 214px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px 25px; overflow: hidden; border: 2px solid #f5d889; border-radius: 22px; color: #fbe4a2; background: radial-gradient(circle at 77% 25%,rgba(247,215,139,.2),transparent 28%),linear-gradient(137deg,#172746 0%,#293b64 51%,#111c36 100%); box-shadow: 0 29px 49px rgba(13,25,67,.48),inset 0 1px rgba(255,255,255,.26),inset 0 -15px 30px rgba(8,14,33,.28); transform: rotate(-5deg); }
.hero-member-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,220,145,.45); border-radius: 15px; pointer-events: none; }
.hero-member-card::after { content: ""; position: absolute; top: -85%; right: -32%; width: 125px; height: 400px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.11),transparent); transform: rotate(28deg); }
.hero-member-top, .hero-member-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-member-top { font-size: .91rem; font-weight: 900; line-height: 1.07; letter-spacing: .13em; }
.hero-member-mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,225,151,.8); border-radius: 14px; color: #fff4c7; background: linear-gradient(130deg,rgba(255,218,129,.24),rgba(255,255,255,.04)); font-size: 1.21rem; letter-spacing: -.09em; box-shadow:inset 0 1px 8px rgba(255,227,164,.16); }
.hero-member-emblem { align-self: center; margin-top: -9px; color: #ffe1a1; font-size: 3.2rem; text-shadow: 0 0 23px rgba(255,216,127,.55); }
.hero-member-bottom { padding-top: 11px; border-top: 1px solid rgba(255,226,154,.48); font-size: .58rem; font-weight: 850; letter-spacing: .12em; }

.access-banner { display:flex; align-items:center; gap:14px; margin:22px auto 0; padding:15px 18px; max-width:970px; border:1px solid #dce7f4; border-radius:18px; background:linear-gradient(120deg,#f6f9ff,#fff 64%,#fbf7ff); box-shadow:0 8px 24px rgba(35,65,112,.06); }
.access-banner.is-active { border-color:#cce8d9; background:linear-gradient(120deg,#f2fbf6,#fff); }
.access-banner.is-blocked { border-color:#f0dcc5; background:linear-gradient(120deg,#fff9ef,#fff); }
.access-symbol { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(135deg,#158dc5,#7758dc); box-shadow:0 6px 16px rgba(69,99,195,.19); font-size:1.35rem; }
.access-banner.is-blocked .access-symbol { background:linear-gradient(135deg,#e9a34a,#c27445); }
.access-banner.is-active .access-symbol { background:linear-gradient(135deg,#27bb8a,#0b9476); }
.access-copy { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; }
.access-copy strong { color:#1d2d47; font-size:.85rem; }
.access-copy span { color:#63718a; font-size:.73rem; line-height:1.38; }
.access-action { flex:0 0 auto; min-height:39px; padding:0 16px; border:0; border-radius:11px; color:#fff; background:linear-gradient(120deg,#178bc9,#7058d7); box-shadow:0 6px 13px rgba(63,101,190,.2); font-size:.7rem; font-weight:850; }
.access-action:hover { filter:brightness(1.08); transform:translateY(-1px); }
.access-banner.is-blocked .access-action { background:linear-gradient(120deg,#e39a3b,#bb6b3c); }
.access-switch { flex:0 0 auto; padding:8px; border:0; color:#496a93; background:transparent; font-size:.69rem; font-weight:800; }
.access-switch:hover { text-decoration:underline; }

.main-search-wrap { max-width: 860px; margin: 27px auto 37px; text-align: center; }
.main-search { height: 56px; display: flex; align-items: center; gap: 13px; padding: 0 17px; border: 1px solid #e3e9f0; border-radius: 16px; color: #8492a5; background: #fff; box-shadow: 0 9px 24px rgba(30,41,59,.075); transition: .2s ease; }
.main-search:focus-within { border-color: #85cce9; box-shadow: 0 10px 28px rgba(22,143,205,.12); }
.main-search > span { font-size: 1.85rem; line-height: 1; transform: rotate(-20deg); }
.main-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #26364c; background: transparent; font-size: .88rem; }
.main-search input::placeholder { color: #9aa6b5; }
.main-search kbd { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #e6ebf1; border-radius: 7px; color: #95a0af; font-family: inherit; font-size: .53rem; font-weight: 900; letter-spacing: .08em; }
.main-search-wrap > p { margin: 8px 0 0; color: #96a1b0; font-size: .66rem; }
#catalog-total { color: #4380ab; font-weight: 900; }
#catalog-total:not([hidden])::after { content: " ·"; color: #bdc8d5; font-weight: 500; }

.catalog-section { margin: 0 0 39px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 3px 14px; }
.section-kicker { display: block; margin-bottom: 5px; color: #9ba6b4; font-size: .57rem; font-weight: 950; letter-spacing: .15em; }
.section-heading h2 { margin: 0; color: #1e293b; font-size: clamp(1.24rem,1.8vw,1.55rem); line-height: 1.2; letter-spacing: -.03em; }
.heading-spark { color: #f0a52f; font-size: .8em; vertical-align: 2px; }
.rail-controls { display: flex; align-items: center; gap: 7px; }
.row-caption { margin-right: 5px; color: #a0aaba; font-size: .64rem; font-weight: 650; }
.rail-arrow { width: 34px; height: 34px; border: 1px solid #e7ecf2; border-radius: 50%; color: #607087; background: #fff; box-shadow: 0 5px 12px rgba(30,41,59,.06); font-size: 1.35rem; line-height: 1; transition: .2s ease; }
.rail-arrow:hover { border-color: var(--blue); color: #fff; background: var(--blue); transform: translateY(-1px); }
.rail-clip { overflow: visible; }
.art-rail { --art-gap: 17px; display: flex; align-items: flex-start; gap: var(--art-gap); padding: 7px 3px 24px; overflow: visible; }
.art-rail::-webkit-scrollbar { display: none; }
.art-card { position: relative; display: flex; flex: 0 0 calc((100% - (var(--art-gap) * 3))/4); flex-direction: column; min-width: 0; isolation: isolate; scroll-snap-align: start; transition: transform .3s ease, filter .3s ease; }
.art-card:hover { transform: translateY(-6px) rotate(-.28deg); filter: saturate(1.08); }
.art-cover { position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 1.58/1; overflow: hidden; background: linear-gradient(135deg,var(--art-a,#19b8d2),var(--art-b,#7656dd)); -webkit-mask-image: var(--wave-mask); mask-image: var(--wave-mask); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; filter: drop-shadow(0 12px 15px rgba(15,23,42,.18)); }
.art-cover::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(105deg,transparent 36%,rgba(255,255,255,.34) 50%,transparent 64%); transform: translateX(-105%); transition: transform .65s ease; }
.art-card:hover .art-cover::after { transform: translateX(105%); }
.art-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .48s ease; }
.art-card:hover .art-cover > img { transform: scale(1.06); }
/* Mantém a resposta suave ao mouse, inclusive quando a regra global reduz
   animações. Aplicado à entrada e à saída para não dar saltos entre artes. */
@media (hover: hover) and (pointer: fine) {
  .art-card { transform-style: preserve-3d; transition: transform .18s cubic-bezier(.2,.75,.25,1), filter .4s ease !important; }
  .art-card:hover { z-index: 5; transform: perspective(950px) translateY(-8px) rotateX(var(--art-tilt-x,0deg)) rotateY(var(--art-tilt-y,0deg)) rotate(-.35deg) scale(1.025); }
  .art-cover::after { transition: transform .65s ease !important; }
  .art-cover > img { transition: transform .45s ease !important; }
}
.art-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(15,23,42,.02) 0%,rgba(15,23,42,.02) 58%,rgba(15,23,42,.18) 100%); }
.art-placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(135deg,var(--art-a,#19b8d2),var(--art-b,#7656dd)); }
.art-placeholder::before, .art-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.art-placeholder::before { width: 77%; aspect-ratio: 1; transform: translate(-26%,-18%); box-shadow: 0 0 0 20px rgba(255,255,255,.08),0 0 0 41px rgba(255,255,255,.06); }
.art-placeholder::after { width: 50%; aspect-ratio: 1; transform: translate(64%,45%); background: rgba(255,255,255,.12); }
.placeholder-symbol { position: relative; z-index: 1; color: rgba(255,255,255,.94); font-family: Georgia,serif; font-size: clamp(3rem,6vw,5.8rem); font-weight: 700; line-height: 1; text-shadow: 0 5px 16px rgba(15,23,42,.18); transform: rotate(-8deg); }
.art-copy { position: relative; z-index: 4; width: calc(100% - 18px); flex: 0 0 auto; margin: -32px auto 0; padding: 0 7px; color: #090b12; }
.art-name { display: -webkit-box; max-height: 34px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; color: #090b12; font-size: clamp(.78rem,1vw,.95rem); font-weight: 950; line-height: 1.08; text-shadow: 0 1px 0 rgba(255,255,255,.98),0 0 5px rgba(255,255,255,.9),0 2px 9px rgba(255,255,255,.58); }
.art-actions { position: relative; z-index: 4; display: grid; width: calc(100% - 16px); flex: 0 0 auto; grid-template-columns: 1fr 1fr; gap: 6px; margin: 5px auto 5px; }
.download-button { min-width: 0; min-height: 33px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 6px; overflow: hidden; border: 2px solid rgba(255,255,255,.95); border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap; box-shadow: 0 9px 18px rgba(20,26,43,.25),0 2px 3px rgba(20,26,43,.12); font-size: clamp(.53rem,.67vw,.67rem); font-weight: 950; transition: .18s ease; }
.download-button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 9px 18px rgba(20,26,43,.33); }
.download-button svg { flex: 0 0 auto; width: 12px; height: 12px; fill: currentColor; }
.download-png { background: linear-gradient(135deg,#e74c9b,#bf3dde); }
.download-mockup { background: linear-gradient(135deg,#14b7b0,#148ed0); }
.download-button.is-disabled { border-color: rgba(255,255,255,.95); color: #fff; box-shadow: 0 9px 18px rgba(20,26,43,.23),0 2px 3px rgba(20,26,43,.11); cursor: not-allowed; opacity: .96; }
.download-button.is-disabled.download-png { background: linear-gradient(135deg,#e74c9b,#bf3dde); }
.download-button.is-disabled.download-mockup { background: linear-gradient(135deg,#14b7b0,#148ed0); }
.download-button.is-disabled:hover { transform: none; filter: none; }
.download-button.membership-locked { background:#8995a7; box-shadow:none; opacity:.72; }
.download-button.membership-locked.download-png,.download-button.membership-locked.download-mockup { background:#8995a7; }
.archive-section { margin-top: 1px; }
.archive-rows { display: flex; flex-direction: column; gap: 16px; }
.archive-row { min-width: 0; }
.archive-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 4px; color: #9aa5b3; font-size: .6rem; font-weight: 800; }
.archive-row-heading-actions { display: flex; align-items: center; gap: 5px; }
.archive-row-count { margin-right: 2px; font-weight: 650; }
.rail-arrow-small { width: 25px; height: 25px; font-size: 1rem; }
.rows-section { scroll-margin-top: 22px; }
.empty-state { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #dce4ed; border-radius: 18px; background: #fbfcfe; text-align: center; }
.catalog-empty-state { margin: 5px 3px 38px; }
.empty-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(135deg,#19a6cb,#7a5be3); font-size: 2rem; }
.empty-state h3 { margin: 12px 0 4px; font-size: 1rem; }
.empty-state p { margin: 0; color: var(--muted); font-size: .78rem; }
.text-button { margin-top: 13px; padding: 8px 13px; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font-size: .72rem; font-weight: 850; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 23px 10px 10px; border-top: 1px solid #edf1f5; color: #9ba6b4; font-size: .65rem; }
.footer-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: linear-gradient(140deg,#12b6d1,#7456db); font-size: .58rem; font-weight: 950; }
.footer-separator { color: #efa530; }

.admin-view { position: fixed; z-index: 45; inset: 0; overflow: auto; color: #e2e8f0; background: #0f1218; }
body.admin-mode .sidebar, body.admin-mode .mobile-topbar, body.admin-mode .sidebar-scrim { display: none !important; }
.admin-header { position: sticky; z-index: 5; top: 0; min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 27px; border-bottom: 1px solid #2d3748; background: #181b21; }
.admin-header-title { display: flex; align-items: center; gap: 12px; }
.admin-title-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#168fcd,#7954e8); box-shadow: 0 6px 16px rgba(22,143,205,.23); font-size: 1.05rem; }
.admin-header-title small { display: block; margin-bottom: 1px; color: #8492a5; font-size: .54rem; font-weight: 900; letter-spacing: .15em; }
.admin-header-title h1 { margin: 0; color: #f8fafc; font-size: 1.02rem; }
.admin-header-actions { display: flex; align-items: center; gap: 9px; }
.admin-back-button, .admin-new-button { min-height: 37px; padding: 0 14px; border: 1px solid #465367; border-radius: 8px; color: #e2e8f0; background: #2d3748; font-size: .74rem; font-weight: 800; transition: .18s ease; }
.admin-back-button:hover { background: #38475d; }
.admin-new-button { border-color: transparent; color: #fff; background: linear-gradient(115deg,#ef8b28,#ef5d46); box-shadow: 0 6px 15px rgba(239,120,47,.24); }
.admin-new-button:hover { filter: brightness(1.07); transform: translateY(-1px); }
.admin-new-button span { margin-right: 5px; font-size: 1.05rem; vertical-align: -1px; }
.admin-content { max-width: 1440px; margin: 0 auto; padding: 24px clamp(16px,3vw,38px) 40px; }
.admin-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 21px 23px; border: 1px solid #334155; border-radius: 17px; background: linear-gradient(120deg,#172033,#202c40 65%,#2b2850); }
.admin-intro .section-kicker { color: #48bfe4; }
.admin-intro h2 { margin: 0; color: #fff; font-size: 1.34rem; letter-spacing: -.025em; }
.admin-intro p { margin: 5px 0 0; color: #abb7c6; font-size: .78rem; }
.admin-intro-sticker { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(167,139,250,.28); border-radius: 12px; color: #ded3ff; background: rgba(124,82,227,.13); font-size: .69rem; line-height: 1.35; }
.admin-intro-sticker span { color: #ffcb62; font-size: 1.5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #334155; border-radius: 14px; background: #151c27; }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 1.1rem; }
.stat-blue { color: #64d3f4; background: rgba(56,189,248,.14); }
.stat-green { color: #59deb2; background: rgba(16,185,129,.14); }
.stat-orange { color: #ffd07b; background: rgba(245,158,11,.14); }
.stat-card small { display: block; color: #8d9bad; font-size: .56rem; font-weight: 850; letter-spacing: .09em; }
.stat-card strong { display: block; margin-top: 3px; color: #f8fafc; font-size: 1.34rem; line-height: 1; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid #334155; border-radius: 14px; background: #151c27; }
.admin-search { min-width: 180px; height: 39px; display: flex; flex: 1; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #344258; border-radius: 9px; color: #8391a4; background: #101722; }
.admin-search > span { font-size: 1.4rem; line-height: 1; }
.admin-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; font-size: .75rem; }
.admin-search input::placeholder { color: #7e8b9c; }
.admin-filters { display: flex; gap: 6px; overflow-x: auto; }
.admin-filter { padding: 8px 12px; border: 1px solid #38465b; border-radius: 999px; color: #98a6b8; background: #202a3a; white-space: nowrap; font-size: .67rem; font-weight: 850; }
.admin-filter:hover { color: #fff; border-color: #56bde3; }
.admin-filter.active { border-color: #168fcd; color: #fff; background: #168fcd; box-shadow: 0 4px 12px rgba(22,143,205,.23); }
.admin-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 17px 3px 8px; color: #e2e8f0; font-size: .72rem; font-weight: 900; }
.admin-list-hint { color: #718095; font-size: .65rem; font-weight: 650; }
.admin-art-list { display: flex; flex-direction: column; gap: 8px; }
.admin-art-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid #2c3748; border-radius: 13px; background: #151c27; transition: .18s ease; }
.admin-art-row:hover { border-color: #485b73; background: #192333; }
.admin-art-row.is-hidden { opacity: .6; }
.admin-art-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.admin-thumb { width: 69px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: #fff; background: linear-gradient(135deg,var(--art-a,#19b8d2),var(--art-b,#7656dd)); font-family: Georgia,serif; font-size: 1.55rem; font-weight: 800; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-art-details { min-width: 0; }
.admin-art-details strong { display: block; overflow: hidden; color: #f2f5fa; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-art-tags { display: block; max-width: 580px; overflow: hidden; margin-top: 4px; color: #8492a5; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-art-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.admin-status { padding: 3px 6px; border-radius: 999px; color: #85e6c3; background: rgba(16,185,129,.12); font-size: .51rem; font-weight: 900; letter-spacing: .03em; }
.admin-status.hidden-status { color: #ffb5bd; background: rgba(239,68,68,.13); }
.admin-status.sample-status { color: #ffe092; background: rgba(245,158,11,.12); }
.admin-art-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.admin-action { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #37445a; border-radius: 9px; color: #a8b5c5; background: #202a3a; font-size: .91rem; transition: .15s ease; }
.admin-action:hover { border-color: #38bdf8; color: #fff; background: #26354a; }
.admin-action.edit-action:hover { color: #75d8f7; }
.admin-action.delete-action:hover { border-color: rgba(239,68,68,.55); color: #fda4af; background: rgba(239,68,68,.13); }
.admin-empty { padding: 42px 20px; border: 1px dashed #344258; border-radius: 14px; color: #8998aa; background: rgba(15,23,42,.24); text-align: center; font-size: .78rem; }
.admin-rows-tabs { display: flex; gap: 8px; margin: 0 0 18px; padding: 0 0 10px; border-bottom: 1px solid #304056; }
.admin-rows-tabs button { min-height: 38px; padding: 0 15px; border: 1px solid #35465d; border-radius: 9px; color: #9bacc1; background: #192333; font-size: .73rem; font-weight: 900; transition: .18s ease; }
.admin-rows-tabs button:hover { border-color: #67c7ec; color: #fff; }
.admin-rows-tabs button.active, .admin-rows-tabs button[aria-selected="true"] { border-color: #1598d3; color: #fff; background: linear-gradient(115deg,#168fcd,#576ce0); box-shadow: 0 6px 16px rgba(22,143,205,.22); }
#admin-rows-panel { min-width: 0; }
.admin-rows-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; padding: 18px 20px; border: 1px solid #334155; border-radius: 15px; background: linear-gradient(120deg,#172033,#222c40); }
.admin-rows-toolbar h2 { margin: 0 0 4px; color: #fff; font-size: 1.12rem; letter-spacing: -.02em; }
.admin-rows-toolbar p { margin: 0; color: #9cabbf; font-size: .73rem; line-height: 1.45; }
#new-row { min-height: 37px; flex: 0 0 auto; padding: 0 13px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(110deg,#168fcd,#655bdc); box-shadow: 0 7px 16px rgba(22,143,205,.23); font-size: .72rem; font-weight: 900; }
#new-row:hover { filter: brightness(1.09); transform: translateY(-1px); }
#admin-rows-list { display: flex; flex-direction: column; gap: 9px; }
.admin-rows-card { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 15px; border: 1px solid #354155; border-radius: 14px; background: #151d29; transition: .18s ease; }
.admin-rows-card:hover { border-color: #52627b; background: #1a2534; }
.admin-rows-card.is-hidden { opacity: .57; }
.admin-rows-card-info { min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.admin-rows-card-info > div { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; gap: 3px; }
.admin-rows-order { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(80,171,225,.24); border-radius: 11px; color: #8fddf5 !important; background: linear-gradient(135deg,rgba(22,143,205,.19),rgba(104,87,226,.18)); font-size: .73rem !important; font-weight: 950; }
.admin-rows-card-info strong { display: block; color: #f8fafc; font-size: .83rem; line-height: 1.25; }
.admin-rows-card-info small, .admin-rows-card-info span { color: #9aaac0; font-size: .66rem; line-height: 1.35; }
.admin-rows-card-info small:first-child { color: #68c9e9; font-size: .55rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.admin-rows-meta { margin: 1px 0 3px; color: #9aabc0; font-size: .65rem; line-height: 1.4; }
.admin-rows-card-info .admin-status { padding: 4px 7px; color: #85e6c3; font-size: .51rem; }
.admin-rows-card-info .admin-status.hidden-status { color: #ffb5bd; }
.admin-rows-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.admin-rows-action { min-width: 32px; height: 32px; display: grid; place-items: center; padding: 0 8px; border: 1px solid #42536a; border-radius: 9px; color: #c8d6e6; background: #253247; font-size: .7rem; font-weight: 850; transition: .15s ease; }
.admin-rows-action:hover { border-color: #65c7ec; color: #fff; background: #30435d; }
.admin-rows-action:disabled { opacity: .35; cursor: default; }
.admin-rows-action.delete-action:hover { border-color: rgba(239,68,68,.6); color: #ffb6c0; background: rgba(239,68,68,.13); }
#row-modal { z-index: 78; }
.admin-rows-form-modal { width: min(780px,100%); max-height: min(92vh,930px); overflow: auto; padding: 22px; border: 1px solid #3a485d; border-radius: 18px; color: #e2e8f0; background: #1e293b; box-shadow: 0 28px 80px rgba(0,0,0,.4); }
.admin-rows-form-modal h2 { margin: 0; color: #fff; font-size: 1.2rem; }
.admin-rows-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.admin-rows-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: #e2e8f0; font-size: .72rem; font-weight: 850; }
.admin-rows-field.full, .admin-rows-field.wide, .admin-rows-field-wide { grid-column: 1/-1; }
.admin-rows-field small { color: #98a8b9; font-size: .61rem; font-weight: 550; line-height: 1.4; }
.admin-rows-field input:not([type="checkbox"]):not([type="radio"]), .admin-rows-field select, .admin-rows-field textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #45566d; border-radius: 9px; outline: 0; color: #f8fafc; background: #141d2a; font-size: .76rem; }
.admin-rows-field input:focus, .admin-rows-field select:focus, .admin-rows-field textarea:focus { border-color: #51c4ec; box-shadow: 0 0 0 3px rgba(56,189,248,.1); }
.admin-rows-field input::placeholder { color: #7b899c; }
.admin-rows-fieldset { min-width: 0; margin: 13px 0; padding: 12px; border: 1px solid #3c4b61; border-radius: 12px; background: rgba(15,23,42,.19); }
.row-size-note { margin: 12px 0; padding: 11px 13px; border: 1px solid #3c4b61; border-radius: 10px; color: #b5dced; background: rgba(21,122,171,.11); font-size: .7rem; line-height: 1.45; }
.admin-rows-fieldset legend { padding: 0 5px; color: #f0f5fb; font-size: .72rem; font-weight: 900; }
.admin-rows-layout-options, .admin-rows-mode-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.admin-rows-layout-options label, .admin-rows-mode-options label { display: flex; align-items: center; gap: 8px; min-height: 59px; padding: 10px; border: 1px solid #41516a; border-radius: 11px; color: #aebdd0; background: #182233; font-size: .65rem; font-weight: 800; line-height: 1.25; cursor: pointer; transition: .16s ease; }
.admin-rows-layout-options label span, .admin-rows-mode-options label span { display: flex; flex-direction: column; gap: 3px; }
.admin-rows-layout-options label strong, .admin-rows-mode-options label strong { color: #f0f5fb; font-size: .7rem; }
.admin-rows-layout-options label small, .admin-rows-mode-options label small { color: #98a8bc; font-size: .59rem; font-weight: 600; line-height: 1.35; }
.admin-rows-layout-options label:hover, .admin-rows-mode-options label:hover { border-color: #63c8ef; color: #fff; }
.admin-rows-layout-options label:has(input:checked), .admin-rows-mode-options label:has(input:checked) { border-color: #36b7e3; color: #fff; background: rgba(22,143,205,.18); box-shadow: 0 0 0 2px rgba(22,143,205,.11); }
.admin-rows-layout-options input, .admin-rows-mode-options input { flex: 0 0 auto; accent-color: #36b7e3; }
.admin-rows-manual { margin: 12px 0; padding: 13px; border: 1px solid #3d4b60; border-radius: 12px; background: rgba(15,23,42,.26); }
.admin-rows-manual-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.admin-rows-manual-heading strong { color: #f5f8fc; font-size: .75rem; }
.admin-rows-manual-heading small { color: #9cacc0; font-size: .61rem; }
.admin-rows-manual > strong, .admin-rows-manual > h3 { display: block; margin: 0 0 7px; color: #fff; font-size: .76rem; }
.admin-rows-manual > p { margin: 0 0 11px; color: #9babc0; font-size: .65rem; line-height: 1.4; }
.admin-rows-art-options { max-height: 205px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; overflow: auto; padding: 5px; border: 1px solid #39485e; border-radius: 9px; background: #111a27; }
.admin-rows-art-options label { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: #cad5e2; font-size: .69rem; cursor: pointer; }
.admin-rows-art-options label:hover { background: #26364a; }
.admin-rows-art-options input { accent-color: #33b7e4; }
.admin-rows-selected-list { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }
.admin-rows-selected-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; color: #dfe9f4; font-size: .7rem; font-weight: 850; }
.admin-rows-selected-heading span { color: #77cfe9; font-size: .63rem; }
.admin-rows-selected-list > div, .admin-rows-selected-list > li { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px 9px; border: 1px solid #3c4b61; border-radius: 8px; color: #dce7f2; background: #1c2b3d; font-size: .67rem; }
.admin-rows-selected-list button { min-width: 26px; height: 25px; margin-left: 4px; border: 1px solid #50647d; border-radius: 6px; color: #f2f6fb; background: #2b3d52; font-size: .66rem; }
.admin-rows-selected-list button:disabled { opacity: .35; cursor: default; }
.admin-rows-empty-selection { margin: 6px; color: #8fa0b4; font-size: .66rem; }
.admin-rows-form-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #3b4960; }

.modal-backdrop { position: fixed; z-index: 70; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8,14,24,.74); backdrop-filter: blur(6px); }
.art-form-modal, .confirm-box { width: min(760px,100%); max-height: min(92vh,920px); overflow: auto; padding: 22px; border: 1px solid #334155; border-radius: 19px; color: #e2e8f0; background: #1e293b; box-shadow: 0 25px 75px rgba(0,0,0,.39); }
.form-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 19px; padding-bottom: 14px; border-bottom: 1px solid #354256; }
.form-modal-header .section-kicker { color: #48bfe4; }
.form-modal-header h2 { margin: 0; color: #fff; font-size: 1.28rem; }
.modal-close { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #cbd5e1; background: #334155; font-size: 1.45rem; line-height: 1; }
.modal-close:hover { color: #fff; background: #475569; }
.form-field { display: block; margin-bottom: 15px; color: #f1f5f9; font-size: .75rem; font-weight: 800; }
.form-field > span, .field-label { display: block; margin: 0 0 6px; }
.form-field b { color: #fda4af; }
.form-field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #415168; border-radius: 8px; outline: 0; color: #fff; background: #141c28; font-size: .78rem; }
.form-field select { width: 100%; height: 44px; padding: 0 36px 0 13px; border: 1px solid #52647e; border-radius: 10px; outline: 0; appearance: none; color: #f8fafc; background: #141c28 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239eddf2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: .78rem; font-weight: 800; cursor: pointer; }
.form-field input:focus, .form-field select:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.11); }
.form-field input::placeholder { color: #7d8a9c; }
.form-field small { display: block; margin-top: 5px; color: #91a0b3; font-size: .62rem; font-weight: 600; line-height: 1.45; }
.category-form-field { margin: 3px 0 17px; padding: 14px; border: 1px solid rgba(75,185,226,.31); border-radius: 13px; background: linear-gradient(125deg,rgba(11,74,113,.28),rgba(89,62,163,.17)); }
.category-picker { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.category-create-button { min-width: 88px; height: 44px; padding: 0 11px; border: 1px solid rgba(116,212,243,.49); border-radius: 10px; color: #fff; background: linear-gradient(125deg,#138cc5,#6555cc); box-shadow: 0 6px 17px rgba(22,143,205,.23); font-size: .71rem; font-weight: 900; white-space: nowrap; }
.category-create-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.category-create-button span { margin-right: 3px; font-size: 1rem; vertical-align: -1px; }
.admin-art-meta .category-badge { padding: 4px 7px; border: 1px solid rgba(84,186,229,.22); border-radius: 999px; color: #95d9f3; background: rgba(20,151,203,.1); font-size: .52rem; font-weight: 850; }
#category-modal { z-index: 86; }
.category-create-modal { width: min(530px,100%); max-height: 92dvh; overflow: auto; padding: 25px; border: 1px solid #4c637d; border-radius: 19px; color: #e2e8f0; background: linear-gradient(155deg,#26344d,#1b2637 60%,#1c2240); box-shadow: 0 29px 85px rgba(0,0,0,.48),0 0 0 1px rgba(87,202,241,.09); }
.category-create-modal .form-modal-header { margin-bottom: 14px; }
.category-modal-intro { margin: 0 0 18px; color: #b2c6d9; font-size: .74rem; line-height: 1.55; }
.form-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-links .form-field { min-width: 0; }
.link-dot { display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; }
.png-dot { background: #f36da9; box-shadow: 0 0 0 3px rgba(243,109,169,.12); }
.mockup-dot { background: #48c5c4; box-shadow: 0 0 0 3px rgba(72,197,196,.12); }
.drive-hint.is-ready { color: #78dfba; }
.drive-hint.is-error { color: #fca5a5; }
.cover-editor { display: flex; align-items: center; gap: 14px; padding: 11px; border: 1px solid #39485d; border-radius: 12px; background: rgba(15,23,42,.35); }
.cover-preview { width: 132px; aspect-ratio: 1.58/1; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#148fcd,#7954e8); font-size: .58rem; font-weight: 950; letter-spacing: .13em; line-height: 1.55; text-align: center; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-actions { min-width: 0; }
.cover-actions p { margin: 0 0 8px; color: #aab7c6; font-size: .65rem; line-height: 1.45; }
.file-button, .clear-cover-button { display: inline-flex; align-items: center; min-height: 30px; margin: 0 5px 4px 0; padding: 0 10px; border: 1px solid #45556b; border-radius: 7px; color: #e2e8f0; background: #2d3b50; font-size: .63rem; font-weight: 850; cursor: pointer; }
.file-button:hover { border-color: #38bdf8; color: #fff; }
.clear-cover-button { color: #fda4af; background: rgba(239,68,68,.09); }
.file-name { display: block; color: #8795a7; font-size: .58rem; }
.visibility-toggle { display: flex; align-items: center; gap: 11px; margin: 15px 0; padding: 12px; border: 1px solid #39485d; border-radius: 11px; background: rgba(15,23,42,.32); cursor: pointer; }
.visibility-toggle > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-ui { position: relative; width: 37px; height: 21px; flex: 0 0 auto; border-radius: 999px; background: #475569; transition: .2s ease; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: .2s ease; }
.visibility-toggle input:checked + .toggle-ui { background: #10b981; }
.visibility-toggle input:checked + .toggle-ui::after { transform: translateX(16px); }
.visibility-toggle strong, .visibility-toggle small { display: block; }
.visibility-toggle strong { color: #f1f5f9; font-size: .71rem; }
.visibility-toggle small { margin-top: 2px; color: #91a0b3; font-size: .59rem; }
.form-drive-note { display: flex; gap: 8px; margin: 0 0 17px; padding: 10px 11px; border: 1px solid rgba(14,165,233,.24); border-radius: 9px; color: #a8c8d8; background: rgba(14,165,233,.07); font-size: .63rem; line-height: 1.45; }
.form-drive-note span { color: #5dc9ee; font-size: .9rem; }
.form-footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 13px; border-top: 1px solid #354256; }
.cancel-button, .save-art-button, .delete-confirm-button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; font-size: .72rem; font-weight: 900; transition: .16s ease; }
.cancel-button { border: 1px solid #45556b; color: #d2dbe6; background: #2d3b50; }
.cancel-button:hover { background: #3c4a5f; }
.save-art-button { color: #fff; background: linear-gradient(115deg,#10ae80,#0c9e78); box-shadow: 0 6px 14px rgba(16,185,129,.2); }
.save-art-button:hover { filter: brightness(1.07); transform: translateY(-1px); }
.save-art-button span { margin-right: 5px; }
.confirm-backdrop { z-index: 80; }
.confirm-box { width: min(420px,100%); padding: 24px; text-align: center; }
.confirm-icon { width: 47px; height: 47px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 15px; color: #fda4af; background: rgba(239,68,68,.14); font-size: 1.4rem; }
.confirm-box h2 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
.confirm-box p { margin: 0; color: #a4b1c1; font-size: .76rem; line-height: 1.5; }
.confirm-actions { display: flex; justify-content: center; gap: 8px; margin-top: 19px; }
.delete-confirm-button { color: #fff; background: #dc3f54; }
.delete-confirm-button:hover { background: #ed4b61; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 21px; max-width: min(420px,calc(100vw - 32px)); padding: 12px 17px; border-radius: 11px; color: #fff; background: #15976c; box-shadow: 0 9px 25px rgba(15,23,42,.23); font-size: .75rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #d64056; }

@media (min-width: 768px) and (max-width: 1050px) {
  .main-shell { padding-right: 24px; padding-left: 24px; }
  .hero-banner { min-height: 0; flex-direction: column; align-items: flex-start; }
  .hero-copy { max-width: 100%; }
  .hero-art { flex: 0 0 auto; width: min(100%,380px); min-width: 0; align-self: center; margin-top: 16px; }
  .art-name { font-size: .9rem; }
  .art-copy { margin-top: -23px; }
  .art-name { font-size: .84rem; }
}
@media (max-width: 767px) {
  .mobile-topbar { position: fixed; z-index: 50; top: 0; right: 0; left: 0; height: 59px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #e7ecf2; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
  .mobile-menu-button, .mobile-search-button { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #526174; background: #f1f5f9; font-size: 1.27rem; }
  .brand-mobile { gap: 8px; }
  .brand-mobile .brand-mark { width: 34px; height: 34px; border-radius: 12px; font-size: .82rem; }
  .brand-mobile strong { font-size: .75rem; }
  .brand-mobile small { font-size: .49rem; }
  .sidebar { z-index: 65; width: min(290px,86vw); transform: translateX(-105%); transition: transform .27s cubic-bezier(.2,.8,.2,1); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #f1f5f9; font-size: 1.2rem; }
  .sidebar-scrim { position: fixed; z-index: 60; inset: 0; display: block; background: rgba(15,23,42,.37); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .sidebar-scrim.active { opacity: 1; pointer-events: auto; }
  .rows-section { scroll-margin-top: 75px; }
  .main-shell { margin: 0; padding: 73px 13px 18px; }
  .hero-banner { min-height: 0; display: block; padding: 25px 21px 38px; }
  .hero-copy { max-width: 100%; }
  .eyebrow { margin-bottom: 12px; font-size: .53rem; }
  .hero-lead { font-size: clamp(1.15rem,4.4vw,1.42rem); }
  .hero-detail { margin-top: 12px; font-size: .76rem; }
  .hero-art { width: min(100%,350px); height: 210px; max-width: none; min-width: 0; margin: 17px auto 0; }
  .hero-member-card { top: 25px; left: 10%; width: 80%; min-width: 0; height: 174px; padding: 18px 19px; border-radius: 17px; }
  .hero-member-top { font-size: .72rem; }
  .hero-member-mark { width: 41px; height: 41px; font-size: .99rem; }
  .hero-member-emblem { font-size: 2.3rem; }
  .hero-member-bottom { font-size: .47rem; }
  .access-banner { align-items:flex-start; flex-wrap:wrap; gap:10px; margin-top:17px; padding:13px; border-radius:15px; }
  .access-symbol { width:37px; height:37px; }
  .access-copy { flex:1 1 calc(100% - 50px); }
  .access-action { width:100%; }
  .access-switch { width:100%; }
  .main-search-wrap { margin: 19px 1px 28px; text-align: left; }
  .main-search { height: 50px; gap: 9px; padding: 0 12px; border-radius: 13px; }
  .main-search input { font-size: .77rem; }
  .main-search kbd { display: none; }
  .main-search-wrap > p { padding-left: 4px; font-size: .58rem; }
  .section-heading { align-items: center; margin-right: 2px; margin-left: 2px; }
  .section-heading h2 { font-size: 1.18rem; }
  .section-kicker { font-size: .5rem; }
  .row-caption { display: none; }
  .rail-controls { gap: 5px; }
  .rail-arrow { width: 30px; height: 30px; font-size: 1.2rem; }
  .art-rail { --art-gap: 12px; padding: 5px 2px 25px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
  .art-card { flex-basis: 82%; }
  .art-copy { width: calc(100% - 14px); margin-top: -29px; padding: 0 5px; }
  .art-name { max-height: 42px; font-size: clamp(.94rem,3.6vw,1.1rem); }
  .art-actions { width: calc(100% - 14px); gap: 6px; margin-top: 5px; }
  .download-button { min-height: 35px; gap: 4px; padding: 4px 7px; font-size: clamp(.65rem,2.8vw,.77rem); }
  .download-button svg { display: block; width: 11px; height: 11px; }
  .catalog-section { margin-bottom: 31px; }
  .archive-row-heading { font-size: .55rem; }
  .archive-rows { gap: 11px; }
  .site-footer { flex-wrap: wrap; gap: 7px; font-size: .58rem; text-align: center; }
  .admin-rows-tabs { gap: 5px; }
  .admin-rows-tabs button { flex: 1; padding: 0 8px; font-size: .68rem; }
  .admin-rows-toolbar { align-items: flex-start; padding: 14px; }
  .admin-rows-toolbar p { max-width: 220px; font-size: .65rem; }
  #new-row { min-height: 34px; padding: 0 9px; white-space: nowrap; font-size: .61rem; }
  .admin-rows-card { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px; }
  .admin-rows-actions { flex-wrap: wrap; }
  .admin-rows-action { min-height: 30px; }
  .admin-rows-form-modal { width: 100%; max-height: 94dvh; padding: 18px 15px calc(15px + env(safe-area-inset-bottom)); border-radius: 21px 21px 0 0; }
  .admin-rows-form-grid { grid-template-columns: 1fr; }
  .admin-rows-layout-options, .admin-rows-mode-options { grid-template-columns: 1fr; gap: 6px; }
  .admin-rows-layout-options label, .admin-rows-mode-options label { min-height: 43px; }
  .admin-rows-art-options { grid-template-columns: 1fr; }

  .admin-header { min-height: 61px; padding: 9px 11px; }
  .admin-title-icon { width: 34px; height: 34px; }
  .admin-header-title { gap: 8px; }
  .admin-header-title h1 { font-size: .82rem; }
  .admin-header-title small { font-size: .46rem; }
  .admin-header-actions { gap: 5px; }
  .admin-back-button { width: 36px; min-height: 35px; overflow: hidden; padding: 0; color: transparent; font-size: 0; }
  .admin-back-button::first-letter { color: #fff; font-size: 1rem; }
  .admin-new-button { min-height: 35px; padding: 0 10px; font-size: .66rem; }
  .admin-content { padding: 14px 11px 27px; }
  .admin-intro { padding: 16px; }
  .admin-intro h2 { font-size: 1.12rem; }
  .admin-intro p { max-width: 235px; font-size: .69rem; }
  .admin-intro-sticker { padding: 8px; font-size: .57rem; }
  .admin-intro-sticker span { font-size: 1.2rem; }
  .admin-stats { gap: 6px; }
  .stat-card { min-height: 69px; gap: 7px; padding: 8px 7px; }
  .stat-icon { width: 30px; height: 30px; border-radius: 9px; font-size: .86rem; }
  .stat-card small { font-size: .43rem; letter-spacing: .04em; }
  .stat-card strong { font-size: 1.12rem; }
  .admin-toolbar { align-items: stretch; flex-direction: column; gap: 9px; padding: 8px; }
  .admin-search { min-height: 38px; }
  .admin-filters { gap: 5px; }
  .admin-filter { flex: 1; padding: 8px 5px; text-align: center; font-size: .59rem; }
  .admin-art-row { gap: 7px; padding: 8px; }
  .admin-thumb { width: 54px; height: 40px; }
  .admin-art-details strong { max-width: 40vw; font-size: .68rem; }
  .admin-art-tags { max-width: 39vw; font-size: .55rem; }
  .admin-art-actions { gap: 3px; }
  .admin-action { width: 29px; height: 30px; border-radius: 8px; font-size: .8rem; }
  .admin-list-hint { display: none; }
  .admin-results-count { font-size: .67rem; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .art-form-modal, .confirm-box { width: 100%; max-height: 94dvh; padding: 18px 15px calc(15px + env(safe-area-inset-bottom)); border-radius: 21px 21px 0 0; }
  .category-create-modal { width: 100%; max-height: 94dvh; padding: 19px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 21px 21px 0 0; }
  .form-modal-header { margin-bottom: 14px; }
  .form-modal-header h2 { font-size: 1.12rem; }
  .form-links { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 12px; }
  .form-field input { height: 40px; font-size: .73rem; }
  .cover-editor { gap: 10px; padding: 8px; }
  .cover-preview { width: 105px; }
  .cover-actions p { font-size: .59rem; }
  .file-button, .clear-cover-button { min-height: 28px; padding: 0 8px; font-size: .59rem; }
  .form-footer { position: sticky; bottom: -1px; margin: 0 -15px -15px; padding: 11px 15px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent,#1e293b 14%); }
}
@media (max-width: 370px) {
  .hero-banner { padding-right: 15px; padding-left: 16px; }
  .hero-lead { font-size: 1.13rem; }
  .hero-detail { font-size: .7rem; }
  .hero-member-card { min-width: 0; }
  .admin-intro-sticker { display: none; }
  .admin-art-details strong { max-width: 37vw; }
  .admin-art-tags { max-width: 35vw; }
}
@media (max-height: 600px) {
  .sidebar { overflow-y: auto; }
  .sidebar-rows { flex: 0 0 auto; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* O painel publicado é aberto pelos três cliques no logo. */
.admin-entry[hidden] { display: none !important; }
