/* Yazı tipleri (kendi sunucumuzdan; Türkçe karakterler latin-ext içinde) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #0a1c24;
  --night-2: #0f2832;
  --night-3: #14323e;
  --frost: #e9f1ef;
  --muted: #9fb6b8;
  --gold: #f0c36a;
  --gold-soft: rgba(240, 195, 106, 0.22);
  --gold-line: rgba(240, 195, 106, 0.42);
  --berry: #c5283d;
  --danger: #ea7d8a;
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; background: var(--night); color: var(--frost);
  font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.hidden { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }

/* ---- Marka ve sayaç ---- */
.brand { position: fixed; left: var(--edge); top: 22px; pointer-events: none; text-shadow: 0 2px 24px rgba(5, 14, 20, 0.7); }
.brand h1 { margin: 0; font: italic 500 clamp(36px, 5.2vw, 62px)/1 var(--serif); letter-spacing: -0.015em; color: #f6efe0; }
.countdown { margin: 8px 0 0 3px; color: var(--muted); font-size: 14px; letter-spacing: 0.01em; }
.tally { position: fixed; left: var(--edge); bottom: 32px; margin: 0; display: flex; align-items: baseline; gap: 8px; color: var(--muted); text-shadow: 0 1px 14px rgba(5, 14, 20, 0.8); }
.tally b { font: 500 34px/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums; }

/* ---- Düğmeler ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap;
  padding: 10px 20px; background: none; font-weight: 600; letter-spacing: 0.005em; transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--gold); color: #2b1d04; }
.btn.primary:hover { background: #f7d489; }
.btn.outline { border-color: var(--gold-line); color: var(--gold); background: rgba(8, 22, 29, 0.5); }
.btn.outline:hover { border-color: var(--gold); background: rgba(240, 195, 106, 0.1); }
.btn.text { color: var(--frost); padding-inline: 14px; }
.btn.text:hover { color: var(--gold); }
.btn.danger { border-color: rgba(234, 125, 138, 0.5); color: var(--danger); background: transparent; }
.btn.danger:hover { background: rgba(234, 125, 138, 0.12); border-color: var(--danger); }
.btn.big { padding: 15px 30px; font-size: 17px; box-shadow: 0 0 0 6px rgba(240, 195, 106, 0.12), 0 14px 44px -10px rgba(240, 195, 106, 0.55); }
.btn.big-ghost { padding: 13px 22px; }
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.wide { width: 100%; padding-block: 13px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; color: var(--muted); }
.x:hover { color: var(--frost); background: rgba(255, 255, 255, 0.07); }

/* ---- Hesap ---- */
.account { position: fixed; right: var(--edge); top: 22px; display: flex; align-items: center; }
.account-out { display: flex; gap: 6px; align-items: center; background: rgba(8, 22, 29, 0.55); border: 1px solid var(--gold-soft); border-radius: 999px; padding: 4px; backdrop-filter: blur(10px); }
.account-out .btn { padding-block: 8px; }
.account-in { position: relative; }
.btn.user { background: rgba(8, 22, 29, 0.6); border-color: var(--gold-soft); padding: 5px 16px 5px 6px; backdrop-filter: blur(10px); }
.btn.user:hover { border-color: var(--gold-line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2b1d04; font: 600 15px var(--serif); text-transform: uppercase; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; background: rgba(10, 28, 36, 0.96); border: 1px solid var(--gold-soft); border-radius: 14px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7); backdrop-filter: blur(14px); }
.menu > * { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; border-radius: 9px; color: var(--frost); text-decoration: none; }
.menu > *:hover { background: rgba(240, 195, 106, 0.12); color: var(--gold); }

/* ---- Son dilekler ---- */
.recent { position: fixed; right: var(--edge); top: 82px; width: 296px; max-height: calc(100vh - 190px); display: flex; flex-direction: column; background: rgba(8, 22, 29, 0.66); border: 1px solid var(--gold-soft); border-radius: 18px; backdrop-filter: blur(12px); overflow: hidden; }
.recent-toggle { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 0; background: none; font: italic 500 20px var(--serif); color: #f3e9d2; }
.recent-toggle svg { transition: transform 0.2s; }
.recent[data-collapsed="true"] .recent-toggle svg { transform: rotate(-90deg); }
.recent[data-collapsed="true"] .recent-list { display: none; }
.recent-list { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.recent-list li button { display: grid; grid-template-columns: 34px 1fr; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 12px; background: none; }
.recent-list li button:hover { background: rgba(240, 195, 106, 0.09); }
.recent-list .t { font: italic 400 15px/1.4 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--frost); }
.recent-list .m { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.recent-empty { padding: 4px 18px 16px; color: var(--muted); font-size: 14px; }
.shape-icon { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }

/* ---- Alt çubuk ---- */
.dock { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.tools { display: flex; gap: 2px; padding: 4px; background: rgba(8, 22, 29, 0.62); border: 1px solid var(--gold-soft); border-radius: 999px; backdrop-filter: blur(10px); }
.tool { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--frost); }
.tool:hover { background: rgba(240, 195, 106, 0.12); color: var(--gold); }
.tool[aria-pressed="false"] { color: var(--muted); }
.tool[aria-pressed="true"] { color: var(--gold); }
.hint { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); margin: 0; padding: 7px 16px; border-radius: 999px; background: rgba(8, 22, 29, 0.6); color: var(--muted); font-size: 13px; white-space: nowrap; transition: opacity 0.8s; pointer-events: none; }
.hint.gone { opacity: 0; }
.tip { position: fixed; z-index: 5; pointer-events: none; padding: 6px 11px; border-radius: 9px; background: rgba(8, 22, 29, 0.92); border: 1px solid var(--gold-soft); font-size: 13px; white-space: nowrap; transform: translate(14px, 14px); }

/* ---- Dilek kartı ---- */
.card { position: fixed; left: var(--edge); bottom: 92px; width: min(390px, calc(100vw - 24px)); padding: 22px 24px 20px; background: rgba(9, 25, 33, 0.9); border: 1px solid var(--gold-line); border-radius: 20px; backdrop-filter: blur(16px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75); animation: card-in 0.28s ease-out; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card-head { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); flex: none; }
.card h2 { margin: 0; font: 500 21px/1.2 var(--serif); }
.card-by { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.card-text { margin: 18px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); font: italic 400 21px/1.5 var(--serif); overflow-wrap: anywhere; white-space: pre-wrap; max-height: 34vh; overflow-y: auto; }
.card-text:empty { display: none; }
.card-note { margin: 16px 0 0; color: var(--muted); }
.card-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Diyaloglar ---- */
dialog { padding: 0; border: 1px solid var(--gold-soft); border-radius: 22px; background: var(--night-2); color: var(--frost); width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.85); }
dialog[open] { animation: dlg-in 0.22s ease-out; }
dialog::backdrop { background: rgba(3, 10, 14, 0.66); backdrop-filter: blur(5px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }
.dlg { position: relative; padding: 30px 30px 26px; }
.dlg h2 { margin: 0 34px 6px 0; font: 500 30px/1.15 var(--serif); letter-spacing: -0.01em; }
.dlg h3 { margin: 0 0 10px; font: 600 16px var(--sans); }
.dlg-lead { margin: 0 0 18px; color: var(--muted); }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.err { min-height: 20px; margin: 8px 0 12px; color: var(--danger); font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: 13.5px; font-weight: 600; color: #cfe0df; padding: 0; margin-bottom: 6px; }
.field > legend b { color: var(--gold); font-weight: 600; }
.field small { color: var(--muted); font-size: 12.5px; }
.field.grow { flex: 1; }
input[type="text"], input[type="password"], input:not([type]), textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 11px; background: var(--night); color: var(--frost); transition: border-color 0.15s;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; font-family: var(--serif); font-size: 17px; font-style: italic; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 195, 106, 0.18); }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--gold); padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.pw-toggle:hover { background: rgba(240, 195, 106, 0.1); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tabs button { padding: 11px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); font-weight: 600; }
.tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: -4px 0 6px; }
.meter i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); transition: background-color 0.2s; }
.meter[data-level="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-level="2"] i:nth-child(-n+2) { background: #e9a35b; }
.meter[data-level="3"] i:nth-child(-n+3) { background: #d6c35f; }
.meter[data-level="4"] i { background: #6fd1a0; }
.meter-text { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }

.wish-grid { display: flex; gap: 18px; align-items: stretch; margin: 12px 0 8px; }
.wish-preview { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; background: radial-gradient(circle at 50% 38%, rgba(240, 195, 106, 0.13), transparent 70%), var(--night); border: 1px solid rgba(255, 255, 255, 0.08); text-align: center; padding: 10px 6px; }
.wish-preview p { margin: 0; font-size: 12px; color: var(--muted); }
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.types label, .swatches label { position: relative; cursor: pointer; }
.types input, .swatches input, .seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.types span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 13px; background: var(--night); border: 1px solid rgba(255, 255, 255, 0.12); transition: border-color 0.15s; }
.types input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 195, 106, 0.2); }
.types input:focus-visible + span, .swatches input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatches span { display: block; aspect-ratio: 1; max-width: 38px; border-radius: 50%; box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.25), inset 0 3px 5px rgba(255, 255, 255, 0.35); border: 2px solid transparent; }
.swatches input:checked + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; }
.seg span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 13px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; background: var(--night); }
.seg small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.seg input:checked + span { border-color: var(--gold); background: rgba(240, 195, 106, 0.08); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: center; color: #cfe0df; margin-bottom: 4px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.actions .btn { min-width: 0; }

.mine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mine li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: var(--night); border: 1px solid rgba(255, 255, 255, 0.08); }
.mine .t { font: italic 400 16px/1.45 var(--serif); overflow-wrap: anywhere; }
.mine .m { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.mine .m .btn { margin-left: auto; }
.mine .m .btn + .btn { margin-left: 0; }
.danger-zone { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.danger-zone summary { cursor: pointer; color: var(--danger); font-weight: 600; }
.danger-zone p { color: var(--muted); }

/* ---- Bildirim ve yükleme ---- */
.toast { position: fixed; left: 50%; top: 24px; transform: translate(-50%, -20px); padding: 11px 20px; border-radius: 999px; background: var(--gold); color: #2b1d04; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 50; max-width: calc(100vw - 24px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #f1c6cb; color: #4a0f18; }
.loading { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--night); transition: opacity 0.9s; }
.loading.done { opacity: 0; pointer-events: none; }
.loading-title { margin: 0; font: italic 500 clamp(40px, 8vw, 76px)/1 var(--serif); color: #f6efe0; }
.loading-bar { width: min(220px, 60vw); height: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; border-radius: 2px; }
.loading-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.4s; }
.loading-note { margin: 0; color: var(--muted); font-size: 14px; }
.noscript { position: fixed; inset: 40% 0 auto; text-align: center; z-index: 60; }

/* ---- Küçük ekranlar ---- */
@media (max-width: 760px) {
  :root { --edge: 16px; }
  .brand { top: 16px; }
  .brand h1 { font-size: 34px; }
  #userName { display: none; }
  .btn.user { padding: 4px; }
  .countdown { font-size: 13px; }
  .account { top: 14px; }
  .account-out .btn.text { display: inline-flex; padding-inline: 8px; }
  .recent { top: auto; bottom: 88px; left: var(--edge); right: var(--edge); width: auto; max-height: 40vh; }
  .recent[data-collapsed="false"] { z-index: 6; }
  .recent { width: auto; }
  .tally { bottom: auto; top: 86px; left: var(--edge); }
  .tally b { font-size: 24px; }
  .dock { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); gap: 10px; max-width: calc(100vw - 24px); }
  .actions .btn { flex: 1 1 auto; }
  .tool[id="zoomIn"], .tool[id="zoomOut"] { display: none; }
  .btn.big { padding: 13px 24px; font-size: 16px; }
  .hint { display: none; }
  .card { left: 12px; right: 12px; bottom: 84px; width: auto; }
  .dlg { padding: 24px 20px 20px; }
  .dlg h2 { font-size: 26px; }
  .wish-preview { width: 84px; }
  .types { gap: 6px; }
  .seg { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { body.has-card .recent { display: none; } }
@media (max-width: 760px) and (max-height: 640px) { .recent { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Dilek okuma penceresi: altta ortada, büyük simge, tırnaklı yazı */
.card { left: 50%; right: auto; bottom: 96px; transform: translateX(-50%); width: min(520px, 92vw); padding: 20px 24px 18px; animation: card-up 0.28s ease-out; }
@keyframes card-up { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translateX(-50%); } }
.card-icon { width: 68px; height: 68px; background: none; }
.card-icon svg { width: 64px; height: 64px; }
.card h2 { font: 700 13px var(--sans); letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; }
.card-text { border-left: 0; padding: 0; margin: 12px 0 4px; font: italic 500 clamp(19px, 2.6vw, 23px)/1.45 var(--serif); color: #fff; }
.card-text::before { content: "\201C"; color: var(--gold); margin-right: 2px; }
.card-text::after { content: "\201D"; color: var(--gold); margin-left: 2px; }
.card-actions { justify-content: flex-end; }
@media (max-width: 760px) { .card { left: 50%; right: auto; bottom: 84px; width: min(520px, 94vw); } }.card-text { overflow-y: auto; max-height: 32vh; scrollbar-width: thin; }
.card h2 { text-transform: none; }

/* ---- Düzeltmeler ve süslemeler ---- */
.account { z-index: 12; }
.recent { z-index: 4; }
.eyebrow { margin: 0 0 6px; font: 600 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.dock .btn.primary.big { position: relative; padding: 16px 34px; font: 600 17px var(--sans); letter-spacing: .02em; background: linear-gradient(135deg, #f9de9c, #e9b949 55%, #f4cf7a); overflow: hidden; animation: pulse 3s ease-in-out infinite; }
.dock .btn.primary.big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(240,195,106,.08), 0 14px 54px -8px rgba(240,195,106,.75); } }
#wishDialog .dlg { background: radial-gradient(120% 60% at 50% 0%, rgba(240,195,106,.12), transparent 60%), var(--night-2); }
#wishDialog .dlg::before { content: "✦ ✧ ✦"; position: absolute; right: 64px; top: 30px; color: var(--gold); opacity: .6; letter-spacing: 6px; font-size: 12px; }
.cert-dlg { width: min(460px, calc(100vw - 24px)); }
.cert-img { display: block; width: min(250px, 60vw); aspect-ratio: 9/16; margin: 6px auto 18px; border-radius: 16px; border: 1px solid var(--gold-line); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); }
.ts-box { display: flex; justify-content: center; min-height: 0; margin: 10px 0 0; }
