.admin-open, .password-open { flex: none; padding: 7px 10px; border: 1px solid #64472f; border-radius: 7px; background: #261d16; color: #ffc48d; font-size: 10px; cursor: pointer; }
.admin-open:hover, .password-open:hover { border-color: #ffb56f; box-shadow: 0 0 13px #ff9a3f26; }
.member-area { position: relative; z-index: 1; margin: 24px auto 70px; }
.member-area[hidden], .admin-open[hidden], .password-open[hidden] { display: none; }
.member-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 14px; }
.member-panel { min-width: 0; }
.member-panel h3 { margin: 0; font-size: 13px; }
.platform-warning { margin: 0 0 15px; padding: 10px 12px; border: 1px solid #745230; border-radius: 8px; background: #2c2115; color: #e8c38e; font-size: 10px; line-height: 1.7; }
.task-list, #withdrawal-list { display: grid; gap: 9px; margin-top: 12px; }
.task-card, .member-empty, .money-row { min-width: 0; padding: 12px; border: 1px solid #3b3026; border-radius: 9px; background: #181512; }
.task-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.task-card.is-pinned { border-color: #d59a38; background: linear-gradient(120deg, #473213, #20190f 75%); box-shadow: inset 0 0 20px #ffcd3517, 0 0 16px #ffc52e24; }
.task-card-copy { min-width: 0; }
.task-card-copy strong { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #f6e1c5; font-size: 11px; }
.task-card-copy p { margin: 5px 0 0; color: #9b9084; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.task-reward { color: #ffc070; font-size: 11px; font-weight: 800; white-space: nowrap; }
.pinned-tag, .task-progress { color: #f4c968; font-size: 8px; }
.task-join-form { grid-column: 2; grid-row: 1 / span 2; }
.task-join { padding: 8px 10px; border: 1px solid #a96531; border-radius: 7px; background: #59351f; color: #ffe1bd; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.task-join:hover { border-color: #ffc17b; box-shadow: 0 0 12px #ff9d3c35; }
.task-join:disabled { opacity: .5; cursor: default; }
.member-empty { color: #9b9084; font-size: 10px; }
.wallet-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.wallet-summary > div { display: grid; gap: 5px; padding: 12px; border: 1px solid #4a3827; border-radius: 9px; background: #211a14; }
.wallet-summary span { color: #a49481; font-size: 8px; letter-spacing: .8px; }
.wallet-summary strong { color: #ffbd79; font-size: 17px; }
.withdrawal-form { display: grid; gap: 8px; padding: 13px; border: 1px solid #3d3228; border-radius: 9px; background: #191612; }
.withdrawal-form > h3, .withdrawal-list-wrap > h3 { margin: 0 0 3px; color: #e8d7c2; font-size: 11px; }
.withdrawal-form label { color: #c5b5a1; font-size: 9px; }
.withdrawal-form input, .withdrawal-form select { width: 100%; min-width: 0; padding: 9px; border: 1px solid #4c4034; border-radius: 6px; background: #13110f; color: #f3e6d4; font: inherit; font-size: 10px; }
.withdrawal-form .orange-button { min-height: 35px; justify-content: center; font-size: 10px; }
.small-print { margin: 0; color: #8b8074; font-size: 8px; line-height: 1.6; }
.money-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #bcb0a3; font-size: 9px; }
.money-row strong { display: block; color: #e7d6c2; font-size: 9px; }
.money-row span { display: block; margin-top: 3px; color: #92877b; font-size: 8px; }
.money-row .money-positive { color: #9fdb9c; }
.money-row .money-negative { color: #ff9f84; }
.money-row button { padding: 5px 7px; border: 1px solid #765233; border-radius: 5px; background: #38271a; color: #ffcf9c; font-size: 8px; cursor: pointer; }
.withdrawal-list-wrap { margin-top: 15px; }
.notice-dialog { width: min(480px, calc(100% - 28px)); max-width: none; padding: 0; border: 1px solid #766028; border-radius: 15px; background: #171614; color: #f5ecdd; box-shadow: 0 20px 90px #000b, 0 0 28px #edc12824; }
.notice-dialog::backdrop { background: #050505c9; backdrop-filter: blur(5px); }
.notice-card { position: relative; padding: 23px; }
.notice-title-row { display: flex; align-items: center; gap: 10px; padding-right: 30px; }
.notice-title-row h2 { margin: 0; font-size: 16px; }
.notice-icon { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #a38919; border-radius: 9px; background: #3b3212; color: #ffe744; font-size: 16px; font-weight: 800; box-shadow: 0 0 13px #f4ce2435; }
.notice-copy { margin: 14px 0; padding: 12px; border: 1px solid #393731; border-radius: 8px; background: #201f1d; color: #d3d0ca; font-size: 11px; line-height: 1.7; }
.notice-copy p { margin: 0 0 7px; }
.notice-copy p:last-child { margin-bottom: 0; }
.notice-copy strong { color: #ffe282; }
.notice-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.notice-actions button, .notice-join { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #45413a; border-radius: 7px; background: #252320; color: #d6d0c6; font: inherit; font-size: 9px; text-decoration: none; cursor: pointer; }
.notice-join { border-color: #5765c8; background: #323c85; color: white; }
.notice-actions .notice-ack { border-color: #d6b80e; background: #ffdf18; color: #17130c; font-weight: 800; }

.admin-page { min-height: 100vh; background: radial-gradient(ellipse at 70% -10%, #59371644, transparent 34%), #14120f; color: #f3e9dc; }
.admin-topbar { position: sticky; z-index: 5; top: 0; display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 max(calc((100vw - 1220px)/2), 22px); border-bottom: 1px solid #3b3025; background: #171411ed; backdrop-filter: blur(16px); }
.admin-brand { color: #ffd09d; font-size: 14px; font-weight: 800; text-decoration: none; }
.admin-top-actions { display: flex; align-items: center; gap: 8px; }
.admin-top-actions a, .admin-top-actions button { padding: 7px 10px; border: 1px solid #5a4735; border-radius: 6px; background: #241c15; color: #ffd2a0; font: inherit; font-size: 9px; text-decoration: none; cursor: pointer; }
.admin-shell { width: min(1220px, calc(100% - 36px)); margin: 26px auto 60px; }
.admin-page { scroll-behavior: smooth; }
.admin-page-loader { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.admin-page-loader::after { position: absolute; inset: 0 auto 0 0; width: 38%; background: linear-gradient(90deg, #ff9c52, #ffd083, #ff6e57); box-shadow: 0 0 12px #ff9c52a0; content: ""; transform: translateX(-110%); }
.admin-page-loader.is-loading { opacity: 1; }
.admin-page-loader.is-loading::after { animation: admin-page-progress 1.1s ease-in-out infinite; }
@keyframes admin-page-progress { to { transform: translateX(280%); } }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.admin-heading h1 { margin: 5px 0; font-size: clamp(22px, 3vw, 34px); }
.admin-heading p { margin: 0; color: #a79b8d; font-size: 10px; line-height: 1.6; }
.admin-api-status { display: grid; gap: 7px; max-width: 360px; padding: 11px 13px; border: 1px solid #4b3c2e; border-radius: 9px; background: #201a15; color: #bca990; font-size: 9px; }
.admin-anchor-nav { position: sticky; z-index: 3; top: 62px; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 9px 0; background: #14120ff2; }
.admin-anchor-nav a { padding: 7px 10px; border: 1px solid #40362b; border-radius: 6px; color: #cabcaa; font-size: 9px; text-decoration: none; }
.admin-anchor-nav a:hover { border-color: #d38d48; color: #ffd0a0; }
.admin-anchor-nav a.is-active { border-color: #c57c45; background: #482a1c; color: #ffd2a4; box-shadow: inset 0 -2px #ff9c52; }
.admin-section { scroll-margin-top: 126px; margin: 14px 0; padding: 17px; border: 1px solid #3c3228; border-radius: 12px; background: linear-gradient(145deg, #211c17, #181512); box-shadow: 0 9px 28px #0003; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.admin-section-heading h2 { margin: 0; font-size: 15px; }
.admin-section-heading p { margin: 4px 0 0; color: #a79b8e; font-size: 9px; }
.admin-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.admin-summary-card { min-width: 0; padding: 12px; border: 1px solid #48392b; border-radius: 8px; background: #191612; }
.admin-summary-card span { display: block; color: #a29483; font-size: 8px; line-height: 1.4; }
.admin-summary-card strong { display: block; margin-top: 7px; color: #ffc07b; font-size: 17px; }
.admin-message { min-height: 16px; margin: 8px 0 0; color: #ffbd75; font-size: 10px; }
.admin-error { color: #ff9d8f; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-form-grid .full-width { grid-column: 1 / -1; }
.admin-field { display: grid; gap: 5px; min-width: 0; }
.admin-field label { color: #cfc1ae; font-size: 9px; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #524438; border-radius: 6px; background: #12100e; color: #f4e5d1; font: inherit; font-size: 10px; }
.admin-field textarea { min-height: 85px; resize: vertical; line-height: 1.6; }
.admin-check { display: flex; align-items: center; gap: 7px; color: #cbbdaa; font-size: 9px; }
.admin-submit, .admin-action { padding: 8px 10px; border: 1px solid #a46635; border-radius: 6px; background: #51321f; color: #ffe0bd; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.admin-action:hover, .admin-submit:hover { border-color: #ffbf7b; box-shadow: 0 0 12px #ff9d3c2b; }
.admin-action.danger { border-color: #75433b; background: #36201d; color: #ffb0a0; }
.admin-action.muted { border-color: #514a3d; background: #27231c; color: #cec0a9; }
.admin-daily-heading { margin-top: 20px; }
.admin-daily-heading h3 { margin: 0; color: #f3dfc7; font-size: 12px; }
.admin-dialog { width: min(470px, calc(100% - 28px)); max-width: 100%; padding: 0; border: 1px solid #78502e; border-radius: 12px; background: #1b1713; color: #f2e4d3; box-shadow: 0 24px 90px #000b, 0 0 34px #f68b3426; }
.admin-dialog::backdrop { background: #090807bb; backdrop-filter: blur(4px); }
.admin-dialog form { display: grid; gap: 12px; padding: 20px; }
.admin-dialog h2 { margin: 0; color: #ffd1a0; font-size: 17px; }
.admin-dialog p { margin: 0; color: #c5b39f; font-size: 11px; line-height: 1.65; }
.admin-dialog-fields { display: grid; gap: 10px; }
.admin-dialog-field { display: grid; gap: 6px; color: #d8c7b2; font-size: 10px; }
.admin-dialog-field input, .admin-dialog-field textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #594636; border-radius: 7px; outline: none; background: #110f0d; color: #fff0dd; font: inherit; font-size: 12px; }
.admin-dialog-field input:focus, .admin-dialog-field textarea:focus { border-color: #f5a75d; box-shadow: 0 0 0 3px #f5a75d22; }
.admin-dialog-field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.admin-dialog-copy { justify-self: start; }
.admin-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.admin-list { display: grid; gap: 8px; }
.proof-admin-form { margin-bottom: 14px; padding: 13px; border: 1px solid #55402e; border-radius: 9px; background: #191612; }
.proof-admin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.proof-admin-card { display: grid; min-width: 0; grid-template-rows: 150px auto auto auto; gap: 7px; padding: 10px; border: 1px solid #45372a; border-radius: 8px; background: #191612; }
.proof-admin-card img { width: 100%; height: 150px; object-fit: contain; border-radius: 5px; background: #100e0c; }
.proof-admin-card strong { overflow: hidden; color: #f0ddc7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.proof-admin-card .admin-action { justify-self: start; }
.member-grid { grid-template-columns: minmax(0, 1fr); }
.member-area .member-panel { width: 100%; }
.withdrawal-form { gap: 12px; padding: 20px; }
.withdrawal-form input, .withdrawal-form select { min-height: 42px; }
.withdrawal-form .withdrawal-method-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.withdrawal-form .withdrawal-method-tab { min-height: 44px; }
.withdrawal-form #bank-qr-preview { width: min(320px, 100%); max-height: 320px; object-fit: contain; }
.withdrawal-list-wrap { margin-top: 20px; }
.admin-row { display: grid; grid-template-columns: minmax(155px, 1.25fr) minmax(100px, .8fr) minmax(95px, .7fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #3e352b; border-radius: 8px; background: #191612; }
.admin-row.is-pinned { border-color: #c99537; background: linear-gradient(110deg, #392c16, #1a1712 70%); box-shadow: 0 0 12px #ffd03823; }
.admin-row-main { min-width: 0; }
.admin-row-main strong { display: block; color: #f1ddc4; font-size: 10px; overflow-wrap: anywhere; }
.admin-row-main span, .admin-row-meta { display: block; margin-top: 4px; color: #a79a89; font-size: 8px; overflow-wrap: anywhere; }
.admin-row-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; }
.admin-row-actions button { padding: 6px 7px; font-size: 8px; }
.admin-tag { display: inline-block; margin-left: 5px; padding: 3px 5px; border: 1px solid #79622e; border-radius: 99px; color: #f5d471; font-size: 7px; }
.admin-tag.warning { border-color: #854a3e; color: #ffad9b; }
.admin-empty { padding: 18px; border: 1px dashed #4b3d2e; border-radius: 8px; color: #9d9080; font-size: 10px; text-align: center; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 9px; }
.admin-table th, .admin-table td { padding: 9px 8px; border-bottom: 1px solid #3d3329; text-align: left; white-space: nowrap; }
.admin-table th { color: #bdab93; font-weight: 600; }
.admin-table td { color: #e1d3c0; }
.admin-table td:last-child { white-space: normal; }
.admin-toast { position: fixed; z-index: 20; right: 18px; bottom: 18px; max-width: min(420px, calc(100% - 36px)); padding: 12px 15px; border: 1px solid #986331; border-radius: 8px; background: #211910; color: #ffe0bd; font-size: 10px; box-shadow: 0 9px 30px #0008; }
.admin-toast[hidden] { display: none; }
.locked-shell { position: relative; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 22px; background: radial-gradient(ellipse at 50% 40%, #4a231655, transparent 52%), #120e0c; color: #f1e5d7; }
.locked-shell::before, .locked-shell::after { content: ""; position: fixed; width: 320px; height: 320px; border-radius: 50%; filter: blur(70px); opacity: .28; pointer-events: none; animation: lockedDrift 16s ease-in-out infinite alternate; }
.locked-shell::before { top: -80px; left: -70px; background: #ff6b35; }
.locked-shell::after { right: -90px; bottom: -100px; background: #ff2e63; animation-delay: -6s; }
@keyframes lockedDrift { to { transform: translate3d(45px, 30px, 0) scale(1.15); opacity: .42; } }
.locked-card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 30px 28px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #211913, #171210) padding-box,
    linear-gradient(120deg, #ff9d3c, #ff8a3d 34%, #ffd166 60%, #ff9d3c) border-box;
  background-size: 100% 100%, 280% 280%;
  color: #f1e5d7;
  text-align: center;
  box-shadow: 0 26px 70px #0008, 0 0 40px #ff8c3a1f;
  animation: lockedBorder 9s linear infinite, lockedEnter .5s ease both;
}
@keyframes lockedBorder { to { background-position: 0 0, 280% 0; } }
@keyframes lockedEnter { from { opacity: 0; transform: translateY(10px); } }
.locked-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 18% 0%, #ffb0661c, transparent 45%); pointer-events: none; }
.locked-card .notice-icon { position: relative; display: grid; width: 46px; height: 46px; margin: 0 auto 10px; place-items: center; border: 1px solid #ffb06655; border-radius: 13px; background: #3a2113; color: #ffce8f; font-size: 19px; font-weight: 900; box-shadow: 0 0 22px #ff9d3c2e; animation: lockedPulse 3s ease-in-out infinite; }
@keyframes lockedPulse { 50% { box-shadow: 0 0 34px #ff9d3c55; transform: translateY(-2px); } }
.locked-card h1 { margin: 9px 0; color: #ffe8d1; font-size: 24px; letter-spacing: -.5px; }
.locked-card > p { color: #bda997; font-size: 11px; line-height: 1.75; }
.locked-steps { margin: 16px 0; padding: 15px 16px; border: 1px solid #4f392b; border-radius: 12px; background: #1a1411; text-align: left; }
.locked-steps p { margin: 0 0 8px; color: #f0d9c2; font-size: 11px; }
.locked-steps ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: locked-step; }
.locked-steps li { position: relative; padding-left: 30px; color: #c0ae9d; font-size: 10px; line-height: 1.65; counter-increment: locked-step; }
.locked-steps li::before { content: counter(locked-step); position: absolute; top: 1px; left: 0; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #b06f34; border-radius: 50%; background: #402514; color: #ffcf9a; font-size: 9px; font-weight: 850; }
.locked-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.locked-card a { display: inline-flex; margin-top: 0; padding: 10px 16px; border: 1px solid #a46635; border-radius: 9px; background: linear-gradient(120deg, #8d421c, #c2682c); color: #fff1e1; font-size: 10px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.locked-card a:hover { transform: translateY(-1px); box-shadow: 0 8px 22px #ff8c3a2e; }
.locked-card .locked-secondary { border-color: #4d4237; background: #251f19; color: #e0cdbb; }
.locked-note { margin-top: 14px; color: #92847a; font-size: 9px; }

@media (max-width: 850px) {
  .member-grid { grid-template-columns: 1fr; }
  .admin-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-row { grid-template-columns: minmax(130px, 1fr) minmax(90px, .75fr) auto; }
  .admin-row-actions { grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 850px) {
  .proof-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .admin-open, .password-open { padding: 6px 7px; font-size: 8px; }
  .notice-card { padding: 19px 15px; }
  .notice-title-row h2 { font-size: 14px; }
  .notice-actions { justify-content: stretch; }
  .notice-actions > * { flex: 1; }
  .admin-topbar { padding: 0 13px; }
  .admin-shell { width: calc(100% - 24px); margin-top: 18px; }
  .admin-heading { align-items: start; flex-direction: column; }
  .admin-api-status { max-width: none; width: 100%; }
  .admin-anchor-nav { top: 62px; gap: 4px; }
  .admin-anchor-nav a { padding: 6px 7px; font-size: 8px; }
  .admin-section { padding: 12px; }
  .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-admin-grid { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .full-width { grid-column: auto; }
  .admin-row { grid-template-columns: 1fr auto; }
  .admin-row-meta { grid-column: 1 / -1; }
  .admin-row-actions { grid-column: 1 / -1; }
  .task-card { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-page { scroll-behavior: auto; }
  .admin-page-loader.is-loading::after { animation: none; transform: translateX(0); }
}
[hidden] { display: none !important; }
.admin-withdrawal-qr { display: block; width: 100%; max-height: 110px; padding: 3px; border: 1px solid #bb7b49; border-radius: 6px; background: #fff; object-fit: contain; }
.admin-search { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.admin-contact-line { color: #ffc38a; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }

/* Ảnh thư viện: chỉ ảnh, hiển thị đúng tỉ lệ */
.proof-upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.proof-upload-row .admin-field { margin: 0; }
.proof-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.proof-admin-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #45372a;
  border-radius: 14px;
  background: #100e0c;
}
.proof-admin-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  background: #100e0c;
}
.proof-admin-card .admin-action {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 5px 9px;
  border-color: #ff9b6b66;
  background: #1d130ee8;
  color: #ffc39a;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px #0006;
}
.proof-admin-card .admin-action:hover { border-color: #ffb082; background: #4a2418f0; }
@media (max-width: 720px) {
  .proof-upload-row { grid-template-columns: 1fr; }
  .proof-admin-grid { grid-template-columns: 1fr; }
}
.admin-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #55432f; border-radius: 8px; outline: none; background: #13110e; color: #f5e7d5; font: inherit; font-size: 11px; }
.admin-search input:focus { border-color: #e0a05a; box-shadow: 0 0 0 3px #e0a05a1f; }
.admin-search span { flex: none; color: #a4957f; font-size: 9px; }
.admin-ip-line { color: #ffc78f !important; font-weight: 700; }
.admin-row-main .admin-tag { display: inline-block; margin-left: 6px; }
.admin-withdraw-line { font-size: 11px !important; color: #e2d2bd !important; }
.withdraw-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.withdraw-filters button { padding: 7px 11px; border: 1px solid #4a3a2c; border-radius: 8px; background: #1b1612; color: #c9b6a1; font: inherit; font-size: 9px; cursor: pointer; transition: .18s ease; }
.withdraw-filters button b { margin-left: 5px; color: #ffce8a; font-weight: 850; }
.withdraw-filters button:hover { border-color: #a4713c; color: #ffe0bd; }
.withdraw-filters button.is-active { border-color: #e09a4f; background: #3a2414; color: #ffe2c2; box-shadow: inset 0 -2px #ff9c52; }
#admin-withdrawals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
#admin-withdrawals .admin-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; margin: 0; }
#admin-withdrawals .admin-row-main { max-width: none; }
#admin-withdrawals .admin-row-main strong { font-size: 12px; }
#admin-withdrawals .admin-row-meta { margin-top: 0; }
#admin-withdrawals .admin-row-actions { justify-content: start; }
#admin-withdrawals .admin-withdrawal-qr-button { width: 94px; }
#admin-withdrawals .admin-withdrawal-qr { max-height: 78px; }
@media (max-width: 1100px) {
  #admin-withdrawals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  #admin-withdrawals { grid-template-columns: 1fr; }
}
.admin-withdrawal-qr-button { display: grid; gap: 4px; justify-items: start; width: min(130px, 100%); margin-top: 8px; padding: 4px; border: 1px solid #6b4a2c; border-radius: 8px; background: #171310; color: #ffc38c; font: inherit; font-size: 8px; cursor: zoom-in; }
.admin-withdrawal-qr-button:hover { border-color: #ffb066; }
.qr-dialog { width: min(560px, calc(100% - 30px)); padding: 10px; border: 1px solid #7a502c; border-radius: 14px; background: #15110e; box-shadow: 0 26px 80px #000a; }
.qr-dialog::backdrop { background: #060504cc; }
.qr-dialog img { display: block; width: 100%; max-height: 76vh; object-fit: contain; border-radius: 8px; background: #fff; }
.qr-dialog-close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 1px solid #6b4a2c; border-radius: 999px; background: #2a1d13e6; color: #ffd7ac; font-size: 16px; line-height: 1; cursor: pointer; }
.admin-support-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
.admin-thread { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid #42362a; border-radius: 9px; background: #191512; color: #d9c8b4; font: inherit; text-align: left; cursor: pointer; }
.admin-thread:hover { border-color: #a4713c; }
.admin-thread.is-active { border-color: #d19355; background: #2a1d13; box-shadow: inset 3px 0 #ffa95f; }
.admin-thread strong { color: #f4e3ce; font-size: 11px; }
.admin-thread span { overflow: hidden; color: #a2927e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-support-chat { display: grid; grid-template-rows: auto minmax(220px, 360px) auto; overflow: hidden; border: 1px solid #453729; border-radius: 10px; background: #12100e; }
.admin-support-head { padding: 11px 13px; border-bottom: 1px solid #33291f; background: #1d1813; color: #ffd8af; font-size: 10px; }
.admin-support-chat .support-messages { max-height: 360px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.admin-support-chat .support-messages { display: grid; gap: 8px; padding: 12px; overflow-y: auto; align-content: start; background: #12100e; }
.admin-support-chat .support-bubble { max-width: 85%; padding: 8px 10px; border-radius: 11px; font-size: 11px; line-height: 1.55; }
.admin-support-chat .support-bubble p { margin: 0; overflow-wrap: anywhere; }
.admin-support-chat .support-bubble time { display: block; margin-top: 3px; font-size: 8px; opacity: .65; }
.admin-support-chat .support-member { justify-self: start; border: 1px solid #8a5528; border-bottom-left-radius: 3px; background: #4a2a13; color: #ffe9d2; }
.admin-support-chat .support-admin { justify-self: end; border: 1px solid #4c4133; border-bottom-right-radius: 3px; background: #241f19; color: #eadfd0; }
.admin-support-chat .support-form { display: flex; gap: 6px; padding: 9px; border-top: 1px solid #33291f; background: #17130f; }
.admin-support-chat .support-form input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #4a3b2c; border-radius: 8px; background: #100e0c; color: #f2e4d3; font: inherit; font-size: 11px; }
.admin-support-chat .support-form button { padding: 0 12px; border: 1px solid #8a5528; border-radius: 8px; background: #5a3317; color: #ffdcb5; cursor: pointer; }
.admin-support-chat .support-form button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) {
  .admin-support-layout { grid-template-columns: 1fr; }
}

/* Ảnh trong hộp thư hỗ trợ của admin */
.admin-support-image {
  display: block;
  max-width: 220px;
  max-height: 180px;
  margin-bottom: 4px;
  border-radius: 10px;
  object-fit: cover;
  cursor: zoom-in;
}

.admin-member-avatar {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border: 1px solid #7a5732;
  border-radius: 10px;
  object-fit: cover;
}

/* Thanh cuộn đẹp theo chủ đề */
* { scrollbar-width: thin; scrollbar-color: #c07a2a #1b110c; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1b110c; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #a95810, #e08c1b); border: 2px solid #1b110c; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #e08c1b, #f2ab35); }

/* Trang khóa tài khoản & hết mã */
.locked-reason { display: grid; gap: 3px; margin: 0 0 14px; padding: 11px 13px; border: 1px solid #8a4a34; border-radius: 11px; background: #2a1811; text-align: left; }
.locked-reason span { color: #c08f74; font-size: 8px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.locked-reason strong { color: #ffd9c2; font-size: 11px; font-weight: 750; line-height: 1.5; }
.locked-warning, .codes-hint { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 11px 13px; border: 1px solid #4f392b; border-radius: 11px; background: #1a1411; text-align: left; }
.locked-warning > span, .codes-hint > span { flex: none; font-size: 15px; line-height: 1.2; }
.locked-warning strong, .codes-hint strong { display: block; color: #f7ddc4; font-size: 10px; font-weight: 800; line-height: 1.5; }
.locked-warning small, .codes-hint small { display: block; margin-top: 3px; color: #a9937f; font-size: 9px; line-height: 1.6; }
.locked-card .locked-primary { border-color: #d88b4b; background: linear-gradient(120deg, #a8511f, #d97a2c); box-shadow: 0 8px 22px #ff8c3a2e; font-size: 11px; }
.locked-shell.is-codes { background: radial-gradient(ellipse at 50% 40%, #4a3a1655, transparent 52%), #120f0c; }
.locked-shell.is-codes .locked-card::before { background: radial-gradient(circle at 18% 0%, #ffd16620, transparent 45%); }
.locked-shell.is-codes .notice-icon { border-color: #ffd16666; background: #3a3013; color: #ffe08a; box-shadow: 0 0 22px #ffd1662e; }
.locked-shell.is-codes .locked-card h1 { color: #fff0cf; }
.locked-shell.is-codes .locked-steps li::before { border-color: #b8952f; background: #3d3211; color: #ffe08a; }

/* ===== v57 · Trang tập trung: vượt link / hết mã / khoá tài khoản ===== */
.focus-body { background: radial-gradient(ellipse 68% 52% at 50% -6%, #3b2817 0%, transparent 62%), radial-gradient(ellipse 46% 40% at 88% 104%, #2b1a11 0%, transparent 58%), #13100d; }
.focus-wrap { display: flex; width: min(580px, calc(100% - 32px)); min-height: 100vh; flex-direction: column; justify-content: center; padding: 34px 0 28px; }
.focus-brand { margin-bottom: 18px; font-size: 17px; }
.focus-card { position: relative; padding: 30px 26px 24px; border: 1px solid #4b3b2d; border-radius: 20px; background: linear-gradient(165deg, #261e18 0%, #1a1512 58%, #17120f 100%); box-shadow: 0 32px 74px -34px #000, 0 0 46px #ff9b2418, inset 0 1px 0 #ffffff0d; }
.focus-card::before { position: absolute; top: 0; right: 22%; left: 22%; height: 1px; background: linear-gradient(90deg, transparent, #ffb06696, transparent); content: ""; }
.focus-card .gate-badge { padding: 6px 12px; border-radius: 999px; font-size: 9px; letter-spacing: .7px; }
.focus-icon { display: grid; width: 58px; height: 58px; margin: 17px auto 14px; place-items: center; border: 1px solid #ffb06645; border-radius: 18px; background: radial-gradient(circle at 50% 18%, #ffb06626, #241a12 72%); box-shadow: 0 0 28px #ff9d3c30, inset 0 1px 0 #ffffff14; }
.focus-icon svg { animation: focusIconFloat 4.2s ease-in-out infinite; }
@keyframes focusIconFloat { 50% { transform: translateY(-3px); } }
.focus-card h1 { margin: 10px 0 8px; font-size: 23px; letter-spacing: -.6px; }
.focus-card .gate-description { max-width: 46ch; margin: 0 auto 18px; color: #b3a597; font-size: 12px; line-height: 1.72; }
.focus-card .gate-description strong { color: #ffd9ab; font-weight: 750; }
.focus-destination { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid #4a3a2c; border-radius: 13px; background: linear-gradient(120deg, #221b15, #1b1612); }
.focus-destination .destination-icon { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 10px; background: #ffae3219; color: #ffc373; font-size: 19px; box-shadow: inset 0 0 0 1px #ffb06630; }
.focus-destination > div { display: grid; flex: 1; gap: 3px; min-width: 0; text-align: left; }
.focus-destination .destination-label { color: #9c9187; font-size: 8.5px; font-weight: 800; letter-spacing: .9px; }
.focus-destination strong { color: #f1e5d8; font-size: 12px; font-weight: 700; line-height: 1.45; white-space: normal; }
.focus-destination .destination-arrow { color: #ffc078; font-size: 14px; }
.focus-card .gate-error { margin: 0; color: #ffb0a7; font-size: 11px; }
.focus-card .gate-error:not(:empty) { margin-top: 12px; padding: 9px 12px; border: 1px solid #7d4038; border-radius: 10px; background: #3a1d17; text-align: left; line-height: 1.6; }

.focus-card .focus-button { position: relative; display: inline-flex; overflow: hidden; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 0 22px; border: 1px solid #ffcf94; border-radius: 14px; background: linear-gradient(115deg, #ffd79b 0%, #ffb055 38%, #ff8f31 100%); color: #2c1808; font-size: 14px; font-weight: 850; letter-spacing: .2px; box-shadow: 0 16px 34px -18px #ff9a3d, inset 0 1px 0 #fff7e8; cursor: pointer; transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.focus-card .focus-button::before { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 24%, #ffffff5c 46%, transparent 68%); content: ""; pointer-events: none; transform: translateX(-130%); animation: focusShine 3.6s ease-in-out infinite; }
@keyframes focusShine { 0%, 55% { transform: translateX(-130%); } 86%, 100% { transform: translateX(130%); } }
.focus-card .focus-button .button-arrow { display: inline-grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: 50%; background: #2c1808; color: #ffd7a4; transition: transform .2s ease; }
.focus-card .focus-button:not(:disabled):hover { border-color: #ffe1b8; transform: translateY(-2px); box-shadow: 0 20px 44px -18px #ffb055, inset 0 1px 0 #fff7e8; }
.focus-card .focus-button:not(:disabled):hover .button-arrow { transform: translateX(3px); }
.focus-card .focus-button:not(:disabled):active { transform: translateY(0); }
.focus-card .focus-button:disabled { opacity: 1; border-color: #4b3d31; background: linear-gradient(115deg, #2b221b, #231c16); color: #c4b3a1; box-shadow: inset 0 1px 0 #ffffff0a; cursor: progress; }
.focus-card .focus-button:disabled::before { display: none; }
.focus-card .focus-button:disabled .button-arrow { background: #171310; color: #8a7a6b; }
.focus-card .focus-button.is-ready { animation: focusReady .45s ease; }
@keyframes focusReady { from { transform: scale(.985); } }
.gate-progress { overflow: hidden; height: 4px; margin: 12px 0 0; border-radius: 999px; background: #2b221b; }
.gate-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb35d, #ff8a2b); box-shadow: 0 0 12px #ff9a3d8c; transition: width .9s linear; }
.focus-card .gate-footnote { max-width: 48ch; margin: 12px auto 0; color: #8f8377; font-size: 10px; line-height: 1.68; }
.gate-footer, .focus-footer { margin-top: 16px; font-size: 10px; }

@media (min-width: 720px) {
  .focus-wrap { width: min(620px, calc(100% - 48px)); padding: 46px 0 38px; }
  .focus-brand { margin-bottom: 22px; font-size: 19px; }
  .focus-card { padding: 38px 40px 30px; border-radius: 22px; }
  .focus-icon { width: 66px; height: 66px; margin: 20px auto 16px; border-radius: 20px; }
  .focus-card h1 { font-size: 27px; }
  .focus-card .gate-description { font-size: 13px; }
  .focus-destination { padding: 15px 17px; }
  .focus-destination strong { font-size: 13px; }
  .focus-card .focus-button { min-height: 56px; font-size: 15px; }
  .focus-card .gate-footnote { font-size: 11px; }
}

@media (max-width: 400px) {
  .focus-wrap { padding: 24px 0 20px; }
  .focus-card { padding: 26px 16px 20px; }
  .focus-card h1 { font-size: 20px; }
  .focus-destination { gap: 9px; padding: 11px; }
  .focus-destination strong { font-size: 11px; }
  .focus-card .focus-button { min-height: 48px; font-size: 13px; }
}

/* Trang hết mã / khoá tài khoản: tỉ lệ rộng rãi hơn trên PC */
.locked-shell { padding: 32px 22px; }
.locked-card { width: min(600px, 100%); padding: 36px 32px 30px; border-radius: 20px; }
.locked-card .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
.locked-card h1 { margin: 10px 0 10px; font-size: 26px; line-height: 1.28; }
.locked-card > p { font-size: 12.5px; line-height: 1.72; }
.locked-card .notice-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 15px; }
.locked-card .notice-icon svg { width: 28px; height: 28px; }
.locked-steps { margin: 18px 0; padding: 16px 18px; border-radius: 13px; }
.locked-steps p { font-size: 12px; }
.locked-steps li { padding-left: 32px; font-size: 11.5px; line-height: 1.68; }
.locked-steps li::before { width: 22px; height: 22px; font-size: 10px; }
.locked-warning, .codes-hint { padding: 13px 15px; border-radius: 12px; }
.locked-warning strong, .codes-hint strong { font-size: 11.5px; }
.locked-warning small, .codes-hint small { font-size: 10.5px; }
.locked-actions { gap: 10px; margin-top: 4px; }
.locked-card a, .locked-card .locked-primary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 1px solid #ffcf94; border-radius: 12px; background: linear-gradient(115deg, #ffd79b 0%, #ffb055 40%, #ff8f31 100%); color: #2c1808; font-size: 12.5px; font-weight: 850; box-shadow: 0 14px 30px -16px #ff9a3d, inset 0 1px 0 #fff7e8; transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease; }
.locked-card a:hover { border-color: #ffe1b8; transform: translateY(-2px); box-shadow: 0 18px 36px -16px #ffb055, inset 0 1px 0 #fff7e8; }
.locked-card a:active { transform: translateY(0); }
.locked-card .locked-secondary { border-color: #574838; background: #251f19; color: #d8c7b5; box-shadow: none; font-weight: 700; }
.locked-card .locked-secondary:hover { border-color: #7a6552; box-shadow: 0 12px 26px -18px #000; }
.locked-note { margin-top: 16px; color: #92847a; font-size: 10px; line-height: 1.6; }
.locked-reason { padding: 13px 15px; border-radius: 12px; }
.locked-reason strong { font-size: 12px; }

@media (min-width: 720px) {
  .locked-card { padding: 42px 44px 34px; }
  .locked-card h1 { font-size: 29px; }
  .locked-card > p { font-size: 13px; }
  .locked-steps li { font-size: 12px; }
  .locked-card a, .locked-card .locked-primary { min-height: 50px; font-size: 13px; }
}

@media (max-width: 420px) {
  .locked-shell { padding: 20px 14px; }
  .locked-card { padding: 26px 18px 22px; }
  .locked-card h1 { font-size: 22px; }
  .locked-card a, .locked-card .locked-primary { width: 100%; padding: 0 14px; }
}

/* ===== v59 · SVG chuyển động cho tên mục ===== */
.section-heading h2::before,
.panel-heading h3::before,
.admin-section-heading h2::before,
.admin-section-heading h3::before,
.admin-heading h1::before,
.dashboard-topbar h1::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 9px;
  vertical-align: -2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><defs><linearGradient id='m' x1='0' y1='0' x2='1' y2='1'><stop stop-color='%23ffd166'/><stop offset='1' stop-color='%23ff8a34'/></linearGradient></defs><circle cx='12' cy='12' r='9.2' stroke='url(%23m)' stroke-width='1.5' stroke-dasharray='4 5' opacity='.9'/><path d='M12 5.6l1.55 4.25L17.8 11.4l-4.25 1.55L12 17.2l-1.55-4.25L6.2 11.4l4.25-1.55z' fill='url(%23m)'/></svg>") center / contain no-repeat;
  animation: titleMarkSpin 9s linear infinite, titleMarkGlow 3.4s ease-in-out infinite;
}
@keyframes titleMarkSpin { to { transform: rotate(360deg); } }
@keyframes titleMarkGlow {
  0%, 100%% { filter: drop-shadow(0 0 3px #ff9d3c55); opacity: .88; }
  50% { filter: drop-shadow(0 0 9px #ffb347aa); opacity: 1; }
}
.section-heading h2, .panel-heading h3, .admin-section-heading h2,
.admin-section-heading h3, .admin-heading h1 { letter-spacing: -.2px; }
.section-heading h2::first-letter, .panel-heading h3::first-letter { letter-spacing: 0; }

/* ===== v59 · Màn hình mật khẩu quản trị ===== */
body.admin-gate-open .admin-shell { display: none; }
.admin-gate {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 20%, #3a2414 0%, transparent 60%), #100d0b;
}
.admin-gate[hidden] { display: none; }
.admin-gate-card {
  display: grid;
  width: min(420px, 100%);
  gap: 10px;
  padding: 30px 26px 24px;
  border: 1px solid #4b3b2d;
  border-radius: 20px;
  background: linear-gradient(165deg, #261e18, #1a1512 60%, #17120f);
  box-shadow: 0 34px 80px -40px #000, 0 0 46px #ff9b2418, inset 0 1px 0 #ffffff0d;
  text-align: center;
}
.admin-gate-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 4px;
  place-items: center;
  border: 1px solid #ffb06645;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 18%, #ffb06626, #241a12 72%);
  color: #ffce8f;
  box-shadow: 0 0 26px #ff9d3c30;
}
.admin-gate-card h1 { margin: 4px 0 0; font-size: 21px; color: #ffe8d1; }
.admin-gate-card > p { margin: 0 0 6px; color: #b1a294; font-size: 11.5px; line-height: 1.65; }
.admin-gate-card label { color: #d9c6b3; font-size: 10px; font-weight: 700; text-align: left; }
.admin-gate-card input {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #574636;
  border-radius: 11px;
  background: #141110;
  color: #ffe9d6;
  font-size: 14px;
  letter-spacing: 1px;
}
.admin-gate-card input:focus { border-color: #ffb066; outline: none; box-shadow: 0 0 0 3px #ff9d3c26; }
.admin-gate-card .admin-submit { min-height: 46px; border-radius: 11px; font-size: 13px; }
.admin-gate-error { min-height: 16px; margin: 0; color: #ffb0a7; font-size: 11px; }
.admin-gate-back { margin-top: 4px; color: #9c8b7c; font-size: 10.5px; text-decoration: none; }
.admin-gate-back:hover { color: #ffce8f; }

/* ===== v59 · Tách thành viên bình thường / nghi trùng IP ===== */
.admin-member-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.admin-member-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-member-tab {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #4a3b2e;
  border-radius: 999px;
  background: #1e1813;
  color: #c3b1a0;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
}
.admin-member-tab b { color: #ffce8f; font-size: 10px; }
.admin-member-tab:hover { border-color: #7a5c3e; color: #ffe1c0; }
.admin-member-tab.is-active {
  border-color: #e0a45c;
  background: linear-gradient(115deg, #4a2f14, #6b431c);
  color: #ffe6c6;
  box-shadow: 0 8px 20px -14px #ff9d3c;
}
.admin-ip-line.is-inactive { color: #ffbd8a; font-weight: 700; }

/* ===== v60 · Nút phụ trang vượt link + chip nhà cung cấp API ===== */
.gate-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0; }
.gate-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #574838;
  border-radius: 11px;
  background: #221b16;
  color: #e2cdb6;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, color .18s ease;
}
.gate-secondary-link:hover { border-color: #8a6a46; color: #ffe0b8; transform: translateY(-1px); }
.focus-card .gate-footnote strong { color: #ffd9ab; }

.admin-preset-block {
  margin: 0 0 16px;
  padding: 14px 15px;
  border: 1px solid #45372a;
  border-radius: 13px;
  background: #1c1712;
}
.admin-preset-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-bottom: 10px; }
.admin-preset-head strong { color: #ffd9b3; font-size: 12px; }
.admin-preset-head span { color: #9c8b7a; font-size: 10px; }
.admin-preset-list { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-preset-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 104px;
  padding: 7px 12px;
  border: 1px solid #5b4632;
  border-radius: 10px;
  background: linear-gradient(120deg, #2a2018, #221a14);
  color: #e8d4bd;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.admin-preset-chip strong { font-size: 11px; font-weight: 800; }
.admin-preset-chip small { color: #a3907c; font-size: 9px; }
.admin-preset-chip:hover:not(:disabled) { border-color: #d59a55; transform: translateY(-1px); box-shadow: 0 8px 18px -14px #ff9d3c; }
.admin-preset-chip.is-added { border-color: #3f5f46; background: #1b241c; color: #9fc9a6; cursor: default; opacity: .75; }
.admin-preset-empty { color: #9c8b7a; font-size: 10px; }
