:root {
  --green: #00875a;
  --green-dark: #006c48;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --soft-line: #eef0f2;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #fff; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
body.dating-template {
  min-height: 100vh;
  background: #16111d;
}
body.dating-template .dating-shell {
  min-height: 100vh;
}
body.drama-template {
  background: #0b0b11;
}
.drama-shell {
  min-height: 100vh;
  color: #f9f5ff;
  background: #0b0b11;
}
.drama-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
  padding: 0 clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 12, .94);
  backdrop-filter: blur(12px);
}
.drama-nav strong {
  color: #fff;
  font-size: 25px;
  font-style: italic;
}
.drama-nav strong::first-letter { color: #ff3e9d; }
.drama-search {
  width: min(260px, 42vw);
  height: 36px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.drama-signin {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(90deg, #ff408e, #a12cff);
  font-weight: 700;
}
.drama-hero {
  min-height: 470px;
  padding: 76px clamp(18px, 8vw, 120px) 54px;
  background:
    linear-gradient(90deg, rgba(10, 8, 15, .92), rgba(10, 8, 15, .58), rgba(10, 8, 15, .9)),
    url("/uploads/screenshot-1.svg") center / cover;
}
.drama-hero > div { max-width: 650px; }
.drama-badge {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid rgba(255, 184, 50, .45);
  border-radius: 18px;
  color: #ffc34e;
  font-size: 12px;
  letter-spacing: .4px;
}
.drama-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}
.drama-hero h1 em {
  color: #ff419b;
  font-style: normal;
}
.drama-hero p {
  max-width: 580px;
  color: #b9b3c5;
  font-size: 17px;
  line-height: 1.6;
}
.drama-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.drama-primary,
.drama-secondary {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 24px;
  font-weight: 700;
}
.drama-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #ff398e, #a42cff);
}
.drama-secondary {
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.drama-stats {
  display: flex;
  gap: 42px;
  margin-top: 46px;
}
.drama-stats div { display: grid; gap: 4px; }
.drama-stats strong { font-size: 22px; }
.drama-stats span { color: #aaa3b4; font-size: 13px; }
.drama-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 100px;
}
.drama-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 18px;
}
.drama-section-heading h2 { margin: 0; font-size: 22px; }
.drama-section-heading a { color: #ff61ac; font-size: 13px; text-decoration: none; }
.drama-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.drama-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.drama-card img {
  width: 100%;
  aspect-ratio: .72;
  object-fit: cover;
  border-radius: 10px;
  background: #24202d;
}
.drama-card strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drama-card span { color: #97909f; font-size: 12px; }
.drama-download {
  margin-top: 64px;
  padding: 48px 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, #27102f, #151426);
}
.drama-download h2 { margin: 0 0 12px; font-size: 30px; }
.drama-download p { color: #b9b3c5; }
button, input { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 32px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, .98);
}
.store-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  color: #5f6368;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.play-mark {
  flex: 0 0 43px;
  display: block;
  width: 43px;
  height: 54px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background:
    linear-gradient(33deg, transparent 0 43%, #fbbc04 44% 61%, transparent 62%),
    linear-gradient(146deg, #34a853 0 37%, transparent 38%),
    linear-gradient(210deg, #ea4335 0 40%, transparent 41%),
    #4285f4;
}
.store-nav {
  display: flex;
  align-self: stretch;
  gap: 34px;
  margin-left: 56px;
}
.store-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #5f6368;
  font-size: 14px;
  text-decoration: none;
}
.store-nav a.active { color: var(--green); font-weight: 600; }
.store-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.icon-button, .account-button { border: 0; background: transparent; }
.icon-button {
  position: relative;
  width: 28px;
  height: 34px;
  color: #5f6368;
}
.search-button::before {
  position: absolute;
  top: 6px;
  left: 3px;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
}
.search-button::after {
  position: absolute;
  top: 20px;
  left: 17px;
  width: 9px;
  height: 2px;
  content: "";
  transform: rotate(45deg);
  background: currentColor;
}
.help-button {
  border: 2px solid #5f6368;
  border-radius: 50%;
  font-weight: 700;
}
.account-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: #c4c7c5;
  font-size: 15px;
  font-weight: 700;
}

.page {
  width: min(1160px, calc(100% - 72px));
  margin: 0 auto;
  padding: 38px 0 128px;
}
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 48px;
  min-height: 330px;
  align-items: start;
}
.app-heading h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.12;
}
.publisher {
  color: var(--green);
  font-size: 15px;
  text-decoration: none;
}
.purchase-note {
  margin: 5px 0 28px;
  color: var(--muted);
  font-size: 13px;
}
.app-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 238px;
  height: 238px;
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: 34px;
  color: #fff;
  background: #963539;
  box-shadow: 0 10px 23px rgba(60, 64, 67, .14);
}
.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-icon span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: #963539;
  background: #fff;
  clip-path: polygon(12% 16%, 80% 15%, 97% 39%, 88% 76%, 63% 88%, 44% 100%, 49% 83%, 19% 77%, 6% 48%);
  font-size: 0;
}
.app-icon span::after {
  content: "S";
  font-size: 62px;
  font-weight: 800;
}
.customer-service {
  padding: 4px 0 0;
}
.customer-service a {
  color: var(--green);
  font-size: 14px;
  text-decoration: none;
}
.pulse { display: none; }
.trust-row {
  display: flex;
  width: fit-content;
  margin-bottom: 34px;
}
.trust-row div {
  min-width: 106px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.trust-row div:first-child { padding-left: 0; }
.trust-row div:last-child { border-right: 0; }
.trust-row strong { display: block; margin-bottom: 7px; font-size: 14px; }
.trust-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.hero-actions { display: flex; align-items: center; gap: 28px; }
.install-button {
  min-width: 198px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.install-button:hover { background: var(--green-dark); }
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 14px;
}
.share-glyph, .save-glyph {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
}
.share-glyph::before, .share-glyph::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--green);
}
.share-glyph::before {
  top: 1px;
  left: 1px;
  width: 6px;
  height: 6px;
  box-shadow: 10px 6px 0 var(--green), 1px 12px 0 var(--green);
}
.share-glyph::after {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 2px;
  transform: rotate(-28deg);
  box-shadow: -2px 5px 0 var(--green);
  border-radius: 0;
}
.save-glyph {
  border: 2px solid var(--green);
  border-radius: 2px;
}
.save-glyph::after {
  position: absolute;
  right: 3px;
  bottom: 2px;
  left: 3px;
  height: 5px;
  content: "";
  border: 1px solid var(--green);
  border-top: 0;
}

.store-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  gap: 70px;
}
.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 166px;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 22px;
  scrollbar-width: thin;
}
.phone-shot {
  position: relative;
  height: 304px;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  background: #f2a39a;
}
.screenshot-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-shot .shot-copy,
.phone-shot .shot-person {
  display: none;
}
.shot-copy {
  position: relative;
  z-index: 2;
  padding: 14px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.shot-person {
  position: absolute;
  right: -18px;
  bottom: -5px;
  left: 26px;
  height: 230px;
  border-radius: 52% 42% 0 0;
  background: radial-gradient(circle at 52% 28%, #f1c1a6 0 17%, transparent 18%), radial-gradient(ellipse at 51% 75%, #f6d0bb 0 31%, transparent 32%), linear-gradient(115deg, transparent 0 20%, #4e2a2a 21% 47%, transparent 48%), linear-gradient(160deg, #fbd8cf, #cb5b60);
}
.shot-person::after {
  position: absolute;
  top: 28px;
  right: 5px;
  width: 43px;
  height: 98px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .56);
}
.shot-two .shot-person { background: radial-gradient(circle at 50% 26%, #f4c5a8 0 18%, transparent 19%), linear-gradient(120deg, #fbd8cf, #ae4e69); }
.shot-three .shot-person { background: radial-gradient(circle at 48% 25%, #f2c3a7 0 18%, transparent 19%), linear-gradient(120deg, #fbd8cf, #6d3b62); }
.shot-four .shot-person { background: radial-gradient(circle at 51% 25%, #f2c3a7 0 18%, transparent 19%), linear-gradient(120deg, #fbd8cf, #d56956); }
.shot-one, .shot-two, .shot-three, .shot-four { background: #f19c91; }

.details {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.details h2, .side-section h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 400;
}
.more-button {
  min-width: 28px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 28px;
  line-height: 1;
}
.details p {
  max-width: 700px;
  margin: 0 0 18px;
  color: #3c4043;
  font-size: 14px;
  line-height: 1.62;
}
.updated-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}
.updated-row strong { color: var(--ink); font-size: 14px; font-weight: 400; }
.safety-heading { padding-top: 25px; border-top: 1px solid var(--line); }
.muted-copy { color: var(--muted) !important; }
.safety-list { display: grid; gap: 16px; margin-top: 22px; }
.safety-list div { display: flex; align-items: center; gap: 14px; color: #3c4043; font-size: 14px; }
.safety-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 13px;
}
.side-column { padding-top: 5px; }
.side-section { padding: 20px 0 28px; border-bottom: 1px solid var(--line); }
.similar { border-bottom: 0; }
.similar-app {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 23px;
  font-size: 14px;
  line-height: 1.3;
}
.similar-app small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.similar-icon {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.similar-icon.pink { background: #ed2e74; }
.similar-icon.orange { background: #fa804b; }
.similar-icon.blue { background: #4f80e8; }

.sticky-install {
  position: fixed;
  right: 24px;
  bottom: 18px;
  left: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(650px, calc(100% - 48px));
  margin: auto;
  padding: 11px 13px 11px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 20px rgba(60, 64, 67, .18);
  backdrop-filter: blur(12px);
}
.sticky-install strong, .sticky-install span { display: block; }
.sticky-install strong { font-size: 14px; }
.sticky-install span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.install-button.compact { min-width: 120px; height: 38px; }

.admin-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f8fafd;
}
.admin-login {
  width: min(420px, 100%);
}
.admin-login-form {
  display: grid;
  gap: 14px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(60, 64, 67, .14);
}
.admin-login-form h1 {
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 500;
}
.admin-login-form label { font-weight: 700; }
.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
.admin-panel {
  width: min(980px, 100%);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(60, 64, 67, .14);
}
.admin-panel h1 { margin: 24px 0 12px; font-size: 34px; font-weight: 400; }
.admin-panel p { color: var(--muted); line-height: 1.6; }
.link-form { display: grid; gap: 12px; margin-top: 24px; }
.link-form label { font-weight: 700; }
.link-form input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; }
.link-form .install-button { margin-top: 8px; }
.site-manager {
  display: grid;
  gap: 10px;
  margin: 24px 0 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.admin-token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.admin-token-row input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.project-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.project-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.project-row.active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0, 135, 90, .08);
}
.project-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--green);
  background: #e9f5ef;
  font-weight: 700;
}
.project-main {
  min-width: 0;
}
.project-main strong,
.project-main span {
  display: block;
}
.project-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-main span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.project-actions button,
.project-actions a {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  background: #fff;
  font-size: 13px;
  line-height: 34px;
  text-decoration: none;
}
.editor-shell {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafd;
}
.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.editor-head span {
  color: var(--muted);
  font-size: 13px;
}
.editor-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 500;
}
.editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.editor-tabs button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}
.editor-tabs button.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}
.domain-target-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.site-manager select,
.site-create-row input,
.site-create-row button,
.secondary-button,
.danger-button,
.link-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.site-manager select,
.site-create-row input,
.link-form select {
  padding: 0 12px;
  background: #fff;
}
.site-create-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
}
.secondary-button {
  padding: 0 16px;
  color: var(--green);
  background: #fff;
}
.danger-button {
  width: fit-content;
  padding: 0 12px;
  color: #b3261e;
  background: #fff;
}
.link-form h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 400;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-weight: 400 !important;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
}
.assets-form {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.assets-form h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
}
.assets-form p {
  margin: 0 0 6px;
  font-size: 14px;
}
.assets-form label {
  margin-top: 8px;
  font-weight: 700;
}
.assets-form input[type="url"] {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.assets-form textarea,
.assets-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.assets-form textarea {
  resize: vertical;
  min-height: 116px;
}
.assets-form .install-button { margin-top: 12px; }
.asset-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.asset-upload-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.asset-upload-card.icon-card { grid-column: span 4; }
.asset-upload-card h3 { margin: 0; font-size: 15px; }
.asset-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px dashed #9aa0a6;
  border-radius: 8px;
  background: #f8fafd;
  cursor: pointer;
}
.asset-preview.portrait { width: 100%; aspect-ratio: 9 / 16; }
.asset-preview img { width: 100%; height: 100%; object-fit: cover; }
.asset-preview span {
  position: absolute;
  inset: auto 8px 8px;
  padding: 7px 8px;
  color: #fff;
  background: rgba(32, 33, 36, .82);
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}
.asset-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.asset-upload-card input[type="url"] {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.domain-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}
.domain-row button {
  border: 0;
  color: #b3261e;
  background: transparent;
  font-size: 13px;
}
.domain-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.status { min-height: 26px; margin-top: 18px; }
.back-link { color: var(--green); font-weight: 700; text-decoration: none; }

.dating-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(22, 13, 29, .2), rgba(40, 15, 52, .88)),
    var(--dating-bg, url("/uploads/screenshot-1.svg")) center / cover;
}
@media (max-height: 720px) {
  .dating-shell {
    place-items: start center;
    padding-top: 82px;
    padding-bottom: 36px;
  }
}
.dating-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(75, 24, 87, .34);
  backdrop-filter: blur(2px);
}
.dating-language {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
  font-size: 14px;
}
.dating-panel,
.dating-download {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 28px 30px 32px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 24px;
  background: rgba(72, 32, 77, .52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
  text-align: center;
}
.dating-logo {
  width: 86px;
  height: 86px;
  margin: -64px auto 20px;
  border: 5px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.dating-panel h1,
.dating-download h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}
.dating-panel p,
.dating-download p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.55;
}
.dating-form {
  display: grid;
  gap: 12px;
}
.dating-form input,
.dating-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 28px;
  color: #302534;
  background: rgba(255, 255, 255, .96);
  outline: none;
  font: inherit;
}
.dating-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #786b7d 50%), linear-gradient(135deg, #786b7d 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.dating-form input:focus,
.dating-form select:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
.dating-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}
.dating-captcha-code {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 14px;
  color: #fff;
  background: rgba(30, 13, 38, .72);
  font: 700 20px/1 monospace;
  letter-spacing: 3px;
  cursor: pointer;
  user-select: none;
}
.dating-form .dating-form-error {
  margin: -2px 8px 0;
  color: #ffd8e8;
  font-size: 13px;
  text-align: left;
}
.dating-primary {
  min-height: 48px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(90deg, #7a2cff, #d41c9b);
  font-weight: 700;
  cursor: pointer;
}
.dating-link-button {
  justify-self: center;
  padding: 4px 12px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}
.dating-download {
  max-width: 450px;
}
.dating-download .dating-primary {
  width: 100%;
}
.dating-support {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
}

@media (max-width: 820px) {
  .asset-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-upload-card.icon-card { grid-column: span 2; }
  .topbar { height: 64px; padding: 0 18px; }
  .store-brand { gap: 10px; font-size: 22px; }
  .play-mark { flex-basis: 34px; width: 34px; height: 42px; }
  .store-nav { gap: 18px; margin-left: 24px; }
  .store-nav a:nth-child(n + 3) { display: none; }
  .top-actions { gap: 8px; }
  .help-button, .account-button { display: none; }
  .page { width: min(100% - 32px, 680px); padding-top: 28px; }
  .app-hero { display: flex; min-height: 0; flex-direction: column-reverse; gap: 28px; }
  .app-icon { width: 120px; height: 120px; margin: 0; border-radius: 19px; }
  .app-icon span { width: 78px; height: 78px; }
  .app-icon span::after { font-size: 34px; }
  .app-heading h1 { font-size: 36px; }
  .trust-row { width: 100%; margin-bottom: 28px; }
  .trust-row div { flex: 1; min-width: 0; padding: 0 8px; }
  .hero-actions { flex-wrap: wrap; gap: 20px; }
  .install-button { width: 100%; }
  .store-columns { display: block; }
  .screenshots { margin-top: 36px; grid-auto-columns: minmax(170px, 46vw); }
  .side-column { display: none; }
  .sticky-install { right: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); }
}

@media (max-width: 480px) {
  .store-nav { margin-left: 16px; }
  .store-nav a { font-size: 13px; }
  .page { width: calc(100% - 32px); }
  .app-heading h1 { font-size: 31px; }
  .purchase-note { margin-bottom: 24px; }
  .text-action { font-size: 13px; }
  .phone-shot { height: 300px; }
  .drama-nav { gap: 10px; }
  .drama-nav strong { font-size: 20px; }
  .drama-search { width: 42vw; }
  .drama-signin { padding: 0 13px; }
  .drama-hero { min-height: 590px; padding: 64px 18px 42px; }
  .drama-hero h1 { font-size: 42px; }
  .drama-stats { gap: 20px; }
  .drama-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drama-content { width: calc(100% - 28px); }
}

@media (max-width: 540px) {
  .site-create-row {
    grid-template-columns: 1fr;
  }
  .project-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .project-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .editor-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .dating-shell {
    padding: 20px 14px;
  }
  .dating-language {
    top: 20px;
    right: 18px;
  }
  .dating-panel,
  .dating-download {
    padding: 26px 20px 24px;
  }
  .dating-panel h1,
  .dating-download h1 {
    font-size: 24px;
  }
  .dating-captcha-row { grid-template-columns: minmax(0, 1fr) 106px; }
  .dating-captcha-code { font-size: 18px; letter-spacing: 2px; }
}
