:root {
  --bg: #f8f4ff;
  --fg: #2d2347;
  --btn-bg: #7c5cd6;
  --pu: #7c5cd6;
  --bd: #dccff6;
  --btn-fg: #ffffff;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #f8f4ff; --fg: #2d2347; --btn-bg: #7c5cd6; --btn-fg: #ffffff; color-scheme: light; }
}
:root[data-theme="dark"] { --bg: #f8f4ff; --fg: #2d2347; --btn-bg: #7c5cd6; --btn-fg: #ffffff; color-scheme: light; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; display: flex; flex-direction: column; }
h1 { font-size: 1.5rem; font-weight: 700; margin: 0; padding: 20px 20px 0; }
main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bottom { padding: 20px; }
.signup { display: block; width: 100%; padding: 16px; font: inherit; font-size: 1rem; font-weight: 600; border: 0; border-radius: 12px; background: var(--btn-bg); color: var(--btn-fg); cursor: pointer; }
.signup:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.fields { display: none; flex-direction: column; gap: 12px; padding: 20px; }
.fields.show { display: flex; }
.fields input { font: inherit; font-size: 1rem; padding: 14px; border: 1px solid #d9cbf5; border-radius: 10px; background: #fff; color: #1a1a1a; }
.fields input:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 1px; }
[hidden] { display: none !important; }
.top { display: flex; justify-content: flex-end; gap: 4px; padding: 8px 12px; border-bottom: 1px solid #e6dcfa; }
.nav { display: flex; gap: 12px; width: fit-content; margin: 0 auto 16px; padding: 8px 20px; border: 1px solid #e6dcfa; border-radius: 999px; background: var(--bg); }
.ib { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; }
.ib svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 1px; }
.settings { position: fixed; inset: 0; z-index: 20; }
.settings .blur { position: absolute; inset: 0; background: rgba(255,255,255,0.18); opacity: 0; transition: opacity .3s ease; }
.settings .panel { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; background: var(--bg); border-left: 1px solid #e6dcfa; }
.settings .back { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 12px; }
.sv { padding: 12px 16px 0; }
.sb { display: flex; align-items: center; border: 2px solid var(--bd); border-radius: 12px; padding: 0 4px 0 14px; background: #fff; }
.sb input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: #1a1a1a; padding: 12px 0; }
.sb:focus-within { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.sb .ib { width: 44px; height: 44px; }
.tabs { display: flex; margin-top: 16px; border-top: 1px solid #e6dcfa; }
.tab { flex: 1; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; font: inherit; font-size: 1rem; color: #7a6c9d; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--fg); font-weight: 600; border-bottom-color: var(--pu); }
.tab:focus-visible { outline: 3px solid #7c5cd6; outline-offset: -3px; }
.banner { position: relative; height: 120px; background: #ebe3fb; }
.banner .ib { position: absolute; top: 8px; left: 12px; }
.phead { position: relative; padding: 12px 130px 16px 16px; }
.pfp { position: absolute; right: 16px; top: -48px; width: 96px; height: 96px; border-radius: 50%; background: #d8cdf3; border: 4px solid #fff; box-sizing: border-box; }
.nrow { display: flex; align-items: center; gap: 10px; }
.dname { font-size: 1.25rem; font-weight: 700; }
.edit { padding: 4px 14px; border: 1.5px solid var(--bd); border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 0.875rem; cursor: pointer; }
.edit:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.handle { margin-top: 2px; color: #7a6c9d; font-size: 0.95rem; }
.pbody { border-top: 1px solid #e6dcfa; padding: 16px; }
.field { margin-bottom: 18px; }
.field b { display: block; font-size: 0.95rem; }
.field span { color: #7a6c9d; font-size: 0.95rem; }
.bottom { padding-bottom: 28px; }
.msg { margin: 0 0 10px; color: #b00020; font-size: 0.95rem; text-align: center; }
.msg:empty { display: none; }
.alt { margin: 14px 0 0; text-align: center; font-size: 0.95rem; color: #7a6c9d; }
.link { padding: 6px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--fg); text-decoration: underline; cursor: pointer; }
.link:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.banner { height: auto; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid #e6dcfa; }
.pfp { top: auto; bottom: 16px; }
.pbody { border-top: 0; background: var(--bg); }
.pfp { width: 108px; height: 108px; bottom: 56px; }
.phead { padding-right: 140px; }
.nrow { flex-wrap: wrap; margin-bottom: 20px; }
.dname { font-size: 1.75rem; line-height: 1.15; }
.handle { font-size: 0.8rem; }
.banner { min-height: 180px; }
.pfp { bottom: 28px; }
.handle { margin: 0; padding: 10px 16px 0; }
.banner { min-height: 168px; }
.nrow { margin-bottom: 0; }
.handle { margin: 2px 0 0; padding: 0; }
.field span { white-space: pre-wrap; overflow-wrap: anywhere; }
.ebanner { position: relative; height: 150px; background-color: #e0fdfd; background-image: radial-gradient(circle, #b9e6e0 3px, transparent 3.5px), radial-gradient(circle, #b9e6e0 3px, transparent 3.5px); background-size: 28px 28px; background-position: 0 0, 14px 14px; }
.ebanner .ib { position: absolute; top: 8px; left: 12px; }
.tbtn { position: absolute; top: 8px; right: 12px; padding: 10px 8px; border: 0; background: transparent; font: inherit; font-size: 1.1rem; color: #111; cursor: pointer; }
.eav { position: absolute; left: 50%; top: 60px; width: 128px; height: 128px; transform: translateX(-50%); }
.eav svg { display: block; width: 100%; height: 100%; }
.echange { display: block; margin: 44px auto 0; padding: 8px 12px; border: 0; background: none; font: inherit; font-size: 0.9rem; color: var(--fg); cursor: pointer; }
.tbtn:focus-visible, .echange:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.ef { padding: 20px 20px 0; }
.ef .row { margin-bottom: 28px; }
.ef label { display: block; margin-bottom: 6px; font-size: 0.95rem; font-weight: 700; }
.ef textarea, .ef input { display: block; width: 100%; box-sizing: border-box; padding: 8px 0; border: 0; border-bottom: 1px solid #e6dcfa; border-radius: 0; background: transparent; outline: 0; font: inherit; font-size: 1.15rem; color: var(--fg); resize: none; }
.ef textarea:focus-visible, .ef input:focus-visible { border-bottom: 2px solid #7c5cd6; }
.ebanner { background-image: none; background-color: #ebe3fb; }
.eav { background: #d8cdf3; border: 4px solid #fff; border-radius: 50%; box-sizing: border-box; }
.eav svg { display: none; }
.tbtn, .echange { padding: 4px 14px; border: 1.5px solid var(--bd); border-radius: 999px; background: transparent; font: inherit; font-size: 0.875rem; color: var(--fg); cursor: pointer; }
.tbtn { top: 12px; right: 16px; }
.echange { margin-top: 48px; }
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pfp, .eav { overflow: hidden; }
.hasm .tbtn { background: rgba(255,255,255,0.85); }
.banner .ib, .banner .edit, .hasm .ib, .hasm .edit { background: transparent !important; -webkit-appearance: none; appearance: none; box-shadow: none; }
.echange + .msg { margin-top: 10px; }
.echange { position: relative; width: fit-content; text-align: center; }
.tbtn input, .echange input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.tbtn:focus-within, .echange:focus-within { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.mw { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.crop { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: #fff; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; }
.cbar span { font-weight: 700; }
.pill { padding: 6px 16px; border: 1.5px solid var(--bd); border-radius: 999px; background: transparent; color: #1a1a1a; font: inherit; font-size: 0.9rem; cursor: pointer; }
.pill.solid { background: var(--pu); color: #fff; }
.pill:disabled { opacity: 0.6; }
.pill:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.cstage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #111; }
.cframe { position: relative; overflow: hidden; box-sizing: border-box; border: 2px solid #fff; background: #333; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.cf-b { width: min(92vw, 480px); aspect-ratio: 9 / 4; }
.cf-p { width: min(70vw, 300px); aspect-ratio: 1; border-radius: 50%; }
.czoom { display: flex; align-items: center; gap: 12px; padding: 16px 20px 4px; }
.czoom input { flex: 1; }
.crop .msg { margin: 6px 16px 12px; }
.nrow { flex-wrap: nowrap; align-items: center; gap: 10px; }
.dname { font-size: 1.5rem; min-width: 0; overflow-wrap: anywhere; }
.edit { flex-shrink: 0; }
.settings .panel { padding: calc(env(safe-area-inset-top, 0px) + 8px) 8px 0; box-sizing: border-box; }
.stitle { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-bottom: 6px; font-size: 1.1rem; font-weight: 700; color: #8c7fb0; }
.stitle::before, .stitle::after { content: ""; flex: 1; height: 2px; background: #d9cbf5; border-radius: 1px; }
.sitem { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 8px 0 28px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 1rem; color: var(--fg); text-align: left; cursor: pointer; }
.sitem .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: currentColor; }
.sitem:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.bgv { position: fixed; inset: 0; z-index: 30; background: transparent; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.bgt { margin: 0; padding: 20px 64px 0; text-align: center; font-size: 1.5rem; font-weight: 700; }
.bgs { margin: 48px 24px 0; font-size: 0.95rem; font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 18px; padding: 24px 24px 0; }
.sw { width: 60px; height: 60px; padding: 0; border: 3px solid var(--bd); border-radius: 50%; cursor: pointer; }
.sw[aria-pressed="true"] { outline: 3px solid #7c5cd6; outline-offset: 3px; }
.sw:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 3px; }
.custom { position: relative; display: block; width: fit-content; margin: 28px 24px 0; padding: 8px 26px; border: 3px solid var(--bd); border-radius: 999px; font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.custom.on { outline: 3px solid #7c5cd6; outline-offset: 3px; }
.custom { background: transparent; color: inherit; font-family: inherit; }
.custom:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 3px; }
.cmodal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cbox { display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(300px, 86vw); box-sizing: border-box; padding: 22px; border: 2px solid var(--bd); border-radius: 20px; background: #fff; color: #1a1a1a; box-shadow: 0 10px 40px rgba(0,0,0,0.18); }
.hexb { width: 100%; box-sizing: border-box; padding: 10px 16px; border: 2px solid var(--bd); border-radius: 999px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; text-align: center; }
.hexb.bad { border-color: #b00020; }
.hexb:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.wheelwrap { position: relative; width: 100%; aspect-ratio: 1; touch-action: none; cursor: crosshair; }
.wheelwrap canvas { display: block; width: 100%; height: 100%; border-radius: 50%; }
.mk { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid #fff; box-shadow: 0 0 0 2px #1a1a1a; border-radius: 50%; pointer-events: none; }
.bgv .ib { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 12px; }
.cf-g { height: min(58vh, 560px); width: auto; max-width: 92vw; background: var(--bg); }
.cf-g::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255,255,255,.75) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255,255,255,.75) 0 calc(66.66% + .5px), transparent 0), linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255,255,255,.75) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255,255,255,.75) 0 calc(66.66% + .5px), transparent 0); }
body.bgopen > :not(#bgLayer):not(#bgView):not(#addView):not(#fontView):not(#nameView):not(#policyView):not(#acctView):not(#cModal):not(#crop):not(script) { visibility: hidden; }
#bgLayer { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pts { display: flex; flex-wrap: wrap; gap: 18px; padding: 20px 24px 0; }
.pt { width: 60px; height: 60px; padding: 0; border: 3px solid var(--bd); border-radius: 14px; background-color: #fff; cursor: pointer; }
.pt[aria-pressed="true"], .pt:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 3px; }
#bgMsg { margin: 14px 24px 32px; }
.settings .panel { transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.settings .back { opacity: 0; transition: opacity .3s ease; }
.settings.open .blur, .settings.open .back { opacity: 1; }
.settings.open .panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .settings .blur, .settings .back, .settings .panel { transition: none; } }
body > #bgLayer, body > main, body > .nav, body > .top, body > .bottom { transition: filter .3s ease; }
body.sopen:not(.bgopen) > #bgLayer, body.sopen:not(.bgopen) > main, body.sopen:not(.bgopen) > .nav, body.sopen:not(.bgopen) > .top, body.sopen:not(.bgopen) > .bottom { filter: blur(10px); }

.fos { display: flex; flex-wrap: nowrap; gap: 22px; margin: 20px 24px 0; padding: 0; overflow-x: auto; border-bottom: 1.5px solid rgba(128,128,128,.4); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fos::-webkit-scrollbar { display: none; }
.fo { flex: none; padding: 10px 2px 12px; margin-bottom: -1.5px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--fg); opacity: .6; font-size: 1.1rem; cursor: pointer; transition: opacity .2s ease, border-color .2s ease; }
.fo[aria-pressed="true"] { opacity: 1; border-bottom-color: var(--fg); outline: 0; }
.fo:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.szr { display: flex; align-items: center; gap: 14px; padding: 18px 24px 0; }
.szr input { flex: 1; }
.szr span { min-width: 3.2em; text-align: right; }
#fontMsg { margin: 14px 24px 0; }
.fbot { height: 40px; }
.pwf { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pwf input { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 2px solid var(--bd); border-radius: 12px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; }
.pwf input:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
#acMsg.ok { color: #1b6e3a; }
.dobrow { display: flex; gap: 10px; }
.dobrow input { flex: 1; min-width: 0; text-align: center; }
.dobrow #dobY { flex: 1.5; }
.settings .lo .sitem { margin-bottom: 10px; padding-left: 20px; }
.polc .tabs { margin: 0 0 14px; border-top: 0; border-bottom: 1px solid #e6dcfa; }
.polc .acp p { margin: 0; }
.polc .acp .lobtn { margin-top: 16px; }
.lobtn.danger { border-color: #b00020; color: #b00020; }
.lobtn:disabled { opacity: .4; cursor: default; }
.polc .forget { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.polc .forget input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #b00020; }
#acMsg { margin: 12px 0 0; text-align: left; }
.sx { display: flex; flex-direction: column; gap: 8px; }
.sx .nmnote { margin: 0; }
.dobl { font-size: .95rem; font-weight: 700; }
.fields .agree { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.fields .agree input { flex: none; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; accent-color: var(--pu); }
.fields .agree .link { padding: 0; }
.polc { margin: 24px 16px 32px; padding: 14px 18px; border-radius: 14px; background: var(--bg); color: var(--fg); }
.polc[hidden] { display: none; }
.polc h3 { margin: 4px 0 10px; font-size: 1.15rem; }
.polc p { margin: 0 0 10px; font-size: .95rem; line-height: 1.5; }
.polc ul, .polc ol { margin: 0; padding-left: 20px; font-size: .95rem; line-height: 1.5; }
.polc li { margin-bottom: 12px; overflow-wrap: anywhere; }
.polc li ul { margin-top: 6px; }
.polc li li { margin-bottom: 4px; }
.prow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid #e6dcfa; background: transparent; color: var(--fg); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.prow:last-child { border-bottom: 0; }
.prow span:first-child { flex: none; width: 1.4em; font-weight: 700; }
.prow:focus-visible { outline: 3px solid #7c5cd6; outline-offset: -3px; }
.settings .panel { display: flex; flex-direction: column; }
.stitle.sec { margin-top: 22px; }
.settings .lo { margin-top: auto; padding: 14px 8px calc(env(safe-area-inset-bottom, 0px) + 18px); border-top: 2px solid #d9cbf5; }
.lobtn { display: block; width: 100%; padding: 12px; border: 2px solid var(--bd); border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
.lobtn:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.nmrow { display: flex; align-items: center; gap: 12px; margin: 18px 24px 0; }
.nmrow input { flex: 1; min-width: 0; box-sizing: border-box; padding: 12px 14px; border: 2px solid var(--bd); border-radius: 12px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; }
.nmrow input:disabled { opacity: .55; }
.nmrow input:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.nmrow .custom { flex: none; margin: 0; padding: 8px 20px; font-size: 1rem; }
.nmrow .custom:disabled { opacity: .45; cursor: default; }
.nmnote { margin: 8px 24px 0; font-size: .85rem; color: #7a6c9d; }
#nameView .msg { margin: 8px 24px 0; text-align: left; }
#nameView .msg.ok { color: #1b6e3a; }
.ev { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px); }
.ef .swatches { padding: 4px 0 0; gap: 12px; align-items: center; }
.ef .sw { width: 40px; height: 40px; border-width: 2px; }
.ef .swatches .custom { display: inline-block; margin: 0; padding: 6px 16px; border-width: 2px; font-size: .9rem; }

.pgwrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pager { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pager::-webkit-scrollbar { display: none; }
.pg { flex: 0 0 100%; min-width: 0; height: 100%; position: relative; scroll-snap-align: start; scroll-snap-stop: always; }
.dots { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; pointer-events: none; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--fg); opacity: .35; transition: opacity .2s ease, transform .2s ease, background-color .3s ease; }
.dots i.on { opacity: 1; transform: scale(1.2); }
.pgwrap.onfeed .dots i { background: #fff; }
.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; background: #000; }
.feed::-webkit-scrollbar { display: none; }
.vid { height: 100%; position: relative; overflow: hidden; background: #000; scroll-snap-align: start; scroll-snap-stop: always; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap { position: absolute; left: 16px; right: 96px; bottom: 20px; color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.vdel { position: absolute; padding: 6px 14px; border: 1.5px solid #fff; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.vdel { right: 14px; bottom: 16px; }
.empty { height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 32px; text-align: center; color: #fff; }
.feedmsg { position: absolute; left: 16px; right: 16px; top: 84px; z-index: 3; color: #ffb4c0; }
body > .top, body > .nav { overflow: hidden; max-height: 48px; transition: filter .3s ease, max-height .38s cubic-bezier(.2,.8,.2,1), padding .38s cubic-bezier(.2,.8,.2,1), margin .38s cubic-bezier(.2,.8,.2,1), border-width .38s ease, opacity .28s ease, visibility 0s; }
body.onfeedpg > .top, body.onfeedpg > .nav, body.feedslide > .top, body.feedslide > .nav { max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: filter .3s ease, max-height .38s cubic-bezier(.2,.8,.2,1), padding .38s cubic-bezier(.2,.8,.2,1), margin .38s cubic-bezier(.2,.8,.2,1), border-width .38s ease, opacity .28s ease, visibility 0s linear .38s; }
@media (prefers-reduced-motion: reduce) { body > .top, body > .nav, body.onfeedpg > .top, body.onfeedpg > .nav, body.feedslide > .top, body.feedslide > .nav { transition: none; } }
.pg .fback { position: absolute; top: 0; left: 8px; z-index: 3; color: #fff; }
.acts { position: absolute; right: 10px; bottom: 24%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: .8rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); cursor: pointer; }
.act svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.act.on svg { fill: #ff3b5c; stroke: #ff3b5c; }
.cap small { display: block; margin-top: 4px; font-weight: 400; opacity: .9; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 62%; z-index: 4; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 14px); box-sizing: border-box; border-radius: 18px 18px 0 0; background: #fff; color: #1a1a1a; }
.sheet .shead { display: flex; justify-content: space-between; align-items: center; }
.sheet .shead button { border: 0; background: none; font: inherit; color: #1a1a1a; cursor: pointer; }
.slist { flex: 1; min-height: 60px; overflow-y: auto; font-size: .95rem; }
.slist div { margin-bottom: 10px; overflow-wrap: anywhere; }
.slist b { margin-right: 6px; }
.slist .none { color: #7a6c9d; }
.srow { display: flex; gap: 8px; }
.srow input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid #d9cbf5; border-radius: 999px; font: inherit; font-size: 1rem; color: #1a1a1a; background: #fff; }
.srow button { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--pu); color: #fff; font: inherit; cursor: pointer; }

/* ---------- simple refresh ---------- */
.top { border-bottom: 0; }
.pbody { margin: 14px; padding: 16px; border: 1px solid #ece4fb; border-radius: 14px; }
.polc { border: 1px solid #ece4fb; border-radius: 14px; }
.sitem { min-height: 52px; border-radius: 12px; }
.settings .panel { border-left: 0; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.bbox { margin: 20px 14px 0; padding-bottom: 20px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); background-image: none; }
.bbox > .bgs:first-child { margin-top: 20px; }
.bbox .custom { background-color: var(--bg); }
/* post / video tabs */
.posts { height: 100%; box-sizing: border-box; overflow-y: auto; padding: 64px 16px 24px; }
.pcomp { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); }
.pcomp textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid #d9cbf5; border-radius: 12px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; resize: none; }
.pcomp textarea:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 1px; }
.pcrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcrow .pill { padding: 8px 24px; font-size: 1rem; }
#pcount { font-size: .85rem; opacity: .7; }
#plist { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.pc { padding: 14px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); }
.pc b { display: inline; }
.phd { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-right: 44px; min-height: 40px; }
.pav { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #d8cdf3; }
.pnm { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.prp { margin-bottom: 6px; font-size: .85rem; opacity: .7; }
.pc p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.pc { position: relative; }
.pc textarea { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px; border: 1.5px solid #d9cbf5; border-radius: 12px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; resize: none; }
.pc .pa { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pc .pa .pill { padding: 6px 18px; font-size: .9rem; }
.pc .pa .pill:not(.solid) { background: transparent; color: var(--fg); }
.pi-row { gap: 22px !important; }
.pi { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: .9rem; cursor: pointer; }
.pi svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pi.on { color: #ff3b5c; }
.pi.on svg { fill: #ff3b5c; stroke: #ff3b5c; }
.pmore { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; }
.pmore svg { width: 22px; height: 22px; }
.pmore:focus-visible, .pi:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.pmenu { position: absolute; top: 46px; right: 10px; z-index: 5; display: flex; flex-direction: column; min-width: 120px; border: 2px solid var(--bd); border-radius: 12px; background: var(--bg); overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.pmenu[hidden] { display: none; }
.pmenu button { padding: 12px 16px; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.pmenu button + button { border-top: 1px solid #e6dcfa; color: #b00020; }
.pcl { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6dcfa; font-size: .95rem; }
.pcl > div { margin-bottom: 8px; overflow-wrap: anywhere; }
.pcl b { display: inline; margin: 0; }
.pcr { display: flex; gap: 8px; }
.pcr input { flex: 1; min-width: 0; padding: 8px 12px; border: 1.5px solid #d9cbf5; border-radius: 999px; background: #fff; color: #1a1a1a; font: inherit; font-size: .95rem; }
.pcr .pill { padding: 6px 16px; font-size: .9rem; }
/* add screen */
.atabs { display: flex; justify-content: center; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 14px) 64px 0; }
.atabs button { padding: 8px 22px; border: 2px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; cursor: pointer; opacity: .65; }
.atabs button.on { opacity: 1; background: var(--pu); color: #fff; }
.atabs button:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 2px; }
.apane { display: flex; flex-direction: column; gap: 12px; margin: 28px 16px 0; padding: 14px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); }
.apane[hidden] { display: none; }
.apane textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid #d9cbf5; border-radius: 12px; background: #fff; color: #1a1a1a; font: inherit; font-size: 1rem; resize: none; }
.apane textarea:focus-visible { outline: 3px solid #7c5cd6; outline-offset: 1px; }
.apane .msg { margin: 0; text-align: left; }
.avid { margin: 22px 0 0; }
.avid[hidden] { display: none; }
.avid .msg { margin: 10px 16px 0; text-align: left; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 18px; padding-top: 2px; border-top: 2px solid var(--bd); }
.vcell { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; cursor: pointer; }
.vcell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vcell .vc { position: absolute; left: 8px; bottom: 6px; display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: .95rem; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.vcell .vc svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.vadd { aspect-ratio: 3 / 4; display: grid; place-items: center; box-sizing: border-box; border: 2px solid var(--bd); background: var(--bg); font-size: 2.8rem; line-height: 1; cursor: pointer; }
/* guest preview */
#signinBtn { position: absolute; top: 10px; right: 16px; z-index: 3; display: none; padding: 8px 20px; font-size: 1rem; }
body.guest #signinBtn { display: block; }
body.guest #nameBtn, body.guest .settings .lo { display: none; }
#guestBack { display: none; }
body.guest #guestBack { display: inline-block; }
/* sign up boxes */
.fields.show { flex: 1; min-height: 0; overflow-y: auto; justify-content: flex-end; }
.sx { gap: 16px; }
.sx .sbox { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); }
.sx .sbox .agree { margin-top: 0; }
/* edit profile */
.ef .row { margin-bottom: 16px; padding: 16px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); background-image: none; }
.ef .row:last-child { margin-bottom: 0; }
.ef .swatches .custom { background-color: transparent; }
/* policies */
#policyView #polList { margin: 24px 16px 32px; padding: 0; border: 0; border-radius: 0; background: transparent; }
#policyView #polList .prow { width: 100%; min-height: 64px; margin: 0 0 12px; padding: 12px 16px; box-sizing: border-box; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); gap: 14px; font-weight: 600; }
#policyView #polList .prow:last-child { border-bottom: 2px solid var(--bd); margin-bottom: 0; }
#policyView #polList .prow span:first-child { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--bd); border-radius: 50%; font-size: .95rem; }
#policyView #polList .prow span:last-child { flex: 1; line-height: 1.3; }
#policyView #polList .prow::after { content: "\203A"; flex: none; font-size: 1.6rem; line-height: 1; opacity: .6; }
#policyView .pol { margin: 24px 16px 32px; padding: 18px; border: 2px solid var(--bd); border-radius: 16px; background-color: var(--bg); background-image: none; }
#policyView .pol h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--bd); font-size: 1.3rem; }
#policyView .pol > p { margin: 0 0 14px; }
#policyView .pol ul, #policyView .pol ol { padding-left: 0; list-style: none; }
#policyView .pol li { margin: 0 0 10px; padding: 12px 14px; border: 1.5px solid #e6dcfa; border-radius: 12px; background: rgba(255,255,255,.5); }
#policyView .pol li:last-child { margin-bottom: 0; }
#policyView .pol li li { margin: 4px 0 0; padding: 0; border: 0; background: transparent; }
#policyView .pol li li::before { content: "\2022\00a0"; }
.bbox .acp { padding: 14px 24px 0; }
.bbox .acp p { margin: 0; font-size: .95rem; line-height: 1.5; }
.bbox .acp .lobtn { margin-top: 16px; }
.bbox .forget { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.bbox .forget input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #b00020; }
#acctView #acMsg { margin: 14px 24px 32px; text-align: left; }
.bbox #bgMsg:empty { margin-bottom: 0; }
/* patterns only show on the page background; bordered boxes stay solid background color */
.pbody, .polc, .nav, .settings .panel, .sheet { background-color: var(--bg); background-image: none; }

/* widgets + stickers */
.pv{position:relative;overflow-x:clip}
.dl{position:absolute;inset:0;z-index:6;container-type:inline-size;pointer-events:none}
.wi{position:absolute;pointer-events:auto;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
body.deco .wi{pointer-events:auto;touch-action:none;cursor:grab}
.wi:focus{outline:none}
.wi.sel{outline:3px solid #7c5cd6;outline-offset:3px;border-radius:8px}
.wb{position:absolute;inset:0;box-sizing:border-box;overflow:hidden;container-type:size;display:flex;align-items:center;justify-content:center;border:2px solid var(--bd);border-radius:16px;background:var(--bg);color:var(--fg)}
.wi.st .wb{border:0;border-radius:0;background:none;container-type:normal}
.wb img{width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-drag:none}
.hd{display:none;position:absolute;right:-16px;bottom:-16px;width:28px;height:28px;box-sizing:border-box;border:3px solid #fff;border-radius:50%;background:#7c5cd6;box-shadow:0 0 0 2px #1a1a1a;touch-action:none}
.hd::after{content:"";position:absolute;inset:-12px}
.wi.sel .hd{display:block}
.wn{align-self:flex-start;width:100%;padding:12px;box-sizing:border-box;font-size:.95rem;line-height:1.35;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
.wn.ph{opacity:.55}
.wc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2cqh;width:100%;padding:3cqmin;box-sizing:border-box;line-height:1.1;text-align:center}
.wt{font-size:min(19cqw,46cqh);font-weight:700;white-space:nowrap}
.wt small{margin-left:.2em;font-size:.4em}
.wl{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:min(9cqw,15cqh);opacity:.75}
.wnum{font-size:min(30cqw,44cqh);font-weight:800}
.we{font-size:min(34cqw,56cqh);line-height:1}
.dbar{position:fixed;left:0;right:0;bottom:0;z-index:15;display:flex;flex-direction:column;gap:8px;padding:10px 12px calc(env(safe-area-inset-bottom,0px) + 10px);border-top:2px solid var(--bd);background:var(--bg)}
.drow{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.dbar .msg{margin:0}
.dbar .pill:disabled{opacity:.35}
body.deco .pv{padding-bottom:170px}
.wf{display:flex;flex-direction:column;gap:10px;width:100%}
.wf input,.wf textarea{width:100%;box-sizing:border-box;padding:10px 14px;border:2px solid var(--bd);border-radius:12px;background:#fff;color:#1a1a1a;font:inherit;font-size:1rem;resize:none}
.em{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.em button{width:42px;height:42px;padding:0;border:2px solid transparent;border-radius:12px;background:#f2f2f2;font-size:1.4rem;cursor:pointer}
.em button[aria-pressed="true"]{border-color:#1a1a1a}
.cbox h3{margin:0}.cbox .msg{margin:0}
.wi.wvid{pointer-events:auto}
body.deco .wb iframe,body.deco .wb video{pointer-events:none}
.wb iframe,.wb video{width:100%;height:100%;border:0;object-fit:cover;background:#000}
.wb img.wp{width:100%;height:100%;object-fit:cover}
.wa{display:flex;flex-direction:column;gap:6px;width:100%;height:100%;padding:10px;box-sizing:border-box;text-align:left;overflow:hidden}
.wa b{font-size:.95rem}
.wa img.wp{flex:1;min-height:0;border-radius:10px}
.wa div{font-size:.85rem;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere}
.ws{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:min(11cqw,26cqh);font-weight:700}
.wfl{display:flex;flex-direction:column;gap:4px;font-size:.9rem;text-align:left}
.cbox{max-height:90vh;overflow-y:auto}

/* soft lavender theme */
body{font-family:ui-rounded,"SF Pro Rounded","Nunito","Quicksand",system-ui,-apple-system,"Segoe UI",sans-serif}
.pc,.pcomp,.pbody,.bbox,.sx .sbox,.ef .row,.apane,.polc,.cbox,#policyView #polList .prow,#policyView .pol{background-color:#fff;border-color:var(--bd);border-radius:24px;box-shadow:0 6px 22px rgba(124,92,214,.08)}
.pmenu{background:#fff;border-color:var(--bd);border-radius:16px}
.pill,.edit,.lobtn,.custom,.echange,.tbtn{border-color:var(--pu);color:var(--pu)}
.pill.solid{background:var(--pu);color:#fff}
.lobtn.danger{border-color:#b00020;color:#b00020}
.signup{border-radius:999px;box-shadow:0 6px 16px rgba(124,92,214,.3)}
.sb{border-radius:999px;border-color:var(--bd);background:#fff}
.atabs button{border-color:var(--bd);color:var(--pu)}
.atabs button.on{background:var(--pu);color:#fff;border-color:var(--pu)}
.tabs{border:0;gap:8px;margin-top:14px}
.tab{flex:none;padding:8px 18px;border:1.5px solid var(--bd);border-radius:999px;background:#fff;color:var(--pu)}
.tab[aria-selected="true"]{background:var(--pu);color:#fff;border-color:var(--pu)}
.top{background:transparent}
.top .ib,.nav .ib,.bgv .ib,.settings .back,.ebanner .ib{color:var(--pu)}
.banner .ib{background:rgba(255,255,255,.75)!important;color:var(--pu)}
.banner{background:#ebe3fb;border-radius:0}
.pfp,.eav{border-color:#fff}
.nav{gap:6px;padding:8px 10px;border:0;background:#fff;box-shadow:0 8px 28px rgba(124,92,214,.2)}
.nav .ib{width:52px;height:52px}
.nav .ib.on{background:var(--pu);color:#fff}
.sitem .dot{background:var(--pu)}
.dbar{border-top-color:var(--bd);background:#fff}
.wb{background:#fff;border-radius:20px}
.hd{box-shadow:0 0 0 2px var(--pu)}
#wpick .cbox{width:min(360px,92vw);gap:12px}
.wsub{margin:-6px 0 0;font-size:.9rem;color:#7a6c9d}
.wg{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.wtile{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px;border:1.5px solid var(--bd);border-radius:18px;background:#f6f1ff;color:var(--fg);font:inherit;text-align:left;cursor:pointer}
.wtile i{display:grid;place-items:center;width:36px;height:36px;margin-bottom:6px;border-radius:12px;background:var(--pu);color:#fff}
.wtile svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wtile b{font-size:.98rem}
.wtile small{font-size:.75rem;line-height:1.25;color:#7a6c9d}
.wtile:active{background:#ece3ff}
.wtile:focus-visible{outline:3px solid var(--pu);outline-offset:2px}
.dbar{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);gap:8px;padding:8px;border:1.5px solid var(--bd);border-radius:28px;box-shadow:0 10px 30px rgba(124,92,214,.22)}
.dbar .msg{margin:2px 8px 0;font-size:.85rem}
.dsel{display:flex;justify-content:space-around;padding:4px;border-radius:20px;background:#f3edff}
.dmain{display:flex;align-items:center;justify-content:space-around;gap:4px}
.dbt{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:64px;padding:8px 10px;border:0;border-radius:16px;background:transparent;color:var(--pu);font:inherit;font-size:.72rem;font-weight:600;cursor:pointer}
.dbt svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dbt:disabled{opacity:.3;cursor:default}
.dbt.del{color:#b00020}
.dbt.done{flex-direction:row;gap:6px;padding:12px 22px;border-radius:999px;background:var(--pu);color:#fff;font-size:.95rem}
.dbt:focus-visible{outline:3px solid var(--pu);outline-offset:2px}
body.deco .pv{padding-bottom:230px}
.wa .ph{opacity:.55}
.wr{display:flex;align-items:flex-start;justify-content:space-around;gap:8px;flex:1;min-height:0;width:100%}
.wx{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;min-width:0}
.wx:nth-child(2),.wx:nth-child(3){display:none}
@container (min-width:180px){.wx:nth-child(2){display:flex}}
@container (min-width:270px){.wx:nth-child(3){display:flex}}
.wim{flex:none;width:min(100%,max(28px,calc(100cqh - 66px)));aspect-ratio:1;border-radius:50%;overflow:hidden;background:#ece3fb}
.wim img{width:100%;height:100%;object-fit:cover}
.wtx{width:100%;text-align:center;font-size:.8rem;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.wslot{display:flex;flex-direction:column;gap:6px;padding-top:10px;border-top:1.5px solid var(--bd)}

/* ---------- prettier widgets + anime posters ---------- */
.wb{border:1.5px solid rgba(124,92,214,.16);border-radius:22px;background:linear-gradient(160deg,#fff 0%,#f6f0ff 100%);box-shadow:0 8px 22px rgba(124,92,214,.16),inset 0 1px 0 rgba(255,255,255,.9)}
.wi.sel{outline-color:#b79cf2;border-radius:24px}
.wb.t-note{background:linear-gradient(160deg,#fffbe6 0%,#fff1c9 100%);border-color:rgba(214,170,60,.28);box-shadow:0 8px 22px rgba(214,170,60,.18)}
.wb.t-note .wn{font-family:ui-rounded,"Nunito",system-ui,sans-serif;color:#5b4a1a}
.wb.t-clock{background:linear-gradient(150deg,#efe7ff 0%,#d9ccff 100%)}
.wb.t-clock .wt{background:linear-gradient(135deg,#6a49c9,#a77bf0);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-.02em}
.wb.t-count{background:linear-gradient(150deg,#fff0f6 0%,#ffd6e8 100%);border-color:rgba(231,100,160,.25);box-shadow:0 8px 22px rgba(231,100,160,.18)}
.wb.t-count .wnum{background:linear-gradient(135deg,#e0508f,#ff8ab8);-webkit-background-clip:text;background-clip:text;color:transparent}
.wb.t-mood{background:linear-gradient(150deg,#fff6ea 0%,#ffe2c4 100%);border-color:rgba(240,150,70,.25);box-shadow:0 8px 22px rgba(240,150,70,.18)}
.wb.t-mood .we{filter:drop-shadow(0 4px 6px rgba(0,0,0,.15))}
.wb.t-song{background:linear-gradient(150deg,#2d2347 0%,#4a3a85 100%);border-color:rgba(255,255,255,.1);color:#fff}
.wb.t-song .wl{opacity:.7;letter-spacing:.08em;text-transform:uppercase}
.wb.t-song .ws{color:#fff}
.wb.t-pic,.wb.t-vid{border-radius:22px;background:#1a1330;border-width:3px;border-color:#fff}
.wb .wl{letter-spacing:.02em}
/* anime poster shelf */
.wb.t-anime{background:linear-gradient(165deg,#fff 0%,#f3ebff 55%,#ffe9f4 100%);border-color:rgba(124,92,214,.2)}
.wa{gap:8px;padding:12px 12px 10px}
.wa>b{display:flex;align-items:center;gap:6px;font-size:.95rem;font-weight:800;color:#4b3896;letter-spacing:.01em}
.wa>b::before{content:"\2726";color:#e0508f;font-size:.9em}
.wa>b::after{content:"";flex:1;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(124,92,214,.35),transparent)}
.wr{align-items:flex-start;justify-content:center;gap:10px}
.wx{flex:0 1 auto;gap:6px;width:calc((100cqh - 78px)*2/3);max-width:33%;min-width:56px}
.wim{width:100%;height:auto;flex:none;aspect-ratio:2/3;border-radius:10px;background:linear-gradient(160deg,#d8cdf3,#f6d6ea);box-shadow:0 8px 16px rgba(60,30,120,.28),0 0 0 2px #fff;position:relative;overflow:hidden;transition:transform .2s ease}
.wim::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,rgba(255,255,255,.35) 0%,transparent 32%,transparent 70%,rgba(0,0,0,.12) 100%)}
.wim img{width:100%;height:100%;object-fit:cover;display:block}
.wx:nth-child(odd) .wim{transform:rotate(-2deg)}
.wx:nth-child(even) .wim{transform:rotate(2deg) translateY(4px)}
.wtx{font-size:.74rem;font-weight:700;color:#3d2f73;line-height:1.2}
.wa .ph{align-self:center;margin:auto;font-size:.85rem;color:#7a6c9d}

/* ---------- pretty sign up / log in ---------- */
main{position:relative}
.hero{flex:1 1 0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:calc(env(safe-area-inset-top,0px) + 24px) 28px 8px;text-align:center}
body:has(.bottom[style*="none"]) .hero{display:none}
.logo{position:relative;display:grid;place-items:center;width:92px;height:92px;margin-bottom:14px;border-radius:30px;background:linear-gradient(145deg,#a98bf2 0%,#7c5cd6 55%,#e07ab8 130%);box-shadow:0 14px 30px rgba(124,92,214,.38),inset 0 2px 0 rgba(255,255,255,.45);transform:rotate(-6deg)}
.logo svg{width:54px;height:54px;filter:drop-shadow(0 3px 4px rgba(60,30,120,.35))}
.logo::before{content:"";position:absolute;inset:-14px;z-index:-1;border-radius:50%;background:radial-gradient(circle,rgba(169,139,242,.35),transparent 70%)}
.sp{position:absolute;width:10px;height:10px;background:#ffb3d6;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:tw 2.8s ease-in-out infinite}
.sp.s1{top:-12px;right:-10px}
.sp.s2{bottom:-8px;left:-14px;width:14px;height:14px;background:#c9b6fb;animation-delay:.9s}
.sp.s3{top:16px;left:-20px;width:8px;height:8px;background:#ffe08a;animation-delay:1.7s}
@keyframes tw{0%,100%{transform:scale(.6) rotate(0);opacity:.55}50%{transform:scale(1.15) rotate(25deg);opacity:1}}
@media (prefers-reduced-motion:reduce){.sp{animation:none}}
.hero h1{margin:0;padding:0;font-size:1.9rem;font-weight:800;letter-spacing:-.02em;background:linear-gradient(135deg,#4b3896,#8a63e0 60%,#d8579a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{margin:0;max-width:30ch;font-size:.98rem;line-height:1.4;color:#7a6c9d}
.fields.show{flex:0 1 auto;justify-content:flex-start;margin:6px 16px 0;padding:20px;gap:12px;border:1.5px solid var(--bd);border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 16px 40px rgba(124,92,214,.16)}
.fields input[type="text"],.fields input[type="password"]{padding:15px 16px 15px 48px;border:2px solid #ebe3fb;border-radius:999px;background-color:#faf7ff;background-repeat:no-repeat;background-position:16px center;background-size:22px;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.fields #user{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b84d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20c.9-4 3.8-6 7.5-6s6.6 2 7.5 6'/%3E%3C/svg%3E")}
.fields #pass{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b84d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9.5' rx='3'/%3E%3Cpath d='M8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3C/svg%3E")}
.fields .dobrow input{padding:13px 8px;background-image:none;text-align:center}
.fields input[type="text"]:focus,.fields input[type="password"]:focus{border-color:#a98bf2;background-color:#fff;box-shadow:0 0 0 4px rgba(124,92,214,.14);outline:0}
.fields .sx .sbox{padding:14px 16px;border:1.5px solid #ece4fb;border-radius:20px;background:linear-gradient(160deg,#faf7ff,#f3ebff);box-shadow:none}
.dobl{color:#4b3896}
.nmnote{margin:0;color:#7a6c9d}
.bottom{padding:16px 20px calc(env(safe-area-inset-bottom,0px) + 24px)}
.signup{padding:17px;border-radius:999px;font-size:1.05rem;font-weight:700;letter-spacing:.01em;background:linear-gradient(135deg,#9b78ee 0%,#7c5cd6 55%,#c363b5 130%);box-shadow:0 12px 26px rgba(124,92,214,.38),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .15s ease,box-shadow .15s ease}
.signup:active{transform:translateY(1px) scale(.99);box-shadow:0 6px 14px rgba(124,92,214,.3)}
.bottom .msg{padding:10px 14px;border-radius:14px;background:#fff0f2;border:1px solid #ffd0d8}
.bottom .alt{color:#7a6c9d}
.bottom .link{color:var(--pu);text-decoration:none;font-weight:700}
.bottom .link:hover{text-decoration:underline}

/* ---------- solid colors only (no gradients) ---------- */
.logo{background:#7c5cd6}
.logo::before{background:rgba(169,139,242,.22)}
.hero h1{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#4b3896}
.signup{background:#7c5cd6}
.fields .sx .sbox{background:#f6f1ff}
.wb{background:#fff}
.wb.t-note{background:#fff3c4}
.wb.t-clock{background:#e6dcfb}
.wb.t-clock .wt,.wb.t-count .wnum{background:none;-webkit-background-clip:border-box;background-clip:border-box}
.wb.t-clock .wt{color:#5b3fb8}
.wb.t-count{background:#ffe0ee}
.wb.t-count .wnum{color:#d94a8a}
.wb.t-mood{background:#ffe8d0}
.wb.t-song{background:#3a2d6b}
.wb.t-anime{background:#f6f0ff}
.wa>b::after{background:rgba(124,92,214,.3)}
.wim{background:#d8cdf3}
.wim::after{display:none}

/* ---------- fix: clipped form + squashed logo ---------- */
main:has(.fields.show){overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
.logo{flex:none;width:80px;height:80px;min-height:80px;border-radius:26px;margin-bottom:10px}
.logo svg{width:46px;height:46px}
.hero{flex:1 0 auto;min-height:0;padding-top:calc(env(safe-area-inset-top,0px) + 20px);padding-bottom:12px}
.hero h1{font-size:1.7rem}
.hero p{font-size:.92rem}
.fields.show{flex:none;overflow:visible;min-height:auto;margin-bottom:12px}
.fields .sx{flex:none}
.fields .sx .sbox{flex:none}
.fields .dobrow input{min-height:48px}

/* ---------- pill logo back, no glow ---------- */
.logo{width:96px;height:62px;min-height:62px;border-radius:32px;margin-bottom:14px}
.logo svg{width:50px;height:50px}
.logo::before{display:none}

/* ---------- birthday fields: true pills ---------- */
.fields .dobrow{flex:none;height:52px;align-items:center;gap:10px}
.fields .dobrow input[type="text"]{flex:1 1 0;height:52px;min-height:0;max-height:52px;box-sizing:border-box;padding:0 10px;border-radius:999px;line-height:normal;text-align:center}
.fields .dobrow #dobY{flex:1.4 1 0}

/* ---------- simple widgets: follow the app theme, no extra colors ---------- */
.wb,.wb.t-note,.wb.t-clock,.wb.t-count,.wb.t-mood,.wb.t-song,.wb.t-anime,.wb.t-pic,.wb.t-vid{background:var(--bg);color:var(--fg);border:2px solid var(--bd);border-radius:18px;box-shadow:none}
.wb.t-pic,.wb.t-vid{background:#000}
.wb.t-note .wn{color:inherit}
.wb.t-clock .wt,.wb.t-count .wnum{color:inherit;background:none;-webkit-background-clip:border-box;background-clip:border-box}
.wb.t-song .wl{text-transform:none;letter-spacing:0;opacity:.7}
.wb.t-song .ws{color:inherit}
.wb.t-mood .we{filter:none}
.wa{gap:8px;padding:10px}
.wa>b{display:block;font-size:.95rem;font-weight:700;color:inherit;letter-spacing:0}
.wa>b::before,.wa>b::after{content:none;display:none}
.wr{gap:10px}
.wim,.wx:nth-child(odd) .wim,.wx:nth-child(even) .wim{transform:none;border-radius:8px;background:var(--bd);box-shadow:none;outline:1.5px solid var(--bd);outline-offset:0}
.wim::after{display:none}
.wtx{color:inherit;font-weight:600}
.wa .ph{color:inherit}
.wi.sel{outline-color:var(--pu);border-radius:20px}
/* fix: touches on a widget's inner content used to scroll the page instead of dragging */
body.deco .wi,body.deco .wi *{touch-action:none}

/* countdown units + select */
.wnum.sm{font-size:min(20cqw,38cqh);white-space:nowrap;font-variant-numeric:tabular-nums}
.wcd{display:flex;justify-content:center;gap:2cqw;width:100%}
.wcd>div{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0}
.wcd b{font-size:min(13cqw,34cqh);font-weight:800;line-height:1.05;font-variant-numeric:tabular-nums}
.wcd span{font-size:min(5cqw,11cqh);opacity:.7}
.wf select,.wf input[type="time"],.wf input[type="date"]{width:100%;box-sizing:border-box;padding:10px 14px;border:2px solid var(--bd);border-radius:999px;background:#fff;color:#1a1a1a;font:inherit;font-size:1rem}

/* nicer file picker */
.wfl{gap:8px;font-size:.95rem;font-weight:700;color:#4b3896}
.wf input[type="file"]{display:flex;align-items:center;width:100%;box-sizing:border-box;padding:12px;border:2px dashed #cdbdf0;border-radius:18px;background:#faf7ff;color:#7a6c9d;font:inherit;font-size:.9rem;font-weight:500;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}
.wf input[type="file"]:hover{border-color:var(--pu);background:#f3ecff}
.wf input[type="file"]::file-selector-button{margin:0 12px 0 0;padding:10px 20px;border:0;border-radius:999px;background:var(--pu);color:#fff;font:inherit;font-size:.95rem;font-weight:700;cursor:pointer;box-shadow:0 4px 10px rgba(124,92,214,.3)}
.wf input[type="file"]::-webkit-file-upload-button{margin:0 12px 0 0;padding:10px 20px;border:0;border-radius:999px;background:var(--pu);color:#fff;font:inherit;font-size:.95rem;font-weight:700;cursor:pointer}
.wf input[type="file"]:focus-visible{outline:3px solid var(--pu);outline-offset:2px}

/* remove the blue tap flash */
*,*::before,*::after{-webkit-tap-highlight-color:transparent}
button,.ib,.dbt,.wtile,.pill,.link,label{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
button:focus:not(:focus-visible){outline:none}
.dbt:active{background:rgba(124,92,214,.1)}

/* posts: show 3 lines, expand for more */
.pc p.clamp3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pmoretxt{display:block;margin:4px 0 0;padding:4px 0;border:0;background:none;color:var(--pu);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.pmoretxt[hidden]{display:none}

/* ---------- profile picture positions ---------- */
.ppg{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:6px}
.ppo{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px;border:2px solid var(--bd);border-radius:16px;background:#fff;color:var(--pu);font:inherit;font-size:.72rem;font-weight:600;line-height:1.15;text-align:center;cursor:pointer}
.ppo svg{width:100%;max-width:64px;height:auto}
.ppo[aria-pressed="true"]{border-color:var(--pu);background:#f3ecff}
.ppo:focus-visible{outline:3px solid var(--pu);outline-offset:2px}
.pv[data-pp="left"] .phead{position:static}
.pv[data-pp="left"] .pfp,.pv[data-pp="center"] .pfp,.pv[data-pp$="o"] .pfp{z-index:3;width:108px;height:108px}
/* inside the banner */
.pv[data-pp="left"] .pfp{left:16px;right:auto;top:auto;bottom:16px}
.pv[data-pp="left"] .phead{padding:12px 16px 16px 140px}
.pv[data-pp="center"] .banner{min-height:184px;overflow:visible}
.pv[data-pp="center"] .pfp{left:50%;right:auto;bottom:auto;top:48px;transform:translateX(-50%)}
.pv[data-pp="center"] .phead{position:absolute;top:100%;left:0;right:0;bottom:auto;padding:14px 16px 0;text-align:center}
.pv[data-pp="center"] .pbody{margin-top:104px}
.pv[data-pp="center"] .nrow{justify-content:center}
/* half over the banner edge, name below */
.pv[data-pp$="o"] .banner{overflow:visible}
.pv[data-pp$="o"] .pfp{top:auto;bottom:-54px}
.pv[data-pp$="o"] .phead{position:absolute;top:100%;left:0;right:0;bottom:auto}
.pv[data-pp="righto"] .pfp{right:16px;left:auto}
.pv[data-pp="righto"] .phead{padding:10px 144px 0 16px}
.pv[data-pp="lefto"] .pfp{left:16px;right:auto}
.pv[data-pp="lefto"] .phead{padding:10px 16px 0 144px}
.pv[data-pp="centero"] .pfp{left:50%;right:auto;transform:translateX(-50%)}
.pv[data-pp="centero"] .phead{padding:70px 16px 0;text-align:center}
.pv[data-pp="centero"] .nrow{justify-content:center}
.pv[data-pp="righto"] .pbody,.pv[data-pp="lefto"] .pbody{margin-top:92px}
.pv[data-pp="centero"] .pbody{margin-top:156px}

/* owner-only controls: hidden only when someone else is viewing the profile */
#profileView.visitor .edit,#profileView.visitor #decoBtn{display:none}

/* spotify */
.wb img.wsa{flex:none;width:min(36cqh,26cqw);height:auto;aspect-ratio:1;border-radius:8px;object-fit:cover}
.spbox{display:flex;flex-direction:column;gap:8px;padding:12px;border:2px dashed #cdbdf0;border-radius:18px;background:#faf7ff;color:#4b3896}
.spok{font-weight:700;font-size:.95rem}
.spnote{font-size:.8rem;line-height:1.35;color:#7a6c9d;overflow-wrap:anywhere}
.spbox .pill{align-self:flex-start}
.wf select{appearance:auto}

.oauth{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.orow{display:flex;align-items:center;gap:12px;margin-top:16px;color:#7a6c9d;font-size:.85rem}
.orow::before,.orow::after{content:"";flex:1;height:1px;background:#e6dcfa}
.obtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px;border:1.5px solid var(--bd);border-radius:999px;background:#fff;color:#1a1a1a;font:inherit;font-size:1rem;font-weight:600;cursor:pointer}
.obtn.dc{background:#5865f2;border-color:#5865f2;color:#fff}
.obtn b{font-size:1.1rem}
.obtn:focus-visible{outline:3px solid #7c5cd6;outline-offset:2px}
.oa{position:fixed;inset:0;z-index:35;display:flex;align-items:center;justify-content:center;background:rgba(30,20,60,.45);padding:20px}
.oa .card{width:min(92vw,360px);box-sizing:border-box;padding:20px;border-radius:18px;background:#fff;color:#1a1a1a;display:flex;flex-direction:column;gap:12px}
.oa h2{margin:0;font-size:1.2rem}
.oa .note{margin:0;font-size:.8rem;color:#7a6c9d}
.oa input[type=text],.oa input[type=email]{font:inherit;font-size:1rem;padding:12px;border:1px solid #d9cbf5;border-radius:10px;color:#1a1a1a;background:#fff}
.oa label.ag{display:flex;gap:8px;align-items:flex-start;font-size:.9rem}
.oa .row2{display:flex;gap:8px;justify-content:flex-end}
.su{position:fixed;inset:0;z-index:30;background:var(--bg);overflow-y:auto;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.su .sub{position:relative;height:150px;background:#ebe3fb}
.su .sav{position:absolute;left:50%;top:96px;width:108px;height:108px;transform:translateX(-50%);border-radius:50%;background:#d8cdf3;border:4px solid #fff;box-sizing:border-box;overflow:hidden}
.su .echange{margin-top:62px}
.su h2{margin:14px 20px 4px;text-align:center;font-size:1.4rem}
.su .ssub{margin:0 20px 16px;text-align:center;color:#7a6c9d;font-size:.95rem}
.su .sname{display:block;width:calc(100% - 40px);margin:0 20px;box-sizing:border-box;padding:14px;border:1px solid #d9cbf5;border-radius:10px;background:#fff;color:#1a1a1a;font:inherit;font-size:1rem}
.su .sname:focus-visible{outline:3px solid #7c5cd6;outline-offset:1px}
.su .sgo{padding:20px}
#nameView .nmcard{margin:20px 20px 0;padding:16px;border:1px solid #e6dcfa;border-radius:18px;background:#fff;box-shadow:0 4px 14px rgba(124,92,214,.08)}
#nameView .nmcard:first-of-type{margin-top:28px}
#nameView .bgs{margin:0 0 10px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#7a6c9d}
#nameView .nmrow{margin:0;gap:10px}
#nameView .nmrow input{height:48px;padding:0 14px;border:1.5px solid var(--bd);background:var(--bg)}
#nameView .nmrow .custom{height:48px;padding:0 22px;border-width:0;background:var(--pu);color:#fff;font-size:.95rem;box-shadow:0 4px 10px rgba(124,92,214,.3)}
#nameView .nmrow .custom:active{transform:translateY(1px)}
#nameView .nmnote{margin:10px 2px 0;font-size:.82rem;line-height:1.35}
#nameView .msg{margin:8px 2px 0;padding:0;background:none;border:0;font-size:.85rem}
body > .top{position:fixed;top:env(safe-area-inset-top,0px);left:0;right:0;z-index:12;box-sizing:border-box;background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid rgba(124,92,214,.18)}
.pgwrap .dots{z-index:13}
.pgwrap:not(.onfeed) .dots{top:calc(env(safe-area-inset-top,0px) + 64px)}
.pgwrap .dots i{opacity:.55}
.pgwrap .dots i.on{opacity:1}
body > .top .ib{pointer-events:auto}
body > .top{box-sizing:content-box;padding:2px 12px 2px;max-height:44px}
body > .top .ib{width:44px;height:44px}
.posts{padding-top:56px}
body.guest .posts{padding-top:104px}
#signinBtn{top:56px}
