:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #191919;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  --pink: #f7107a;
  --coral: #f16f78;
  --blue: #00b9ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 42%, #38332f 0%, #201e1d 45%, #161616 85%);
}
.portrait {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}
.portrait__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.links {
  position: absolute;
  top: 33.73%;
  transform: translateY(-50%);
  right: 5.3%;
  width: max(122px, 28%);
  min-width: max-content;
  display: grid;
  gap: clamp(20px, 4.2cqw, 29px);
}
.profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2cqw, 9px);
  width: 100%;
  min-height: max(44px, 8.2cqw);
  padding: 6px;
  border: 1.4px solid var(--coral);
  border-radius: 999px;
  background: linear-gradient(125deg, rgb(37 35 35 / 94%), rgb(23 23 23 / 91%));
  color: #fff;
  box-shadow: 0 0 0 1px rgb(241 111 120 / 12%), 0 0 15px rgb(239 79 97 / 24%), inset 0 0 10px rgb(255 255 255 / 3%);
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.profile-button__label {
  font-size: clamp(.875rem, 2.85cqw, 1.25rem);
  font-style: italic;
  line-height: 1.25;
  white-space: nowrap;
}
.emoji { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-style: normal; }
.profile-button__label--ornate { font-family: 'Cambria Math', 'Segoe UI Symbol', serif; font-size: clamp(.75rem, 2.35cqw, 1rem); font-style: normal; }
.brand-icon {
  display: block;
  flex: 0 0 auto;
  width: clamp(24px, 6cqw, 43px);
  height: clamp(24px, 6cqw, 43px);
  background: var(--blue);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  filter: drop-shadow(0 0 3px rgb(0 185 239 / 15%));
}
.brand-icon--onlyfans { --icon: url("assets/onlyfans.svg"); }
.brand-icon--fansly { --icon: url("assets/fansly.svg"); }
@media (hover: hover) {
  .profile-button:hover { transform: translateY(-2px); background: #302529; box-shadow: 0 0 22px rgb(239 79 97 / 40%); }
  .confirm-button:hover { background: #ff2b8c; }
  .back-button:hover { color: #fff; }
}
.profile-button:active { transform: scale(.97); }
.age-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #363438;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #1e1d20, #181719);
  box-shadow: 0 24px 100px rgb(0 0 0 / 55%);
  overflow-y: auto;
}
.age-dialog::backdrop { background: rgb(8 7 9 / 78%); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.age-dialog[open] { animation: dialog-in .2s ease-out; }
.age-dialog__content { padding: 31px 27px 23px; text-align: center; }
.warning-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  border: 1px solid rgb(247 16 122 / 16%);
  border-radius: 15px;
  background: #2f1724;
  color: var(--pink);
  box-shadow: 0 0 35px rgb(247 16 122 / 24%);
}
.warning-symbol svg { width: 26px; height: 26px; }
.age-dialog h1 { margin: 0 0 32px; font-size: clamp(1.35rem, 5.7vw, 1.625rem); line-height: 1.25; letter-spacing: -.7px; }
.age-description {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 15px;
  margin-bottom: 34px;
  border: 1px solid #38363a;
  border-radius: 13px;
  background: linear-gradient(115deg, #222124, #2a292c);
}
.age-description svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--pink); }
.age-description p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: #e3e0e3; }
.confirm-button {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--pink);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease;
}
.back-button { display: block; margin: 10px auto 0; min-height: 44px; padding: 10px 20px; border: 0; background: transparent; color: #aaa5ad; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.dialog-open { overflow: hidden; }
.noscript { position: absolute; bottom: 20px; left: 16px; right: 16px; padding: 15px; background: #181719; border-radius: 10px; font-size: 1rem; text-align: center; }
@media (min-width: 700px), (orientation: landscape) {
  .stage { padding: 20px; }
  .portrait { width: clamp(380px, calc((100svh - 40px) * .5622), 680px); height: auto; aspect-ratio: 940 / 1672; max-width: 100%; border-radius: 18px; box-shadow: 0 24px 100px rgb(0 0 0 / 45%); }
}
@media (max-width: 360px) {
  .links { right: 3.5%; }
  .age-dialog__content { padding: 25px 19px 16px; }
  .age-description { gap: 9px; padding: 14px 10px; }
  .age-description p { font-size: 1rem; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .age-dialog__content { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px; }
  .warning-symbol { display: none; }
  .age-dialog h1, .age-description { grid-column: 1 / -1; margin: 0; }
  .age-description { padding: 12px; }
  .age-description p { font-size: 1rem; line-height: 1.45; }
  .back-button { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
