:root {
  --pink: #ef83ad;
  --pink-dark: #aa416d;
  --metal: #dce4e7;
  --metal-dark: #7c8e96;
  --screen: #a8ced7;
  --ink: #26343a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(239,131,173,.14), transparent 26rem),
    radial-gradient(circle at 82% 78%, rgba(168,206,215,.12), transparent 28rem),
    #15101d;
}

.profile-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 12px 80px;
}

.flip-phone {
  position: relative;
  width: 330px;
  height: 650px;
  transform-style: preserve-3d;
  transition: width .38s ease, height .38s ease;
  -webkit-tap-highlight-color: transparent;
}

.flip-phone.is-closed {
  width: 220px;
  height: 500px;
}

.flip-lid {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 0;
  width: 294px;
  height: 332px;
  transform: translateX(-50%) perspective(900px) rotateX(0deg);
  transform-origin: 50% 100%;
  transition: top .38s ease, width .38s ease, height .38s ease, transform .48s cubic-bezier(.2,.78,.2,1);
}

.flip-phone.is-closed .flip-lid {
  top: 18px;
  width: 188px;
  height: 220px;
  transform: translateX(-50%) perspective(900px) rotateX(-68deg) translateY(68px);
}

.lid-shell {
  position: absolute;
  inset: 0;
  border: 7px solid #73848c;
  border-radius: 56px 56px 28px 28px / 46px 46px 22px 22px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.82), transparent 20px),
    linear-gradient(145deg, #eef3f4 0%, #aebbc0 38%, #edf2f3 72%, #7f8f96 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.72),
    inset 0 0 0 8px rgba(78,91,98,.14),
    0 18px 32px rgba(10,18,22,.36),
    0 0 0 1px #5e6c72;
}

.lid-speaker {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 15px;
  width: 86px;
  height: 18px;
  transform: translateX(-50%);
  border: 1px solid #68777e;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(64,74,80,.58) 8px 9px),
    linear-gradient(90deg, #aebdc2, #edf2f3 48%, #8e9ba1);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.78);
}

.phone-screen {
  position: absolute;
  z-index: 2;
  left: 29px;
  right: 29px;
  top: 47px;
  bottom: 20px;
  overflow-y: auto;
  border: 5px solid #4d5b62;
  border-radius: 24px 24px 18px 18px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.22), transparent 110px),
    linear-gradient(155deg, #bddfe7 0%, #86acb7 100%);
  box-shadow:
    inset 0 0 14px rgba(255,255,255,.48),
    inset 0 0 0 3px rgba(42,53,59,.18);
  color: var(--ink);
  text-align: center;
  scrollbar-width: thin;
}

.closed-screen-text {
  display: none;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #edf4f6;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.88) 0 3px, transparent 4px),
    linear-gradient(145deg, #ef8fb7, #687985);
  box-shadow: 0 7px 16px rgba(27,35,42,.32);
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.flip-phone.is-closed .phone-screen {
  left: 24px;
  right: 24px;
  top: 42px;
  bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,.48), transparent 42px),
    linear-gradient(145deg, #7c8991, #4f5a62);
  overflow: hidden;
}

.flip-phone.is-closed .phone-screen > :not(.closed-screen-text) {
  display: none !important;
}

.flip-phone.is-closed .closed-screen-text { display: grid; }

.brand-mark {
  width: 58px;
  height: 58px;
  margin: 12px auto 6px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: linear-gradient(145deg, #ef83ad, #8061bb);
  color: white;
  box-shadow: 0 8px 18px rgba(170,65,109,.22);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 800;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0;
  color: #7d4d67;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.phone-screen h1 {
  margin: 3px 0 0;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.profile-handle {
  margin: 4px 0 8px;
  color: #56666d;
  font-size: 10px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 5px;
  padding: 0 8px;
}

.profile-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 1px solid rgba(70,94,102,.20);
  border-radius: 10px;
  color: #26343a;
  background: rgba(255,255,255,.54);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease;
}

button.profile-link { border-width: 1px; }

.profile-link:hover,
.profile-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255,255,255,.78);
}

.link-icon {
  width: 30px;
  height: 30px;
  margin-left: 6px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(70,94,102,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.54);
  font-size: 10px;
}

.link-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.link-copy strong { font-size: 11px; }
.link-copy small { color: #66777e; font-size: 8px; }
.link-arrow { margin-left: auto; margin-right: 8px; }

.phone-widget {
  position: absolute;
  z-index: 20;
  inset: 8px;
  padding: 38px 8px 8px;
  border: 2px solid rgba(95,72,87,.20);
  border-radius: 16px;
  background: rgba(188,220,228,.97);
  backdrop-filter: blur(10px);
}

.phone-widget-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(80,94,101,.14);
  cursor: pointer;
}

.phone-widget h2 { margin: 0 0 10px; color: #26343a; font-family: Georgia, serif; }
.phone-widget-eyebrow { margin: 0; color: #7d4d67; font-size: 8px; }
.phone-widget-links { display: grid; gap: 6px; }
.phone-widget-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  color: #26343a;
  background: rgba(255,255,255,.58);
  text-decoration: none;
  font-weight: 800;
}

.adult-link {
  min-height: 46px;
  margin: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, #d75f98, #8061bb);
  text-decoration: none;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
}

.adult-link small {
  display: block;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.is-hidden { display: none !important; }

.flip-hinge {
  position: absolute;
  z-index: 40;
  left: 50%;
  top: 302px;
  width: 278px;
  height: 24px;
  transform: translateX(-50%);
  border: 2px solid #71808a;
  border-radius: 12px;
  background: linear-gradient(90deg, #89979e, #edf3f4 48%, #7d898f);
  box-shadow:
    inset 0 3px 5px rgba(255,255,255,.58),
    0 6px 10px rgba(27,35,42,.24);
  cursor: pointer;
  transition: top .38s ease;
}

.flip-hinge i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 7px 5px 0;
  border-radius: 50%;
  background: #eef3f4;
}

.flip-base {
  position: absolute;
  z-index: 8;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 242px;
  border: 3px solid #87949b;
  border-radius: 12px 12px 34px 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.44), transparent 30px),
    linear-gradient(145deg, #dfe7e9, #97a4aa);
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.40),
    0 12px 22px rgba(27,35,42,.20);
  transition: height .38s ease, opacity .22s ease;
}

.physical-controls {
  height: 106px;
  display: grid;
  grid-template-columns: 46px 116px 46px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}

.phone-call,
.phone-hangup {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.60);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: inset 0 0 8px rgba(255,255,255,.20), 0 5px 9px rgba(27,35,42,.20);
}

.phone-call { background: linear-gradient(145deg, #91d6ad, #4d9a74); }
.phone-hangup { background: linear-gradient(145deg, #ed9cae, #a84d68); }

.phone-dpad {
  width: 116px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 34px);
  grid-template-rows: repeat(3, 30px);
  justify-content: center;
  align-content: center;
  gap: 1px;
  border: 2px solid #929da3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #eef2f3 0 13px, transparent 14px),
    linear-gradient(145deg, #dce2e4, #9da7ac);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.46);
}

.phone-dpad button {
  display: grid;
  place-items: center;
  border: 1px solid #929da3;
  color: #5d6870;
  background: linear-gradient(145deg, #f1f4f5, #aab4b9);
  font-size: 9px;
  cursor: pointer;
}

.dpad-up { grid-column: 2; grid-row: 1; border-radius: 12px 12px 4px 4px; }
.dpad-left { grid-column: 1; grid-row: 2; border-radius: 12px 4px 4px 12px; }
.dpad-enter { grid-column: 2; grid-row: 2; border-radius: 50%; background: linear-gradient(145deg, #8061bb, #d84f93) !important; color: white !important; }
.dpad-right { grid-column: 3; grid-row: 2; border-radius: 4px 12px 12px 4px; }
.dpad-down { grid-column: 2; grid-row: 3; border-radius: 4px 4px 12px 12px; }

.y2k-keypad {
  height: 112px;
  margin: 0 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.y2k-keypad button {
  border: 1px solid #939fa5;
  border-radius: 10px;
  color: #536069;
  background: linear-gradient(145deg, #f1f5f6, #aab7bd);
  box-shadow:
    inset 0 0 5px rgba(255,255,255,.60),
    0 3px 7px rgba(27,35,42,.18);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.y2k-keypad small { display: block; font-size: 7px; }

.flip-phone.is-closed .flip-lid {
  top: 18px;
  width: 188px;
  height: 220px;
  transform: translateX(-50%) perspective(900px) rotateX(-68deg) translateY(68px);
}

.flip-phone.is-closed .flip-hinge { top: 242px; }

.flip-phone.is-closed .flip-base {
  bottom: 12px;
  height: 170px;
}

.flip-phone.is-closed .flip-base .physical-controls,
.flip-phone.is-closed .flip-base .y2k-keypad {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.phone-charm,
.phone-doll,
.phone-stickers,
.held-mirror {
  display: none;
}

@media (max-width: 520px) {
  .flip-phone { width: 330px; }
  .flip-phone.is-closed { width: 220px; }
}

.flip-phone:not(.is-closed) {
  width: 390px;
  height: 760px;
  min-height: 760px;
}

.flip-phone:not(.is-closed) .flip-lid {
  width: 348px;
  height: 390px;
  top: 14px;
  left: 50%;
  right: auto;
}

.flip-phone:not(.is-closed) .lid-shell {
  border-radius: 64px 64px 34px 34px / 50px 50px 28px 28px;
}

.flip-phone:not(.is-closed) .phone-screen {
  left: 30px;
  right: 30px;
  top: 52px;
  bottom: 24px;
  border-radius: 28px 28px 22px 22px;
}

.flip-phone:not(.is-closed) .brand-mark {
  width: 68px;
  height: 68px;
  margin-top: 16px;
  font-size: 30px;
}

.flip-phone:not(.is-closed) .phone-screen h1 {
  font-size: 30px;
}

.flip-phone:not(.is-closed) .link-list {
  gap: 7px;
  padding: 0 12px;
}

.flip-phone:not(.is-closed) .profile-link {
  min-height: 48px;
}

.flip-phone:not(.is-closed) .flip-hinge {
  top: 410px;
  width: 330px;
  height: 24px;
}

.flip-phone:not(.is-closed) .flip-base {
  left: 22px;
  right: 22px;
  bottom: 12px;
  height: 290px;
  border-radius: 16px 16px 38px 38px;
}

.flip-phone:not(.is-closed) .physical-controls {
  height: 118px;
  grid-template-columns: 52px 132px 52px;
  gap: 10px;
  padding-top: 14px;
}

.flip-phone:not(.is-closed) .phone-call,
.flip-phone:not(.is-closed) .phone-hangup {
  width: 52px;
  height: 52px;
  font-size: 18px;
}

.flip-phone:not(.is-closed) .phone-dpad {
  width: 132px;
  height: 108px;
  grid-template-columns: repeat(3, 38px);
  grid-template-rows: repeat(3, 34px);
}

.flip-phone:not(.is-closed) .y2k-keypad {
  height: 146px;
  margin: 2px 18px 0;
  gap: 5px;
}

.flip-phone:not(.is-closed) .y2k-keypad button {
  font-size: 13px;
}

.flip-phone:not(.is-closed) .brand-mark {
  width: 44px;
  height: 44px;
  margin: 6px auto 3px;
  font-size: 21px;
}

.flip-phone:not(.is-closed) .eyebrow {
  display: none;
}

.flip-phone:not(.is-closed) .phone-screen h1 {
  margin: 2px 0 0;
  font-size: 22px;
}

.flip-phone:not(.is-closed) .profile-handle {
  display: none;
}

.flip-phone:not(.is-closed) .link-list {
  gap: 3px;
  margin-top: 4px;
  padding: 0 7px;
}

.flip-phone:not(.is-closed) .profile-link {
  min-height: 34px;
}

.flip-phone:not(.is-closed) .link-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.flip-phone:not(.is-closed) .adult-link {
  min-height: 34px;
  margin: 5px 7px;
  font-size: 8px;
}

.flip-phone:not(.is-closed) .phone-app-dock {
  margin: 4px 7px 6px;
}

.flip-phone:not(.is-closed) .phone-app-dock {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  margin: 0;
  z-index: 30;
  height: 42px;
  grid-template-columns: 1fr 1fr;
}

.flip-phone:not(.is-closed) .phone-app-dock button {
  min-height: 38px;
}

.flip-phone:not(.is-closed) .adult-link {
  display: none;
}

.flip-phone:not(.is-closed) .phone-app-dock button {
  min-height: 38px;
  padding: 2px;
}

.flip-phone.is-closed {
  width: 250px;
  height: 350px;
  min-height: 350px;
}

.flip-phone.is-closed .flip-lid {
  top: 12px;
  width: 210px;
  height: 240px;
  transform: translateX(-50%) perspective(900px) rotateX(-68deg) translateY(60px);
}

.flip-phone.is-closed .lid-shell {
  border-radius: 48px 48px 28px 28px;
}

.flip-phone.is-closed .phone-screen {
  left: 22px;
  right: 22px;
  top: 44px;
  bottom: 20px;
}

.flip-phone:not(.is-closed) .lid-shell {
  border-width: 8px;
  border-radius: 68px 68px 32px 32px / 52px 52px 26px 26px;
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.76),
    inset 0 0 0 10px rgba(82,94,102,.14),
    0 22px 38px rgba(10,18,22,.38),
    0 0 0 2px #607079;
}

.flip-phone:not(.is-closed) .phone-screen {
  left: 34px;
  right: 34px;
  top: 58px;
  bottom: 20px;
  border-width: 4px;
  border-radius: 22px 22px 18px 18px;
  overflow-y: auto;
}

.flip-phone:not(.is-closed) .brand-mark {
  width: 50px;
  height: 50px;
  margin: 8px auto 4px;
  font-size: 23px;
}

.flip-phone:not(.is-closed) .phone-screen h1 {
  margin: 2px 0 0;
  font-size: 25px;
  line-height: .95;
}

.flip-phone:not(.is-closed) .profile-handle {
  margin: 3px 0 5px;
  font-size: 9px;
}

.flip-phone:not(.is-closed) .link-list {
  gap: 4px;
  padding: 0 8px;
}

.flip-phone:not(.is-closed) .profile-link {
  min-height: 36px;
  border-radius: 9px;
}

.flip-phone:not(.is-closed) .link-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  margin-left: 5px;
}

.flip-phone:not(.is-closed) .link-copy strong {
  font-size: 10px;
}

.flip-phone:not(.is-closed) .link-copy small {
  font-size: 7px;
}

.flip-phone:not(.is-closed) .adult-link {
  min-height: 38px;
  margin: 6px 8px;
  font-size: 9px;
}

.flip-phone:not(.is-closed) .phone-app-dock {
  margin: 5px 8px 8px;
  gap: 5px;
}

.flip-phone:not(.is-closed) .phone-app-dock button {
  min-height: 42px;
  grid-template-columns: 24px 1fr;
  grid-auto-flow: column;
  padding: 4px;
}

.flip-phone:not(.is-closed) .flip-hinge {
  top: 410px;
  width: 332px;
  height: 24px;
  box-shadow:
    inset 0 3px 5px rgba(255,255,255,.68),
    0 8px 12px rgba(27,35,42,.28);
}

.flip-phone:not(.is-closed) .flip-base {
  left: 24px;
  right: 24px;
  height: 290px;
  border-width: 4px;
  border-radius: 18px 18px 40px 40px;
}

.flip-phone:not(.is-closed) .phone-dpad {
  width: 138px;
  height: 112px;
  grid-template-columns: repeat(3, 40px);
  grid-template-rows: repeat(3, 35px);
}

.flip-phone:not(.is-closed) .phone-dpad button {
  font-size: 10px;
}

.flip-phone:not(.is-closed) .y2k-keypad {
  height: 146px;
  gap: 5px;
  margin: 2px 20px 0;
}

@media (max-width: 520px) {
  .flip-phone:not(.is-closed) {
    width: 390px;
  }

  .profile-shell {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.held-mirror {
  display: none !important;
}

.phone-app-dock {
  margin: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-app-dock button {
  min-height: 54px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(95,72,87,.20);
  border-radius: 14px;
  color: #26343a;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.72), transparent 12px),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(216,157,188,.42));
  font: inherit;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(72,30,58,.10);
}

.phone-app-dock button span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #ef83ad, #8061bb);
  font-family: Georgia, serif;
  font-size: 12px;
}

.phone-app-dock button small {
  font-size: 9px;
  font-weight: 900;
}

.phone-app-window {
  position: absolute;
  z-index: 25;
  left: 7px;
  right: 7px;
  top: 7px;
  bottom: 7px;
  overflow: hidden;
  border: 2px solid rgba(255,241,189,.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,241,189,.14), transparent 120px),
    linear-gradient(145deg, rgba(70,48,80,.98), rgba(42,31,61,.98));
  color: white;
  box-shadow: 0 16px 36px rgba(5,2,9,.42);
  animation: phone-app-enter .22s ease both;
}

@keyframes phone-app-enter {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.phone-app-window header {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: Georgia, serif;
  font-weight: 800;
}

.phone-app-window header button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.gallery-frame {
  position: relative;
  height: 150px;
  margin: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,196,122,.30);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-frame button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: white;
  background: rgba(47,31,60,.72);
  cursor: pointer;
}

.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }

#gallery-count {
  margin: 4px 0 0;
  color: #dfb4cb;
  font-size: 9px;
  text-align: center;
}

/* Restored page widgets */
.held-mirror {
  display: block;
}

.held-mirror {
  position: fixed;
  z-index: 20;
  left: 22px;
  bottom: 118px;
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 18px 24px rgba(5,2,9,.48));
  pointer-events: none;
}

.mirror-glass {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: path("M90 174 C74 155 8 116 8 66 C8 28 34 8 58 22 C74 31 90 48 90 48 C90 48 106 31 122 22 C146 8 172 28 172 66 C172 116 106 155 90 174 Z");
  border: 0;
  background: linear-gradient(135deg, #d2a25e, #fff1bd, #b84d7d);
}

.mirror-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.mirror-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.28) 42%, transparent 54%);
  animation: mirror-shine 6s ease-in-out infinite;
}

@keyframes mirror-shine {
  0%, 40% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(120%); }
}

.twitch-header {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 7px;
}
.twitch-header div { display: grid; }
.twitch-header small { color: #efc69e; font-size: 7px; text-transform: uppercase; }
.twitch-header strong { font-family: Georgia, serif; font-size: 11px; }
.twitch-header a {
  width: 28px;
  height: 28px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,196,122,.28);
  border-radius: 50%;
  color: white;
  text-decoration: none;
}
.twitch-embed {
  width: 100%;
  aspect-ratio: 16/9;
  display: none;
  border: 0;
  border-radius: 10px;
  background: #120918;
}

@media (max-width: 900px) {
  .held-mirror { display: none; }
}

/* Final measured layout: closed is lid-only; open is a connected flip. */
.flip-phone.is-closed {
  height: 290px;
  min-height: 290px;
}

.flip-phone.is-closed .flip-lid {
  top: 18px;
  width: 188px;
  height: 220px;
  transform: translateX(-50%) perspective(900px) rotateX(-68deg) translateY(68px);
}

.flip-phone.is-closed .lid-shell {
  border-radius: 42px 42px 24px 24px;
}

.flip-phone.is-closed .phone-screen {
  left: 20px;
  right: 20px;
  top: 42px;
  bottom: 18px;
}

.flip-phone.is-closed .flip-base,
.flip-phone.is-closed .flip-base * {
  display: none !important;
}

.flip-phone.is-closed .flip-hinge {
  top: 218px;
  width: 174px;
  opacity: 0;
  pointer-events: none;
}

.flip-phone:not(.is-closed) {
  height: 650px;
  min-height: 650px;
}

.flip-phone:not(.is-closed) .flip-lid {
  top: 0;
  width: 294px;
  height: 332px;
  transform: translateX(-50%) rotateX(0);
}

.flip-phone:not(.is-closed) .flip-hinge {
  top: 328px;
  width: 278px;
  height: 22px;
  opacity: 1;
}

.flip-phone:not(.is-closed) .flip-base {
  bottom: 8px;
  height: 242px;
  display: block;
  opacity: 1;
}

.flip-phone:not(.is-closed) .flip-base .physical-controls,
.flip-phone:not(.is-closed) .flip-base .y2k-keypad {
  display: grid;
  opacity: 1;
  height: auto;
  pointer-events: auto;
  overflow: visible;
}

@media (pointer: fine) {
  body,
  body a,
  body button,
  body [role="button"] {
    cursor: none !important;
  }
}

.cursor-hand {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100px;
  height: 124px;
  pointer-events: none;
  transform: translate3d(-200px, -200px, 0) translate(-58%, -5%);
  will-change: transform;
}

.cursor-hand::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 48%;
  left: 50%;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  opacity: .58;
  transform: translate(-50%, -50%) scale(.86);
  background: radial-gradient(circle, rgba(255,235,248,.58) 0%, rgba(226,151,221,.38) 27%, rgba(175,144,255,.22) 53%, transparent 73%);
  filter: blur(2px);
  transition: opacity .25s ease, transform .3s ease;
}

.cursor-hand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: rotate(-3deg) scale(.96);
  filter: drop-shadow(0 3px 4px rgba(20,5,20,.72)) drop-shadow(0 0 10px rgba(255,186,225,.7));
  transform-origin: 58% 5%;
  transition: transform .22s ease, filter .25s ease;
}

.cursor-hand.is-interactive::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.16);
}

.cursor-hand.is-interactive img {
  transform: rotate(0) scale(1.08);
  filter: drop-shadow(0 4px 5px rgba(20,5,20,.78)) drop-shadow(0 0 18px rgba(255,186,225,1));
}

@media (pointer: coarse) {
  .cursor-hand { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-hand::before,
  .cursor-hand img {
    transition: none;
  }
}
