:root{
  --bg:#0b1120;
  --card:#111a2f;
  --text:#edf2ff;
  --muted:#93a1bf;
  --brand:#7c6cff;
  --danger:#ef4444;
  --ok:#16a34a;
  --line:#26324d;
  --surface-2:#17223a;
  --surface-3:#1e2a44;
  --input-bg:#0f172a;
  --input-text:#edf2ff;
  --hero-start:#090d1f;
  --hero-mid:#27247c;
  --hero-end:#6658ff;
  --tag-bg:#1f2950;
  --tag-text:#b5c1ff;
  --accent-link:#8ea2ff;
  --table-head:#0f172a;
  --shadow:0 12px 30px rgba(2,6,23,.28);
}
html[data-theme="light"]{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#172033;
  --muted:#667085;
  --brand:#6d5dfc;
  --line:#e6e8ef;
  --surface-2:#f8faff;
  --surface-3:#eef2ff;
  --input-bg:#ffffff;
  --input-text:#172033;
  --hero-start:#171533;
  --hero-mid:#3d36a8;
  --hero-end:#6d5dfc;
  --tag-bg:#eef2ff;
  --tag-text:#4f46e5;
  --accent-link:#4f46e5;
  --table-head:#f9fafb;
  --shadow:0 8px 24px rgba(17,24,39,.06);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  transition:background-color .2s ease,color .2s ease;
  overflow-y:scroll;
}
a{text-decoration:none;color:inherit}
.wrap{max-width:1180px;margin:auto;padding:18px}

.top{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--hero-start) 0%,var(--hero-mid) 48%,var(--hero-end) 100%);
  color:white;
}
.top::before,.top::after{
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(8px);
  opacity:.45;
}
.top::before{
  width:340px;
  height:340px;
  right:-80px;
  top:-120px;
  background:radial-gradient(circle,#8ea2ff 0%,rgba(142,162,255,0) 68%);
  animation:floatGlow 13s ease-in-out infinite;
}
.top::after{
  width:260px;
  height:260px;
  left:-110px;
  bottom:-120px;
  background:radial-gradient(circle,#3de0c4 0%,rgba(61,224,196,0) 65%);
  animation:floatGlow 15s ease-in-out infinite reverse;
}

.nav,.hero{position:relative;z-index:1}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  padding:0 !important;
}
.logo-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:linear-gradient(135deg,#ffffff 0%,#cfd7ff 100%);
  color:#2a246d;
  font-size:24px;
  font-weight:900;
  box-shadow:0 10px 26px rgba(10,12,35,.28);
}
.logo-text{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.logo-kicker{
  font-size:10px;
  line-height:1.1;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
}
.logo-name{
  font-size:25px;
  line-height:1.02;
  letter-spacing:-.03em;
  font-weight:900;
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.nav-links a{
  padding:9px 12px;
  border-radius:12px;
  color:rgba(255,255,255,.96);
  font-weight:600;
}
.nav-links a:hover,.btn{background:rgba(255,255,255,.14)}
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.1);
  color:#fff;
}
.theme-toggle:hover{
  background:rgba(255,255,255,.18);
}
.theme-toggle-icon{
  font-size:15px;
  line-height:1;
}
.theme-toggle-text{
  white-space:nowrap;
}

.hero{padding:38px 0}
.hero h1{
  margin:0 0 12px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.hero p{
  font-size:18px;
  opacity:.92;
}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.latest-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.latest-grid .prompt-card-slide{
  width:auto;
  max-width:none;
  min-width:0;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.thumb{
  aspect-ratio:1/1;
  height:auto;
  background:var(--surface-2);
  display:block;
  width:100%;
  object-fit:cover;
}
.card-thumb-wrap{
  position:relative;
}
.quick-delete-form{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
}
.quick-delete-btn{
  width:42px;
  height:42px;
  padding:0;
  border-radius:999px;
  background:rgba(239,68,68,.92);
  color:#fff;
  font-size:28px;
  line-height:1;
  box-shadow:0 12px 24px rgba(127,29,29,.28);
}
.card-body{padding:15px}
.tag{
  display:inline-flex;
  background:var(--tag-bg);
  color:var(--tag-text);
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
}
.tag-link:hover,.meta-link:hover{text-decoration:underline}
.card-social-row{
  display:flex;
  justify-content:flex-start;
  margin-bottom:10px;
}
.card-topline{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:10px;
}
.title{font-size:15px;font-weight:750;margin:10px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.meta{color:var(--muted);font-size:13px}
.meta-stack{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.meta-link{color:var(--accent-link);font-weight:600}

.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.action-main{min-width:0}
.action-stat{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:10px 6px;
  font-size:13px;
}
.action-report{min-width:0}
.actions-inline{
  margin-top:0;
  flex:0 0 auto;
}
.actions-social{
  display:flex;
  gap:6px;
  flex-wrap:nowrap;
  width:max-content;
}
.favorite-btn{
  min-width:38px;
  width:38px;
  height:38px;
  padding:0;
  border-radius:12px;
  background:var(--surface-3);
  color:#ff8aa1;
  font-size:18px;
  line-height:1;
  flex:0 0 auto;
}
.favorite-btn.is-active{
  background:#ff4d6d;
  color:#fff;
}
.actions-social .action-stat{
  min-width:50px;
  padding:7px 6px;
  font-size:12px;
  flex:0 0 auto;
}
.actions-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:stretch;
  margin-top:12px;
}
.actions-bottom .action-combo{
  min-width:0;
  width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.actions-bottom .action-report{
  min-width:84px;
  white-space:nowrap;
}

.button,button,input[type=submit]{
  border:0;
  background:var(--brand);
  color:white;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:650;
}
.button.light,button.light{background:#eef2ff;color:#3730a3}
.button.red,button.red{background:var(--danger)}
.button.gray,button.gray{background:var(--surface-3);color:var(--text)}

.form{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  max-width:760px;
}
.field{margin-bottom:14px}
label{display:block;font-weight:700;margin-bottom:6px}
small{
  display:block;
  margin-top:8px;
  color:var(--muted);
}
input,select,textarea{
  width:100%;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  font:inherit;
  background:var(--input-bg);
  color:var(--input-text);
}
input::placeholder,textarea::placeholder{color:var(--muted)}
textarea{min-height:150px}
.captcha-row{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  gap:12px;
  align-items:center;
}
.captcha-question{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  background:var(--surface-2);
  border:1px solid var(--line);
  font-weight:800;
  letter-spacing:.02em;
}

.alert{
  padding:12px 14px;
  border-radius:14px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  margin:12px 0;
  color:#7c2d12;
}
.ok{background:#ecfdf5;border-color:#bbf7d0}

.dash{display:grid;grid-template-columns:240px 1fr;gap:18px}
.side{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px;
  height:max-content;
}
.side a{display:block;padding:10px;border-radius:12px}
.side a:hover{background:var(--surface-2)}

table{
  width:100%;
  border-collapse:collapse;
  background:var(--card);
  border-radius:18px;
  overflow:hidden;
}
th,td{
  padding:12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
th{background:var(--table-head)}
.table-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.approve-btn{
  min-width:44px;
  padding:10px 0;
  font-size:20px;
  line-height:1;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:80;
}
.modal-box{
  background:var(--card);
  border-radius:22px;
  max-width:1120px;
  width:100%;
  max-height:85vh;
  overflow:auto;
  padding:20px;
  border:1px solid var(--line);
}
.modal-content-split{
  display:grid;
  grid-template-columns:minmax(320px, 44%) minmax(0, 1fr);
  gap:18px;
  align-items:stretch;
}
.modal-media-pane{
  display:flex;
  align-items:center;
  justify-content:center;
  max-height:62vh;
  overflow:hidden;
  border-radius:18px;
  background:var(--surface-2);
  padding:10px;
}
.modal-text-pane{
  min-width:0;
}
.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.modal-head h2{margin:0}
.modal-icon-btn{
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-2);
  color:var(--accent-link);
  font-size:24px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
}
.modal-icon-btn:hover{background:var(--surface-3)}
.modal-image{
  display:block;
  width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:14px;
  margin:0;
  background:var(--surface-2);
}
.prompt-text{
  white-space:pre-wrap;
  background:#0f172a;
  color:#e5e7eb;
  border-radius:16px;
  padding:16px;
  cursor: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>') 10 10, copy;
  transition:transform .15s ease,box-shadow .15s ease;
  max-height:62vh;
  overflow:auto;
}
.prompt-text:hover{
  transform:translateY(-1px);
  box-shadow:0 0 0 1px rgba(124,108,255,.28), 0 12px 24px rgba(2,6,23,.22);
}
.modal-actions{
  display:flex;
  gap:10px;
  margin:14px 0 16px;
}
.modal-action{flex:1 1 0}
@media(min-width:761px){
  #promptModal .modal-actions{
    flex-direction:row-reverse;
  }
}
.share-wrapper {
  position: relative;
  display: flex;
}
.share-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}
.share-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.share-item:hover {
  background: var(--surface-3);
}
.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}
.share-icon.fb { background: #1877F2; }
.share-icon.tw { background: #000; color: #fff; }
.share-icon.zl { background: #0068ff; }
.share-icon.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.share-icon.cp { background: var(--surface-3); color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .share-menu {
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  background: #fff;
}
html[data-theme="light"] .share-item:hover {
  background: #f1f5f9;
}
.auth-modal-box{
  max-width:420px;
}
.category-slider-wrap{
  margin:18px 0 0;
  width:100%;
}
.category-slider{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:8px;
  touch-action:pan-y;
  cursor:grab;
  user-select:none;
}
.category-slider.is-dragging{
  cursor:grabbing;
}
.category-slider a{
  -webkit-user-drag:none;
}
.category-slider::-webkit-scrollbar{
  display:none;
}
.cat-pill{
  white-space:nowrap;
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:transparent;
  color:var(--text);
  font-weight:600;
  font-size:14px;
  transition:background-color .2s ease,border-color .2s ease;
}
.cat-pill:hover{
  background:rgba(255,255,255,.1);
}
.cat-pill.is-active{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}
html[data-theme="light"] .cat-pill{
  border-color:rgba(17,24,39,.1);
}
html[data-theme="light"] .cat-pill:hover{
  background:rgba(17,24,39,.06);
}
html[data-theme="light"] .cat-pill.is-active{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.filters{
  display:grid;
  grid-template-columns:1fr 220px auto;
  gap:10px;
  margin:18px 0;
  align-items:center;
  position:sticky;
  top:12px;
  z-index:22;
  padding:12px;
  border-radius:22px;
  background:rgba(11,17,32,.78);
  backdrop-filter:blur(16px);
  border:1px solid rgba(124,108,255,.14);
  box-shadow:0 16px 34px rgba(2,6,23,.22);
  transition:box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.copy{float:right}

.top-banner{
  margin:18px 0 8px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.top-banner img{
  display:block;
  width:100%;
  max-height:240px;
  object-fit:cover;
}

.side-banner{
  position:fixed;
  top:160px;
  width:120px;
  z-index:8;
  display:block;
}
.side-banner img{
  width:100%;
  display:block;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.side-banner-left{left:16px}
.side-banner-right{right:16px}

.carousel-section{
  margin:24px 0 10px;
}
.carousel-shell{
  position:relative;
}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.section-head h2{
  margin:0;
}
.section-head span{
  color:var(--muted);
  font-size:14px;
}
.prompt-carousel{
  overflow:auto hidden;
  position:relative;
  scrollbar-width:none;
  scroll-behavior:smooth;
  padding:4px 0;
  cursor:grab;
  user-select:none;
  touch-action:pan-y;
}
.prompt-carousel::-webkit-scrollbar{
  display:none;
}
.prompt-carousel.is-dragging{
  cursor:grabbing;
  scroll-behavior:auto;
}
.prompt-carousel-track{
  display:flex;
  gap:18px;
  width:max-content;
}
.carousel-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border-radius:999px;
  background:rgba(19,28,51,.92);
  border:1px solid var(--line);
  color:#fff;
  font-size:28px;
  line-height:1;
  z-index:4;
  box-shadow:0 14px 28px rgba(2,6,23,.28);
}
.carousel-prev{
  left:-22px;
}
.carousel-next{
  right:-22px;
}
.prompt-card-slide{
  width:calc((100vw - 220px) / 5);
  max-width:250px;
  min-width:210px;
  flex:0 0 auto;
}

html[data-theme="dark"] .button.light,
html[data-theme="dark"] button.light{
  background:#243157;
  color:#dce6ff;
}

html[data-theme="dark"] .mobile-search-bar{
  background:rgba(10,16,34,.62);
}

html[data-theme="dark"] .mobile-search-bar input,
html[data-theme="dark"] .mobile-search-bar select{
  background:rgba(255,255,255,.08);
}

html[data-theme="light"] .mobile-search-bar{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(109,93,252,.14);
  box-shadow:0 16px 38px rgba(17,24,39,.14);
}

html[data-theme="light"] .mobile-search-bar input,
html[data-theme="light"] .mobile-search-bar select{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(109,93,252,.12);
  color:#172033;
}

html[data-theme="light"] .mobile-search-bar input::placeholder{
  color:#667085;
}

html[data-theme="light"] .mobile-search-bar select{
  color:#172033;
}

html[data-theme="light"] .mobile-search-bar button{
  background:linear-gradient(135deg,#6d5dfc 0%,#4aa7ff 100%);
  border-color:transparent;
  color:#fff;
}

html[data-theme="light"] .filters{
  background:rgba(255,255,255,.86);
  border-color:rgba(109,93,252,.14);
  box-shadow:0 16px 34px rgba(17,24,39,.12);
}

.filters.is-sticky{
  box-shadow:0 18px 36px rgba(2,6,23,.28);
}

.mobile-search-shell{
  position:fixed;
  top:12px;
  left:50%;
  width:min(920px, calc(100% - 32px));
  transform:translate(-50%, -14px);
  z-index:25;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}
.mobile-search-shell.is-visible{
  opacity:1;
  transform:translate(-50%, 0);
  pointer-events:auto;
}
.mobile-search-bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px 56px;
  gap:10px;
  padding:10px;
  border-radius:20px;
  background:rgba(27,24,63,.34);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 16px 38px rgba(10,12,35,.24);
}
.mobile-search-bar input,
.mobile-search-bar select{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  height:46px;
  padding:10px 14px;
  border-radius:14px;
}
.mobile-search-bar input::placeholder{
  color:rgba(255,255,255,.76);
}
.mobile-search-bar select{
  color:#fff;
  appearance:none;
}
.mobile-search-bar option{
  color:#172033;
}
.mobile-search-bar button{
  height:46px;
  padding:0;
  border-radius:14px;
  font-size:22px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}

@media(min-width:761px){
  .mobile-search-shell{
    display:none !important;
  }
}

@media(max-width:1320px){
  .side-banner{
    display:none;
  }
}

.back-to-top{
  display:flex;
  align-items:center;
  justify-content:center;
  position:fixed;
  right:16px;
  bottom:20px;
  width:48px;
  height:48px;
  border-radius:16px;
  background:linear-gradient(135deg,#6d5dfc 0%,#4aa7ff 100%);
  color:#fff;
  box-shadow:0 14px 30px rgba(42,36,109,.32);
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  z-index:24;
}
.back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.float-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  position:fixed;
  right:16px;
  width:48px;
  height:48px;
  border-radius:16px;
  color:#fff;
  z-index:24;
  font-size:24px;
  box-shadow:0 14px 30px rgba(42,36,109,.32);
  transition:transform .2s ease;
}
.float-btn:hover{
  transform:translateY(-2px);
  color:#fff;
}
.float-add{
  bottom:80px;
  background:linear-gradient(135deg,#6d5dfc 0%,#4aa7ff 100%);
}
.float-fav{
  bottom:140px;
  background:#ff4d6d;
}

.app-toast{
  position:fixed;
  left:50%;
  top:32px;
  transform:translate(-50%, -16px);
  min-width:220px;
  max-width:min(92vw, 420px);
  padding:12px 16px;
  border-radius:14px;
  background:rgba(12,18,34,.92);
  color:#fff;
  text-align:center;
  box-shadow:0 18px 36px rgba(2,6,23,.32);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:60;
}
.app-toast.is-visible{
  opacity:1;
  transform:translate(-50%, 0);
}

html[data-theme="light"] .app-toast{
  background:rgba(23,32,51,.94);
}

.card-link{
  display:block;
  transition:transform .15s ease,box-shadow .15s ease;
}
.card-link:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

@keyframes floatGlow{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-14px,18px,0) scale(1.08)}
}

@media(max-width:1024px){
  .latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .prompt-card-slide{
    width:calc((100vw - 110px) / 3);
    min-width:220px;
  }
  .carousel-prev{
    left:-10px;
  }
  .carousel-next{
    right:-10px;
  }
  .mobile-search-shell{
    width:calc(100% - 24px);
    top:10px;
  }
  .mobile-search-bar{
    grid-template-columns:minmax(0,1fr) 136px 52px;
    gap:8px;
    padding:8px;
  }
}

@media(max-width:760px){
  .wrap{padding:18px}
  .top .wrap{
    padding-top:18px;
    padding-right:18px;
    padding-bottom:14px;
    padding-left:18px;
  }
  .nav{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }
  .logo{
    width:100%;
    justify-content:flex-start;
  }
  .logo-mark{
    width:40px;
    height:40px;
    border-radius:14px;
    font-size:22px;
  }
  .logo-kicker{font-size:9px}
  .logo-name{font-size:23px}
  .nav-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
  }
  .nav-links a{
    text-align:center;
    padding:11px 8px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
  }
  .theme-toggle{
    width:100%;
    justify-content:center;
    min-height:45px;
  }
  .hero{padding:24px 0 22px}
  .hero h1{
    font-size:20px;
    line-height:1.22;
    margin:0 0 12px;
    max-width:none;
  }
  .hero p{
    font-size:15px;
    line-height:1.55;
    margin:0 0 16px;
    max-width:none;
    color:rgba(255,255,255,.88);
  }
  .hero .button{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:11px 16px;
    background:linear-gradient(135deg,#7e72ff 0%,#5b8cff 100%);
    box-shadow:0 10px 24px rgba(31,25,92,.34);
  }
  .mobile-search-shell{
    width:calc(100% - 24px);
  }
  .mobile-search-bar{
    grid-template-columns:minmax(0,1fr) 104px 52px;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .prompt-card-slide{
    width:calc((100vw - 41px) / 2);
    min-width:166px;
  }
  .latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
  }
  .prompt-carousel-track{
    gap:5px;
  }
  .carousel-nav{
    width:40px;
    height:40px;
    font-size:26px;
  }
  .carousel-prev{
    left:-6px;
  }
  .carousel-next{
    right:-6px;
  }
  .filters{
    position:static;
    top:auto;
    z-index:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    backdrop-filter:none;
    box-shadow:none;
  }
  .dash{grid-template-columns:1fr}
  .filters{grid-template-columns:1fr}
  .captcha-row{grid-template-columns:1fr}
  .card-topline{
    align-items:center;
    gap:8px;
  }
  .title{
    font-size:12px;
    margin:8px 0;
  }
  .meta{
    font-size:11px;
  }
  .actions-social .action-stat{
    min-width:40px;
    padding:7px 5px;
    font-size:12px;
  }
  .favorite-btn{
    width:34px;
    height:34px;
    font-size:16px;
  }
  .actions-bottom{
    gap:6px;
    grid-template-columns:minmax(0,1fr) 74px;
  }
  .action-main,.action-report{
    padding:8px 6px;
    font-size:11px;
  }
  .actions-bottom .action-combo{
    font-size:11px;
    padding:8px 6px;
  }
  .action-stat{
    padding:9px 2px;
    font-size:12px;
  }
  .modal-actions{
    flex-direction:column;
  }
  .modal-content-split{
    grid-template-columns:1fr;
  }
  .modal-media-pane{
    max-height:38vh;
  }
  .prompt-text{
    max-height:none;
    overflow:visible;
  }
  .modal-icon-btn{
    width:44px;
    height:44px;
    font-size:22px;
  }
}
