/* F · Gece ve Altın, yeniden: D as the owner liked it (the starry night, the gold orb, the membership cards, the
   serif), held to the Web Interface Guidelines and rid of what made it look machine-made: no glow on what one
   touches, no gradient buttons, no lit or conic borders, no glowing icons, gold only where it means something.
   Every control is a real control with a name, a press and a focus ring; nothing under 13px; numbers in tabular
   figures; headings balanced. */
:root {
  color-scheme: dark;
  --ink: #f5f0e7; --ink-2: #c2bdb3; --ink-3: #979389;
  --gold: #d8b46c; --gold-hi: #f3dfb0; --gold-ink: #1a1308; --gold-light: #8a6424;
  --night: #04070f;
  --card: rgba(255, 255, 255, 0.045);
  --card-hi: rgba(255, 255, 255, 0.075);
  --hair: rgba(245, 240, 231, 0.12);
  --ring: 0 0 0 2px var(--night), 0 0 0 4px var(--gold-hi);
  --serif: "Didot", "Bodoni 72", "Bodoni Moda", Georgia, serif;
  --gut: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
body { background: var(--night); }
.sb, .nav { color: var(--ink); }
button, a, input { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The one glow of the page: the orb's own light behind it, and nothing else that shines. */
.f-stage { background: radial-gradient(46% 27% at 50% 30%, rgba(222, 170, 80, 0.16), rgba(222, 170, 80, 0) 70%), radial-gradient(80% 46% at 50% 31%, rgba(40, 86, 170, 0.18), rgba(40, 86, 170, 0) 72%), linear-gradient(180deg, #060b16 0%, #04070f 58%, #030509 100%); }
.f-stage.main { background: radial-gradient(48% 27% at 50% 44%, rgba(222, 170, 80, 0.16), rgba(222, 170, 80, 0) 70%), radial-gradient(80% 46% at 50% 44%, rgba(40, 86, 170, 0.16), rgba(40, 86, 170, 0) 72%), linear-gradient(180deg, #060b16, #04070f 58%, #030509); }
.f-stage.dim { background: radial-gradient(70% 32% at 50% 30%, rgba(222, 170, 80, 0.09), rgba(222, 170, 80, 0) 72%), linear-gradient(180deg, #060b16, #04070e 70%); }
.a-stars { opacity: 0.6; }

/* One button pair. The gold is flat with a hair of light along its top; a touch sinks it a pixel and darkens it. */
.f-primary, .f-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; width: 100%; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.005em; transition: transform 90ms ease-out, filter 120ms ease-out, background-color 120ms ease-out; }
.f-primary { color: var(--gold-ink); background: var(--gold); box-shadow: inset 0 1px 0 rgba(255, 248, 228, 0.55); }
.f-primary.small { width: auto; height: 44px; padding: 0 20px; font-size: 16px; }
.f-secondary { color: var(--ink); border: 1px solid rgba(245, 240, 231, 0.3); }
.f-round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--card); border: 1px solid var(--hair);
  transition: transform 90ms ease-out, background-color 120ms ease-out; }
.f-round svg { width: 20px; height: 20px; }
:is(.f-primary, .f-secondary, .f-round, .f-mic button):active { transform: translateY(1px) scale(0.985); filter: brightness(0.94); }
.f-secondary:active, .f-round:active { background-color: var(--card-hi); }
@media (hover: hover) and (pointer: fine) {
  .f-primary:hover { filter: brightness(1.05); }
  :is(.f-secondary, .f-round):hover { background-color: var(--card-hi); }
}
:is(button, a, input):focus-visible { outline: none; box-shadow: var(--ring); }
.f-card { border-radius: 20px; background: var(--card); border: 1px solid var(--hair); }
.f-label { font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* The first screen. */
.f-welcome { position: absolute; left: var(--gut); right: var(--gut); top: 440px; bottom: calc(30px + var(--safe-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.f-welcome h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 50px; line-height: 0.98; text-wrap: balance; }
.f-welcome h1 em { font-style: italic; color: var(--gold-hi); }
.f-welcome .f-lead { margin: 16px 0 0; max-width: 340px; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.f-gifts { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.f-gifts li { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--card); border: 1px solid var(--hair); }
.f-gifts svg { width: 17px; height: 17px; color: var(--gold); }
.f-actions { margin-top: auto; width: 100%; display: grid; gap: 12px; }
.f-legal { margin: 16px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); text-wrap: balance; }
.f-legal a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(245, 240, 231, 0.35); text-underline-offset: 3px; }

/* The way in: the morning's sheet, warmed by gold. */
.f-sheet {
  position: absolute; left: 0; right: 0; top: 268px; bottom: 0; padding: 26px var(--gut) calc(36px + var(--safe-bottom)); border-radius: 28px 28px 0 0; color: #17140f; display: flex; flex-direction: column;
  overscroll-behavior: contain; color-scheme: light;
  background: radial-gradient(110% 62% at 0% 0%, rgba(255, 210, 140, 0.4), rgba(255, 210, 140, 0) 62%), radial-gradient(90% 56% at 100% 0%, rgba(150, 196, 255, 0.3), rgba(150, 196, 255, 0) 60%) 0 0 / 100% 420px no-repeat, #f6f3ee;
}
.f-sheet::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(23, 20, 15, 0.16); }
.f-sheet h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; text-wrap: balance; }
.f-sheet .f-lead { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #5c5547; }
.f-fields { display: grid; gap: 14px; margin-top: 20px; }
.f-field { display: grid; gap: 7px; }
.f-field > span:first-child, .f-field > label { font-size: 14px; font-weight: 600; color: #3f3a2f; }
.f-input { position: relative; display: flex; align-items: center; height: 52px; border-radius: 14px; background: #fff; border: 1px solid rgba(23, 20, 15, 0.16); }
.f-input > svg { position: absolute; left: 14px; width: 20px; height: 20px; color: #8b8474; pointer-events: none; }
.f-input input { flex: 1; min-width: 0; height: 100%; padding: 0 48px 0 46px; border: 0; border-radius: 14px; background: transparent; font: inherit; font-size: 16px; font-weight: 500; color: #17140f; caret-color: var(--gold-light); }
.f-input input[type="password"] { letter-spacing: 0.12em; }
.f-input:focus-within, .f-field.is-focus .f-input { border: 2px solid var(--gold-light); }
.f-input:focus-within input, .f-field.is-focus input { padding-left: 45px; }
.f-input input:focus-visible { box-shadow: none; }
.f-reveal { position: absolute; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #8b8474; }
.f-reveal svg { width: 20px; height: 20px; }
.f-strength { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #067647; }
.f-strength i { width: 26px; height: 4px; border-radius: 2px; background: #17b26a; }
.f-strength i.off { background: rgba(23, 20, 15, 0.12); }
.f-strength span { font-weight: 600; margin-left: 6px; }
.f-trust { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 16px; font-size: 14px; line-height: 1.5; color: #3f3a2f; }
.f-trust svg { width: 18px; height: 18px; color: var(--gold-light); margin-top: 2px; }
.f-sheet .f-primary { margin-top: auto; flex: 0 0 auto; }
.f-sheet > * { flex-shrink: 0; }
.f-switch { margin: 16px 0 0; text-align: center; font-size: 16px; color: #5c5547; }
.f-switch a { color: var(--gold-light); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.f-sheet :is(button, a, input):focus-visible { box-shadow: 0 0 0 2px #f6f3ee, 0 0 0 4px var(--gold-light); }

/* The main screen. */
.f-top { position: absolute; top: calc(48px + var(--safe-top)); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: center; z-index: 5; }
.f-tabs { display: flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--hair); }
.f-tabs button { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.f-tabs svg { width: 17px; height: 17px; }
.f-tabs [aria-selected="true"] { color: var(--gold-ink); background: var(--ink); }
.f-dock { position: absolute; left: 0; right: 0; bottom: calc(56px + var(--safe-bottom)); display: flex; justify-content: center; align-items: center; gap: 48px; z-index: 5; }
.f-round.big { width: 56px; height: 56px; }
.f-round.big svg { width: 24px; height: 24px; }
.f-mic { position: relative; width: 88px; height: 88px; display: grid; place-items: center; }
.f-mic button { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); background: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 248, 228, 0.55); transition: transform 90ms ease-out, filter 120ms ease-out; }
.f-mic button svg { width: 32px; height: 32px; stroke-width: 2; }
.f-mic i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(216, 180, 108, 0.55); transform: translate(-50%, -50%); pointer-events: none; }
.f-mic .w1 { width: 112px; height: 112px; }
.f-mic .w2 { width: 138px; height: 138px; opacity: 0.4; }

/* A screen's bar. */
.f-bar { position: absolute; top: calc(46px + var(--safe-top)); left: var(--gut); right: var(--gut); display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; z-index: 5; }
.f-bar h1 { margin: 0; text-align: center; font-size: 17px; font-weight: 600; }

/* The plans. */
.f-plans { position: absolute; top: 108px; left: var(--gut); right: var(--gut); }
.f-plans h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.02; text-wrap: balance; }
.f-plans h1 em { font-style: italic; color: var(--gold-hi); }
.b-cards { position: relative; height: 198px; margin: 16px 0 0; }
.b-card { position: absolute; left: 50%; top: 8px; width: 276px; height: 172px; margin-left: -138px; border-radius: 16px; padding: 16px 20px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); }
.b-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.26) 46%, rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; pointer-events: none; }
.b-card-brand { font-family: var(--serif); font-size: 19px; }
.b-card b { margin-top: auto; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; }
.b-card small { margin-top: 6px; font-size: 14px; font-weight: 500; }
.b-card em { position: absolute; right: 16px; top: 16px; font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(23, 18, 10, 0.86); color: var(--ink); }
.b-chip { position: absolute; left: 20px; top: 52px; width: 36px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f4dca2, #b88c3f); box-shadow: inset 0 0 0 1px rgba(90, 60, 15, 0.35); }
.b-chip::before { content: ""; position: absolute; inset: 6px 9px; border: 1px solid rgba(90, 60, 15, 0.35); border-radius: 3px; }
.b-card.gold { z-index: 3; color: #241806; background: linear-gradient(135deg, #f3dca4 0%, #d8b066 32%, #b98c3e 56%, #e3c27f 78%, #a97d33 100%); }
.b-card.side { top: 20px; width: 238px; height: 148px; margin-left: -119px; }
.b-card.side b { font-size: 28px; }
.b-card.left { transform: translateX(-100px) rotate(-8deg); }
.b-card.right { transform: translateX(100px) rotate(8deg); }
.b-card.pearl { color: #3b3326; background: linear-gradient(135deg, #fbf6ec, #e9dfcd 40%, #f5efe4 60%, #d9ccb3); }
.b-card.night { color: var(--ink); background: linear-gradient(135deg, #22335a, #0b1326 50%, #1b2a4b); border: 1px solid rgba(216, 180, 108, 0.55); }
.f-dots { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.f-dots button { display: grid; place-items: center; width: 28px; height: 28px; }
.f-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: rgba(245, 240, 231, 0.28); }
.f-dots [aria-current="true"]::before { width: 20px; background: var(--ink); }
.f-gives { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.f-gives li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 40px; font-size: 15px; border-bottom: 1px solid var(--hair); }
.f-gives li span { min-width: 0; overflow-wrap: anywhere; }
.f-gives svg { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.4; }
.f-more { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-size: 16px; font-weight: 500; transition: background-color 120ms ease-out; }
.f-row:active { background-color: var(--card-hi); }
.f-row svg { width: 20px; height: 20px; color: var(--ink-2); flex: 0 0 auto; }
.f-plans .f-row { margin-top: 14px; }
.f-buy { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(32px + var(--safe-bottom)); }
.f-buy p { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); text-align: center; text-wrap: balance; }

/* The member's own screen. */
.f-mine { position: absolute; top: 108px; left: var(--gut); right: var(--gut); display: grid; gap: 12px; justify-items: center; }
.b-card.mini { position: relative; left: auto; top: auto; margin: 0 0 4px; width: 276px; height: 164px; }
.f-meters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-meter { padding: 12px 16px 14px; display: grid; gap: 4px; min-width: 0; }
.f-meter > span { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.f-meter > span svg { width: 16px; height: 16px; flex: 0 0 auto; }
.f-meter b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.f-meter b small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.bar { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: rgba(245, 240, 231, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 2px; background: var(--gold); }
.f-credits { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; }
.f-credits p { margin: 0; display: grid; gap: 2px; }
.f-credits b { font-size: 20px; font-weight: 700; }
.f-credits small { font-size: 13px; color: var(--ink-3); }
.f-up { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px; }
.f-thumb { flex: 0 0 auto; width: 56px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #22335a, #0b1326 50%, #1b2a4b); border: 1px solid rgba(216, 180, 108, 0.55); }
.f-up > span { flex: 1; display: grid; gap: 4px; min-width: 0; }
.f-up b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.f-up small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.f-up > svg { width: 20px; height: 20px; color: var(--ink-2); }
.f-mine .f-row { width: 100%; }
.f-note { margin: 2px 8px 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); text-align: center; }

/* A video call: what the camera sees, the marks on it, Apko small in its corner. */
.f-camera { position: absolute; inset: 0; overflow: hidden; background: #2a2218; }
.f-camera img { position: absolute; left: 50%; top: 50%; width: 915px; height: 915px; margin: -457px 0 0 -457px; object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.f-camera::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 15, 0.62), rgba(4, 7, 15, 0) 22%, rgba(4, 7, 15, 0) 62%, rgba(4, 7, 15, 0.78)); pointer-events: none; }
.f-mark { position: absolute; border-radius: 12px; border: 1.5px solid rgba(255, 246, 225, 0.95); background: rgba(255, 246, 225, 0.08);
  box-shadow: 0 0 0 1px rgba(23, 18, 10, 0.35), inset 0 0 0 1px rgba(23, 18, 10, 0.2); }
.f-mark span { position: absolute; left: -1px; bottom: calc(100% + 8px); white-space: nowrap; padding: 5px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(12, 14, 20, 0.78); }
.f-mark.below span { top: calc(100% + 8px); bottom: auto; }
.f-callbar { position: absolute; top: calc(46px + var(--safe-top)); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: center; z-index: 5; }
.f-live { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(12, 14, 20, 0.6); }
.f-live i { width: 8px; height: 8px; border-radius: 50%; background: #f04438; }
.f-pip { position: absolute; left: var(--gut); top: calc(104px + var(--safe-top)); width: 96px; height: 96px; border-radius: 24px; overflow: hidden; background: rgba(4, 7, 15, 0.82); border: 1px solid var(--hair); z-index: 4; }
.f-pip .orb { inset: 0; }
.f-said { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(160px + var(--safe-bottom)); margin: 0; padding: 12px 16px; border-radius: 16px; font-size: 16px; line-height: 1.45; background: rgba(12, 14, 20, 0.72); z-index: 4; }
.f-said b { display: block; font-size: 13px; font-weight: 600; color: var(--gold-hi); margin-bottom: 2px; }
.f-end { background: #d92d20 !important; border-color: transparent !important; color: #fff !important; }

/* Yazılı: the conversation, Apko's lines without a bubble, the photo with its marks. */
.f-chat { position: absolute; top: calc(104px + var(--safe-top)); left: var(--gut); right: var(--gut); bottom: calc(104px + var(--safe-bottom)); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; }
.f-seat { display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.f-seat .orb-seat { position: relative; width: 40px; height: 40px; }
.f-seat .orb-seat .orb { inset: -14px; }
.f-seat b { font-size: 15px; font-weight: 600; }
.f-seat small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.f-me { align-self: flex-end; max-width: 78%; display: grid; gap: 6px; justify-items: end; }
.f-me p { margin: 0; padding: 10px 14px; border-radius: 18px 18px 6px 18px; font-size: 16px; line-height: 1.45; color: var(--gold-ink); background: var(--ink); }
.f-me .f-shot { width: 132px; height: 132px; border-radius: 16px; overflow: hidden; position: relative; }
.f-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-apko { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.f-apko + .f-src { margin-top: -8px; }
.f-src { display: flex; gap: 6px; flex-wrap: wrap; }
.f-src span { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--hair); }
.f-marked { position: relative; flex: 0 0 auto; width: 236px; height: 236px; border-radius: 16px; overflow: hidden; }
.f-marked img { position: absolute; inset: 0; width: 100%; height: 100%; }
.f-marked .f-mark { border-radius: 8px; }
.f-marked .f-mark span { font-size: 13px; padding: 3px 8px; bottom: calc(100% + 5px); }
.f-marked .f-mark.below span { top: calc(100% + 5px); bottom: auto; }
.f-compose { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(34px + var(--safe-bottom)); display: flex; align-items: center; gap: 10px; z-index: 5; }
.f-compose label { flex: 1; min-width: 0; }
.f-compose input { width: 100%; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; }
.f-compose input::placeholder { color: var(--ink-3); }
.f-send { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--gold-ink); background: var(--gold); flex: 0 0 auto; }
.f-send svg { width: 22px; height: 22px; stroke-width: 2.2; }

/* The icon. */
.icons { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.tile { position: relative; overflow: hidden; }
.tile .orb { inset: 0; }
.squircle { width: 236px; height: 236px; border-radius: 27%; }
.circle { width: 112px; height: 112px; border-radius: 50%; }
.rounded { width: 112px; height: 112px; border-radius: 22%; }
.icon-row { display: flex; gap: 24px; }
.f-tile { background: radial-gradient(60% 60% at 50% 45%, rgba(222, 170, 80, 0.18), rgba(222, 170, 80, 0) 70%), radial-gradient(80% 80% at 50% 40%, #142546 0%, #0a1426 62%, #060b16 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 231, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
