
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-soft); transition: background .2s, color .2s; }
.lang-btn:hover, .lang.open .lang-btn { background: rgba(255, 255, 255, 0.55); color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); display: none; z-index: 70; }
.lang.open .lang-menu { display: block; animation: drop .2s ease-out; }
.lang-menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-soft); text-align: left; }
.lang-menu button:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.lang-menu button.on { color: var(--ink); font-weight: 700; }
.lang-menu button.on .ic { color: var(--accent); }
.lang.in-side { align-self: flex-start; }
.lang.in-side .lang-menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
@media (max-width: 740.98px) { .bar-right > .lang { display: none; } }


.bot-fab { position: fixed; z-index: 45; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #f3a8c5, var(--accent) 55%, #9b7fe0); box-shadow: 0 10px 28px rgba(224, 69, 123, 0.4); transition: transform .25s, opacity .25s, bottom .3s; }
.bot-fab .ic { color: #fff; width: 28px; height: 28px; }
.bot-fab:hover { transform: scale(1.06); }
.bot-fab.hide { opacity: 0; transform: scale(.6); pointer-events: none; }
body.has-player .bot-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 741px) { body.has-player .bot-fab { bottom: calc(18px + env(safe-area-inset-bottom)); } }
.bot-panel { position: fixed; z-index: 160; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 120px)); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; background: rgba(255, 255, 255, 0.86); opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.33, 1, .68, 1); }
.bot-panel.open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 740.98px) { .bot-panel { right: 12px; left: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); height: calc(100dvh - 90px - env(safe-area-inset-top)); } }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.bot-head .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bot-head .main span { font-size: 12px; color: var(--ink-soft); }
.bot-head .round { width: 36px; height: 36px; }
.bot-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #f3a8c5, var(--accent)); flex-shrink: 0; }
.bot-ava .ic { color: #fff; }
.bot-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bot-msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; word-break: break-word; background: #f0eef1; align-self: flex-start; }
.bot-msg.me { background: var(--accent); color: #fff; align-self: flex-end; }
.bot-msg a { color: var(--accent-deep); text-decoration: underline; }
.bot-msg.err { background: #fdecec; color: var(--bad); }
.bot-msg.typing { display: flex; gap: 4px; padding: 14px; }
.bot-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray); animation: blink 1.2s infinite; }
.bot-msg.typing i:nth-child(2) { animation-delay: .2s; }
.bot-msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.bot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bot-chips button { padding: 7px 12px; border-radius: 999px; font-size: 13px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.bot-chips button:hover { border-color: var(--accent); color: var(--accent-deep); }
.bot-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.bot-input input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 0; background: var(--field); padding: 0 16px; outline: 0; font-size: 16px; }
.bot-input .round { background: var(--accent); }
.bot-input .round .ic { color: #fff; }


.bake-page main { padding: 0; max-width: none; }
.bake-full { position: fixed; inset: 0; z-index: 1; background: #fff9f7; }
.bake-full iframe { display: block; width: 100%; height: 100%; border: 0; }
.bake-page { overflow: hidden; }


[data-icon] { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.car-arrow { padding: 0; }
.car-arrow > span, .car-arrow .ic { margin: 0; }


.bar-links { display: none !important; }
.bar { gap: 14px; }
.bar .brand { transition: max-width .45s ease, opacity .3s, margin .45s; max-width: 260px; overflow: hidden; }
.bar-right { flex: 1; min-width: 0; justify-content: flex-end; gap: 8px; }
.acct { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.acct .auth-btn { height: 44px; padding: 0 22px; }
.acct .pill.accent.auth-btn { min-width: 108px; }
.acct .pill.white.auth-btn { min-width: 120px; }
.s-icon, .a-icon, .x-icon { display: none; }
.search-field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.7); min-width: 0; transition: background .2s, border-color .2s; }
.search-field:focus-within { background: rgba(255, 255, 255, 0.85); border-color: var(--accent); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; height: 100%; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field.in-bar { flex: 1; max-width: 440px; animation: none; }
.search-field.big { height: 54px; margin-bottom: 18px; background: rgba(255, 255, 255, 0.8); }
.search-field.big input { font-size: 17px; }
.side-search { display: none; margin-bottom: 16px; position: relative; }
.side-search .search-field { width: 100%; }

@media (max-width: 1399.98px) {
  .search-field.in-bar { display: none; }
  .s-icon { display: grid; }
  .bar[data-exp="search"] .search-field.in-bar { display: flex; max-width: none; animation: slideIn .3s ease-out; }
  .bar[data-exp="search"] .s-icon, .bar[data-exp="search"] .acct { display: none; }
  .bar[data-exp] .x-icon { display: grid; }
  .bar[data-exp=""] .x-icon { display: none; }
}
@media (max-width: 1099.98px) {
  .a-icon { display: grid; }
  .acct { display: none; }
  .bar[data-exp="account"] .acct { display: flex; flex: 1; justify-content: flex-end; animation: slideIn .3s ease-out; }
  .bar[data-exp="account"] .s-icon, .bar[data-exp="account"] .a-icon, .bar[data-exp="search"] .a-icon { display: none; }
  .bar:not([data-exp=""]) .brand { max-width: 0; opacity: 0; margin-right: -14px; }
  .bar[data-exp="account"] .acct .auth-btn { flex: 1; min-width: 0; }
}
@media (max-width: 882.98px) {
  
  .bar-right > :not(#menu-btn):not(.acct) { display: none !important; }
  .bar-right > .acct { display: flex !important; flex: 0 0 auto !important; gap: 6px; animation: none !important; }
  .acct > :not(#cart-btn):not(#dm-btn):not(#nt-btn):not(#rp-btn):not([href="/login.html"]) { display: none !important; }
  .acct > [href="/login.html"] { flex: 0 0 auto !important; padding: 0 14px; height: 36px; font-size: 14px; }
  .bar-right { gap: 6px; }
  .bar .brand { max-width: 260px !important; opacity: 1 !important; margin-right: 0 !important; }
  .side-search { display: block; }
  .side-foot .lang { display: block; }
}
@media (max-width: 420px) {
  
  .bar-right .round { width: 38px; height: 38px; }
  .bar .brand img { height: 22px; }
}
@media (max-width: 740.98px) {
  
  html[data-frame="chat"] .bot-fab, body[data-page="chat"] .bot-fab { display: none !important; }
  
  .chat-box { height: calc(100dvh - var(--top) - var(--bar-h) - 64px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: 16px; }
  body[data-page="chat"] main { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  
  .chat-head { gap: 6px; padding: 10px; }
  .chat-head #block, .chat-head #rep { display: none; }
  .chat-head .row .small { display: none; }
  .chat-head b { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
  
  main:has(.chat-wrap.in-room) > .eyebrow, main:has(.chat-wrap.in-room) > h1.title, main:has(.chat-wrap.in-room) > .site-foot { display: none; }
}
@media (min-width: 883px) { .side-foot .lang.in-side, .side-foot .btns, .side-foot .side-user { } }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } }
.who-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.search-drop { pointer-events: auto; position: absolute; top: calc(var(--bar-h) + 10px); right: 60px; width: min(440px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow-y: auto; border-radius: 22px; padding: 10px 8px; z-index: 65; background: rgba(255, 255, 255, 0.92); animation: drop .25s ease-out; scrollbar-width: none; }
.search-drop::-webkit-scrollbar { display: none; }
.side-search .search-drop { position: absolute; top: 52px; left: 0; right: 0; width: auto; }
.sd-sec { padding: 10px 12px 4px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.sd-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; }
.sd-row:hover { background: rgba(224, 69, 123, 0.07); }
.sd-row div { min-width: 0; display: flex; flex-direction: column; }
.sd-row b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-row span { font-size: 12px; color: var(--ink-soft); }
.sd-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fdeef3; flex-shrink: 0; }
.sd-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--field); flex-shrink: 0; }
.sd-all { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 8px 6px 2px; padding: 11px; border-radius: 12px; background: var(--field); font-weight: 600; font-size: 14px; }
.sd-all .ic { width: 16px; height: 16px; }
.search-page { padding: 10px; }
.search-page .sd-sec { font-size: 14px; padding-top: 16px; }


.bar-right { gap: 18px; }
.acct { gap: 14px; }
.acct .auth-btn + .auth-btn { margin-left: -4px; }
#menu-btn { margin-left: 4px; }
.search-field {
  background: rgba(118, 105, 115, 0.12);
  border: 1px solid rgba(60, 40, 50, 0.1);
  box-shadow: inset 0 1px 2px rgba(60, 30, 45, 0.08);
}
.search-field:hover { background: rgba(118, 105, 115, 0.16); }
.search-field:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 69, 123, 0.15); }
.search-field .ic { color: #6e6e73; }
.search-field input::placeholder { color: #8e8e93; }


.input .timer { flex-shrink: 0; min-width: 40px; text-align: right; font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.input .timer.warn { color: #e5484d; }
.input .timer.over { color: var(--gray); text-decoration: line-through; }
.input .timer.done { display: none; }


.two > * { min-width: 0; }
.input input[type=date] { min-width: 0; width: 100%; }


.agree-box { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.agree-box .check.all { font-weight: 700; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.agree-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.agree-view { flex-shrink: 0; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.agree-view:hover { color: var(--accent); }


.terms-body { line-height: 1.75; font-size: 14.5px; color: #3a3a3c; }
.terms-body h3 { font-size: 16px; margin: 22px 0 6px; color: var(--ink); }
.terms-body h3:first-of-type { margin-top: 8px; }
.terms-body p { margin: 0 0 8px; }
.terms-body ol { margin: 0 0 8px; padding-left: 20px; }
.terms-body li { margin-bottom: 4px; }
.modal .terms-body { max-height: 56vh; overflow-y: auto; padding-right: 4px; }


.round:hover, .lang-btn:hover, .lang.open .lang-btn, .side-nav a:hover, .eye:hover,
a.row:hover, .row.click:hover, .sd-row:hover, .menu-card:hover, .np-q:hover,
.lang-menu button:hover, .bot-chips button:hover, .chips button:hover, .tabs button:hover:not(.on) {
  background: rgba(118, 118, 128, 0.14);
}
.side-nav a.on:hover { background: rgba(118, 118, 128, 0.18); }
.pill.white:hover { background: #ececef; }
.who:hover { background: rgba(118, 118, 128, 0.14); }
.player .round:hover { background: rgba(118, 118, 128, 0.16); }
.np .round:hover, .np-ctrl button:hover { background: rgba(255, 255, 255, 0.12); }


.bar-right { justify-content: flex-end; }
#menu-btn { margin-left: 4px; order: 99; flex-shrink: 0; }

.bar-right { justify-content: flex-end; }
.search-field.in-bar { flex: 0 1 380px; }
.bar[data-exp="search"] .search-field.in-bar { flex: 1 1 auto; }


.badge.state-active { background: rgba(47, 168, 107, 0.12); color: var(--ok); }
.badge.state-suspended { background: #fff1e0; color: #c4602a; }
.badge.state-banned { background: #fdecec; color: var(--bad); }
.manage-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px dashed rgba(229, 72, 77, 0.35); font-size: 14px; }
.manage-box b { display: inline-flex; align-items: center; gap: 4px; }
#u-tabs b { margin-left: 4px; font-size: 12px; color: var(--accent-deep); }
#u-search { margin: 0 0 14px; }
.row a.main { color: inherit; }
.site-foot .copy { margin: 8px 0 0; letter-spacing: .04em; }


.topbar-row { transition: none; } 


.side {
  position: fixed !important;
  z-index: 70;
  top: calc(var(--top) + env(safe-area-inset-top));
  right: calc(var(--side) + env(safe-area-inset-right));
  transform-origin: top right;
}
@media (max-width: 740.98px) {
  .side { left: auto; }
  .side.open { width: calc(100vw - var(--side) * 2) !important; }
}


html.shell, html.shell body { height: 100%; overflow: hidden; }
html.shell body::before { display: none; }
#app-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; background: var(--bg); }
html.shell .player { z-index: 40; }
html.shell .toasts { top: calc(var(--top) + var(--bar-h) + 12px + env(safe-area-inset-top)); }



#menu-btn { flex-shrink: 0; overflow: hidden; transition: opacity .25s, transform .25s, width .3s ease, margin .3s ease; }
.topbar-row.menu-on #menu-btn { opacity: 0; transform: scale(.7); pointer-events: none; width: 0; margin-left: -8px; box-shadow: none; }


.post-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 16px; white-space: normal; }
.post-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f1e7ec; }


.msg.has-img { padding: 4px; background: transparent; }
.msg.has-img img { display: block; max-width: 240px; max-height: 300px; border-radius: 14px; cursor: zoom-in; }
.msg-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .6); color: inherit; min-width: 180px; }
.msg.me .msg-file { background: rgba(255, 255, 255, .22); }
.msg-file .ic { flex-shrink: 0; color: currentColor; }
.msg-file b { display: block; font-size: 14px; word-break: break-all; }
.msg-file span { font-size: 12px; opacity: .75; }

.chat-box .chat-input { padding: 10px; align-items: center; position: relative; }
.plus-wrap { position: relative; flex-shrink: 0; }
.plus-btn { background: var(--field); transition: transform .25s, background .2s; }
.plus-btn.on { transform: rotate(45deg); background: rgba(118, 118, 128, 0.2); }
.plus-menu { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20; min-width: 170px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16); border: 1px solid rgba(0, 0, 0, 0.05); display: none; }
.plus-menu.open { display: block; animation: drop .2s ease-out; }
.plus-menu label, .plus-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 11px; font-size: 15px; cursor: pointer; text-align: left; }
.plus-menu label:hover, .plus-menu button:hover { background: rgba(118, 118, 128, 0.12); }
.plus-menu .ic { color: var(--accent); }

.sticker-panel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 10px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.85); max-height: 200px; overflow-y: auto; }
.sticker-panel button { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; padding: 6px; transition: background .2s, transform .15s; }
.sticker-panel button:hover { background: rgba(118, 118, 128, 0.12); transform: scale(1.06); }
.sticker { width: 100%; height: 100%; display: block; }
.msg-sticker { display: block; width: 96px; height: 96px; }
.sticker-panel button.picked { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.chat-input.emoji-mode input { background: var(--accent-soft); }

.msgs .mrow { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; border-radius: 14px; transition: background .4s; -webkit-touch-callout: none; }
.msgs .mrow.me { align-items: flex-end; }
.msgs .mrow .msg { max-width: min(75vw, 520px); align-self: auto; }
.msgs .mrow.me .msg:not(.has-img):not(.deleted) { background: var(--accent); color: #fff; }
.msgs .mrow .msg-time { align-self: auto; margin: 0 6px 6px; }
.mrow.flash { background: rgba(224, 69, 123, .12); }

.cl-mark { display: inline-flex; vertical-align: -3px; margin-right: 4px; }
.cl-mark .ic { width: 14px; height: 14px; color: var(--gray); }
#clist .row.pinned { background: rgba(224, 69, 123, .05); }
.unread-n.quiet { background: var(--gray); }
#clist .row { transition: background .18s, transform .18s, box-shadow .18s; -webkit-touch-callout: none; border-radius: 14px; }

#clist .row.active { background: rgba(224, 69, 123, .11); }
#clist .row.active .t { font-weight: 700; color: var(--accent-deep); }

@media (hover: hover) {
  #clist .row:hover { background: rgba(255, 255, 255, .9); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
  #clist .row.active:hover { background: rgba(224, 69, 123, .15); box-shadow: 0 6px 16px rgba(224, 69, 123, .12); }
  #clist .row:hover .thumb, #clist .row:hover .ava { transform: scale(1.04); }
  #clist .row .thumb, #clist .row .ava { transition: transform .18s; }
}
#clist .row:active { transform: scale(.99); }


.msgs-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.msgs-wrap .msgs { flex: 1; min-height: 0; }
.to-bottom { position: absolute; right: 14px; bottom: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-bottom.show { opacity: 1; transform: none; pointer-events: auto; }
.to-bottom:hover { background: #fff; transform: translateY(-1px); }
.to-bottom .ic { color: var(--ink-soft); }
.to-bottom.new::after { content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }

.msgs .mrow .msg { transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
@media (hover: hover) {
  .msgs .mrow .msg:not(.deleted):hover { transform: translateY(-1px) scale(1.012); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); filter: brightness(1.04); cursor: context-menu; }
  .msgs .mrow .msg.has-img:hover { box-shadow: none; filter: brightness(1.05) drop-shadow(0 6px 12px rgba(0, 0, 0, .12)); }
  .msgs .mrow .msg-time { opacity: .55; transition: opacity .18s; }
  .msgs .mrow:hover .msg-time { opacity: 1; }
}
.msgs .mrow.me .msg { transform-origin: right center; }
.msgs .mrow:not(.me) .msg { transform-origin: left center; }
.msg.deleted { display: flex; align-items: center; gap: 6px; background: transparent !important; border: 1px dashed var(--line); color: var(--gray) !important; font-size: 13px; }
.msg-quote { max-width: min(70vw, 480px); padding: 6px 10px; border-left: 3px solid var(--accent); border-radius: 8px; background: rgba(118, 118, 128, .1); font-size: 12.5px; cursor: pointer; display: flex; flex-direction: column; }
.msg-quote b { color: var(--accent-deep); font-size: 12px; }
.msg-quote span { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rx-bar { display: flex; gap: 4px; flex-wrap: wrap; margin-top: -2px; }
.rx { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 7px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.rx .sticker { width: 18px; height: 18px; }
.rx b { font-size: 12px; color: var(--ink-soft); }
.rx.mine { border-color: var(--accent); background: var(--accent-soft); }
.rx-good { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); }
.rx-good .ic { color: #fff; width: 13px; height: 13px; }

.msg-menu { position: fixed; z-index: 600; min-width: 180px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 14px 40px rgba(0, 0, 0, .2); border: 1px solid rgba(0, 0, 0, .05); animation: drop .15s ease-out; }
.msg-menu > button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; text-align: left; }
.msg-menu > button:hover { background: rgba(118, 118, 128, .12); }
.msg-menu > button .ic { color: var(--ink-soft); }
.msg-menu > button.danger, .msg-menu > button.danger .ic { color: var(--bad); }
.mm-react { display: flex; gap: 2px; padding: 4px 4px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mm-react button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 5px; transition: transform .15s, background .15s; }
.mm-react button:hover { background: rgba(118, 118, 128, .12); transform: scale(1.15); }
.mm-react .sticker { width: 26px; height: 26px; }
.mm-react .rx-good { width: 24px; height: 24px; }

.reply-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-top: 1px solid var(--line); background: rgba(224, 69, 123, .06); }
.reply-bar .main { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.reply-bar b { color: var(--accent-deep); }
.reply-bar span { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-bar .round { width: 32px; height: 32px; }

.wd-name { color: var(--gray); text-decoration: line-through; }
.wd-label { font-size: 12px; font-weight: 600; color: var(--gray); }
.chat-closed { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; border-top: 1px solid var(--line); color: var(--gray); font-size: 14px; }


.msg-rep { font-size: 11px; color: var(--gray); padding: 0 4px; margin-left: 2px; opacity: .7; }
.msg-rep:hover { color: var(--bad); opacity: 1; text-decoration: underline; }

.rm-box { padding: 14px; border-radius: 16px; background: var(--field); }
.rm-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.rm-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.rm-img { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; margin-top: 8px; }


.cam { position: relative; border-radius: 16px; overflow: hidden; background: #111; aspect-ratio: 4 / 3; }
.cam video, .cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-foot { flex-wrap: wrap; }
.cam-foot .cam-shot { flex: 2; }


.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 5, 8, 0.92); display: flex; align-items: center; justify-content: center; animation: fade .2s; touch-action: pan-y; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.lb-stage img {
  display: block; width: auto; height: auto;
  max-width: calc(100vw - 150px);
  max-height: calc(100dvh - 130px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none;
}
.lightbox .round { position: absolute; z-index: 2; width: 48px; height: 48px; background: rgba(255, 255, 255, 0.14); }
.lightbox .round:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox .round .ic { color: #fff; }
.lb-x { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lb-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 740px) {
  .lb-stage img { max-width: calc(100vw - 20px); }
  .lb-nav { display: none; } 
}
.zoomable { cursor: zoom-in; }


html.no-lyric-motion .lyrics p.on .ch { transform: none !important; }
html.no-art-beat .np-art.thump { animation: none !important; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
html.no-bot .bot-fab, html.no-bot .bot-panel { display: none !important; }


.set-sec { margin-bottom: 16px; }
.set-sec h2 { font-size: 16px; margin: 0 0 6px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.set-row { display: flex; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .main { flex: 1; min-width: 0; }
.set-row .main b { display: block; font-size: 15px; }
.set-row .main span { font-size: 13px; color: var(--ink-soft); }

.switch { position: relative; width: 50px; height: 30px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 15px; background: rgba(118, 118, 128, 0.24); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(20px); }
.set-row select.box { width: auto; min-width: 140px; }


.danger { color: var(--bad) !important; }
.danger-btn { background: #e5484d !important; color: #fff !important; }
.danger-btn:disabled { background: #f1b9bb !important; }
.danger-zone { margin-top: 18px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .04); }
.danger-zone b { color: var(--bad); }
.danger-zone p { margin: 4px 0 10px; }


.site-foot { text-align: center; padding: 34px 0 6px; font-size: 12.5px; color: var(--gray); }
.site-foot a { color: var(--ink-soft); margin: 0 8px; }
.site-foot a:hover { color: var(--accent); }

@media (min-width: 741px) { .chat-head #more { display: none; } }


.alarm-ring { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: calc(30px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));
  background: radial-gradient(120% 90% at 50% 0%, rgba(243, 168, 197, .96), rgba(155, 127, 224, .96) 70%); color: #fff; animation: arIn .3s ease-out; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.alarm-ring.out { animation: arOut .25s ease-in forwards; }
@keyframes arIn { from { opacity: 0; transform: scale(1.04); } }
@keyframes arOut { to { opacity: 0; transform: scale(.97); } }
.ar-inner { width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ar-bell { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); animation: arShake 1s ease-in-out infinite; }
.ar-bell .ic { width: 44px; height: 44px; color: #fff; }
@keyframes arShake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.ar-when { margin: 10px 0 0; font-size: 17px; font-weight: 600; opacity: .9; }
.ar-time { font-size: clamp(72px, 22vw, 112px); font-weight: 200; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ar-title { margin: 4px 0 0; font-size: 26px; font-weight: 800; word-break: keep-all; overflow-wrap: anywhere; }
.ar-memo { margin: 0; font-size: 15px; opacity: .85; }
.ar-btns { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 36px; }
.ar-btns button { height: 58px; border-radius: 29px; font-size: 18px; font-weight: 700; transition: transform .15s; }
.ar-btns button:active { transform: scale(.97); }
.ar-snooze { background: rgba(255, 255, 255, .25); color: #fff; }
.ar-stop { background: #fff; color: var(--accent-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }


.cart-n { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }
@media (max-width: 400px) {
  
  .bar-right, .bar-right > .acct { gap: 3px !important; }
  .bar-right .round { width: 36px; height: 36px; }
}

html.has-player main { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }

html.has-player .bake-full { bottom: calc(92px + env(safe-area-inset-bottom)); }

@media (max-width: 899px) { html.has-player .co-sum, html.has-player .cart-sum { margin-bottom: 10px; } }

.del-row { align-items: flex-start; gap: 12px; }
.del-row .main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.del-meta { font-size: 14px; }
.dm-del-tag { display: inline-block; padding: 1px 8px; border-radius: 8px; background: rgba(229, 72, 77, .12); color: var(--bad); font-size: 12px; font-weight: 700; }
.del-row .rm-img { max-width: 180px; max-height: 180px; border-radius: 12px; cursor: zoom-in; object-fit: cover; }
.del-row .rm-body { white-space: pre-wrap; word-break: break-word; padding: 8px 12px; border-radius: 12px; background: var(--field); }


.cv-box { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 14px; background: var(--field); }
.cv-row { align-self: flex-start; max-width: 85%; display: flex; flex-direction: column; gap: 4px; }
.cv-row.me { align-self: flex-end; align-items: flex-end; }
.cv-meta { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cv-text { padding: 8px 12px; border-radius: 14px; background: #fff; white-space: pre-wrap; word-break: break-word; }
.cv-row.me .cv-text { background: var(--accent); color: #fff; }
.cv-row.del .cv-text { background: rgba(229, 72, 77, .1); color: var(--ink); border: 1px dashed var(--bad); }
.cv-row.hl .cv-text { box-shadow: 0 0 0 3px rgba(224, 69, 123, .35); }
.cv-img { max-width: 180px; max-height: 180px; border-radius: 12px; cursor: zoom-in; }
.cv-act { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 8px; background: rgba(0, 0, 0, .06); color: var(--ink-soft); }
.cv-act:hover { background: rgba(0, 0, 0, .12); }
.rp-conv { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--field); }
.rp-conv input { margin-top: 3px; }

.log-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.log-imgs img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.log-cmt { padding: 8px 10px; border-radius: 10px; background: var(--field); margin-bottom: 6px; font-size: 14px; }

.del-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 18px; border-radius: 14px; background: rgba(229, 72, 77, .08); border: 1px dashed rgba(229, 72, 77, .45); font-size: 14px; }
.del-banner > .ic { color: var(--bad); }

.faq { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.faq-item, .ticket { border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .05); }
.faq-item summary, .ticket summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.faq-item summary::-webkit-details-marker, .ticket summary::-webkit-details-marker { display: none; }
.faq-item summary > .ic, .ticket summary > .ic { margin-left: auto; transition: transform .2s; color: var(--gray); }
.faq-item[open] summary > .ic, .ticket[open] summary > .ic { transform: rotate(180deg); }
.faq-a { padding: 0 16px 16px; color: var(--ink-soft); line-height: 1.7; }
.ticket { padding: 0; margin-bottom: 10px; }
.ticket.hl { box-shadow: 0 0 0 3px rgba(224, 69, 123, .3); }
.ticket summary .main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ticket summary .main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-body { padding: 0 16px 14px; white-space: pre-wrap; line-height: 1.7; }
.tk-answer { margin: 0 16px 14px; padding: 12px 14px; border-radius: 12px; background: rgba(224, 69, 123, .07); }
.tk-answer b { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-deep); }
.tk-answer div { margin-top: 6px; white-space: pre-wrap; line-height: 1.7; }
.tk-reply, .ticket .toolbar { padding: 0 16px 14px; }


.post-row.by-admin { background: rgba(224, 69, 123, .06); }
.post-row.by-admin .t { font-weight: 700; }
.post-row.pinned { background: rgba(224, 69, 123, .1); }
.pin-tag { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; padding: 1px 8px 1px 5px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.pin-tag .ic { width: 13px; height: 13px; color: #fff; }
.admin-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; }
.row.by-admin { background: rgba(224, 69, 123, .05); }
.c-edit textarea { width: 100%; }

.chat-input.editing { box-shadow: inset 0 2px 0 var(--accent); }


.orbit { position: fixed; inset: 0; z-index: 450; background: rgba(20, 10, 16, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: fade .25s; touch-action: none; overflow: hidden; }
.orbit.out { animation: fadeOut .22s forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.orbit-x { position: absolute; z-index: 3; top: calc(16px + env(safe-area-inset-top)); right: 16px; background: rgba(255, 255, 255, .16); }
.orbit-x .ic { color: #fff; }
.orbit-main { position: absolute; left: 50%; top: 50%; width: min(62vw, 340px); aspect-ratio: 1; margin: calc(min(62vw, 340px) / -2) 0 0 calc(min(62vw, 340px) / -2); border-radius: 50%; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); z-index: 1; pointer-events: none; }
.orbit-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit-b { position: absolute; left: 0; top: 0; border-radius: 50%; overflow: hidden; cursor: grab; z-index: 2; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); will-change: transform; transition: box-shadow .2s; }
.orbit-b.drag { cursor: grabbing; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); z-index: 4; }
.orbit-b img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.profile-head .avatar { cursor: zoom-in; }

.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ph-item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--field); }
.ph-item img { width: 100%; height: 100%; object-fit: cover; }
.ph-item.main { box-shadow: 0 0 0 3px var(--accent); }
.ph-item .ph-tag { position: absolute; left: 6px; top: 6px; padding: 1px 8px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.ph-item .ph-act { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.ph-item .ph-act button { flex: 1; height: 26px; border-radius: 13px; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .9); }
.ph-add { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--line); color: var(--gray); cursor: pointer; font-size: 12px; text-align: center; }


.crop-stage { position: relative; width: min(78vw, 320px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #111; touch-action: none; cursor: grab; }
.crop-stage:active { cursor: grabbing; }
.crop-img { position: absolute; left: 50%; top: 50%; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.crop-mask { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55); pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: min(78vw, 320px); margin: 14px auto 0; color: var(--gray); }
.crop-zoom input { flex: 1; accent-color: var(--accent); }
.crop-zoom > span .ic { width: 22px; height: 22px; }


.maint-box { margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.maint-box.on { box-shadow: 0 0 0 2px var(--bad); background: rgba(229, 72, 77, .05); }
.maint-row { display: flex; align-items: center; gap: 14px; }
.maint-row .main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.maint-row b { display: inline-flex; align-items: center; gap: 6px; }


.find-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 18px; }
.find-row .search-field.big { flex: 1; min-width: 0; margin-bottom: 0; }
.find-select { flex: 0 0 auto; height: 54px; padding: 0 38px 0 18px; border-radius: 999px; border: 1px solid rgba(60, 40, 50, 0.1); background: rgba(255, 255, 255, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.find-select:focus { outline: 0; border-color: var(--accent); }
@media (max-width: 600px) {
  .find-row { flex-direction: column; gap: 8px; }
  .find-row .search-field.big { flex: none; width: 100%; }
  .find-select { height: 46px; width: 100%; }
}
.tabs { min-width: 0; max-width: 100%; }
.tabs button { min-width: 0; white-space: nowrap; padding: 0 6px; }

.maint-state { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 9px; background: var(--field); color: var(--gray); font-size: 12px; font-weight: 700; }
.maint-state.on { background: var(--bad); color: #fff; }
.maint-row .pill { flex: 0 0 auto; }

body.no-bar main { padding-top: calc(130px + env(safe-area-inset-top)); } 
.auth-top { position: absolute; z-index: 20; left: 0; right: 0; top: calc(22px + env(safe-area-inset-top)); display: flex; justify-content: center; align-items: center; padding: 0 20px; }
.auth-top .brand img { height: 28px; width: auto; }
.auth-top .lang { position: absolute; right: calc(20px + env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); display: block !important; }


.role-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: rgba(224, 69, 123, .06); }
.role-box > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.role-box b { display: inline-flex; align-items: center; gap: 6px; }

.signup-closed { text-align: center; padding: 40px 24px; }
.signup-closed .ic { width: 40px; height: 40px; color: var(--accent); margin-bottom: 10px; }
.signup-closed h2 { margin: 0 0 8px; font-size: 20px; }


.msg-who { display: flex; align-items: center; gap: 7px; margin: 8px 0 -2px 2px; font-size: 13px; }
.msg-who b { font-weight: 700; color: var(--ink-soft); }
.msgs .mrow.other { padding-left: 33px; }
.rd { display: inline-block; margin-right: 5px; font-size: 11px; font-weight: 800; color: var(--accent); }
.rd.on { color: var(--gray); font-weight: 600; }


.al-custom { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.al-custom input { width: 110px; }
.al-until { margin: 8px 2px 0; color: var(--accent-deep); font-weight: 600; }
.al-until:empty { display: none; }
.al-kind { display: flex; gap: 8px; align-items: center; }
.al-kind select { flex: 1; }
.stepper { display: inline-flex; align-items: center; gap: 12px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(157, 157, 157, .3); }
.stepper .round { width: 34px; height: 34px; background: #fff; }
.stepper b { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }

.ar-snz { display: flex; gap: 10px; align-items: center; }
.ar-snz .ar-snooze { flex: 1; }
.ar-pm { width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); }
.ar-pm .ic { color: #fff; }
.ar-snooze span { font-variant-numeric: tabular-nums; }


.adm-add { display: flex; gap: 8px; margin-bottom: 8px; }
.adm-add input { flex: 1; min-width: 0; }
.f-list { max-height: 55vh; overflow-y: auto; }


.cl-top { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.cl-top b { flex: 1; font-size: 17px; }
.g-ava { position: relative; display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; }
.g-ava > * { position: absolute; border: 2px solid #fff; border-radius: 50%; }
.g-ava > *:first-child { left: 0; top: 0; }
.g-ava > *:nth-child(2) { right: 0; bottom: 0; }
.g-ava > *:only-child { left: 7px; top: 7px; }
.chat-head .g-ava { width: 40px; height: 40px; }
.g-title { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
.g-title b { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-sys { align-self: center; margin: 10px auto; max-width: 86%; padding: 5px 12px; border-radius: 999px; background: rgba(157, 157, 157, .14); color: var(--gray); font-size: 12px; text-align: center; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pg-chips:empty { display: none; }
.pg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border-radius: 999px; background: var(--accent-soft, #fde3ee); font-size: 13px; font-weight: 600; }
.pg-chip .ic { width: 12px; height: 12px; opacity: .6; }
.pg-list { max-height: 46vh; overflow-y: auto; }
.pg-row { width: 100%; text-align: left; }
.pg-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(157, 157, 157, .5); }
.pg-check .ic { opacity: 0; color: #fff; }
.pg-row.on .pg-check { background: var(--accent); box-shadow: none; }
.pg-row.on .pg-check .ic { opacity: 1; }
.pg-row.had { opacity: .45; }

.seen { display: flex; flex-direction: column; align-items: flex-end; margin: -2px 4px 6px; }
.seen-avs { display: inline-flex; align-items: center; padding: 2px; border-radius: 999px; transition: background .15s; }
.seen-avs:hover { background: rgba(157, 157, 157, .15); }
.seen-avs > * { width: 16px !important; height: 16px !important; font-size: 9px !important; margin-left: -4px; box-shadow: 0 0 0 1.5px #fff; border-radius: 50%; }
.seen-avs > *:first-child { margin-left: 0; }
.seen-avs b { margin-left: 4px; font-size: 11px; color: var(--gray); box-shadow: none; width: auto !important; }
.seen-list { display: none; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.seen.open .seen-list { display: flex; animation: fade .18s; }
.seen-list span { display: inline-flex; align-items: center; gap: 6px; }
.seen-list span::after { content: "읽음"; color: var(--gray); font-size: 11px; }
.seen-list span > *:first-child { width: 16px !important; height: 16px !important; font-size: 9px !important; }


.msgs-wrap { position: relative; }
.g-callbar { position: absolute; z-index: 3; left: 50%; top: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: #2fa86b; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 22px rgba(47, 168, 107, .35); white-space: nowrap; animation: fade .2s; }
.g-callbar .ic { color: #fff; }
.g-callbar b { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.g-callbar:hover b { background: rgba(255, 255, 255, .34); }
@media (max-width: 740px) { .chat-head .g-rep { display: none; } }

.badge.call-on { display: inline-flex; align-items: center; gap: 3px; background: #2fa86b; color: #fff; }
.badge.call-on .ic { width: 11px; height: 11px; color: #fff; }


:root {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .34) 45%, rgba(255, 255, 255, .26) 100%);
  --lg-blur: blur(24px) saturate(175%) brightness(1.04);
  --lg-edge: rgba(255, 255, 255, .6);
  --lg-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .28),
    inset 1px 0 1px rgba(255, 255, 255, .22),
    inset 0 0 18px rgba(255, 255, 255, .22),
    0 10px 32px rgba(90, 30, 60, .12),
    0 1.5px 4px rgba(90, 30, 60, .06);
  --lgd-bg: linear-gradient(160deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .07) 100%);
  --lgd-blur: blur(26px) saturate(185%);
  --lgd-edge: rgba(255, 255, 255, .26);
  --lgd-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .5),
    inset 0 -1px 1px rgba(255, 255, 255, .1),
    inset 0 0 16px rgba(255, 255, 255, .07),
    0 12px 34px rgba(0, 0, 0, .25);
}


:root {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .1) 100%);
  --lg-blur: blur(7px) saturate(165%) brightness(1.03);
  --lgd-bg: linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, .03) 100%);
  --lgd-blur: blur(7px) saturate(180%);
}


:root {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .04) 100%);
  --lg-blur: blur(5px) saturate(160%) brightness(1.04);
  --lg-edge: rgba(255, 255, 255, .22);
  --lg-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .45),
    inset 0 0 14px rgba(255, 255, 255, .18),
    0 0 16px rgba(255, 255, 255, .22),
    0 8px 26px rgba(90, 30, 60, .08);
  --lgd-bg: linear-gradient(160deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .015) 100%);
  --lgd-blur: blur(5px) saturate(175%);
  --lgd-edge: rgba(255, 255, 255, .12);
  --lgd-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .25),
    inset 0 0 14px rgba(255, 255, 255, .08),
    0 0 18px rgba(255, 255, 255, .1),
    0 10px 30px rgba(0, 0, 0, .18);
}


:root {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .14) 55%, rgba(255, 255, 255, .08) 100%);
  --lg-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .6),
    inset 0 0 22px rgba(255, 255, 255, .34),
    0 0 26px rgba(255, 255, 255, .42),
    0 8px 26px rgba(90, 30, 60, .07);
  --lgd-bg: linear-gradient(160deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .04) 100%);
  --lgd-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .35),
    inset 0 0 20px rgba(255, 255, 255, .16),
    0 0 26px rgba(255, 255, 255, .2),
    0 10px 30px rgba(0, 0, 0, .16);
}


:root {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .4) 55%, rgba(255, 255, 255, .34) 100%);
  --lg-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .6),
    0 8px 26px rgba(90, 30, 60, .08);
  --lgd-bg: linear-gradient(160deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, .17) 55%, rgba(255, 255, 255, .13) 100%);
  --lgd-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, .35),
    0 10px 30px rgba(0, 0, 0, .16);
}


@media (max-width: 740.98px) {
  #menu-btn { transition: opacity .2s; }
  .topbar-row.menu-on #menu-btn { width: 42px; margin-left: 0; transform: none; }
}


@media (max-width: 899px) { .chat-wrap:not(.in-room) #room { display: none; } }

.cl-search { margin: 0 4px 10px; }

.msg-search { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.msg-search.hidden { display: none; }
.msg-search > .ic { color: var(--gray); flex-shrink: 0; }
.msg-search input { flex: 1; min-width: 0; height: 36px; border: 0; border-radius: 18px; background: var(--field); padding: 0 14px; font-size: 15px; outline: 0; }
.msg-search .ms-n { min-width: 34px; text-align: center; font-size: 12px; font-weight: 700; color: var(--gray); font-variant-numeric: tabular-nums; }
.msg-search .round { width: 32px; height: 32px; flex-shrink: 0; }
.msg-search #ms-up .ic { transform: rotate(180deg); }
.msg-search .round:disabled { opacity: .35; }
.msg mark { background: #ffe58a; color: #2a1d25; border-radius: 3px; padding: 0 1px; }
.mrow.hit-cur .msg { box-shadow: 0 0 0 2.5px #f5b400; }


#od-tabs { flex-wrap: wrap; }
#od-tabs b { opacity: .6; margin-left: 2px; }
.od-row { align-items: flex-start; gap: 12px; }
.od-row .main { min-width: 0; }
.od-row .t2 { font-weight: 700; }
.od-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.od-st { height: 32px; padding: 0 28px 0 10px; border-radius: 999px; border: 1px solid rgba(60, 40, 50, .12); background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 13px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .od-row { flex-wrap: wrap; } .od-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; } }

:root { --bg: #f4ebf0; }
body::before {
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(243, 168, 197, 0.6), transparent 60%),
    radial-gradient(35vmax 35vmax at 90% 20%, rgba(201, 184, 237, 0.55), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 100%, rgba(255, 214, 201, 0.5), transparent 60%);
}

:root { --bg: #efe2ea; }
body::before {
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(243, 168, 197, 0.72), transparent 60%),
    radial-gradient(35vmax 35vmax at 90% 20%, rgba(201, 184, 237, 0.66), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 100%, rgba(255, 214, 201, 0.6), transparent 60%);
}

:root { --bg: #f5ecf2; }
body::before {
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(243, 168, 197, 0.585), transparent 60%),
    radial-gradient(35vmax 35vmax at 90% 20%, rgba(201, 184, 237, 0.53), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 100%, rgba(255, 214, 201, 0.475), transparent 60%);
}

html.no-music .player, html.no-music .np { display: none !important; }

.fan-notice { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(214, 51, 108, .18); color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.4; }
.fan-notice .ic { color: var(--accent); flex-shrink: 0; }

.input { background: rgba(255, 255, 255, 0.92); border: 1.5px solid rgba(60, 40, 50, 0.13); box-shadow: 0 1px 2px rgba(120, 40, 80, 0.05); }
.input:focus-within { background: #fff; border-color: var(--accent); }
.input { background: #fff; border-color: rgba(60, 40, 50, 0.2); }


.muze-wrap { display: flex; justify-content: flex-end; margin: 28px 0 4px; }
.muze-q { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(118, 118, 128, .16); color: #8e8e93; font-size: 13px; font-weight: 800; line-height: 1; transition: background .2s, color .2s; }
.muze-q:hover { background: rgba(118, 118, 128, .28); color: #636366; }
.muze-text p { margin: 0 0 12px; line-height: 1.65; font-size: 14.5px; color: var(--ink-soft); }
.muze-text b { color: var(--ink); }
.muze-mail { padding: 10px 12px; border-radius: 12px; background: var(--field); }
.muze-mail a { color: var(--accent-deep); font-weight: 700; }

.panel, .menu-card, .list, .cal, .ord-list, .chat-box, .chat-list .list, .msg-menu, .plus-menu {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(120, 40, 80, 0.09);
  box-shadow: 0 1px 2px rgba(120, 40, 80, 0.05), 0 8px 24px rgba(120, 40, 80, 0.07);
}
.menu-card:hover { box-shadow: 0 2px 4px rgba(120, 40, 80, 0.06), 0 16px 32px rgba(120, 40, 80, 0.13); }
.list .row + .row { border-top-color: rgba(120, 40, 80, 0.07); }
.drop { background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(120, 40, 80, 0.09); box-shadow: 0 16px 40px rgba(120, 40, 80, 0.16); }
.tabs { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(120, 40, 80, 0.08); }
.search-field { background: rgba(255, 255, 255, 0.92); box-shadow: inset 0 0 0 1px rgba(120, 40, 80, 0.1); }
.topbar .search-field { box-shadow: none; }
.faq-item, .post-card, .comment-box, .trade-card, .notice-card { background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(120, 40, 80, 0.09); box-shadow: 0 1px 2px rgba(120, 40, 80, 0.05), 0 6px 18px rgba(120, 40, 80, 0.06); }


.member-tile { text-align: left; cursor: pointer; }
.mem-pop { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.mem-pop img { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.mem-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: 14px; }
.mem-pop dt { color: var(--gray); font-weight: 600; }
.mem-pop dd { margin: 0; font-weight: 600; }
.mem-wiki { padding: 12px 14px; border-radius: 14px; background: var(--field); font-size: 13.5px; line-height: 1.6; }
.mem-wiki b { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--accent-deep); }
.mem-wiki p { margin: 0 0 6px; }
.mem-src { margin: 10px 2px 0; }

.member-tile .art img { object-position: center top; }
.mem-pop img { object-position: center top; }


.group-shelf { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); }
.group-tile { grid-column: span 2; }
.group-tile .art { aspect-ratio: 2.06 / 1; }
.group-tile .art img { object-position: center 30%; }
@media (max-width: 740px) { .group-shelf { grid-template-columns: 1fr; margin: 0; padding: 0; } .group-tile { grid-column: auto; } .group-tile .art { aspect-ratio: 16 / 9; } }
.mem-pop.wide { flex-direction: column; }
.mem-pop.wide img { width: 100%; aspect-ratio: 16 / 9; object-position: center 30%; }


.site-set { display: flex; flex-direction: column; gap: 12px; }
.site-row { display: flex; gap: 14px; align-items: center; }
.site-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--field); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.site-ico img { width: 100%; height: 100%; object-fit: contain; }
.site-ico-btns { display: flex; flex-direction: column; gap: 4px; }
.site-prev { display: flex; flex-direction: column; gap: 6px; }
.site-card { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(120, 40, 80, .12); background: #fff; max-width: 460px; }
.site-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--field); }
.site-card b { display: block; font-size: 14px; }
.site-card p { margin: 2px 0; font-size: 12.5px; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.site-card span { font-size: 11.5px; color: var(--gray); }


.twofa-wait { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 10px 4px; }
.twofa-wait h3 { margin: 4px 0 0; }
.twofa-wait p { margin: 0; color: #555; line-height: 1.6; }
.twofa-wait .ic { color: var(--accent); }

.rc-unlock { display: flex; gap: 8px; align-items: center; }
.rc-unlock .box { flex: 1; }
.rc-log { max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.rc-msg { padding: 10px 12px; border-radius: 14px; background: var(--field); max-width: 92%; }
.rc-msg.admin { align-self: flex-end; background: #fde7ef; }
.rc-msg.err { border: 1px solid #e5484d; }
.rc-msg b { font-size: 12px; color: var(--accent-deep); }
.rc-msg pre { margin: 4px 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 14px; line-height: 1.55; }
.rc-msg span { font-size: 11px; color: var(--gray); }
.rc-send { display: flex; flex-direction: column; gap: 8px; }
.rc-btns { display: flex; justify-content: space-between; align-items: center; }

.rc-warn { display: flex; gap: 6px; align-items: center; color: #b4235a; margin: 8px 0 0; }
.rc-pinrow { margin-top: 6px; padding-left: 0; padding-right: 0; }


.ro-list { max-height: 60vh; overflow-y: auto; }
.ro-list .act { display: flex; gap: 4px; }
.ro-list .round[disabled] { opacity: .3; pointer-events: none; }

.rc-tabs { margin-bottom: 6px; }
.rc-tabs button { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.rc-tabs small { font-size: 11px; color: var(--gray); font-weight: 500; }
.rc-dot { width: 7px; height: 7px; border-radius: 50%; background: #c9c3c7; }
.rc-dot.on { background: #2fbf71; }
.rc-desc { margin: 0 0 10px; }


.side-app { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.side-app .btns { display: flex; gap: 6px; }
.side-app .pill { flex: 1; justify-content: center; }
.ios-steps { margin: 0 0 12px; padding-left: 20px; line-height: 1.7; font-size: 14.5px; }
.ios-steps li { margin-bottom: 4px; }

.rc-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.rc-bar .rc-desc { flex: 1; margin: 0; }
.rc-bar .pill { flex-shrink: 0; }


.stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 14px; margin: -4px 0 6px; }
.stories::-webkit-scrollbar { display: none; }
.st-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; flex-shrink: 0; background: none; border: 0; padding: 0; cursor: pointer; }
.st-item b { font-size: 12px; font-weight: 600; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }
.st-ava { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: rgba(120, 40, 80, .12); }
.st-ava .avatar, .st-ava > * { border: 2.5px solid #fff; border-radius: 50%; }
.st-item.has.new .st-ava { background: conic-gradient(from 200deg, #f9a8c9, #e0457b, #b35cf0, #f9a8c9); }
.st-item.has.close .st-ava { background: conic-gradient(from 200deg, #6ee7a2, #1fbf6a, #6ee7a2); }
.st-item.has.seen .st-ava { background: #d9d2d6; }
.st-plus { position: absolute; top: 48px; left: 50px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.st-plus .ic { width: 12px; height: 12px; }
.st-prev { border-radius: 16px; overflow: hidden; background: #111; margin-bottom: 12px; max-height: 46vh; display: grid; place-items: center; }
.st-prev img { max-width: 100%; max-height: 46vh; display: block; }
.st-who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st-opt input { display: none; }
.st-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--field); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.st-opt input:checked + span { background: var(--accent); color: #fff; }
.st-opt.close input:checked + span { background: #1fbf6a; }
.cf-list { max-height: 50vh; overflow-y: auto; margin-top: 10px; }
html.st-open { overflow: hidden; }
.st-view { position: fixed; inset: 0; z-index: 3000; background: #0b0b0d; display: grid; place-items: center; }
.st-stage { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: 100dvh; background: #000; overflow: hidden; display: grid; place-items: center; user-select: none; touch-action: none; }
@media (min-width: 741px) { .st-stage { height: 94dvh; border-radius: 16px; width: min(100vw, calc(94dvh * 9 / 16)); } }
.st-img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.st-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.st-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.st-bars b { display: block; height: 100%; background: #fff; }
.st-top { position: absolute; top: 22px; left: 12px; right: 8px; display: flex; align-items: center; gap: 8px; color: #fff; z-index: 3; }
.st-top b { font-size: 14px; }
.st-top span { font-size: 12.5px; opacity: .75; }
.st-closetag { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 11.5px; font-weight: 700; background: #1fbf6a; padding: 2px 8px; border-radius: 999px; }
.st-closetag .ic { width: 11px; height: 11px; }
.st-x { margin-left: auto; background: transparent; color: #fff; }
.st-text { position: absolute; left: 16px; right: 16px; bottom: 84px; margin: 0; text-align: center; color: #fff; font-size: 17px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); z-index: 3; }
.st-bottom { position: absolute; left: 12px; right: 12px; bottom: 18px; display: flex; gap: 8px; align-items: center; z-index: 4; }
.st-bottom .pill { background: rgba(255, 255, 255, .16); color: #fff; border-color: transparent; }
.st-bottom .st-del { margin-left: auto; background: rgba(255, 255, 255, .16); color: #fff; }
.st-nav { position: absolute; top: 70px; bottom: 70px; width: 38%; background: transparent; border: 0; z-index: 2; cursor: pointer; }
.st-nav.prev { left: 0; } .st-nav.next { right: 0; }

html.st-open .bot-fab, html.st-open .player { opacity: 0; pointer-events: none; }
.st-view .ic { color: #fff; }

.st-item.me .st-plus { display: grid; }
.st-item.muted { opacity: .55; }
.st-stage { container-type: inline-size; }
.st-stage.in-right { animation: stInR .28s ease; }
.st-stage.in-left { animation: stInL .28s ease; }
@keyframes stInR { from { transform: translateX(30%) scale(.94); opacity: .3; } }
@keyframes stInL { from { transform: translateX(-30%) scale(.94); opacity: .3; } }
.st-ui { position: absolute; inset: 0; pointer-events: none; transition: opacity .2s; z-index: 3; }
.st-ui > * { pointer-events: auto; }
.st-view.hold .st-ui { opacity: 0; }
.st-bars { background: linear-gradient(rgba(0,0,0,.35), transparent); top: 0; left: 0; right: 0; padding: 10px 10px 34px; }
.st-top { top: 20px; }
.st-who-link { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.st-more { margin-left: auto; background: transparent; color: #fff; }
.st-x { margin-left: 0; }
.st-bottom.reply { display: flex; gap: 8px; align-items: center; left: 10px; right: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); }
.st-reply { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; padding: 0 16px; font-size: 14.5px; outline: 0; }
.st-reply::placeholder { color: rgba(255,255,255,.75); }
.st-like, .st-send { background: transparent; color: #fff; }
.st-like.on .ic { color: #ff3b6b; fill: #ff3b6b; }
.st-like.pop { animation: stPop .35s ease; }
@keyframes stPop { 50% { transform: scale(1.35); } }
.st-bottom.mine { justify-content: space-between; }
.st-act { display: flex; flex-direction: column; align-items: center; gap: 2px; background: transparent; border: 0; color: #fff; font-size: 12px; cursor: pointer; }
.st-act span { display: inline-flex; align-items: center; gap: 4px; }
.st-liked .ic { color: #ff3b6b; fill: #ff3b6b; }
.st-menu .row { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; }
.st-menu .t.danger { color: #e5484d; }
.st-hlpick { display: flex; gap: 14px; flex-wrap: wrap; }
.st-hlpick button { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; width: 76px; }
.st-hlpick b { font-size: 12px; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-hlc { width: 66px; height: 66px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--field); border: 2px solid rgba(120,40,80,.15); }
.st-hlc img { width: 100%; height: 100%; object-fit: cover; }
.st-arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-height: 60vh; overflow-y: auto; }
.st-arch button { position: relative; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #000; }
.st-arch img { width: 100%; height: 100%; object-fit: cover; }
.st-arch span { position: absolute; left: 4px; top: 4px; background: rgba(255,255,255,.9); border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.st-arch button.on { outline: 3px solid var(--accent); outline-offset: -3px; }
.st-archclose { position: absolute; right: 4px; top: 4px; color: #fff; background: #1fbf6a; border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; }
.st-archclose .ic { width: 11px; height: 11px; }

.st-edit { position: fixed; inset: 0; z-index: 3000; background: #0b0b0d; display: grid; place-items: center; }
.st-stage.edit { touch-action: none; }
.st-canvas, .st-draw { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-draw { z-index: 1; pointer-events: none; }
.st-edit.drawing .st-draw { pointer-events: auto; }
.st-texts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.st-tx { position: absolute; transform: translate(-50%, -50%); white-space: pre; line-height: 1.25; padding: 0 .25em; border-radius: .22em; text-shadow: 0 1px 8px rgba(0,0,0,.4); cursor: move; pointer-events: auto; touch-action: none; user-select: none; }
.st-tx.bg { text-shadow: none; }
.st-edit.drawing .st-tx { pointer-events: none; }
.st-etop { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; justify-content: space-between; z-index: 4; }
.st-etop .round, .st-tools .round { background: rgba(0,0,0,.35); color: #fff; width: 42px; height: 42px; }
.st-tools { display: flex; gap: 8px; }
.st-tools b { font-size: 16px; }
.st-edit.drawing .st-etop, .st-edit.drawing .st-ebottom { display: none; }
.st-ebottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 10px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.st-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; }
.st-filters::-webkit-scrollbar { display: none; }
.st-filters button { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: #fff; font-size: 11.5px; cursor: pointer; opacity: .75; }
.st-filters button span { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, #f3a8c5, #8f6ce0 60%, #ffd166); border: 2px solid transparent; }
.st-filters button.on { opacity: 1; font-weight: 700; }
.st-filters button.on span { border-color: #fff; }
.st-share { display: flex; gap: 8px; margin-top: 6px; }
.st-sh { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; border: 0; font-weight: 700; font-size: 14px; cursor: pointer; }
.st-sh.mine { background: #fff; color: #111; }
.st-sh.close { background: #1fbf6a; color: #fff; }
.st-sh.close i { display: grid; place-items: center; }
.st-sh[disabled] { opacity: .5; }
.st-fname { position: absolute; top: 40%; left: 0; right: 0; text-align: center; color: #fff; font-size: 26px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.5); opacity: 0; z-index: 3; pointer-events: none; }
.st-fname.show { animation: stName 1s ease; }
@keyframes stName { 15%, 60% { opacity: 1; } }
.st-trash { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%) scale(.8); width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; color: #fff; display: grid; place-items: center; opacity: 0; transition: .2s; z-index: 5; pointer-events: none; background: rgba(0,0,0,.3); }
.st-trash.show { opacity: 1; }
.st-trash.hot { background: #e5484d; border-color: #e5484d; transform: translateX(-50%) scale(1.1); }
.st-tool { position: absolute; inset: 0; z-index: 6; background: rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 14px 14px; }
.st-tool textarea { flex: 0 0 auto; min-height: 120px; background: transparent; border: 0; outline: 0; resize: none; text-align: center; padding: 8px; border-radius: 10px; }
.st-tool .box { background: rgba(255,255,255,.12); color: #fff; border: 0; }
.st-trow { display: flex; gap: 8px; align-items: center; color: #fff; }
.st-trow.top { justify-content: space-between; }
.st-trow .round { background: rgba(255,255,255,.15); color: #fff; }
.st-trow .round.on { background: #fff; color: #111; }
.st-fonts { display: flex; gap: 6px; }
.st-fonts button { border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.st-fonts button.on { background: #fff; color: #111; }
.st-colors { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.st-colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); cursor: pointer; }
.st-colors button.on { transform: scale(1.2); border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.st-mlist { max-height: 50vh; overflow-y: auto; background: transparent; }
.st-mlist .row { width: 100%; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.st-mlist .t { color: #fff; }
.st-drawbar { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 12px 0; }
.st-drawbar .st-colors { position: absolute; left: 0; right: 0; top: calc(100cqh - 110px); }
.st-drawbar .st-dsize { position: absolute; left: 20%; width: 60%; top: calc(100cqh - 60px); }
.st-stage.edit { container-type: size; }
.st-pens { display: flex; gap: 4px; }
.st-pens button { background: rgba(0,0,0,.4); color: #fff; border: 0; border-radius: 999px; padding: 6px 10px; font-size: 12.5px; cursor: pointer; }
.st-pens button.on { background: #fff; color: #111; }
.st-drawbar .pill:not(.accent) { background: rgba(0,0,0,.4); color: #fff; }
.st-drawbar.hidden { display: none; }

.profile-head .avatar.st-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #e0457b; cursor: pointer; }
.profile-head .avatar.st-ring.close { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1fbf6a; }
.profile-head .avatar.st-ring.seen { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #d9d2d6; }
.pf-hl { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 4px; margin: 14px 0 6px; }
.pf-hl::-webkit-scrollbar { display: none; }
.pf-hl button { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; width: 72px; }
.pf-hl b { font-size: 12px; font-weight: 600; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-hl .st-hlc { width: 64px; height: 64px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(120,40,80,.18); border: 0; }

.site-ver { text-align: center; margin: 18px 0 4px; }
.pf-hl .st-hlc.new { background: transparent; border: 1.5px dashed rgba(120,40,80,.35); box-shadow: none; }


.cal-clock { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.cal-clock b { font-size: clamp(28px, 6vw, 44px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent-deep, #bd3d75); }
.cal-clock span { font-size: 14px; color: var(--gray); font-weight: 600; }


html.dark {
  color-scheme: dark;
  --ink: #f2eef1; --ink-soft: #b9b2b7; --gray: #9a929a; --line: rgba(255, 255, 255, .1);
  --bg: #141015; --card: #1f1a20; --field: rgba(255, 255, 255, .08); --accent-soft: #3b2130; --accent-deep: #ff7aa8;
  --lg-bg: linear-gradient(160deg, rgba(60, 45, 58, .72) 0%, rgba(40, 30, 40, .6) 100%); --lg-edge: rgba(255, 255, 255, .12);
  --lg-shadow: inset 0 1px 0.5px rgba(255, 255, 255, .12), 0 10px 32px rgba(0, 0, 0, .5);
}
html.dark body { background: var(--bg); color: var(--ink); }
html.dark body::before {
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(224, 69, 123, .16), transparent 60%),
    radial-gradient(35vmax 35vmax at 90% 20%, rgba(143, 108, 224, .14), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 100%, rgba(255, 140, 120, .08), transparent 60%);
}
html.dark .panel, html.dark .menu-card, html.dark .list, html.dark .cal, html.dark .ord-list, html.dark .chat-box, html.dark .chat-list .list,
html.dark .msg-menu, html.dark .plus-menu, html.dark .faq-item, html.dark .ticket, html.dark .drop, html.dark .modal, html.dark .site-card, html.dark .bot-panel {
  background: #1f1a20; border-color: rgba(255, 255, 255, .08); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}
html.dark .list .row + .row { border-top-color: rgba(255, 255, 255, .07); }
html.dark .topbar .bar, html.dark .side, html.dark .glass { background: rgba(32, 26, 33, .82); border-color: rgba(255, 255, 255, .1); }
html.dark .search-field, html.dark .input, html.dark .box, html.dark textarea.box, html.dark input.box, html.dark select.box { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); color: var(--ink); }
html.dark .search-field:focus-within, html.dark .input:focus-within, html.dark .box:focus { background: rgba(255, 255, 255, .1); }
html.dark .tabs { background: rgba(255, 255, 255, .06); }
html.dark .tabs button.on { background: #2c252d; color: var(--ink); }
html.dark .pill.white, html.dark .pill.ghost, html.dark .pill.soft { background: rgba(255, 255, 255, .08); color: var(--ink); border-color: rgba(255, 255, 255, .1); }
html.dark .round:not(.st-x):not(.st-more):not(.st-like):not(.st-send) { color: var(--ink); }
html.dark .title, html.dark h1, html.dark h2, html.dark h3, html.dark b, html.dark .t { color: var(--ink); }
html.dark .muted, html.dark .s, html.dark .small.muted { color: var(--ink-soft); }
html.dark .st-item b { color: var(--ink); }
html.dark .st-ava .avatar, html.dark .st-ava > * { border-color: var(--bg); }
html.dark .profile-head .avatar.st-ring { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px #e0457b; }
html.dark .profile-head .avatar.st-ring.close { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px #1fbf6a; }
html.dark .profile-head .avatar.st-ring.seen { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #4a424a; }
html.dark .modal-bg { background: rgba(0, 0, 0, .55); }
html.dark .toast { background: #2c252d; color: var(--ink); }
html.dark .badge, html.dark .o-n { background: rgba(255, 255, 255, .1); color: var(--ink); }
html.dark .art, html.dark .st-hlc { background: #2a232b; }
html.dark a { color: inherit; }
html.dark .sec a, html.dark .links a, html.dark a.accent-link { color: #ff7aa8; }
html.dark .eyebrow { color: #ff7aa8; }
html.dark .site-foot, html.dark .site-foot a { color: var(--ink-soft); }
html.dark ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); }
html.dark img.logo-dark-fix, html.dark .brand img { filter: brightness(1.35) saturate(1.1); }

.st-edit .ic, .st-view .ic, .st-sh.close .ic { color: #fff; }
.st-plus .ic { color: #fff; stroke: #fff; }

html.st-open .modal-bg, html.st-open .toast, html.st-open .toasts { z-index: 3200 !important; }


.hl-new { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.st-hlc.big { width: 96px; height: 96px; box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 0 5px rgba(120, 40, 80, .2); }
.hl-name { text-align: center; font-size: 17px; font-weight: 700; max-width: 280px; }
.hl-covers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.hl-covers button { flex-shrink: 0; width: 64px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: .6; }
.hl-covers button.on { opacity: 1; outline: 3px solid var(--accent); outline-offset: 1px; }
.hl-covers img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 740px) { html.yt-in .bot-fab { display: none !important; } }

html.dark {
  --lg-bg: linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .09) 55%, rgba(255, 255, 255, .07) 100%);
  --lg-edge: rgba(255, 255, 255, .22);
  --lg-shadow: inset 0 1px 0.5px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .55);
}
html.dark .topbar .bar, html.dark .side, html.dark .glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .08)) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, .35), 0 10px 30px rgba(0, 0, 0, .55) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
}
html.dark .panel, html.dark .menu-card, html.dark .list, html.dark .cal, html.dark .ord-list, html.dark .chat-box, html.dark .chat-list .list,
html.dark .faq-item, html.dark .ticket, html.dark .modal, html.dark .drop, html.dark .site-card {
  background: #272129; border: 1px solid rgba(255, 255, 255, .1);
}

html.dark .round.glass, html.dark #menu-btn, html.dark #menu-x {
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1)) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, .4), 0 4px 14px rgba(0, 0, 0, .45) !important;
  color: #fff;
}

html.dark .input, html.dark .search-field, html.dark .search-field.big, html.dark .find-select, html.dark .msg-search,
html.dark textarea.box, html.dark input.box, html.dark select.box, html.dark .o-sort, html.dark .tabs {
  background: #2a242c !important; border-color: rgba(255, 255, 255, .12) !important; color: var(--ink);
}
html.dark .search-field input, html.dark .input input, html.dark .search-field input::placeholder { color: var(--ink); }
html.dark .search-field input::placeholder, html.dark .input input::placeholder, html.dark textarea::placeholder { color: #8f878e; }
html.dark select option { background: #2a242c; color: var(--ink); }

html.dark .tabs button.on, html.dark .carriers button.on { background: #3a323c !important; color: #fff; box-shadow: none; }
html.dark .pill.white { background: #3a323c; color: #fff; }
html.dark .round { background: rgba(255, 255, 255, .08); color: var(--ink); }
html.dark .bar-links a, html.dark .side-nav a { color: var(--ink); background: transparent; }
html.dark .bar-links a.on, html.dark .side-nav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
html.dark .stepper, html.dark .stepper .round, html.dark .o-pages button { background: #2a242c; color: var(--ink); border-color: rgba(255, 255, 255, .12); }
html.dark .o-pages button.on { background: var(--accent); color: #fff; }
html.dark .chips button, html.dark .filter button, html.dark .tabs.pills button { background: rgba(255, 255, 255, .08); color: var(--ink); }
html.dark .chips button.on, html.dark .filter button.on { background: #f2eef1; color: #141015; }

html.dark a.row, html.dark .row, html.dark #clist .row { color: var(--ink); background: transparent; }
html.dark a.row:hover, html.dark .row.click:hover { background: rgba(255, 255, 255, .05); }
html.dark .drop, html.dark .search-drop, html.dark .lang-menu, html.dark .msg-menu, html.dark .plus-menu, html.dark .sticker-panel, html.dark .to-bottom {
  background: #2a242c !important; border: 1px solid rgba(255, 255, 255, .1); color: var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
}
html.dark .lang-btn { background: rgba(255, 255, 255, .08); color: var(--ink); }
html.dark .manage-box, html.dark .agree-box, html.dark .addr-box, html.dark .od-st, html.dark .cv-text, html.dark .fan-notice { background: #2a242c; border-color: rgba(255, 255, 255, .1); color: var(--ink); }
html.dark .danger-btn { background: rgba(229, 72, 77, .15); color: #ff8a8d; }

html.dark .chat-box { background: #1f1a20; }
html.dark .msg { background: #332b35; color: var(--ink); }
html.dark .msg.me { background: var(--accent); color: #fff; }
html.dark .msg.has-img { background: transparent; }
html.dark .msg-file { background: rgba(255, 255, 255, .08); color: var(--ink); }
html.dark .rx { background: #3a323c; border-color: #1f1a20; color: var(--ink); }
html.dark .msg mark { background: #a8862a; color: #fff; }
html.dark .ph-item .ph-act button { background: rgba(0, 0, 0, .6); color: #fff; }

html.dark .bot-panel { background: rgba(31, 26, 32, .96); }
html.dark .bot-msg { background: #332b35; color: var(--ink); }
html.dark .bot-msg.me, html.dark .bot-msg.user { background: var(--accent); color: #fff; }
html.dark .bot-msg.err { background: rgba(229, 72, 77, .18); color: #ff9a9c; }
html.dark .bot-chips button { background: rgba(255, 255, 255, .08); color: var(--ink); border-color: rgba(255, 255, 255, .12); }

html.dark .rc-msg { background: #2f2831; color: var(--ink); }
html.dark .rc-msg.admin { background: #4a2537; }
html.dark .rc-msg pre { color: var(--ink); }
html.dark .rc-msg b { color: #ff8fb6; }
html.dark .rc-msg span { color: #a39aa1; }
html.dark .rc-msg.err { border-color: #ff6b6f; }
html.dark .rc-warn { color: #ff8fb6; }
html.dark .rc-tabs small { color: #a39aa1; }

html.dark .cal { background: #1f1a20; }
html.dark .cal .day, html.dark .cal button { color: var(--ink); }
html.dark .gallery, html.dark .iframe-wrap { background: #1f1a20; }
html.dark .likebtn { background: rgba(0, 0, 0, .55); color: #fff; }
html.dark .badge.state-banned { background: rgba(229, 72, 77, .2); color: #ff9a9c; }
html.dark .badge.state-suspended { background: rgba(255, 180, 60, .18); color: #ffc46b; }
html.dark .ar-stop { background: #3a323c; color: #fff; }
html.dark .site-card { background: #2a242c; }
html.dark .twofa-wait p { color: var(--ink-soft); }

html.dark .site-card p, html.dark .geo-ask p, html.dark .yt-sub, html.dark .muted, html.dark .small.muted, html.dark .s { color: #a39aa1; }
html.dark .hint { color: #a39aa1; }
html.dark .hint.bad { color: #ff8a8d; }
html.dark hr { border-color: rgba(255, 255, 255, .1); }
html.dark .empty-state { color: #a39aa1; }
html.dark .empty-state .ic { color: #6f666e; }

html:not(.dark) { --bg: #ecdfe7; }
html:not(.dark) body { background: var(--bg); }
html:not(.dark) body::before {
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(236, 150, 186, 0.5), transparent 60%),
    radial-gradient(35vmax 35vmax at 90% 20%, rgba(186, 166, 230, 0.46), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 100%, rgba(246, 196, 182, 0.4), transparent 60%);
}


html.dark .site-ico, html.dark .site-card img { background: #3a323c; }
