.admin-page { --muted: #aaa4b2; min-height: 100dvh; font-size: 1rem; }
.admin-page button, .admin-page input, .admin-page textarea, .admin-page select { font-size: .875rem; }
.admin-page button:disabled { opacity: .45; cursor: default; transform: none; }
.admin-eyebrow { display: block; color: #b6a9b5; font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.login-shell { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.login-card { width: min(440px, calc(100% - 48px)); margin: auto; padding: 48px 0; }
.login-card > .brand { margin-bottom: 65px; }
.login-card h1 { font-size: clamp(3rem, 5vw, 4.8rem); letter-spacing: -.065em; line-height: 1.08; margin: 20px 0; }
.login-card h1 em { font-style: normal; color: #ff3958; }
.login-card > p { line-height: 1.8; color: var(--muted); }
.login-card form { margin: 32px 0 12px; }
.login-card form .btn { width: 100%; margin-top: 14px; }
.login-art { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 45px; background: radial-gradient(ellipse at center, #5a1228, #190e18 47%, #100c12 80%); border-left: 1px solid #2e1e2a; }
.login-art img { width: 42%; max-width: 280px; z-index: 1; filter: drop-shadow(0 20px 40px #0009); }
.login-art > span { font-size: .75rem; letter-spacing: .25em; color: #dea5b8; z-index: 1; }
.login-orbit { position: absolute; width: 80%; aspect-ratio: 1; border: 1px solid #92325066; border-radius: 50%; box-shadow: 0 0 0 70px #ab2c4f09, 0 0 0 140px #ab2c4f07; }
.muted-link { display: inline-block; font-size: .875rem; color: #c1b7c6; margin-top: 20px; }
.admin-form { display: grid; gap: 10px; }
.admin-form label, .field-label { font-size: .875rem; font-weight: 700; color: #e9e1ec; }
.admin-form > label:not(:first-child) { margin-top: 8px; }
.admin-form input:not([type=checkbox]), .admin-form textarea, .admin-form select, .thumbnail-editor input:not([type=range]) { width: 100%; border: 1px solid #423440; border-radius: 9px; color: #f8f2f9; background: #100e14; padding: 12px 13px; min-height: 46px; }
.admin-form textarea { resize: vertical; line-height: 1.7; }
.admin-form select { color-scheme: dark; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: #ff5675; }
.password-field { position: relative; }
.password-field input { padding-right: 58px !important; }
.password-field button { position: absolute; right: 8px; top: 5px; min-height: 36px; border: 0; background: transparent; color: #cbbdce; }
.admin-feedback { font-size: .875rem; color: #ffd09c; line-height: 1.7; overflow-wrap: anywhere; }
.admin-feedback:empty { display: none; }
.admin-feedback.is-success { color: #a3e3be; }
.connection-help { padding: 18px; border: 1px solid #734051; border-radius: 12px; background: #24131c; margin-top: 18px; }
.connection-help .btn { width: 100%; }
.connection-help p { color: #d2bfce; font-size: .875rem; line-height: 1.8; margin-bottom: 0; }
.admin-sidebar { overflow-y: auto; }
.library-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 24px; padding: 18px; border: 1px solid #39283e; background: #151019; border-radius: 12px; }
.library-filters label, .inbox-toolbar label { display: grid; gap: 8px; color: #cbb4d0; font-size: .8rem; min-width: 180px; max-width: 100%; }
.library-filters select, .inbox-toolbar select { color-scheme: dark; width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #58394e; background: #0e0b13; color: #fff; }
.library-filters p { flex: 1; min-width: 160px; font-size: .8rem; color: #b8a2c1; line-height: 1.7; margin: 0; }
.admin-gallery-link, .admin-manage-link { display: inline-block; margin: 0 12px 16px 0; font-size: .8rem; color: #ff99b0; }
.admin-manage-link { background: transparent; border: 0; padding: 0; }
.admin-nav { gap: 5px; }
.admin-nav button { padding-block: 11px; }
.editor-columns.single-column { grid-template-columns: 1fr; }
.editor-dialog .editor-heading { position: sticky; top: -28px; z-index: 3; background: #141017; padding-block: 12px; }
#video-progress { width: 100%; height: 9px; accent-color: #f3335b; }
.inbox-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 28px; }
.inbox-notice { color: #b8a6c0; line-height: 1.8; font-size: .875rem; }
.inquiry-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.inquiry-card { text-align: left; background: #151019; color: #fff; border: 1px solid #4c3047; border-radius: 13px; padding: 23px; display: grid; gap: 12px; min-width: 0; }
.inquiry-card:hover { border-color: #d95178; }
.inquiry-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .75rem; color: #bca5c6; }
.inquiry-status { color: #ffb4c6; border-radius: 30px; background: #421c31; padding: 6px 9px; font-size: .7rem; }
.inquiry-status.status-new { color: #b5edcc; background: #173827; }
.inquiry-card > strong { font-size: 1.2rem; overflow-wrap: anywhere; }
.inquiry-card > span { color: #dc95b0; font-size: .875rem; }
.inquiry-card p { color: #c0afca; line-height: 1.7; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.inquiry-card small { color: #a38eae; }
.inquiry-dialog { max-width: 720px; }
.inquiry-detail { border-bottom: 1px solid #3e2940; padding: 15px 0; }
.inquiry-detail strong { font-size: .8rem; color: #bb90b1; }
.inquiry-detail p { margin: 8px 0 0; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
#inquiry-form { margin-top: 24px; }
.inquiry-reply { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
@media(max-width: 760px) { .admin-nav { grid-template-columns: repeat(3, 1fr); } .inquiry-list { grid-template-columns: 1fr; } .inbox-toolbar { align-items: stretch; flex-direction: column; } .library-filters label { width: 100%; } }
.admin-app { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100dvh; }
.admin-sidebar { background: #100e14; border-right: 1px solid #29232e; padding: 30px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; }
.admin-sidebar .brand { font-size: 1.2rem; gap: 5px; }
.admin-sidebar .brand img { width: 45px; }
.workspace-label { margin: 48px 14px 18px; font-size: .7rem; color: #8f8094; letter-spacing: .17em; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav button { border: 1px solid transparent; background: transparent; color: #ada2b4; padding: 13px 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; text-align: left; }
.admin-nav button > span { font-size: 1.3rem; width: 22px; }
.admin-nav button[aria-current] { color: #fff; border-color: #6b2439; background: linear-gradient(100deg, #481323, #24111c); }
.admin-nav small { margin-left: auto; font-size: .75rem; color: #cf9aaa; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 18px; padding: 20px 12px 0; }
.sidebar-bottom a, .sidebar-bottom button { font-size: .875rem; text-align: left; color: #c6b9ce; background: transparent; border: 0; padding: 0; }
.sidebar-bottom > span { margin-top: 18px; font-size: .7rem; color: #897c91; }
.admin-topbar { height: 82px; padding-inline: 40px; border-bottom: 1px solid #29232e; display: flex; align-items: center; justify-content: space-between; color: #ab9eb4; font-size: .875rem; }
.owner-badge { display: flex; align-items: center; gap: 8px; border: 1px solid #473040; padding: 8px 13px; border-radius: 100px; color: #edd9e3; }
.owner-badge i { width: 6px; height: 6px; border-radius: 50%; background: #ffa1b1; }
.admin-workspace { padding: 40px; max-width: 1600px; margin: auto; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.workspace-heading h1 { font-size: clamp(2rem, 3vw, 2.7rem); margin: 14px 0 8px; letter-spacing: -.05em; }
.workspace-heading p { margin: 0; color: #b2a6bb; line-height: 1.7; font-size: .9rem; }
.workspace-heading .btn { flex: none; }
.publish-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 22px; border-radius: 13px; border: 1px solid #3a2c3d; background: linear-gradient(100deg, #1f141e, #121016); }
.publish-bar > div { display: grid; gap: 6px; }
.publish-bar strong { font-size: .875rem; }
.publish-bar span { color: #ad9eb7; font-size: .8rem; }
.publish-bar.has-changes { border-color: #b63452; }
.publish-bar .btn { min-height: 42px; padding: 12px 17px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 20px; }
.search-field { display: flex; gap: 10px; align-items: center; border: 1px solid #382c3f; border-radius: 10px; padding: 8px 14px; width: min(380px, 70%); background: #100e15; }
.search-field span { font-size: 1.5rem; color: #bca2bb; }
.search-field input { background: transparent; border: 0; outline: none; min-width: 0; color: #fff; width: 100%; }
.search-field:focus-within { outline: 2px solid #ff667e; }
#list-count { font-size: .8rem; color: #a798b2; }
.admin-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.admin-item { border: 1px solid #392c40; border-radius: 14px; overflow: hidden; background: #131017; min-width: 0; }
.admin-item.is-hidden { border-style: dashed; }
.admin-item-picture { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #251324; padding: 0; border: 0; width: 100%; }
.admin-item-picture img { width: 100%; height: 100%; object-fit: cover; }
.visibility-pill { position: absolute; left: 10px; top: 10px; color: #f8eaf1; padding: 5px 9px; background: #100b13df; border: 1px solid #816377; border-radius: 6px; font-size: .7rem; }
.admin-item-body { padding: 18px; }
.admin-item-category { color: #e57a94; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.admin-item h2 { font-size: 1rem; margin: 9px 0; line-height: 1.5; overflow-wrap: anywhere; }
.admin-item-price { color: #c7b9cf; font-size: .85rem; margin: 0 0 20px; }
.admin-item-actions { display: flex; gap: 6px; padding-top: 14px; border-top: 1px solid #302435; }
.admin-item-actions button { display: inline-flex; justify-content: center; align-items: center; min-width: 32px; min-height: 36px; padding: 6px 8px; background: #211927; color: #d4c3dd; border: 1px solid #44324c; border-radius: 6px; font-size: .8rem; }
.admin-item-actions button:first-child { flex: 1; color: #fff; }
.admin-item-actions .delete-item { color: #ff98a8; }
.admin-item-actions button:hover { border-color: #fc5d7c; background: #352031; }
.admin-empty { grid-column: 1/-1; padding: 70px 20px; text-align: center; border: 1px dashed #4c3653; border-radius: 14px; color: #bbabc6; }
.settings-card { margin-top: 28px; padding: 30px; border: 1px solid #3c2d42; border-radius: 14px; background: #131017; max-width: 840px; }
.settings-card h2 { font-size: 1.8rem; letter-spacing: -.04em; }
.settings-card > p { color: #b2a0be; font-size: .9rem; line-height: 1.8; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 24px 0; border-bottom: 1px solid #302436; }
.setting-row > span { display: grid; gap: 8px; }
.setting-row strong { font-size: 1rem; }
.setting-row small { font-size: .85rem; color: #b3a1c0; line-height: 1.6; }
.setting-row input { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 50px; background: #45334d; cursor: pointer; position: relative; }
.setting-row input::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #fff; position: absolute; top: 4px; left: 4px; transition: transform .2s; }
.setting-row input:checked { background: #e92249; }
.setting-row input:checked::after { transform: translateX(20px); }
.editor-dialog { width: min(1000px, 96vw); max-height: 94dvh; border: 1px solid #614257; background: #141017; color: #fff; border-radius: 18px; padding: 0; }
.editor-dialog::backdrop { background: #050309ce; backdrop-filter: blur(6px); }
.editor-form { padding: 28px; }
.editor-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.editor-heading h2 { margin: 9px 0 0; font-size: 1.7rem; letter-spacing: -.04em; }
.icon-button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #4c3549; color: #fff; background: #251a29; font-size: 1.5rem !important; }
.editor-columns { display: grid; grid-template-columns: 1fr .85fr; gap: 30px; }
.editor-fields { align-content: start; }
.field-group { display: grid; gap: 9px; margin-top: 10px; }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-label { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; }
.check-label input { width: 18px; height: 18px; accent-color: #f22e55; }
.thumbnail-editor { min-width: 0; }
.thumbnail-preview { aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; border: 1px solid #4e354b; margin: 12px 0 16px; background: #231726; }
.thumbnail-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-button { position: relative; width: 100%; display: block; text-align: center; cursor: pointer; border: 1px dashed #9e4b6b; background: #391523; border-radius: 9px; padding: 14px; color: #ffd3df; font-size: .875rem; font-weight: 700; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-button:focus-within { outline: 3px solid #ff667e; outline-offset: 3px; }
.field-help { font-size: .75rem; color: #baa7c2; line-height: 1.7; margin: 9px 0; }
.thumbnail-editor .field-group label { font-size: .875rem; font-weight: 700; }
.crop-controls { display: grid; gap: 12px; border-top: 1px solid #3d2d43; margin-top: 20px; padding-top: 20px; }
.crop-controls label { display: flex; justify-content: space-between; font-size: .8rem; color: #d3c1df; }
.crop-controls input { width: 100%; accent-color: #f13960; }
.crop-controls output { color: #f694b0; }
.preview-caption { display: grid; gap: 9px; padding: 20px; border-radius: 10px; background: #211525; margin-top: 22px; }
.preview-caption strong { overflow-wrap: anywhere; font-size: 1rem; }
.preview-caption span { font-size: .875rem; color: #ffa0b6; }
.editor-footer { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid #403047; }
.editor-footer span { margin-right: auto; max-width: 250px; font-size: .8rem; line-height: 1.7; color: #ac98ba; }
@media (max-width: 1200px) { .admin-app { grid-template-columns: 230px minmax(0, 1fr); } .admin-workspace { padding: 28px; } .admin-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } .workspace-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; } .login-art { display: none; } .login-card > .brand { margin-bottom: 45px; } .admin-app { display: block; } .admin-sidebar { position: static; height: auto; padding: 20px; border-bottom: 1px solid #38263d; } .workspace-label { display: none; } .admin-nav { grid-template-columns: 1fr 1fr 1fr; margin-top: 20px; gap: 6px; } .admin-nav button { padding: 10px; font-size: .75rem; } .admin-nav button > span, .admin-nav small { display: none; } .sidebar-bottom { margin-top: 14px; display: flex; justify-content: space-between; padding: 10px 0 0; } .sidebar-bottom > span { display: none; } .admin-topbar { height: 60px; padding-inline: 20px; } .admin-workspace { padding: 26px 20px; } .publish-bar { padding: 16px; flex-wrap: wrap; } .editor-columns { grid-template-columns: 1fr; } .editor-form { padding: 22px 18px; } .editor-footer { flex-wrap: wrap; } .editor-footer span { width: 100%; max-width: none; } .settings-card { padding: 22px; } }
@media (max-width: 470px) { .admin-items { grid-template-columns: 1fr; } .admin-nav button { font-size: .72rem; } .list-toolbar { gap: 10px; } .publish-bar .btn { width: 100%; } .editor-footer .btn { flex: 1; padding: 12px; } .price-fields { gap: 9px; } }
