@font-face {
font-family: "Space Grotesk";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/SpaceGrotesk-400.woff2") format("woff2");
}
@font-face {
font-family: "Space Grotesk";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("/fonts/SpaceGrotesk-600.woff2") format("woff2");
}
:root {
--font-display: "Space Grotesk", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
--font-body: "Space Grotesk", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
--font-num: "Space Grotesk", ui-monospace, "SFMono-Regular", monospace;

--ink-900: #272737;
--ink-600: #575770;
--ink-400: #8c8ca0;
--ink-300: #b0b0c1;
}
@supports (color: oklch(50% 0.02 275)) {
:root {
--ink-900: oklch(0.23 0.022 275);
--ink-600: oklch(0.45 0.021 275);
--ink-400: oklch(0.63 0.017 275);
--ink-300: oklch(0.74 0.014 275);
}
}

.num {
font-family: var(--font-num);
font-feature-settings: "tnum" 1;
font-variant-numeric: tabular-nums;
letter-spacing: -0.01em;
}

:root {
--bg: #f7f7fb;
--card: #ffffff;
--text: #1f2330;
--muted: #7a8095;
--primary: #5b5bd6;
--primary-dark: #4747c2;
--border: #e6e8f0;
--danger: #e5484d;
--grad-end: #c94f9d;
--glow-rgb: 216, 128, 202;


--tk42: #4b3f9e;
--tk42-rgb: 75, 63, 158;
--tk44: #5b3fa8;
--tk44-rgb: 91, 63, 168;
--tk46: #4a4aaa;
--tk48: #4b45b8;
--tk50: #4149c8;
--tk52: #4b45c6;
--tk52-rgb: 75, 69, 198;
--tk54: #5a52c9;
--tk54-rgb: 90, 82, 201;
--tk56: #5b4fd0;
--tk56-rgb: 91, 79, 208;
--tk58: #5b5bd6;
--tk58-rgb: 91, 91, 214;
--tk60: #6d78c9;
--tk62: #6c5ce7;
--tk62-rgb: 108, 92, 231;
--tk64: #a855f7;
--tk64-rgb: 168, 85, 247;
--tk66: #6366f1;
--tk66-rgb: 99, 102, 241;
--tk68: #7c5cff;
--tk68-rgb: 124, 92, 255;
--tk70: #8577f2;
--tk70-rgb: 133, 119, 242;
--tk72: #9a9ad8;
--tk74: #b7b3cf;
--tk76: #9b8cff;
--tk76-rgb: 155, 140, 255;
--tk78: #d096ff;
--tk78-rgb: 208, 150, 255;
--tk80: #c9b3ea;
--tk82: #c9cde0;
--tk84: #c3c4ee;
--tk84-rgb: 195, 196, 238;
--tk86: #c9c6f5;
--tk86-rgb: 201, 198, 245;
--tk88: #cfcbfa;
--tk90: #d9d2ff;
--tk92: #ded9ff;
--tk94: #f1f2f8;
--tk96: #eeeefc;
--tk98: #fafafe;
--tk98-rgb: 250, 250, 254;

--brand-strong: #6b3ce4;

--page-max: 1260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }


html { scrollbar-gutter: stable; }

body {
font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;

background-color: var(--bg);
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E"),
radial-gradient(780px 420px at 8% -8%, rgba(var(--tk64-rgb), .07), transparent 70%),
radial-gradient(680px 380px at 96% 6%, rgba(var(--glow-rgb), .05), transparent 72%);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
}


html[data-page="rank"] #homeView,
html[data-page="bar"] #homeView,
html[data-page="mini"] #homeView,
html[data-page="guide"] #homeView,
html[data-page="howto"] #homeView,
html[data-page="author"] #homeView,
html[data-page="list"] #homeView,
html[data-page="promote"] #homeView,
html[data-page="discover"] #homeView,
html[data-page="me"] #homeView,
html[data-page="tasks"] #homeView,
html[data-page="chronicle"] #homeView,
html[data-page="rules"] #homeView,
html[data-page="invite"] #homeView,
html[data-page="ads"] #homeView,
html[data-page="brand"] #homeView,
html[data-page="enterprise"] #homeView,
html[data-page="app"] #homeView,
html[data-page="open"] #homeView,
html[data-page="about"] #homeView,
html[data-page="work"] #homeView { display: none !important; }


#homeView > #seoContent:not(.seo-home) { display: none !important; }

html[data-page="rank"] #rankView,
html[data-page="bar"] #wishView,
html[data-page="mini"] #miniView,
html[data-page="guide"] #guideView,
html[data-page="howto"] #howtoView,
html[data-page="author"] #authorView,
html[data-page="list"] #listView,
html[data-page="promote"] #promoteView,
html[data-page="discover"] #discoverView,
html[data-page="me"] #meView,
html[data-page="tasks"] #tasksView { display: block !important; }



html[data-page="author"] #creatorCard { display: none !important; }

@media (min-width: 901px) {
html[data-page="author"] #authorBody { grid-template-columns: minmax(0, 1fr) 272px; }
html[data-page="author"] #authorSide { display: block !important; }
html[data-page="author"] #authorSideSkel { display: block !important; }
}


#rankList:empty::before {
content: '榜单加载中…';
display: block;
padding: 48px 0;
text-align: center;
color: var(--muted);
font-size: 13px;
}


.container { max-width: var(--page-max, 1260px); margin: 0 auto; padding: 0 20px; width: 100%; }


.site-header {
background: var(--card);
border-bottom: 1px solid var(--border);
position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }

#worksHead { scroll-margin-top: 74px; }
.logo { font-weight: 700; font-size: 18px; color: var(--primary); }
nav { display: flex; gap: 8px; flex: 1; }
.nav-btn {
border: none; background: none; font-size: 14px; color: var(--muted);
padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.nav-btn.active { color: var(--primary); background: var(--tk96); font-weight: 600; }

.btn-primary {
background: var(--primary); color: #fff; border: none;
padding: 9px 18px; border-radius: 10px; font-size: 14px; cursor: pointer;
transition: background .15s;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-block { width: 100%; margin-top: 16px; }


.pub-wrap { position: relative; flex: none; }
.pub-btn {
position: relative;
width: 34px; height: 34px; border-radius: 50%;
border: none; background: var(--primary); cursor: pointer;
display: inline-flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .28);
transition: background .15s, box-shadow .15s, transform .15s;
}
.pub-btn:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(var(--tk58-rgb), .34); }
.pub-btn:active { transform: scale(.95); }
.pub-btn.is-open { background: var(--primary-dark); }

.plus-ico { position: relative; display: block; width: 14px; height: 14px; transition: transform .18s ease; }
.plus-ico::before, .plus-ico::after {
content: ''; position: absolute; left: 50%; top: 50%;
background: #fff; border-radius: 2px; transform: translate(-50%, -50%);
}
.plus-ico::before { width: 13px; height: 2px; }
.plus-ico::after { width: 2px; height: 13px; }
.pub-btn.is-open .plus-ico { transform: rotate(45deg); }

.pub-menu {

position: absolute; top: calc(100% + 10px); right: 0; width: 300px;
padding: 6px; z-index: 95;
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
box-shadow: 0 16px 40px rgba(31, 35, 48, .14), 0 2px 6px rgba(31, 35, 48, .05);
}
.pub-menu[hidden] { display: none; }

.pub-menu::before {
content: ''; position: absolute; top: -6px; right: 11px;
width: 12px; height: 12px; background: var(--card);
border-left: 1px solid var(--border); border-top: 1px solid var(--border);
border-radius: 3px 0 0 0; transform: rotate(45deg);
}
.pub-mask { display: none; }
.pub-item {
display: flex; align-items: center; gap: 10px; width: 100%;
padding: 9px 10px; border: none; border-radius: 10px;
background: none; color: var(--text); text-align: left; text-decoration: none;
font-family: inherit; cursor: pointer; transition: background .12s;
}
.pub-item:hover, .pub-item:focus-visible { background: var(--tk96); outline: none; }
.pub-ico {
flex: none; width: 30px; height: 30px; border-radius: 9px;
display: inline-flex; align-items: center; justify-content: center;
}
.pub-ico .ico { font-size: 17px; }
.pub-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pub-txt b { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.pub-txt em { font-size: 11.5px; font-style: normal; color: var(--muted); line-height: 1.35; }

.pi-work { background: var(--tk94); color: var(--tk58); }
.pi-want { background: #fff2e2; color: #c9720c; }
.pi-chat { background: #e6f7ef; color: #0f9d6b; }
.pi-biz  { background: #e8f1ff; color: #2f6fed; }
.pi-promo { background: #ffe9f0; color: #d6336c; }


.draft-dot {
position: absolute; top: -6px; right: -6px;
min-width: 17px; height: 17px; padding: 0 4px;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 999px; background: #f5a524; color: #fff;
font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; letter-spacing: 0;
box-shadow: 0 0 0 2px #fff; pointer-events: none; z-index: 2;
}
.draft-dot[hidden] { display: none; }

.draft-discard {
display: block; width: 100%; margin-top: 10px; padding: 6px 0;
background: none; border: none; color: #b42318;
font-family: inherit; font-size: 12.5px; cursor: pointer;
}
.draft-discard:hover { text-decoration: underline; }
.draft-discard:disabled { opacity: .5; cursor: wait; }
.draft-discard[hidden] { display: none; }


.draft-bar {
display: flex; align-items: center; gap: 10px;
margin: 2px 0 14px; padding: 8px 10px 8px 12px;
border-radius: 10px; background: var(--tk96);
border: 1px solid var(--tk92);
font-size: 12.5px; color: #4a4560;
}
.draft-bar-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.draft-bar-txt b { color: #322c49; font-weight: 600; }
.draft-bar-new {
flex: none; padding: 3px 10px; border-radius: 999px;
border: 1px solid var(--tk88); background: #fff; color: var(--primary);
font-family: inherit; font-size: 12.5px; cursor: pointer;
}
.draft-bar-new:hover { background: var(--tk98); }
.draft-bar-new:disabled { opacity: .55; cursor: not-allowed; }

.draft-bar-del {
flex: none; padding: 3px 4px; border: 0; background: none;
color: #8d87a6; font-family: inherit; font-size: 12.5px; cursor: pointer;
}
.draft-bar-del:hover { color: #d64545; }
.draft-bar[hidden] { display: none; }



.hero { text-align: center; padding: 44px 0 10px; position: relative; isolation: isolate; z-index: 5; }

.hero > *:not(.aurora) { position: relative; z-index: 2; }


.aurora {
position: absolute; left: 0; right: 0; top: -56px;
height: min(420px, 62vw); z-index: 0; pointer-events: none;
}
.aurora i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) {
width: min(78vw, 500px); aspect-ratio: 1 / 1; left: -6%; top: -28%;
background: radial-gradient(circle closest-side at 46% 46%,
rgba(var(--tk58-rgb), .27) 0%, rgba(var(--tk58-rgb), .12) 46%, rgba(var(--tk58-rgb), 0) 100%);
animation: aurA 34s ease-in-out infinite;
}
.aurora i:nth-child(2) {
width: min(70vw, 460px); aspect-ratio: 1 / 1; right: 0; top: -38%;

background: radial-gradient(circle closest-side at 50% 50%,
rgba(var(--glow-rgb), .19) 0%, rgba(var(--glow-rgb), .08) 50%, rgba(var(--glow-rgb), 0) 100%);
animation: aurB 41s ease-in-out infinite;
}
.aurora i:nth-child(3) {
width: min(62vw, 420px); aspect-ratio: 1 / 1; left: 30%; top: 14%;
background: radial-gradient(circle closest-side at 50% 50%,
rgba(120, 190, 255, .21) 0%, rgba(120, 190, 255, .09) 50%, rgba(120, 190, 255, 0) 100%);
animation: aurC 47s ease-in-out infinite;
}
@keyframes aurA {
0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .72 }
50% { transform: translate3d(38px, 24px, 0) scale(1.1); opacity: 1 }
}
@keyframes aurB {
0%, 100% { transform: translate3d(0, 0, 0) scale(1.04); opacity: .66 }
50% { transform: translate3d(-34px, 30px, 0) scale(.95); opacity: 1 }
}
@keyframes aurC {
0%, 100% { transform: translate3d(0, 0, 0) scale(.96); opacity: .6 }
50% { transform: translate3d(30px, -20px, 0) scale(1.08); opacity: 1 }
}

@media (prefers-reduced-motion: reduce) { .aurora i { animation: none !important; } }
@media (max-width: 640px) {
.aurora { top: -34px; height: min(320px, 72vw); }
.aurora i:nth-child(3) { display: none; }   
}

.hero-search { display: none; }

.hero .hero-tagline { display: none; }

.hero h1, .hero .hero-title { font-size: clamp(30px, 1.1vw + 14px, 40px); letter-spacing: .01em; margin-bottom: 10px; text-wrap: balance; }

.hero h1 .grad, .hero .hero-title .grad {
background: linear-gradient(92deg, var(--primary), var(--tk76) 55%, var(--grad-end));
-webkit-background-clip: text; background-clip: text;
-webkit-text-fill-color: transparent; color: transparent;
}
.hero p { color: var(--muted); font-size: 15px; }

.hero .hero-sub { margin-top: 8px; font-size: clamp(12px, .14vw + 10.7px, 13.5px); line-height: 1.6; }

.hero-link {
border: 0; background: none; padding: 0; font: inherit; line-height: inherit;
color: var(--primary); font-weight: 600; cursor: pointer;
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color .15s, color .15s;
}
.hero-link:hover { color: var(--primary-dark); border-bottom-color: currentColor; }
.hero-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }

.hero-find {
--hf-ring: linear-gradient(120deg, var(--tk86), #eec9ec 45%, #bfd4f7);
display: inline-flex; align-items: center; gap: 6px;
margin-top: 14px; padding: 7px 17px 8px;
border: 1px solid transparent; border-radius: 999px;
background:
linear-gradient(180deg, #ffffff, var(--tk98)) padding-box,
var(--hf-ring) border-box;
color: var(--tk54); font: inherit; font-size: 12.5px; line-height: 1.2; cursor: pointer;
box-shadow: 0 1px 2px rgba(var(--tk58-rgb), .06), 0 4px 16px rgba(var(--tk58-rgb), .10);
transition: transform .18s ease, box-shadow .18s ease, color .15s;
}
.hero-find b { font-weight: 600; }
.hero-find:hover {
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(var(--tk58-rgb), .08), 0 8px 24px rgba(var(--tk58-rgb), .20);
color: var(--tk48);
}
.hero-find:active { transform: translateY(0); box-shadow: 0 1px 6px rgba(var(--tk58-rgb), .14); }
.hero-find:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }



.hero > .hero-search-combo {
display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
gap: 8px; margin-top: 16px;

z-index: 5;
}
.hero-search-combo .hero-search-slot { flex: 1 1 340px; min-width: 0; max-width: 440px; display: flex; }

.hero-search-combo .search-box,
.hero-search-combo .search-box:focus-within,
.hero-search-combo .search-box.is-focus,
.hero-search-combo .search-box:has(input:not(:placeholder-shown)) { flex: 1 1 100%; width: 100%; min-width: 0; }
.hero-search-combo .search-box input {
height: 42px; padding-left: 36px; border-radius: 11px; font-size: 14px; background: #fff;
box-shadow: 0 2px 12px rgba(var(--tk58-rgb), .08);
}
.hero-search-combo .search-box input:focus { border-color: var(--primary); box-shadow: 0 2px 16px rgba(var(--tk58-rgb), .16); }
.hero-search-combo .search-icon { left: 13px; font-size: 15px; }
.hero-search-go {
flex: 0 0 auto; height: 42px; padding: 0 20px; border: 0; border-radius: 11px;
background: var(--primary); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600;
cursor: pointer; transition: filter .15s, transform .15s;
}
.hero-search-go:hover { filter: brightness(1.06); }
.hero-search-go:active { transform: translateY(1px); }
.hero-search-go:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.hero-find.hero-find-go {
margin-top: 0; height: 42px; padding: 0 15px; border-radius: 11px; font-size: 12.5px;
}

.hero .hero-find#heroFindBtn { display: none; }

@media (prefers-reduced-motion: no-preference) {

.hero-find b {
background: linear-gradient(90deg, var(--tk64), var(--tk60), var(--tk64));
background-size: 200% auto;
-webkit-background-clip: text; background-clip: text;
color: transparent; -webkit-text-fill-color: transparent;
animation: hf-shimmer 3.2s linear infinite;
}

.hero-find .hf-star {
display: inline-block;
color: var(--tk68); font-size: 12px;
text-shadow: 0 0 6px rgba(var(--tk68-rgb), .4);
animation: hf-twinkle 2.4s ease-in-out infinite;
}
}
@keyframes hf-shimmer { to { background-position: -200% center; } }
@keyframes hf-twinkle {
0%, 100% { transform: scale(1) rotate(0deg); opacity: .8; }
50% { transform: scale(1.22) rotate(14deg); opacity: 1; }
}

.hero-hot {
display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
gap: 4px 8px; margin-top: 16px;

font-size: 11.5px; line-height: 1.7; color: #8d87a6;

min-height: calc(3.4em + 16px);
}

@media (min-width: 1080px) {
.hero-hot { min-height: calc(1.7em + 5px); }
}

.hero-hot.is-waiting { visibility: hidden; }

.hero-hot-label { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-right: 2px; }
.hero-hot-label .ico { font-size: 11px; color: var(--primary); }
.hero-hot-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 6px; min-width: 0; }
.hero-hot-word {
border: 0; padding: 2px 10px 3px; border-radius: 999px;
font: inherit; color: var(--tk54); cursor: pointer;
background: rgba(var(--tk68-rgb), .08);
transition: background-color .15s, color .15s, box-shadow .18s ease, transform .18s ease;
}
.hero-hot-word:hover {
background: #fff; color: var(--primary-dark);
box-shadow: 0 3px 12px rgba(var(--tk58-rgb), .16);
transform: translateY(-1px);
}
.hero-hot-word:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.hh-badge {
display: inline-block; font-style: normal; font-size: 9px; line-height: 1;
padding: 2px 3px 2px; border-radius: 4px; margin-right: 4px;
transform: translateY(-1px);
}
.hh-badge.is-hot { color: #d8434f; background: rgba(216, 67, 79, .10); }
.hh-badge.is-new { color: #0d9463; background: rgba(13, 148, 99, .12); }

.hero-link-mini {
padding: 2px 10px 3px; border-radius: 999px; border-bottom: 0;
background: rgba(var(--tk58-rgb), .12);
transition: background-color .15s, color .15s;
}
.hero-link-mini:hover { background: rgba(var(--tk58-rgb), .22); border-bottom-color: transparent; }

.hero-link-submit {
padding: 2px 10px 3px; border-radius: 999px; border-bottom: 0;
background: rgba(var(--tk58-rgb), .12); color: var(--primary);
transition: background-color .15s, color .15s;
}
.hero-link-submit:hover { background: rgba(var(--tk58-rgb), .22); color: var(--primary-dark); border-bottom: 0; }
.hero-br { display: none; }   
@media (prefers-reduced-motion: no-preference) {
.hero h1, .hero .hero-title, .hero .hero-sub { animation: hero-in .55s ease both; }
.hero .hero-sub { animation-delay: .12s; }
}
@keyframes hero-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: none; }
}

.no-hero-anim .hero h1, .no-hero-anim .hero .hero-title, .no-hero-anim .hero .hero-sub { animation: none !important; }


main > section.dm-view-enter { animation: dmViewIn .34s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes dmViewIn {
from { opacity: 0; translate: 0 8px }
to { opacity: 1; translate: 0 0 }
}
@media (prefers-reduced-motion: reduce) {
main > section.dm-view-enter,
.author-hero-band.band-skin.is-swapping { animation: none !important; }
}


html.rv-on .rv { opacity: 0; translate: 0 14px; scale: .992; }
html.rv-on .rv.in {
opacity: 1; translate: 0 0; scale: 1;
transition:
opacity .46s ease,
translate .62s cubic-bezier(.16, 1, .3, 1),
scale .62s cubic-bezier(.16, 1, .3, 1);
transition-delay: var(--rv-d, 0ms);
}
html.dm-quiet .rv { opacity: 1 !important; translate: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
html.rv-on .rv { opacity: 1; translate: none; }
}


.type-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 24px 0 0; }
.type-chip {
padding: 8px 18px; border-radius: 10px; border: 1px solid var(--border);
background: #fff; font-size: 14px; cursor: pointer; color: var(--text);
}
.type-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }


.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 0 24px; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0 0; }

.filter-bar { display: flex; align-items: center; gap: 10px; padding: 18px 0 0; }

.filter-bar .filter-row { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 0; }
.dd-filter { position: relative; }
.dd-btn {
display: inline-flex; align-items: center; gap: 6px;
padding: 7px 11px; background: #fff;
border: 1px solid var(--border); border-radius: 10px;
font-size: 13px; color: var(--text); cursor: pointer;
transition: border-color .15s, background .15s, box-shadow .15s;
}

.filter-row .dd-btn { padding: 5px 9px; gap: 5px; border-radius: 9px; font-size: 12.5px; }
.filter-row .dd-btn .dd-ico { font-size: 12.5px; }
.filter-row .dd-btn .dd-value { max-width: 112px; }
.filter-row .dd-btn .dd-caret { font-size: 10px; }
.dd-btn:hover { border-color: var(--tk86); }
.dd-filter.open .dd-btn { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk66-rgb), .12); }
.dd-btn .dd-ico { font-size: 13.5px; }
.dd-btn .dd-label { color: var(--muted); }
.dd-btn .dd-value { font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn .dd-caret { color: var(--muted); font-size: 11px; transition: transform .15s; }
.dd-filter.open .dd-caret { transform: rotate(180deg); }
.dd-btn.has-value { border-color: var(--tk90); background: var(--tk98); }
.dd-btn.has-value .dd-value { color: var(--primary); }
.dd-panel {
position: absolute; top: calc(100% + 8px); left: 0; z-index: 80;
display: none; min-width: 160px; max-width: 260px; max-height: 320px; overflow-y: auto;
background: #fff; border: 1px solid var(--border); border-radius: 14px;
box-shadow: 0 14px 36px rgba(35, 38, 68, .16);
padding: 6px;
}
.dd-filter.open .dd-panel { display: block; }
.dd-opt {
display: flex; align-items: center; gap: 6px; width: 100%;
padding: 9px 12px; border: 0; background: none; border-radius: 9px;
font-size: 14px; color: var(--text); cursor: pointer; white-space: nowrap; text-align: left;
}
.dd-opt:hover { background: var(--tk96); }
.dd-opt.active { color: var(--primary); background: var(--tk96); font-weight: 600; }
.dd-opt.active::after { content: '✓'; margin-left: 0; font-size: 13px; }


#rankPeriodDD .dd-panel { min-width: 320px; max-width: 340px; }
#rankPeriodDD .dd-opt { flex-wrap: wrap; }
#rankPeriodDD .dd-opt-desc {
order: 3; flex: 1 1 100%;                  
font-size: 12px; font-weight: 400; color: #8a8fa3;
margin-top: 2px; white-space: normal; line-height: 1.45;
}
#rankPeriodDD .dd-opt.active::after { order: 2; }
#rankPeriodDD .dd-opt:hover .dd-opt-desc { color: #6c7186; }

.dd-count {
margin-left: auto; font-size: 12px; font-weight: 500;
color: var(--muted); background: var(--tk94);
padding: 1px 8px; border-radius: 999px;
font-variant-numeric: tabular-nums;
}
.dd-opt.active .dd-count { color: var(--primary); background: var(--tk92); }


.remember-filters {
display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
padding: 4px 10px 4px 12px; border-radius: 9px;
background: var(--tk96); border: 1px solid var(--tk94);
font-size: 12.5px; white-space: nowrap;
}
.remember-filters-main {
display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
color: var(--text); transition: color .15s;
}
.remember-filters-main:hover { color: var(--primary); }
.remember-filters-main input { width: 13px; height: 13px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.remember-filters:has(input:checked) { background: var(--tk96); border-color: var(--tk92); }
.remember-filters:has(input:checked) .remember-filters-main { color: var(--primary); font-weight: 600; }
.remember-hint {
font-size: 11.5px; color: var(--muted);
padding-left: 8px; border-left: 1px solid var(--tk90);
}

.remember-filters .remember-hint { display: none; }
.remember-filters:hover .remember-hint,
.remember-filters:has(input:checked) .remember-hint { display: inline; }
.remember-filters:has(input:checked) .remember-hint { color: var(--tk58); }
.remember-filters-h5 {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
margin: -2px 4px 4px;
}
.remember-filters-h5 .remember-filters { background: none; border: 0; padding: 4px 2px; }
.remember-filters-h5 .remember-hint { border-left: 0; font-size: 11.5px; text-align: right; }
.dd-opt.active .dd-opt-label + .dd-count + ::after { margin-left: 4px; }

.chip {
display: inline-flex; align-items: center; gap: 7px;
padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
background: var(--card); font-size: 14px; cursor: pointer; color: var(--text);
text-decoration: none; transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.chip .tico { font-size: 1.05em; opacity: .8; }
.chip:hover { border-color: var(--tk86); color: var(--primary); background: var(--tk98); }
.chip-count {
font-size: 12px; line-height: 1; color: var(--muted); background: var(--tk94);
padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.chip.active {
background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600;
box-shadow: 0 5px 14px rgba(var(--tk58-rgb), .26);
}
.chip.active .tico { opacity: 1; }
.chip.active .ico svg path { fill: #fff; }
.chip.active .chip-count { background: rgba(255, 255, 255, .22); color: #fff; }


.list-page-head h1 { margin-bottom: 8px; }
.list-h1 { display: flex; align-items: center; gap: 14px; font-size: 26px; }
.ph-ico {
display: inline-flex; align-items: center; justify-content: center; flex: none;
width: 48px; height: 48px; border-radius: 13px;
background: var(--tk96); font-size: 24px;   
}

@media (max-width: 768px) {
.chip { padding: 6px 12px; font-size: 13px; gap: 6px; }
.chip-count { font-size: 11px; padding: 2px 7px; }
.list-h1 { gap: 10px; font-size: 22px; }
.ph-ico { width: 40px; height: 40px; font-size: 20px; border-radius: 11px; }
}


.gallery {
display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
gap: 20px; padding-bottom: 48px;
}

@media (min-width: 901px) and (max-width: 999px) {
.gallery.cols-4, .gallery.cols-5, .gallery.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) and (max-width: 1259px) {
.gallery.cols-4, .gallery.cols-5, .gallery.cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1260px) {
.gallery.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery.cols-6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
.gallery.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.card {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s;
position: relative;

display: flex; flex-direction: column;
}

.card-link {
position: absolute; inset: 0; z-index: 2; border-radius: inherit;
font-size: 0; text-decoration: none;
}

.card .fav-star, .work-row .row-fav, .work-row .row-like, .work-row .row-block, .card .card-share { z-index: 3; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(60, 60, 120, .10); }

.card-img {
width: 100%; aspect-ratio: 4 / 3; height: auto;
object-fit: cover; object-position: center top;
display: block; background: #eceef5;
}

.card-img-wrap { position: relative; overflow: hidden; }


.card-img-wrap::before {
content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
background: var(--lqip, none) center / cover no-repeat;
filter: blur(18px);
transform: scale(1.12); 
transition: opacity .4s ease;
}
.card-img-wrap > .card-img { position: relative; z-index: 1; }
.card-img-wrap.img-ld::before { opacity: 0; }


#gallery .card-img-wrap { overflow: hidden; }

#gallery .card-img-wrap::after {
content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
background:

radial-gradient(125% 58% at 50% -14%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 63%),

linear-gradient(116deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .12) 15%, rgba(255, 255, 255, 0) 33%),

linear-gradient(0deg, rgba(28, 22, 58, .15), rgba(28, 22, 58, 0) 24%);

box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

#gallery .card-img {
transform-origin: 50% 42%;
transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}
#gallery .card:hover .card-img { transform: scale(1.02); }

@media (hover: none) {
#gallery .card:hover .card-img { transform: none; }
}


#gallery .card-img-wrap + .card-body { box-shadow: inset 0 1px 0 rgba(var(--tk58-rgb), .07); }


.sk-img, .sk-line {
background: linear-gradient(100deg, #eceef5 40%, var(--tk96) 50%, #eceef5 60%);
background-size: 200% 100%; animation: sk-shimmer 1.3s ease-in-out infinite;
border-radius: 6px;
}
.sk-line { display: block; height: 13px; margin-bottom: 9px; }
.sk-foot { display: flex; justify-content: space-between; margin-top: 12px; }
.sk-foot .sk-line { margin-bottom: 0; }
@keyframes sk-shimmer {
from { background-position: 200% 0; }
to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
.sk-line, .sk-img { animation: none; }
}


.sk-cover { width: 100%; aspect-ratio: 4 / 3; border-radius: 0; }
.card-sk { cursor: default; }
.card-sk:hover { transform: none; box-shadow: none; }
.card-sk .sk-line { margin-bottom: 9px; }
.card-sk .sk-foot { padding-top: 6px; }

.author-meta .sk-au-meta { width: 220px; margin: 3px 0 0; }


.dm-load {
grid-column: 1 / -1;              
display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
gap: 10px; padding: 18px 16px 28px;

}
.gallery.list-mode .dm-load { padding: 14px 16px 20px; }
.dm-load-win {
position: relative; display: flex; align-items: flex-end; justify-content: center;
gap: 7px; width: 62px; height: 56px; padding-bottom: 13px;
border: 1.5px solid var(--border);
border-radius: 20px 20px 9px 9px;   
background: linear-gradient(180deg, var(--tk98), var(--tk96));
}
.dm-load-win::before {   
content: ''; position: absolute; left: -16px; right: -16px; top: -16px; height: 64px;
border-radius: 50%;
background: radial-gradient(closest-side, rgba(255, 191, 77, .3), transparent 74%);
animation: dmLampHalo 2.1s ease-in-out infinite;
pointer-events: none;
}
.dm-load-win i {
width: 7px; height: 11px; border-radius: 4px 4px 2px 2px;
background: #ffc75e;               
box-shadow: 0 0 7px rgba(255, 191, 77, .55);
animation: dmLamp 2.1s ease-in-out infinite;
}
.dm-load-win i:nth-child(2) { height: 15px; animation-delay: .24s; }   
.dm-load-win i:nth-child(3) { animation-delay: .48s; }
.dm-load-txt { font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.dm-load-sub { margin: -4px 0 0; font-size: 12px; color: var(--muted); opacity: .78; }
@keyframes dmLamp {
0%, 56%, 100% { background: #ffc75e; box-shadow: 0 0 7px rgba(255, 191, 77, .55); }
16% { background: #ffe8b8; box-shadow: 0 0 13px rgba(255, 191, 77, .95); }   
34% { background: #ffd68a; box-shadow: 0 0 9px rgba(255, 191, 77, .7); }
}
@keyframes dmLampHalo {
0%, 100% { opacity: .5; scale: .93; }
22% { opacity: 1; scale: 1.05; }
}
@media (prefers-reduced-motion: reduce) {
.dm-load-win::before, .dm-load-win i { animation: none; }
.dm-load-win::before { opacity: .85; }
}

.type-badge {
position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
background: rgba(31, 35, 48, .82); color: #fff;
font-size: 12px; padding: 4px 10px; border-radius: 999px;


z-index: 2;
}

.type-badge .tico svg path { fill: #fff; }
.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; min-width: 0; }

.card-title {
font-weight: 600; font-size: 15px; margin-bottom: 2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4;
}
.card-desc {
color: var(--muted); font-size: 12px; margin-bottom: 4px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; min-height: 1.4em;
}
.card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.card-cat { font-size: 12px; color: var(--primary); background: var(--tk96); padding: 2px 8px; border-radius: 999px; }

.card-kw-row { display: flex; gap: 5px; margin: 0 0 6px; min-width: 0; overflow: hidden; }
.card-kw {
font-size: 11px; line-height: 1.6; color: var(--muted);
background: var(--tk96); border: 1px solid var(--tk94);
padding: 0 7px; border-radius: 6px; max-width: 50%;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.fav-num { color: #d9820b; font-variant-numeric: tabular-nums; }
.cmt-num { color: var(--tk60); font-variant-numeric: tabular-nums; }
.card-meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta > span:last-child { flex-shrink: 0; }

.card-body > :last-child { margin-top: auto; }
.card-foot { padding-top: 6px; }

.card-foot > span:last-child {
margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--tk90);
color: #9297a8; font-size: 12px; font-variant-numeric: tabular-nums;
}

.stat-line .s-ico, .featured-meta .s-ico, .detail-stats .s-ico { font-size: 1.08em; vertical-align: -0.16em; margin-right: 3px; }

.stat-line { display: inline-flex; align-items: center; gap: 7px; }

.stat-line .trend-seg { font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-line .trend-seg.is-up { color: #e8590c; }
.stat-line .trend-seg.is-down, .stat-line .trend-seg.is-flat { color: var(--muted); }

.stat-line .stat-seg.is-zero { display: none; }
.row-stat.is-zero { visibility: hidden; }

.detail-stats .fav-num { font-weight: 600; }

.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty-icon { font-size: 48px; margin-bottom: 12px; }




.site-footer {
--fb-line: #dce0ea;
position: relative; padding: 72px 0 28px; margin-top: auto;
background: var(--tk96); color: var(--muted); font-size: 13px;
}
.site-footer::before {
content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
background: linear-gradient(90deg, transparent 0%, var(--fb-line) 12%, var(--fb-line) 88%, transparent 100%);
}




.footer-friends { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; line-height: 1.5; }
.footer-friends .ff-label { flex: none; opacity: .75; padding-top: 1px; }

.footer-friends .ff-body { min-width: 0; flex: 1 1 auto; }

.footer-friends .ff-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 24px; min-width: 0; width: 100%; }
@media (max-width: 1100px) and (min-width: 641px) {
.site-footer .footer-friends .ff-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-friends .ff-item { display: block; min-width: 0; text-decoration: none; color: #4a5070; }
.footer-friends .ff-item:visited { color: #4a5070; }
.footer-friends .ff-name { display: block; font-size: 13px; font-weight: 600; color: inherit; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-friends .ff-desc {
display: block; margin-top: 2px; font-size: 12px; color: #98a0b6; line-height: 1.5;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;   
}
.footer-friends .ff-item:hover .ff-name { color: var(--primary); }

.footer-friends .ff-apply, .footer-friends .ff-more {
justify-self: start; padding: 0; background: none; border: 0; font: inherit; font-size: 12.5px;
color: var(--muted); cursor: pointer; opacity: .8; white-space: nowrap;
}
.footer-friends .ff-apply:hover, .footer-friends .ff-more:hover { color: var(--primary); }
.footer-friends .ff-empty { opacity: .55; }
.footer-friends .ff-more::after { content: " ▾"; font-size: 11px; }
.footer-friends .ff-more.open::after { content: " ▴"; font-size: 11px; }
.footer-friends .ff-more.open { color: var(--primary); opacity: 1; }
.footer-friends .ff-extra {
margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--fb-line, var(--border));
}
.footer-friends .ff-extra[hidden] { display: none; }


.fr-rules { display: grid; gap: 10px; margin-bottom: 14px; padding: 10px 12px; background: var(--bg-soft, var(--tk96)); border: 1px solid var(--border); border-radius: 10px; }
.fr-rules .fr-rule-group b { display: block; font-size: 12.5px; margin-bottom: 4px; color: var(--text, #333); }
.fr-rules .fr-rule-group ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.fr-rules .fr-rule-group li { font-size: 12.5px; color: var(--muted); line-height: 1.55; }


.fr-history-toggle { display: block; margin: 10px auto 0; padding: 0; background: none; border: 0; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.fr-history-toggle:hover { color: var(--primary); }
.fr-history { display: grid; gap: 6px; margin-top: 10px; }
.fr-history .fr-h-row {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px;
background: var(--bg-soft, var(--tk96)); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left;
}
.fr-history .fr-h-row:hover { border-color: var(--primary); }
.fr-h-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--text, #333); }
.fr-h-back { flex: none; font-size: 11px; color: #1d8a4e; background: #e2f5ea; border-radius: 99px; padding: 1px 7px; }
.fr-h-st { flex: none; font-size: 11px; border-radius: 99px; padding: 1px 7px; }
.fr-h-st.pending { color: #2b5bd7; background: #e8eeff; }
.fr-h-st.listed { color: #1d8a4e; background: #e2f5ea; }
.fr-h-st.done { color: var(--muted); background: #ececf2; }
.fr-h-time { flex: none; font-size: 11.5px; color: var(--muted); }


.modal-mask {
position: fixed; inset: 0; background: rgba(18,19,34,.48); z-index: 100;
display: flex; align-items: center; justify-content: center; padding: 20px;

user-select: none; -webkit-user-select: none;
animation: dmMaskIn .2s ease both;
}
.modal {
background: var(--card); border-radius: 16px; padding: 24px;
width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; position: relative;

user-select: text; -webkit-user-select: text;
box-shadow: 0 24px 80px rgba(24, 22, 52, .22), 0 2px 8px rgba(24, 22, 52, .08);
animation: dmModalIn .34s cubic-bezier(.16, 1, .3, 1) both;
}

.modal:not(.detail) { scrollbar-gutter: stable; }

@keyframes dmMaskIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes dmModalIn {
from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.975) }
to { opacity: 1; transform: none }
}
@media (prefers-reduced-motion: reduce) {
.modal-mask, .modal { animation: none !important; }
.modal-mask { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.modal.detail { max-width: 1040px; padding: 0; overflow: hidden; display: flex; }

#uploadModal .modal { max-width: 1140px; }
#uploadModal .upload-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
#uploadModal .upload-main { min-width: 0; }

.card-live-preview {
position: sticky; top: 0; align-self: start;
border: 1px solid var(--border); border-radius: 12px;
background: var(--tk98); padding: 12px; min-width: 0;
}
.card-live-preview > summary {
cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--text);
display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.card-live-preview > summary::-webkit-details-marker { display: none; }
.card-live-preview > summary::before { content: '▸'; font-size: 12px; color: var(--primary); }
.card-live-preview[open] > summary::before { content: '▾'; }
.card-live-preview > summary span { font-size: 12px; font-weight: 400; color: var(--muted); }
.card-live-preview .clp-note { margin: 8px 0 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.card-live-preview .card { width: 100%; cursor: default; }
.card-live-preview .card:hover { transform: none; box-shadow: none; }
.card-live-preview .card-link { pointer-events: none; }
@media (max-width: 1000px) {
#uploadModal .upload-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.card-live-preview { position: static; order: -1; }
.card-live-preview .card { max-width: 340px; }
}


.modal.modal-choice { max-width: 440px; }

.catfix-cur {
margin: 0 0 14px; padding: 9px 12px; border-radius: 10px;
background: var(--tk96); border: 1px solid var(--border);
font-size: 13px; line-height: 1.6; color: var(--muted);
}
.catfix-cur b { color: var(--text); }
.catfix-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.choice-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.choice-list p {
margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
background: var(--tk98); font-size: 13.5px; line-height: 1.65; color: var(--text);
}
.choice-list p b { color: var(--primary); }
.choice-actions { display: flex; flex-direction: column; gap: 8px; }
.choice-actions .btn-primary, .choice-actions .btn-ghost { width: 100%; }
.choice-cancel { text-align: center; margin: 10px 0 0; }

.detail-media {
width: 50%; min-width: 0;
display: flex; flex-direction: column;
background: #f0f0f5;
position: relative;
}
.detail-media > img {
flex: 1; width: 100%; min-height: 320px;
object-fit: contain; display: block; background: var(--tk96);
}
.detail-media .detail-gallery {
flex: none; padding: 8px 12px;
}

.modal-head {
display: flex; justify-content: space-between; align-items: center;
position: sticky; top: 0; z-index: 6;

margin: -24px -24px 30px; padding: 24px 24px 10px;
background: var(--card); border-radius: 16px 16px 0 0;
}

.modal-head::after {
content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
background: linear-gradient(to bottom, var(--card), transparent);
pointer-events: none;
}

.modal-head::before,
.fb-sticky::before {
content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px;
background: var(--card); pointer-events: none;
}
.fb-sticky .modal-head::before { display: none; }
.close-btn {
position: absolute; top: 12px; right: 12px; border: none; background: rgba(255,255,255,.9);
width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; z-index: 5;

color: #333;
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 6px rgba(0,0,0,.22);
}
.modal-head .close-btn { background: none; font-size: 16px; box-shadow: none; }

form label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
form input, form select, form textarea {
width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
font-size: 14px; font-family: inherit; background: var(--tk98);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--tk86); border-color: var(--primary); }


.type-picker { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.type-picker .type-opt {
display: inline-flex; align-items: center; position: relative;
margin: 0; font-size: 12.5px; font-weight: 500; color: var(--text); cursor: pointer;
flex: 0 0 auto;  
}
.type-picker .type-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.type-picker .type-opt > span {
display: inline-flex; align-items: center; justify-content: center; gap: 3px;
width: 100%; padding: 4px 8px; border: 1.5px solid var(--border); border-radius: 999px;
background: #fff; color: #4a4f5e; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
user-select: none; white-space: nowrap;
}
.type-picker .type-opt:hover > span { border-color: var(--tk82); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(var(--tk44-rgb), .10); }
.type-picker .type-opt input:checked + span {
background: var(--primary); border-color: var(--primary); color: #fff;
box-shadow: 0 3px 8px rgba(var(--tk58-rgb), .24);
}

.type-picker .type-opt > span::after {
content: '✓'; font-size: 11px; font-weight: 700;
display: inline-block; width: 13px; text-align: center;
opacity: 0; transform: scale(.5);
transition: opacity .15s, transform .15s;
}
.type-picker .type-opt input:checked + span::after { opacity: 1; transform: scale(1); }
.type-picker .type-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .22); }

.type-picker .type-opt input:checked + span .tico svg path:nth-child(1):not(:only-child) { fill: rgba(255,255,255,.38); }
.type-picker .type-opt input:checked + span .tico svg path:nth-child(n+2) { fill: #fff; }

.type-picker .type-opt input:checked + span .tico svg path:only-child { fill: #fff; }


.cat-picker { gap: 7px; }
.cat-picker .type-opt { flex: 0 0 auto; font-size: 12.5px; }
.cat-picker .type-opt > span { padding: 4px 10px; font-size: 12.5px; border-width: 1px; }
.cat-picker .type-opt span::after { font-size: 11px; width: 13px; }
.cat-picker .type-opt:hover span { transform: none; box-shadow: none; }
.cat-picker .type-opt input:checked + span { box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .22); }

.type-picker .type-opt.cat-add {
flex: 0 0 auto; appearance: none;
border: none; background: none; padding: 0; margin: 0; font: inherit;
}
.type-picker .type-opt.cat-add span { border-style: dashed; color: var(--muted); background: var(--tk98); }
.type-picker .type-opt.cat-add:hover span { border-color: var(--primary); color: var(--primary); }
.cat-hint { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.type-opt span { position: relative; }
.cat-idx {
display: none; margin-left: 5px; font-style: normal;
font-size: 11px; font-weight: 700; line-height: 1;
padding: 1px 5px; border-radius: 999px;
background: rgba(var(--tk58-rgb), .15); color: var(--primary);
vertical-align: middle;
}

.type-opt input:checked + span .cat-idx { display: inline-block; background: rgba(255,255,255,.24); color: #fff; }
.type-opt.is-main input:checked + span .cat-idx { background: var(--primary); color: #fff; }


.kw-editor {
display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
padding: 7px 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
}
.kw-editor:focus-within { border-color: var(--primary); outline: 2px solid var(--tk86); }
.kw-editor input[type="text"] {
flex: 1 1 130px; min-width: 110px; width: auto;
border: none; background: transparent; padding: 3px 2px; margin: 0;
font-size: 13.5px; border-radius: 0;
}
.kw-editor input[type="text"]:focus { outline: none; }

.kw-chips { display: contents; }
.kw-chip {
display: inline-flex; align-items: center; gap: 2px;
font-size: 12.5px; line-height: 1.5; color: var(--tk46);
background: var(--tk96); border: 1px solid var(--tk92); border-radius: 999px;
padding: 2px 4px 2px 9px; max-width: 100%;
}
.kw-chip b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-chip button {
appearance: none; border: none; background: transparent; cursor: pointer;
color: var(--tk72); font-size: 13px; line-height: 1; padding: 2px 3px; border-radius: 999px;
}
.kw-chip button:hover { color: #e2534c; background: rgba(226,83,76,.10); }
.kw-hint { margin: 3px 0 0; }
.kw-regen {
appearance: none; border: none; background: transparent; cursor: pointer;
font: inherit; color: var(--primary); padding: 0 5px 0 0;
}
.kw-regen:disabled { color: var(--muted); cursor: default; }


.os-picker { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 4px; }
.os-picker .os-opt {
display: inline-flex; align-items: center; position: relative; margin: 0;
flex: 0 0 auto;
font-size: 12.5px; font-weight: 500; cursor: pointer;
}
.os-picker .os-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.os-picker .os-opt span {
display: inline-flex; align-items: center; justify-content: center; gap: 4px;
padding: 4px 10px;
border: 1px solid var(--border); border-radius: 999px; background: #fff;
color: #4a4f5e; transition: background .15s, color .15s, border-color .15s, transform .15s;
user-select: none; white-space: nowrap;
}
.os-picker .os-opt:hover span { border-color: var(--tk82); transform: translateY(-1px); }
.os-picker .os-opt input:checked + span {
background: var(--tk96); border-color: var(--primary); color: var(--primary); font-weight: 600;
}
.os-picker .os-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .22); }


.ai-fill { margin: 2px 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--tk98); overflow: hidden; }
.ai-fill-toggle {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 10px 13px; border: 0; background: none; cursor: pointer;
font-size: 13px; font-weight: 600; color: var(--primary); text-align: left;
}
.ai-fill-toggle:hover { background: var(--tk96); }
.ai-fill-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.ai-fill-ico {
display: inline-flex; align-items: center; justify-content: center; flex: none;
width: 20px; height: 20px; border-radius: 6px;
background: var(--primary); color: #fff; font-size: 12px;
}
.ai-fill-tag {
font-size: 11px; font-weight: 400; color: var(--muted);
background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px;
}
.ai-fill-caret {
margin-left: auto; width: 0; height: 0;
border-left: 4px solid transparent; border-right: 4px solid transparent;
border-top: 5px solid currentColor; transition: transform .18s;
}
.ai-fill.is-open .ai-fill-caret { transform: rotate(180deg); }
.ai-fill-body { padding: 0 13px 13px; }
.ai-fill-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 10px; border-bottom: 1px solid var(--border); }
.ai-fill-tab {
padding: 7px 13px; border: 0; border-bottom: 2px solid transparent;
background: none; cursor: pointer; font-size: 12.5px; color: var(--muted);
}
.ai-fill-tab:hover { color: var(--primary); }
.ai-fill-tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.ai-fill-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.ai-fill-pane { padding-top: 10px; }
.ai-fill-tip { margin: 0 0 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.ai-fill-tip b { color: var(--text); font-weight: 600; }
.ai-fill-body textarea, .ai-fill-body input[type="url"], .ai-fill-body input[type="text"] {
display: block; width: 100%; box-sizing: border-box;
padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px;
font: inherit; font-size: 13px; line-height: 1.6; color: var(--text); background: #fff;
}
.ai-fill-body textarea { resize: vertical; min-height: 78px; }
.ai-fill-body textarea:focus, .ai-fill-body input[type="url"]:focus, .ai-fill-body input[type="text"]:focus {
outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12);
}
.ai-fill-cover { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.ai-fill-cover span { font-size: 11.5px; color: var(--muted); }
.ai-fill-cover-btn {
flex: none; padding: 5px 11px; border: 1px solid var(--primary); border-radius: 8px;
background: #fff; color: var(--primary); font-size: 12px; cursor: pointer;
}
.ai-fill-cover-btn:hover { background: var(--tk96); }
.ai-fill-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 9px; }
.ai-fill-actions .btn-primary { flex: none; padding: 7px 16px; font-size: 12.5px; border-radius: 9px; }
.ai-fill-actions .btn-primary:disabled { opacity: .55; cursor: wait; }
.ai-fill-overwrite { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); cursor: pointer; }
.ai-fill-status { flex: 1 1 100%; font-size: 12px; line-height: 1.55; color: var(--muted); }

.ai-feed { margin: -10px 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--tk98); overflow: hidden; }
.ai-feed-toggle {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 10px 13px; border: 0; background: none; cursor: pointer;
font-size: 13px; font-weight: 600; color: var(--primary); text-align: left;
}
.ai-feed-toggle:hover { background: var(--tk96); }
.ai-feed-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.ai-feed.is-open .ai-fill-caret { transform: rotate(180deg); }
.ai-feed-ico { background: var(--tk68); }
.ai-feed-body { padding: 0 13px 13px; }
.ai-feed-body input[type="text"] {
display: block; width: 100%; box-sizing: border-box;
padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px;
font: inherit; font-size: 13px; line-height: 1.6; color: var(--text); background: #fff;
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.ai-feed-body input[type="text"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--tk68-rgb), .12); }
.ai-feed-rotate {
flex: none; border: 0; background: none; cursor: pointer;
font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
padding: 7px 2px;
}
.ai-feed-rotate:hover { color: var(--primary); }
.ai-feed-rotate:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ai-fill-status.is-ok { color: #1a7f56; }
.ai-fill-status.is-warn { color: #8a5a00; }
.ai-fill-status.is-err { color: #b42318; }
@keyframes aiFillFlash { from { box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .24); } to { box-shadow: 0 0 0 0 rgba(var(--tk58-rgb), 0); } }
.ai-fill-flash { animation: aiFillFlash 1.2s ease-out; }
@media (max-width: 600px) {
.ai-fill-actions .btn-primary { width: 100%; }
}


.ai-progress {
position: relative; overflow: hidden; margin-top: 10px;
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
padding: 12px 14px 10px;
}
.ai-progress-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(var(--tk58-rgb), .12); }
.ai-progress-bar i {
display: block; height: 100%; width: 0;
background: linear-gradient(90deg, var(--primary), var(--tk72));
border-radius: 0 3px 3px 0;
transition: width 1s linear;
}
.ai-progress-head { display: flex; align-items: center; gap: 8px; }
.ai-progress-spin {
flex: none; width: 16px; height: 16px; border-radius: 50%;
border: 2px solid rgba(var(--tk58-rgb), .25); border-top-color: var(--primary);
animation: aiProgressSpin .8s linear infinite;
}
@keyframes aiProgressSpin { to { transform: rotate(360deg); } }
.ai-progress-title { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-progress-time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ai-progress-note { margin: 6px 0 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.ai-progress-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ai-progress-steps li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ai-progress-steps li .dot {
flex: none; width: 14px; height: 14px; border-radius: 50%;
border: 1.5px solid var(--border); background: transparent; position: relative;
}
.ai-progress-steps li.is-active { color: var(--text); font-weight: 500; }
.ai-progress-steps li.is-active .dot {
border-color: rgba(var(--tk58-rgb), .35); border-top-color: var(--primary);
animation: aiProgressSpin .8s linear infinite;
}
.ai-progress-steps li.is-done { color: #1a7f56; }
.ai-progress-steps li.is-done .dot { border-color: #1a7f56; background: #1a7f56; animation: none; }
.ai-progress-steps li.is-done .dot::after {
content: ''; position: absolute; left: 3px; top: 4px; width: 6px; height: 3px;
border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg);
}
@media (max-width: 600px) {
.ai-progress { padding: 10px 12px 9px; }
.ai-progress-title { max-width: 46vw; }
}


.howto-hint a { color: var(--primary); font-weight: 600; text-decoration: none; }
.howto-hint a:hover { text-decoration: underline; }
.howto-hint-close { margin-left: 10px; border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; opacity: .8; }
.howto-hint-close:hover { opacity: 1; text-decoration: underline; }
.howto-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; }
.howto-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.howto-card h3 {
display: flex; align-items: center; gap: 9px; margin: 0 0 8px;
font-size: 15px; color: var(--text);
}
.howto-no {
width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
display: inline-flex; align-items: center; justify-content: center;
}
.howto-card p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #4a4f5e; }
.howto-card b { color: var(--primary); }


.gloss-list {
list-style: none; margin: 10px 0 0; padding: 0;
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px;
}
.gloss-list li { font-size: 13px; line-height: 1.8; color: #4a4f5e; }
.gloss-list b { color: var(--text); font-weight: 600; margin-right: 6px; }
@media (max-width: 720px) {
.gloss-list { grid-template-columns: 1fr; gap: 2px; }
}
.howto-faq-head { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.howto-faq details {
background: #fff; border: 1px solid var(--border); border-radius: 12px;
padding: 12px 16px; margin-bottom: 10px;
}
.howto-faq summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text); }
.howto-faq details[open] summary { color: var(--primary); }
.howto-faq details p { margin: 8px 0 0; font-size: 13px; line-height: 1.8; color: #4a4f5e; }
.howto-cta {
display: flex; gap: 10px; justify-content: center; align-items: center;
flex-wrap: wrap; margin: 20px 0 30px;
}


.os-badge {
display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
font-size: 11px; line-height: 1; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.os-badge.open { color: #1a7f45; background: #e7f8ec; }
.os-badge.closed { color: #5b6275; background: #eef0f6; }
.os-badge.paid { color: #a2600a; background: #fff3df; }
.card-tags { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.detail-cat .os-badge { font-size: 12px; padding: 3px 10px; }
.detail-cat .os-badge.open { color: #1a7f45; background: #e7f8ec; }
.detail-cat .os-badge.closed { color: #5b6275; background: #eef0f6; }
.preview-box { margin-top: 10px; position: relative; width: fit-content; max-width: 100%; }
.preview-box img { max-width: 100%; border-radius: 10px; max-height: 200px; object-fit: contain; display: block; cursor: zoom-in; } 
.preview-box.mobile img { max-height: 320px; } 


.preview-remove {
position: absolute; top: 8px; right: 8px;
width: 26px; height: 26px; border-radius: 50%;
border: none; cursor: pointer;
background: rgba(20, 20, 30, .62); color: #fff;
font-size: 13px; line-height: 1;
display: flex; align-items: center; justify-content: center;
transition: background .15s, transform .1s;
}
.preview-remove:hover { background: #e5484d; transform: scale(1.06); }


.qr-guard {
display: flex;
gap: 6px;
margin-top: 8px;
padding: 8px 10px;
border: 1px solid #f0c987;
border-radius: 10px;
background: #fff8e8;
color: #a2600a;
font-size: 13px;
line-height: 1.5;
}
.qr-guard[hidden] { display: none; } 


.upload-dropzone {
display: flex; align-items: center; gap: 12px;
border: 2px dashed var(--border);
border-radius: 12px;
padding: 16px;
cursor: pointer;
background: var(--tk98);
transition: border-color .15s, background .15s, transform .1s;
}
.upload-dropzone:hover {
border-color: var(--primary);
background: var(--tk96);
}
.upload-dropzone:active { transform: scale(.99); }
.upload-dropzone input[type="file"] {
position: absolute; width: 1px; height: 1px;
opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.upload-dropzone .dropzone-icon {
flex: none;
width: 42px; height: 42px;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
border-radius: 10px;
background: var(--tk94);
color: var(--primary);
}
.upload-dropzone:hover .dropzone-icon { background: var(--primary); color: #fff; }
.upload-dropzone .dropzone-text {
color: var(--muted); font-size: 14px; line-height: 1.5;
}
.upload-dropzone .dropzone-text small { color: #a0a3b5; }
.upload-dropzone.small { padding: 12px; }
.upload-dropzone.small .dropzone-icon { width: 34px; height: 34px; font-size: 16px; }


.upload-row { display: flex; gap: 8px; align-items: stretch; }
.upload-row > .upload-dropzone { flex: 1 1 auto; min-width: 0; }

.upload-hint { margin: 0 0 8px; }


.upload-dropzone.paste-active {
border-color: var(--primary);
background: var(--tk96);
}
.upload-dropzone.paste-active::after {
content: 'Ctrl+V';
margin-left: auto; flex: none;
font-size: 11px; color: var(--primary);
background: var(--tk94); padding: 3px 8px; border-radius: 999px;
}


.gallery-previews {
--gal-cols: 5;
display: grid; grid-template-columns: repeat(var(--gal-cols), minmax(0, 1fr));
gap: 8px; margin-top: 10px;
}
.gallery-previews:empty { display: none; }
.gallery-thumb {
position: relative; min-width: 0; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
border: 1px solid var(--border);
}
.gallery-previews.mobile .gallery-thumb { aspect-ratio: 9 / 16; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; } 
.gallery-remove {
position: absolute; top: 4px; right: 4px;
width: 22px; height: 22px; border: 1.5px solid rgba(255,255,255,.92); border-radius: 50%;
background: rgba(17,17,26,.72); color: #fff;
font-size: 12px; line-height: 1; cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.gallery-remove:hover { background: #e03131; border-color: #e03131; }


.gallery-thumb { cursor: grab; }
.gallery-thumb.dragging { opacity: .45; cursor: grabbing; }
.gallery-thumb.drag-over { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--tk58-rgb), .35); }
.gallery-order {
position: absolute; top: 4px; left: 4px;
min-width: 16px; height: 16px; padding: 0 3px;
display: flex; align-items: center; justify-content: center;
background: rgba(17,17,26,.72); color: #fff;
font-size: 10px; border-radius: 8px; pointer-events: none;
border: 1px solid rgba(255,255,255,.6);
box-shadow: 0 1px 2px rgba(0,0,0,.4);
}

.gallery-order.is-cover {
background: var(--primary, var(--tk58)); color: #fff;
font-weight: 600; padding: 0 6px; height: 18px; min-width: 18px;
}
.gallery-move {
position: absolute; bottom: 4px;
width: 20px; height: 20px; border: 1.5px solid rgba(255,255,255,.92); border-radius: 50%;
background: rgba(17,17,26,.7); color: #fff;
font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 3px rgba(0,0,0,.45);
opacity: 1;
}
.gallery-move:hover { background: var(--primary); border-color: var(--primary); opacity: 1; }
.gallery-move.prev { left: 4px; }
.gallery-move.next { right: 4px; }
.gallery-move[data-move$=":-1"]:disabled, .gallery-move:disabled { opacity: .3; cursor: default; box-shadow: none; }
@media (hover: none) { .gallery-move { opacity: .9; } }


.gallery-crop {
position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
height: 20px; padding: 0 9px; border: 1.5px solid rgba(255,255,255,.92); border-radius: 999px;
background: rgba(17,17,26,.7); color: #fff; font-size: 11px; font-weight: 600;
cursor: pointer; display: flex; align-items: center;
box-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.gallery-crop:hover { background: var(--primary); border-color: var(--primary); }


@media (max-width: 560px) {
.gallery-previews { gap: 6px; }
.gallery-remove { width: 16px; height: 16px; font-size: 9px; border-width: 1px; top: 2px; right: 2px; }
.gallery-order { height: 14px; min-width: 14px; padding: 0 2px; font-size: 9px; border-radius: 7px; top: 2px; left: 2px; }
.gallery-order.is-cover { height: 14px; min-width: 14px; padding: 0 3px; font-size: 9px; }
.gallery-move { width: 15px; height: 15px; font-size: 10px; border-width: 1px; bottom: 2px; }
.gallery-move.prev { left: 2px; }
.gallery-move.next { right: 2px; }
.gallery-crop { width: 16px; height: 15px; padding: 0; font-size: 0; border-width: 1px; bottom: 2px; justify-content: center; }

.gallery-crop::after { content: '裁'; font-size: 9px; line-height: 1; }
}


.crop-mask {
position: fixed; inset: 0; z-index: 300;
background: rgba(23,24,32,.55);
display: flex; align-items: center; justify-content: center; padding: 16px;
}
.crop-mask[hidden] { display: none; }
.crop-modal {
background: #fff; border-radius: 14px; width: min(920px, 100%);
max-height: 92vh; display: flex; flex-direction: column; overflow: hidden;
box-shadow: 0 18px 60px rgba(20,20,40,.3);
}
.crop-head {
display: flex; align-items: center; justify-content: space-between;
padding: 12px 16px; border-bottom: 1px solid var(--border);
font-size: 14px; flex-shrink: 0;
}
.crop-close {
width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--tk94);
color: var(--text); font-size: 12px; cursor: pointer;
}
.crop-close:hover { background: var(--tk90); }
.crop-stage-wrap {
padding: 16px; display: flex; justify-content: center; align-items: center;
overflow: auto; flex-shrink: 1;
}

.crop-stage { position: relative; flex: none; background: var(--tk94); }
.crop-stage .crop-img { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.crop-box {
position: absolute; cursor: move; touch-action: none;
border: 2px solid var(--primary);
box-shadow: 0 0 0 9999px rgba(17,18,26,.45);  
}
.crop-tag {
position: absolute; top: 4px; left: 4px; padding: 1px 6px;
background: var(--primary); color: #fff; font-size: 10px; font-weight: 600;
border-radius: 999px; pointer-events: none;
}
.crop-handle {
position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px;
background: var(--primary); border: 2px solid #fff; border-radius: 50%;
cursor: nwse-resize; touch-action: none;
}
.crop-foot {
display: flex; align-items: center; gap: 10px;
padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0;
}
.crop-hint { font-size: 12px; color: var(--muted); min-width: 0; }
.crop-btns { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.crop-btn {
height: 32px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--border);
background: #fff; color: var(--text); font-size: 13px; cursor: pointer;
}
.crop-btn:hover { border-color: var(--primary); color: var(--primary); }
.crop-btn.crop-ok { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.crop-btn.crop-ok:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 640px) {
.crop-mask { padding: 10px; }
.crop-stage-wrap { padding: 10px; }
.crop-foot { flex-wrap: wrap; }
.crop-hint { flex-basis: 100%; }
}


.detail-gallery {
display: flex; gap: 8px;
overflow-x: auto;
scrollbar-width: none;
}
.detail-gallery::-webkit-scrollbar { display: none; }

.detail-gallery::before, .detail-gallery::after { content: ''; flex: none; width: calc(50% - 60px); }
.detail-gallery img {
flex: none;
object-fit: contain; background: var(--tk96); border-radius: 8px;
cursor: pointer;
border: 2px solid transparent;
transition: border-color .15s;
}
.detail-gallery img:hover { border-color: var(--primary); }
.detail-gallery img.active { border-color: var(--primary); }


.thumb-strip { position: relative; }
.thumb-arrow {
position: absolute; top: 50%; transform: translateY(-50%);
width: 26px; height: 26px; border-radius: 50%;
border: none; cursor: pointer; z-index: 3; padding: 0;
background: rgba(255,255,255,.92); color: #333;
font-size: 17px; line-height: 1;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 5px rgba(0,0,0,.2);
transition: background .15s, color .15s;
}
.thumb-arrow:hover { background: var(--primary); color: #fff; }
.thumb-arrow.prev { left: 4px; }
.thumb-arrow.next { right: 4px; }


.gal-arrow {
position: absolute; top: 45%; transform: translateY(-50%);
width: 34px; height: 34px; border-radius: 50%;
border: none; cursor: pointer; z-index: 4;
background: rgba(255,255,255,.85); color: #333;
font-size: 20px; line-height: 1;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 6px rgba(0,0,0,.18);
transition: background .15s, transform .15s;
padding-bottom: 3px;
}
.gal-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }


.detail-info { padding: 24px; flex: 1; min-width: 0; max-height: 90vh; overflow-y: auto; scrollbar-gutter: stable; }
.detail-info h2 { font-size: 17px; color: #555; margin-bottom: 8px; word-break: break-all; }

.detail-info h2 .detail-intro { font-size: 13px; font-weight: 400; color: var(--muted); }

.detail-info h2 .badge-repo-inline {
font-size: 12px; padding: 3px 10px; margin-left: 8px;
vertical-align: middle; position: relative; top: -2px;
white-space: nowrap;
}


.detail-related { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
.related-head { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-item {
display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
font: inherit; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none;
transition: border-color .15s, background .15s;
}
.related-item:hover { border-color: var(--primary); background: var(--tk98); }
.related-thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--tk94); }
.related-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.related-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-desc { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.detail-comments { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
.comments-head { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.comments-head span { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.comment-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.comment-item { display: flex; gap: 8px; align-items: flex-start; }
.comment-item.is-question { position: relative; padding-left: 8px; }
.comment-item.is-question::before {
content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px;
border-radius: 2px; background: #e0a63c;
}
.comment-avatar {
flex: none; width: 30px; height: 30px; border-radius: 50%;
background: linear-gradient(135deg, var(--tk70), var(--tk58));
color: #fff; font-size: 13px; font-weight: 600;
display: flex; align-items: center; justify-content: center;
}
.comment-avatar.sm { width: 24px; height: 24px; font-size: 11px; }
.comment-avatar.anon { background: #cfcdc6; color: #fff; }

.comment-avatar, .me-ava2, .author-avatar { position: relative; overflow: hidden; }
.comment-avatar img, .me-ava2 img, .author-avatar img {
position: absolute; inset: 0; width: 100%; height: 100%;
object-fit: cover; display: block;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.comment-meta b { color: var(--text); font-size: 13px; }
.cmt-badge {
font-size: 11px; line-height: 1.5; padding: 0 5px; border-radius: 4px;
border: 1px solid transparent; white-space: nowrap;
}
.cmt-badge.author { color: #1d7a55; background: #e8f6ef; border-color: #b7e2ce; }
.cmt-badge.q { color: #a2600a; background: #fff3df; border-color: #f0d5a4; }
.cmt-badge.bug { color: #b3261e; background: #fdecea; border-color: #f3c3bd; }
.cmt-badge.sug { color: #0b6a4f; background: #e7f5ef; border-color: #bfe3d3; }
.cmt-badge.priv { color: var(--tk58); background: var(--tk96); border-color: var(--tk88); }
.cmt-badge.anon { color: #6b6a63; background: #f2f1ec; border-color: #e0ded6; }
.comment-acts { margin-left: auto; display: flex; gap: 8px; }
.comment-reply, .comment-del {
background: none; border: none; color: var(--muted); font-size: 11px;
cursor: pointer; padding: 0; font-family: inherit;
}
.comment-reply:hover { color: var(--primary); }
.comment-del:hover { color: var(--danger); }
.comment-text { font-size: 13px; line-height: 1.55; margin-top: 3px; word-break: break-word; white-space: pre-wrap; }
.comment-replies {
margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--border);
display: flex; flex-direction: column; gap: 8px;
}
.comment-reply-item { display: flex; gap: 7px; align-items: flex-start; }
.reply-to { color: var(--muted); }
.comment-empty { font-size: 12px; color: var(--muted); padding: 2px 0 4px; }
.comment-form { display: flex; flex-direction: column; gap: 8px; }
.comment-form-top { display: flex; align-items: center; gap: 8px; }
.comment-kind { display: flex; gap: 4px; background: var(--tk94); padding: 3px; border-radius: 9px; }
.ck-btn {
border: none; background: none; font-family: inherit; font-size: 12px;
padding: 4px 10px; border-radius: 7px; color: var(--muted); cursor: pointer;
}
.ck-btn.active { background: #fff; color: var(--primary); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

@media (max-width: 560px) {
.ck-btn { padding: 4px 7px; white-space: nowrap; }
.ck-btn .ck-ico { display: none; }
.comment-nick { width: 96px; padding: 6px 8px; }
}
.comment-nick {
margin-left: auto; width: 150px; padding: 6px 10px; font-size: 12px; font-family: inherit;
border: 1px solid var(--border); border-radius: 8px; background: var(--tk98);
}
.comment-nick:focus, .comment-form textarea:focus { outline: none; border-color: var(--primary); }
.comment-reply-tip {
display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted);
background: var(--tk96); border-radius: 8px; padding: 5px 9px;
}
.comment-reply-tip b { color: var(--primary); font-weight: 500; }
.reply-cancel {
margin-left: auto; border: none; background: none; cursor: pointer;
color: var(--muted); font-size: 15px; line-height: 1; padding: 0 2px;
}
.reply-cancel:hover { color: var(--danger); }
.comment-form textarea {
resize: none; padding: 9px 11px; font-size: 13px; font-family: inherit;
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98); line-height: 1.5;
}
.comment-form-foot { display: flex; align-items: center; gap: 10px; }
.comment-hint { font-size: 12px; color: var(--muted); }

.comment-priv {
display: inline-flex; align-items: center; gap: 4px;
font-size: 12px; color: var(--muted); cursor: pointer;
white-space: nowrap; flex: none; user-select: none;
}
.comment-priv input { accent-color: var(--primary); margin: 0; cursor: pointer; }
.comment-send {
margin-left: auto; padding: 7px 18px; font-size: 13px; flex: none;
background: #fff; color: var(--primary); border: 1px solid var(--primary);
}
.comment-send:hover { background: var(--primary); color: #fff; }

.comment-emoji-wrap { position: relative; flex: none; }
.comment-emoji-btn {
border: none; background: none; cursor: pointer;
font-size: 18px; line-height: 1; padding: 3px 5px; border-radius: 8px; opacity: .7;
}
.comment-emoji-btn:hover { opacity: 1; background: var(--border); }
.emoji-pop {
position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30;
width: max-content;
padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.emoji-tabs {
display: flex; flex-wrap: wrap; gap: 2px; margin: -2px 0 6px;
}
.emoji-tabs button {
border: none; background: none; cursor: pointer;
font-size: 12px; line-height: 1; padding: 4px 7px; border-radius: 99px;
color: var(--muted); white-space: nowrap;
}
.emoji-tabs button:hover { background: var(--border); }
.emoji-tabs button.on { background: var(--border); color: inherit; font-weight: 600; }

.emoji-grid {
display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
max-height: 180px; overflow-y: auto; scrollbar-width: thin;
}
.emoji-pop button[data-emoji] {
border: none; background: none; cursor: pointer;
font-size: 18px; line-height: 1; padding: 4px; border-radius: 6px;
}
.emoji-pop button[data-emoji]:hover { background: var(--border); }
.detail-author { color: var(--muted); }

.detail-headrow { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-cat { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.detail-cat span { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }

.detail-cat .ico { padding: 0; border-radius: 0; background: none; font-size: 1.12em; }

.detail-cat .badge-type { color: #4a5062; background: #eef0f6; }

.detail-cat .badge-type .tico svg path:nth-child(1):not(:only-child) { fill: #b6bccd; }
.detail-cat .badge-type .tico svg path:nth-child(n+2) { fill: #3c4257; }
.detail-cat .badge-type .tico svg path:only-child { fill: #3c4257; }
.detail-cat .badge-cat { color: #5b6275; background: var(--tk96); }

.detail-cat .badge-repo {
font-size: 12px; padding: 3px 10px; border-radius: 999px; text-decoration: none;
color: #1a7f45; background: #e7f8ec; cursor: pointer;
}
.detail-cat .badge-repo:hover { background: #d5f2df; }

.badge-star {
display: inline-flex; align-items: center; gap: 4px;
font-size: 12px; padding: 3px 10px; border-radius: 999px;
color: #92600a; background: #fdf3d8; white-space: nowrap;
vertical-align: middle; position: relative; top: -2px;
}
.detail-info h2 .badge-star { margin-left: 8px; }
.badge-star .ico { font-size: 1.05em; padding: 0; border-radius: 0; background: none; }
.badge-star .ico svg { fill: #e2a812; }
.detail-prompt {

background: var(--tk94); border: 1px solid var(--tk90); border-radius: 10px; padding: 16px 18px;
font-size: 14.5px; line-height: 1.8; color: #2f3345; margin-bottom: 20px; white-space: pre-wrap;

}
.detail-prompt:empty { display: none; }



.detail-aitake {
border: 1px solid #ece9fa; background: #faf9ff; border-radius: 10px;
padding: 12px 14px; margin: 0 0 18px;
}
.at-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.at-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #6b5bd2; }
.at-badge .ico { font-size: 1em; background: none; padding: 0; }
.at-note { font-size: 11.5px; color: var(--muted); }
.at-hide {
margin-left: auto; border: 0; background: none; padding: 0;
font-size: 12px; color: var(--muted); cursor: pointer;
}
.at-hide:hover { color: #6b5bd2; }
.at-hide:disabled { opacity: .5; cursor: default; }
.at-text { margin: 0; font-size: 14.5px; line-height: 1.8; color: #3a3f52; }
.at-wait { color: var(--muted); }
.at-off { color: var(--muted); font-size: 13px; }

.seo-aitake { margin: 16px 0 4px; }



.insight-ask {
display: inline-flex; align-items: center; gap: 7px;
margin: 2px 0 12px; padding: 7px 14px;
border: 1px solid #e3ecec; background: #f6fbfa; border-radius: 999px;
font-size: 13px; color: #3a6b62; cursor: pointer;
}
.insight-ask:hover { border-color: #bfe0da; background: #eef7f5; }
.insight-ask:disabled { opacity: .65; cursor: default; }
.insight-avatar {
flex: none; width: 20px; height: 20px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
background: #e2f1ee; font-size: 12px; line-height: 1;
}
.detail-insight { margin: 0 0 12px; }
.insight-bubble {
border: 1px solid #e3ecec; background: #f6fbfa;
border-radius: 10px; padding: 10px 13px;
}
.insight-bubble-head { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.insight-bubble-head b { font-size: 13px; color: #2f5d55; }
.insight-note { font-size: 11.5px; color: var(--muted); }
.insight-text { margin: 0; font-size: 14px; line-height: 1.8; color: #35414b; }




.detail-quick {
border-top: 1px solid #f0f0f5; padding-top: 12px; margin-bottom: 16px;
}

.detail-lead {
font-size: 13.5px; line-height: 1.75; color: #4a5062;
margin: -2px 0 12px; word-break: break-word;
}
.ql-head { margin-bottom: 8px; }
.ql-badge {
display: inline-flex; align-items: center; gap: 5px;
font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted);
background: none; border-radius: 0; padding: 0;
}
.ql-badge .ico { font-size: 1em; background: none; opacity: .75; }
.ql-dl { display: flex; flex-direction: column; gap: 7px; }
.ql-dl > div { display: flex; gap: 12px; align-items: flex-start; }
.ql-dl dt { flex: none; min-width: 4.2em; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.ql-dl dd { margin: 0; font-size: 13.5px; line-height: 1.7; color: #2f3345; }
.ql-steps { margin-top: 10px; padding-top: 9px; border-top: 1px dashed #f0f0f5; }
.ql-steps-title { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.ql-steps ol { margin: 0; padding-left: 1.5em; font-size: 13.5px; line-height: 1.7; color: #2f3345; }
.ql-steps li { margin: 2px 0; }



.md-body { white-space: normal; }
.md-body > :first-child { margin-top: 0; }
.md-body > :last-child { margin-bottom: 0; }
.md-body p { margin: 0 0 8px; }
.md-body h3, .md-body h4, .md-body h5, .md-body h6 {
margin: 14px 0 6px; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5;
}
.md-body h3 { font-size: 15px; }
.md-body ul, .md-body ol { margin: 0 0 8px; padding-left: 20px; }
.md-body li { margin: 2px 0; }
.md-body li::marker { color: var(--primary); }
.md-body blockquote {
margin: 0 0 8px; padding: 6px 12px; border-left: 3px solid var(--tk88);
background: #fff; border-radius: 0 8px 8px 0; color: #555;
}
.md-body blockquote p { margin: 0; }
.md-body code {
background: var(--tk94); border-radius: 5px; padding: 1px 5px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.md-body pre {
margin: 0 0 8px; padding: 10px 12px; background: #1f2233; border-radius: 8px;
overflow-x: auto; line-height: 1.55;
}
.md-body pre code { background: none; padding: 0; color: var(--tk92); font-size: 12px; display: block; }
.md-body a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(var(--tk58-rgb), .35); }
.md-body a:hover { border-bottom-color: var(--primary); }
.md-body hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
.md-body del { color: var(--muted); }

.md-body img, .md-preview img {
max-width: 100%; height: auto; border-radius: 8px; vertical-align: middle;
}
.md-body figure.md-img, .md-preview figure.md-img { margin: 10px 0; }
.md-body figure.md-img img, .md-preview figure.md-img img {
width: 100%; box-shadow: 0 1px 4px rgba(20, 20, 60, .08); border: 1px solid var(--border);
}


.md-editor { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.md-tabs {
display: flex; align-items: center; gap: 4px; padding: 5px 8px;
background: var(--tk96); border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.md-tab {
border: 0; background: none; cursor: pointer; font-size: 12px; color: var(--muted);
padding: 3px 10px; border-radius: 999px; font-family: inherit; line-height: 1.6;
}
.md-tab:hover { color: var(--text); }
.md-tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 20, 60, .08); }
.md-insert {
border: 0; background: none; cursor: pointer; font-size: 12px; color: var(--primary);
padding: 3px 10px; border-radius: 999px; font-family: inherit; line-height: 1.6;
border: 1px dashed rgba(var(--tk58-rgb), .45);
}
.md-insert:hover { background: rgba(var(--tk58-rgb), .08); }
.md-insert:disabled { opacity: .5; cursor: default; }
.md-tabs-hint { margin-left: auto; font-size: 11px; color: var(--muted); line-height: 1.5; text-align: right; }
.md-editor textarea { border: 0 !important; border-radius: 0 !important; width: 100%; resize: vertical; }
.md-editor textarea:focus { box-shadow: none; }
.md-preview { padding: 12px 14px; font-size: 13px; line-height: 1.7; color: #444; min-height: 88px; max-height: 260px; overflow-y: auto; }
.md-preview .md-empty { color: var(--muted); margin: 0; }
@media (max-width: 640px) { .md-tabs-hint { display: none; } }

.btn-like {
background: #fff; color: #5b6275; border: 1px solid var(--border);
padding: 10px 22px; border-radius: 10px; font-size: 14px; cursor: pointer;
}
.btn-like:hover { background: var(--tk96); border-color: var(--tk82); color: var(--text); }
.btn-like.liked { background: #fff0f1; border-color: #f6c6c8; color: var(--danger); }
.btn-fav { background: #fff; color: #5b6275; border: 1px solid var(--border); }
.btn-fav:hover { background: var(--tk96); border-color: var(--tk82); color: var(--text); }

.btn-share {
background: var(--tk96); color: var(--primary); border: 1px solid var(--tk90);
padding: 10px 16px; border-radius: 10px; font-size: 14px; cursor: pointer;
}
.btn-share:hover { background: var(--tk94); }

.detail-actions .btn-share {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
height: 34px; padding: 0 14px; box-sizing: border-box;
border-radius: 9px; font-size: 13px; font-family: inherit; line-height: 1;
white-space: nowrap;
transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.detail-actions .btn-share .ico, .detail-actions .btn-share .ico svg { width: 14px; height: 14px; display: block; }
.detail-actions .btn-share:hover {
background: var(--tk96); border-color: var(--tk82);
transform: translateY(-1px); box-shadow: 0 3px 10px rgba(var(--tk44-rgb), .10);
}
.detail-actions .btn-share:active { transform: translateY(0); box-shadow: none; }
.detail-actions .btn-share:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.detail-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }

.detail-links { display: inline-flex; gap: 6px; flex-wrap: wrap; flex: 1 1 132px; min-width: 0; }
.detail-links:empty { display: none; }   

.detail-links:has(> :nth-child(2)) { flex-basis: 100%; }

.detail-links .btn-link ~ .btn-link:not(.btn-more-links) {
background: #fff; color: var(--primary); border-color: var(--tk84);
}
.detail-links .btn-link ~ .btn-link:not(.btn-more-links):hover {
background: var(--tk96); border-color: var(--primary);
}
.detail-links .btn-link:not(.btn-more-links) { flex: 1 1 auto; min-width: 0; text-align: center; }

.sr-label {
position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.detail-links .btn-more-links {
background: #fff; color: var(--primary); border: 1px solid var(--primary);
cursor: pointer; font-family: inherit;
}
.detail-links .btn-more-links:hover { background: var(--tk94); }

.lpt-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lpt-row:last-child { margin-bottom: 0; }
.lpt-row .lpt-name {
flex: none; min-width: 72px; font-size: 12.5px; color: var(--muted);
text-align: right; white-space: nowrap;
}
.lpt-row input { flex: 1; min-width: 0; }
.detail-actions > * { flex: none; white-space: nowrap; box-sizing: border-box; }

.detail-actions > .detail-links { flex: 1 1 132px; white-space: normal; }

.detail-actions > .detail-links:has(> :nth-child(2)) { flex-basis: 100%; }


.vote-row {
display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap;
margin: 14px 0 16px;
}
.vote-ask { font-size: 12.5px; font-weight: 500; color: #6b7280; }
.vote-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.vote-btn {
display: inline-flex; align-items: center; gap: 5px;
height: 28px; padding: 0 11px; border-radius: 999px;
background: var(--tk98); border: 1px solid #e7e9f0; color: #5b6275;
font-size: 12.5px; cursor: pointer; font-family: inherit;
transition: background .15s, border-color .15s, color .15s;
}
.vote-btn:hover { background: var(--tk98); border-color: var(--primary); color: var(--primary); }
.vote-btn.active { background: var(--tk96); border-color: var(--primary); color: var(--primary); font-weight: 500; }
.vote-btn .ico { font-size: 12.5px; opacity: .8; }
.vote-btn.active .ico, .vote-btn:hover .ico { opacity: 1; }

.vote-sep { width: 1px; height: 16px; background: #e7e9f0; flex: none; }
.vote-ask-jury { color: #9aa0b2; }
.vote-jury-btn.is-sus:hover { background: #fff8ef; border-color: #d97706; color: #b45309; }
.vote-jury-btn.is-sus.active { background: #fff4e5; border-color: #d97706; color: #b45309; font-weight: 500; }
.vote-jury-btn.is-ok:hover { background: #f0faf6; border-color: #0f9d76; color: #0f6e56; }
.vote-jury-btn.is-ok.active { background: #e8f7f1; border-color: #0f9d76; color: #0f6e56; font-weight: 500; }
.vote-jury-btn .ico { opacity: .85; }
.vote-jury-btn:hover .ico, .vote-jury-btn.active .ico { opacity: 1; }

.vote-btn:focus-visible, .jury-btn:focus-visible, .jury-open:focus-visible {
outline: 2px solid var(--primary); outline-offset: 2px;
}
@media (max-width: 640px) {
.vote-ask, .vote-opts { width: 100%; }
.vote-btn { flex: 1 1 auto; justify-content: center; }

.vote-sep { display: none; }
}


.jury-box {
margin-top: 14px; padding: 10px 12px;
background: #fbf8f0; border: 1px solid #ece4d2; border-radius: 12px;
}

.jury-box.is-open { padding: 12px 14px 14px; }
.jury-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jury-title { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #7a5b16; }

.jury-title .ico {
width: 21px; height: 21px; border-radius: 999px; font-size: 12.5px;
background: #f4dfb2; color: #8f5f10; box-shadow: inset 0 0 0 1px #eed6a4;
}
.jury-tag {
font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px;
background: #fdf0d5; color: #8a5a00; border: 1px solid #f0dcb0; font-weight: 500;
}

.jury-open {
display: inline-flex; align-items: center;
margin-left: auto; margin-right: -3px; padding: 5px 9px;
border: 1px solid transparent; border-radius: 999px; background: none; cursor: pointer;
font-family: inherit; font-size: 12.5px; font-weight: 500; color: #9a6a12;
transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.jury-open:hover, .jury-open:focus-visible {
background: #fdf0d5; border-color: #f0dcb0; color: #7a4d00;
}
.jury-body { display: none; }
.jury-box.is-open .jury-body { display: block; }
.jury-count { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--text); }
.jury-count b { font-size: 15px; color: #b45309; }
.jury-ok-num { font-weight: 600; color: #0f6e56; }
.jury-need { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.jury-gauge { height: 6px; margin-top: 8px; border-radius: 999px; background: #efe8d8; overflow: hidden; }
.jury-gauge-fill {
display: block; width: 0; height: 100%; border-radius: 999px;
background: linear-gradient(90deg, #e8a33d, #d97706); transition: width .3s ease;
}
.jury-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.jury-btn {
display: inline-flex; align-items: center; gap: 5px;
height: 32px; padding: 0 13px; border-radius: 999px; cursor: pointer;
font-family: inherit; font-size: 12.5px; line-height: 1;
background: #fff; border: 1px solid var(--border); color: var(--text);
transition: all .15s;
}
.jury-btn .ico { display: inline-flex; font-size: 13px; }
.jury-btn:hover:not(:disabled) { border-color: #d9a94a; color: #8a5a00; }
.jury-btn.is-sus.active { background: #fdf0d5; border-color: #e3b25c; color: #8a5a00; font-weight: 600; }
.jury-btn.is-ok.active { background: #e8f5ef; border-color: #9ed3bd; color: #0f6e56; font-weight: 600; }
.jury-btn:disabled { opacity: .5; cursor: not-allowed; }
.jury-note { margin-top: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.jury-box.is-removed { background: #fdf1f1; border-color: #f3d6d6; }
.jury-box.is-removed .jury-title { color: #a32d2d; }
.jury-box.is-removed .jury-gauge-fill { background: #e5484d; }

.jury-chip {
position: absolute; left: 8px; top: 40px; z-index: 3;
padding: 4px 9px; border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 600;
font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
color: #8a5a00; background: rgba(255, 255, 255, .93); border: 1px solid #f0dcb0;
transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.jury-chip:hover, .jury-chip:focus-visible {
background: #fdf0d5; border-color: #e2c68a; transform: translateY(-1px);
}

.rank-card .jury-chip { top: 70px; }

.jury-chip-inline {
display: inline-block; vertical-align: middle;
margin: 0 2px 0 0; padding: 2px 7px; border-radius: 999px;
border: 1px solid #f0dcb0; background: #fdf8ec;
font-family: inherit; font-size: 11px; line-height: 1.45; font-weight: 600;
color: #8a5a00; cursor: pointer; position: relative; z-index: 3;
-webkit-tap-highlight-color: transparent;
transition: background .16s ease, border-color .16s ease;
}
.jury-chip-inline:hover, .jury-chip-inline:focus-visible {
background: #fdf0d5; border-color: #e2c68a; color: #7a4d00;
}
@media (max-width: 640px) {

.jury-box, .jury-box.is-open {
margin-top: 10px; padding: 10px 0 0; background: transparent;
border: none; border-top: 1px dashed var(--border); border-radius: 0;
}
.jury-open { margin-right: 0; }
.jury-acts { width: 100%; }
.jury-btn { flex: 1 1 auto; justify-content: center; }
}


.modal-claim { max-width: 440px; }

#codeClaimModal { z-index: 110; }
.claim-body { font-size: 13.5px; color: var(--text); line-height: 1.75; }
.claim-body p { margin: 0 0 10px; color: var(--muted); }
.claim-body ul { margin: 0 0 16px; padding-left: 18px; color: var(--text); }
.claim-body li { margin-bottom: 6px; }
.claim-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.claim-body .claim-work {
margin: 0 0 12px; padding: 8px 12px; border-radius: 8px;
background: var(--tk96); color: var(--text); font-size: 13.5px; line-height: 1.5;
}
.claim-body .claim-work b { font-weight: 500; }

.claim-body .claim-warn {
margin: 0 0 14px; padding: 9px 12px; border-radius: 8px;
background: #fffbe6; border: 1px solid #ffe58f; color: #8a5a00;
font-size: 12.5px; line-height: 1.6;
}
.claim-skip {
background: none; border: none; padding: 6px 2px; cursor: pointer;
font-family: inherit; font-size: 13px; color: var(--muted);
}
.claim-skip:hover { color: var(--text); text-decoration: underline; }


.ip-claim-list { margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.ip-claim-item {
display: flex; align-items: center; gap: 10px; cursor: pointer;
padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.ip-claim-item:hover { border-color: var(--tk82); background: var(--tk98); }
.ip-claim-item input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--primary, var(--tk58)); }
.ip-claim-item img,
.ip-claim-noimg {
flex: none; width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
background: var(--tk94); display: block;
}
.ip-claim-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ip-claim-main b {
font-weight: 500; font-size: 13.5px; color: var(--text);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ip-claim-main em { font-style: normal; font-size: 12px; color: var(--muted); }


.btn-tip {
background: #fff8e8; color: #b45309; border: 1px solid #f3d9a4;
padding: 10px 18px; border-radius: 10px; font-size: 14px; cursor: pointer;
}
.btn-tip:hover { background: #fdecc8; }
.detail-actions .btn-tip { min-width: 88px; text-align: center; }

.tip-mask { z-index: 120; }
.tip-modal {
max-width: 400px; background: #fffbf2; border: 1px solid #f3d9a4;
font-size: 13px;
}
.tip-panel-head {
display: flex; align-items: center; justify-content: space-between;
font-weight: 600; color: #92400e; margin-bottom: 10px;
}
.tip-close {
border: none; background: none; font-size: 18px; line-height: 1;
color: var(--muted); cursor: pointer; padding: 2px 6px;
}
.tip-close:hover { color: var(--text); }
.tip-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.tip-amount {
padding: 9px 0; border-radius: 10px; cursor: pointer;
background: #fff; border: 1px solid var(--border); font-size: 14px;
color: var(--text); text-align: center; transition: all .15s;
}
.tip-amount:hover { border-color: #f3d9a4; }
.tip-amount.active { background: #f59e0b; border-color: #f59e0b; color: #fff; font-weight: 600; }
.tip-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tip-balance { color: var(--muted); }
.tip-balance b { color: #b45309; }
.tip-send { padding: 8px 22px; }
.tip-send:disabled { opacity: .5; cursor: not-allowed; }
.tip-recent { margin-top: 10px; color: var(--muted); line-height: 1.9; }
.tip-recent:empty { display: none; }
.tip-recent b { color: var(--text); }
.tip-note { margin-top: 8px; font-size: 12px; color: var(--muted); }

.tip-mini-ad {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
width: 100%; margin-top: 10px; padding: 8px 10px;
border: 1px dashed #e7b25c; border-radius: 10px;
background: #fff7e6; cursor: pointer; text-align: left;
font: inherit; transition: border-color .15s, background .15s;
}
.tip-mini-ad:hover { border-color: #d99a2b; background: #fff1d6; }
.tip-mini-ad .tma-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tip-mini-ad .tma-txt b { font-size: 13px; color: #92400e; }
.tip-mini-ad .tma-txt em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.5; }
.tip-mini-ad .tma-go { flex: none; font-size: 12.5px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.tip-mini-ad:hover .tma-go { text-decoration: underline; }

.tip-author-home { display: block; margin-top: 6px; font-size: 12px; color: var(--primary); cursor: pointer; }
.tip-author-home:hover { text-decoration: underline; }
@media (max-width: 640px) {
.tip-amounts { grid-template-columns: repeat(2, 1fr); }
.tip-foot { flex-wrap: wrap; }
}

.detail-actions .btn-like, .detail-actions .btn-fav, .detail-actions .btn-watch,
.detail-actions .btn-tip, .detail-actions .btn-share, .detail-actions .btn-link {
display: inline-flex; align-items: center; justify-content: center; gap: 5px;
height: 38px; padding: 0 13px; border-radius: 10px; font-size: 13px; line-height: 1;
font-family: inherit; box-sizing: border-box; position: relative;
}

.detail-actions .btn-like, .detail-actions .btn-fav { min-width: 50px; padding: 0 10px; }
.detail-actions .btn-cmt { min-width: 56px; padding: 0 10px; }

.detail-actions .fav-num { font-variant-numeric: tabular-nums; color: inherit; }

.detail-actions .is-zero { display: none; }

.detail-actions .btn-tip { background: #fff; border: 1px solid var(--border); color: #b45309; }
.detail-actions .btn-tip:hover { background: #fffaf0; border-color: #f3d9a4; }

.detail-actions .btn-like .ico, .detail-actions .btn-fav .ico,
.detail-actions .btn-cmt .ico, .detail-actions .btn-share .ico { font-size: 1.05em; }
.btn-link {
display: inline-block; background: var(--primary); color: #fff;
border: 1px solid var(--primary); padding: 10px 22px; border-radius: 10px;
font-size: 14px; text-decoration: none;
}
.btn-link:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-link .official-flag {
display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px;
font-size: 11px; line-height: 1.3; font-weight: 600;
color: inherit; vertical-align: 1px;
background: rgba(255,255,255,.24);                       
background: color-mix(in srgb, currentColor 14%, transparent); 
}

.detail-qr { margin: 2px 0 14px; }
.qr-body { text-align: center; }
.detail-qr img {
width: 128px; height: 128px; object-fit: contain; border: 1px solid var(--border);
border-radius: 10px; padding: 6px; background: #fff;
}
.detail-qr p { font-size: 12px; color: var(--muted); margin-top: 6px; }

.qr-acts { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.qr-act {
display: inline-flex; align-items: center; gap: 5px;
background: var(--tk96); color: var(--text);
border: 1px solid var(--border); border-radius: 9px;
padding: 6px 11px; font-size: 12px; font-family: inherit; cursor: pointer;
transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.qr-act:hover {
border-color: var(--primary); color: var(--primary);
transform: translateY(-1px); box-shadow: 0 3px 10px rgba(var(--tk44-rgb), .1);
}
.qr-act:active { transform: translateY(0); box-shadow: none; }
.qr-act:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.qr-act .ico { font-size: 1.05em; }

.qr-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.qr-tab {
background: transparent; color: var(--muted);
border: 1px solid var(--border); border-radius: 999px;
padding: 3px 10px; font-size: 12px; cursor: pointer; line-height: 1.5;
}
.qr-tab:hover { border-color: var(--primary); color: var(--primary); }
.qr-tab.is-on {
background: var(--primary-soft, #eef2ff); border-color: var(--primary);
color: var(--primary); font-weight: 600;
}

.qr-zoom {
position: fixed; inset: 0; z-index: 9999;
background: rgba(0, 0, 0, .72);
display: flex; align-items: center; justify-content: center;
padding: 24px; cursor: zoom-out;
}
.qr-zoom-card { text-align: center; cursor: default; }
.qr-zoom-card img {
width: min(78vw, 340px); height: min(78vw, 340px); object-fit: contain;
background: #fff; border-radius: 14px; padding: 12px;
}
.qr-zoom-card p { color: #fff; font-size: 14px; margin-top: 12px; }
.qr-zoom-hint { display: block; color: rgba(255, 255, 255, .6); font-size: 12px; margin-top: 6px; }

.qr-zoom.save-full .qr-zoom-card img {
width: auto; height: auto;
max-width: 88vw; max-height: 72vh;
padding: 0; border-radius: 12px;
background: transparent;
}

.detail-media > img { cursor: zoom-in; }
.img-full {
position: fixed; inset: 0; z-index: 10000;   
background: rgba(0, 0, 0, .93);
display: flex; align-items: center; justify-content: center;
cursor: zoom-out;
}
.img-full img {
max-width: 92vw; max-height: 86vh;
object-fit: contain; display: block;
border-radius: 8px;
}
.img-full-close {
position: absolute; top: 16px; right: 16px;
width: 38px; height: 38px; border-radius: 50%;
border: none; cursor: pointer; z-index: 4;
background: rgba(255, 255, 255, .14); color: #fff;
font-size: 17px; line-height: 1;
display: flex; align-items: center; justify-content: center;
transition: background .15s;
}
.img-full-close:hover { background: rgba(255, 255, 255, .3); }

.img-full .gal-arrow { box-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.img-full-count {
position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%);
color: rgba(255, 255, 255, .85); font-size: 13px;
background: rgba(0, 0, 0, .45); border-radius: 999px;
padding: 3px 12px; pointer-events: none;
}
.img-full-hint {
position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
color: rgba(255, 255, 255, .55); font-size: 12px; pointer-events: none;
white-space: nowrap;
}

@media (max-width: 720px) {
.detail-qr.is-auto { display: none !important; }
}

.detail-actions .b-ico, .detail-foot .b-ico, .btn-code .b-ico { font-size: 1.1em; }
.ck-btn .ck-ico { font-size: 1.05em; vertical-align: -0.14em; margin-right: 2px; }
.btn-report {
margin-top: 0; background: none; border: none; color: var(--muted);
font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 0;
white-space: nowrap; flex-shrink: 0;
}
.btn-report:hover { color: var(--danger); }


.btn-code { border: none; cursor: pointer; background: linear-gradient(135deg, #ff9a44, #fc6076); color: #fff; }
.btn-code:disabled { opacity: .6; cursor: default; }

.modal-code { max-width: 360px; }
.code-display {
background: var(--tk96); border: 1px dashed var(--border); border-radius: 12px;
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
font-size: 22px; font-weight: 700; letter-spacing: 1px; text-align: center;
padding: 18px 12px; margin-bottom: 14px; word-break: break-all; user-select: all;
}
.code-manage-list { max-height: 260px; overflow: auto; border-top: 1px solid var(--border); padding-top: 8px; }
#codeAddInput { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 14px; resize: vertical; font-family: inherit; }
.code-row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; font-size: 13.5px; }
.code-row.taken { opacity: .55; }
.code-val { flex: 1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.code-state { flex: none; font-size: 12px; color: var(--muted); }
.code-del { flex: none; background: none; border: none; color: #d64545; cursor: pointer; font-size: 12.5px; padding: 2px 6px; }
.code-del:hover { text-decoration: underline; }
.code-empty { color: var(--muted); font-size: 13px; padding: 14px 2px; text-align: center; }



.toast {
position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
background: #fff; color: #2b2f38; padding: 10px 18px 10px 14px; border-radius: 12px;
font-size: 14px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 200;
border: 1px solid rgba(31,35,48,.08);
box-shadow: 0 8px 28px rgba(31,35,48,.14), 0 2px 8px rgba(31,35,48,.08);
display: flex; align-items: center; gap: 9px;
max-width: min(86vw, 520px);
}
.toast.show { opacity: 1; }
.toast-ic {
flex: none; width: 20px; height: 20px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 12px; font-weight: 700;
}
.toast-ic.ok { background: #22b573; }
.toast-ic.err { background: #ee4d4d; }

@media (max-width: 720px) {
.hero h1, .hero .hero-title { font-size: 23px; }
.hero-br { display: inline; }
}



.detail-gallery img { width: 112px; height: 66px; }

.modal.detail.is-mobile .detail-media { width: 38%; }
.modal.detail.is-mobile .detail-media > img {
min-height: 0; object-fit: contain; background: var(--tk96);
}
.detail-gallery.is-mobile img { width: 62px; height: 110px; }
@media (max-width: 720px) {
.modal.detail { flex-direction: column; }
.modal.detail .detail-media { width: 100%; height: 36vh; }

.modal.detail.is-mobile .detail-media { width: 100%; height: 44vh; }

.modal.detail .thumb-strip { display: none !important; }

.modal.detail .detail-media > img {
flex: 1 1 auto; width: 100%; min-height: 0;
object-fit: contain; background: var(--tk96); margin: 0 auto; display: block;
}

.modal-mask:has(.modal.detail) { padding: 0; align-items: stretch; }
.modal.detail { height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
.modal.detail .detail-info { max-height: none; min-height: 0; padding: 16px 16px 24px; }

.modal.detail .detail-gallery::before, .modal.detail .detail-gallery::after { width: 6px; }
.modal.detail .detail-media .detail-gallery { padding: 8px 10px; }

.modal.detail .detail-stats { line-height: 1.7; }

.modal.detail .detail-actions .detail-links { flex: 1 1 100%; }
.modal.detail .detail-actions .btn-like,
.modal.detail .detail-actions .btn-fav,
.modal.detail .detail-actions .btn-cmt,
.modal.detail .detail-actions .btn-share { flex: 1 1 0; min-width: 0; }
.modal.detail .detail-actions .btn-tip { flex: 0 0 auto; }
}


.detail-rail {
flex-direction: column;
align-items: center;
align-content: flex-start;
gap: 8px;
flex: none;
order: 3;
width: 62px;
margin: 0;

padding: 54px 8px 14px;
background: var(--tk98);
border-left: 1px solid var(--border);
overflow-y: auto;
scrollbar-width: none;
}
.detail-rail::-webkit-scrollbar { display: none; }

.detail-rail > .btn-like, .detail-rail > .btn-fav, .detail-rail > .btn-cmt,
.detail-rail > .btn-watch, .detail-rail > .btn-tip, .detail-rail > .btn-auhome,
.detail-rail > .btn-share, .detail-rail > .btn-link, .detail-rail > .btn-blockwork,
.detail-rail > .btn-reportwork {
flex-direction: column;
gap: 3px;
flex: none;
width: 44px;
min-width: 44px;
height: 50px;
padding: 7px 2px;
border-radius: 12px;
white-space: normal;
word-break: break-all;
line-height: 1.15;
}
.detail-rail > .btn-share { height: 50px; }

.detail-rail .btn-like, .detail-rail .btn-fav, .detail-rail .btn-cmt,
.detail-rail .btn-watch, .detail-rail .btn-tip, .detail-rail .btn-auhome,
.detail-rail .btn-share, .detail-rail .btn-code, .detail-rail .btn-pack,
.detail-rail .btn-blockwork, .detail-rail .btn-reportwork { font-size: 10.5px; }

.detail-rail > .btn-like .ico, .detail-rail > .btn-fav .ico,
.detail-rail > .btn-cmt .ico, .detail-rail > .btn-auhome .ico,
.detail-rail > .btn-share .ico, .detail-rail > .btn-tip .ico,
.detail-rail > .btn-pack .ico, .detail-rail > .btn-code .ico,
.detail-rail > .btn-blockwork .ico, .detail-rail > .btn-reportwork .ico { font-size: 17px; }

.detail-rail > .btn-blockwork { color: var(--muted); }
.detail-rail > .btn-blockwork:hover { color: var(--danger); background: #fff0f1; border-color: #f6c6c8; }

.detail-rail > .btn-reportwork { color: var(--muted); }
.detail-rail > .btn-reportwork:hover { color: #c2410c; background: #fff4ed; border-color: #f6cdb6; }
.detail-rail .fav-num, .detail-rail #detailLikes, .detail-rail #detailCmtNum {
font-size: 11px; font-variant-numeric: tabular-nums; color: inherit;
}

.detail-rail .btn-tip .tip-word, .detail-rail .rail-word { display: none; }

.detail-rail > .btn-watch { font-size: 10.5px; line-height: 1.25; }
.detail-rail > .btn-watch .ico { font-size: 1.1em; }

.detail-info > .detail-links { display: flex; margin: 2px 0 10px; }
@media (max-width: 720px) {

.modal.detail .detail-rail {
order: 1;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
gap: 8px;
padding: 10px 12px;
background: none;
border-left: none;
border-right: none;
border-bottom: 1px solid var(--border);
overflow: visible;
}
.modal.detail .detail-media { order: 0; }
.modal.detail .detail-info { order: 2; }
.modal.detail .detail-rail > .btn-like,
.modal.detail .detail-rail > .btn-fav,
.modal.detail .detail-rail > .btn-cmt,
.modal.detail .detail-rail > .btn-share {
flex-direction: row;
flex: 1 1 0;
width: auto;
min-width: 0;
height: 38px;
padding: 0 10px;
white-space: nowrap;
word-break: normal;
}
.modal.detail .detail-rail > .btn-tip,
.modal.detail .detail-rail > .btn-auhome,
.modal.detail .detail-rail > .btn-watch,
.modal.detail .detail-rail > .btn-pack,
.modal.detail .detail-rail > .btn-code,
.modal.detail .detail-rail > .btn-blockwork,
.modal.detail .detail-rail > .btn-reportwork { flex: 0 0 auto; flex-direction: row; height: 38px; padding: 0 12px; white-space: nowrap; }
.modal.detail .detail-rail .btn-like, .modal.detail .detail-rail .btn-fav,
.modal.detail .detail-rail .btn-cmt, .modal.detail .detail-rail .btn-share,
.modal.detail .detail-rail .btn-tip, .modal.detail .detail-rail .btn-auhome,
.modal.detail .detail-rail .btn-watch, .modal.detail .detail-rail .btn-pack,
.modal.detail .detail-rail .btn-code, .modal.detail .detail-rail .btn-blockwork,
.modal.detail .detail-rail .btn-reportwork { font-size: 12px; }
.modal.detail .detail-rail .fav-num,
.modal.detail .detail-rail #detailLikes,
.modal.detail .detail-rail #detailCmtNum { font-size: 12px; }

.modal.detail .detail-rail .btn-tip .tip-word,
.modal.detail .detail-rail .rail-word { display: inline; }
.modal.detail .detail-info > .detail-links { flex-wrap: wrap; }
}


@media (min-width: 1200px) {

.modal.detail { overflow: visible; }
.modal.detail .detail-media { border-radius: 16px 0 0 16px; overflow: hidden; }
.modal.detail .detail-info { border-radius: 0 16px 16px 0; }
.modal.detail .detail-rail {
position: absolute;
left: 100%;
right: auto;
top: 50%;
transform: translateY(-50%);
width: 62px;
max-height: 90vh;
margin: 0 0 0 14px;
padding: 12px 8px;
background: #fff;
border: 1px solid rgba(31, 35, 48, .08);
border-left: 1px solid rgba(31, 35, 48, .08);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(18, 20, 40, .22), 0 2px 8px rgba(18, 20, 40, .12);
}
}


.header-inner { gap: 16px; }
.logo { text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }

.logo-mark {
display: block; flex: none; width: 26px; height: 26px;
background: currentColor;
-webkit-mask: url('/logo.svg') center / contain no-repeat;
mask: url('/logo.svg') center / contain no-repeat;
}
.main-nav { display: flex; gap: 4px; flex: 1; align-items: center; min-width: 0; }
.main-nav .nav-btn {
text-decoration: none; line-height: 1.4; white-space: nowrap; flex: none;
display: inline-flex; align-items: center; gap: 5px;
}
.nav-btn.active { color: var(--primary); background: var(--tk96); font-weight: 600; }


.main-nav .nav-tabs {
display: inline-flex; align-items: stretch; height: 60px; gap: 2px;
background: none; border: 0; padding: 0;
}
.main-nav .nav-tabs .nav-btn {
display: inline-flex; align-items: center; gap: 7px;
padding: 0 14px; border-radius: 0;
color: #5c6275; font-size: 14.5px; font-weight: 500;
transition: color .16s ease, background .16s ease;
}
.main-nav .nav-tabs .nav-btn:hover {
color: var(--text); background: var(--tk96);
}
.main-nav .nav-tabs .nav-btn.active {
color: var(--primary); font-weight: 600; background: none;
box-shadow: inset 0 -2px 0 var(--primary);
}

.main-nav .nav-tabs .nav-btn .ico[data-ico="mini"] svg path { fill: currentColor; }
@media (min-width: 821px) and (max-width: 1360px) {
.main-nav .nav-tabs .nav-btn { padding: 0 10px; font-size: 13.5px; }
}

@media (min-width: 641px) {
.main-nav .nav-tabs .nav-rank { order: -1; }
}


.main-nav .nav-btn[data-tip] { position: relative; }
.main-nav .nav-btn[data-tip]::before,
.main-nav .nav-btn[data-tip]::after {
opacity: 0; visibility: hidden; pointer-events: none; z-index: 30;
transition: opacity .14s ease, transform .14s ease, visibility .14s;
transform: translateY(-4px);
}
.main-nav .nav-btn[data-tip]::after {
content: attr(data-tip);
position: absolute; top: calc(100% + 10px); left: 0;
width: max-content; max-width: 262px;
padding: 8px 11px 9px; border-radius: 9px;
background: #22253a; color: #fff;
font-size: 12.5px; font-weight: 400; line-height: 1.65; letter-spacing: 0;
text-align: left; white-space: normal;
box-shadow: 0 10px 28px rgba(24, 24, 48, .2);
}

.main-nav .nav-btn[data-tip]::before {
content: "";
position: absolute; top: calc(100% - 4px); left: 16px;
border: 5px solid transparent; border-bottom-color: #22253a;
}
.main-nav .nav-btn[data-tip]:hover::before,
.main-nav .nav-btn[data-tip]:hover::after,
.main-nav .nav-btn[data-tip]:focus-visible::before,
.main-nav .nav-btn[data-tip]:focus-visible::after {
opacity: 1; visibility: visible; transform: translateY(0);
}


.m-search-btn { display: none; }

.search-cancel { display: none; }
.search-box {
position: relative; flex: 0 1 180px; min-width: 130px; display: flex; align-items: center;

transition: flex-basis .25s ease;
}
.search-box:focus-within,
.search-box.is-focus,
.search-box:has(input:not(:placeholder-shown)) { flex-basis: 260px; }
.search-box input {
width: 100%; padding: 8px 12px 8px 32px; border: 1px solid var(--border);
border-radius: 10px; font-size: 14px; background: var(--tk96); outline: none;
}
.search-box input:focus { border-color: var(--primary); background: #fff; }
.search-icon { position: absolute; left: 10px; font-size: 14px; opacity: .55; }


.search-suggest {
position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
padding: 12px 12px 6px; border: 1px solid var(--border); border-radius: 12px;
background: #fff; box-shadow: 0 16px 40px rgba(24, 26, 40, .14);
animation: sgIn .16s ease-out;
}

@media (min-width: 641px) { .search-suggest { min-width: 320px; } }
@keyframes sgIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.sg-block + .sg-block { margin-top: 10px; }
.sg-head {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 8px; font-size: 12px; color: var(--muted);
}
.sg-clear {
border: 0; background: none; padding: 0 2px; cursor: pointer;
font-size: 12px; color: var(--muted);
}
.sg-clear:hover { color: var(--primary); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chips button {
max-width: 100%; border: 1px solid var(--border); border-radius: 999px;
padding: 5px 12px; background: var(--tk96); color: #4a4f63; font-size: 12.5px;
cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sg-chips button:hover { border-color: var(--primary); color: var(--primary); background: var(--tk96); }

.sg-chips button.sg-hot { background: var(--tk96); color: #4a4f63; border-color: var(--border); }


.sg-ask { margin-top: 8px; padding-top: 6px; }
.sg-ask-btn {
display: flex; align-items: center; gap: 6px; width: 100%;
border: 0; background: none; padding: 2px 2px; cursor: pointer;
font-size: 12px; color: var(--muted); text-align: left;
}
.sg-ask-btn:hover { color: var(--primary); }
.sg-ask-star { font-size: 12px; color: var(--muted); }


.sg-result-count { font-size: 11px; color: var(--muted); }
.sg-result-list { max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.sg-result {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 6px 4px; border-radius: 8px; text-decoration: none; color: var(--text);
}
.sg-result + .sg-result { border-top: 1px solid var(--border); }
.sg-result:hover { background: var(--tk96); }
.sg-r-thumb { flex: none; width: 34px; height: 34px; border-radius: 7px; object-fit: cover; background: var(--tk96); }
.sg-r-thumb-empty {
display: flex; align-items: center; justify-content: center;
font-size: 13px; color: var(--muted);
}
.sg-r-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-r-title, .sg-r-sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-r-title { font-size: 13px; font-weight: 600; color: var(--text); }
.sg-r-sub { font-size: 11.5px; color: var(--muted); }
.sg-r-arrow { flex: none; font-size: 16px; color: var(--muted); }
.sg-r-loading, .sg-r-empty { padding: 14px 4px; text-align: center; font-size: 12px; color: var(--muted); }

.sg-r-foot { padding: 10px 4px; text-align: center; font-size: 11.5px; color: var(--muted); }
.sg-r-foot.sg-r-loading { padding: 10px 4px; }
.sg-r-foot.sg-r-error { color: #c04a4a; }
.sg-r-retry {
border: 0; background: none; padding: 0; cursor: pointer;
font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.sg-r-retry:hover { color: var(--primary); }


.findbot { position: fixed; inset: 0; z-index: 220; display: flex; align-items: flex-start; justify-content: center; }
.findbot[hidden] { display: none; }
.fb-mask { position: absolute; inset: 0; background: rgba(22, 24, 38, .42); animation: fbFade .16s ease-out; }
@keyframes fbFade { from { opacity: 0; } to { opacity: 1; } }
.fb-box {
position: relative; width: min(680px, calc(100vw - 32px)); margin-top: 10vh;
background: var(--card); border-radius: 18px; overflow: hidden;
box-shadow: 0 24px 64px rgba(20, 22, 40, .26);
display: flex; flex-direction: column;

height: min(76vh, 660px);
animation: fbIn .18s ease-out;
}
@keyframes fbIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.fb-head {
display: flex; align-items: center; gap: 8px;
padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--border);
}
.fb-title { flex: 1; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.fb-star { color: var(--tk68); }
.fb-x {
border: 0; background: none; color: var(--muted); cursor: pointer;
width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
}
.fb-x:hover { background: var(--tk94); color: var(--text); }
.fb-log { flex: 1; overflow-y: auto; padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 10px; }

.fb-intro {
align-self: stretch; padding: 14px; border: 1px solid var(--border);
border-radius: 14px; background: #fff; box-shadow: 0 4px 18px rgba(31, 35, 48, .05);
}
.fb-intro-t { margin-bottom: 10px; font-size: 12.5px; color: #858aa0; }
.fb-intro-chips + .fb-intro-chips { margin-top: 9px; }
.fb-intro-note { margin-top: 12px; font-size: 12px; line-height: 1.6; color: #a0a5b8; }
.fb-msg { font-size: 13.5px; line-height: 1.62; max-width: 88%; border-radius: 12px; padding: 9px 13px; }
.fb-msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.fb-msg.bot { align-self: flex-start; background: var(--tk96); color: #333849; border-bottom-left-radius: 4px; }
.fb-msg.tip { align-self: center; background: none; color: var(--muted); font-size: 12.5px; padding: 2px 0; }
.fb-items { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.fb-item {
display: flex; align-items: center; gap: 10px; padding: 8px;
border: 1px solid var(--border); border-radius: 12px; background: #fff;
text-decoration: none; color: inherit; transition: border-color .14s ease, box-shadow .14s ease;
}
.fb-item:hover { border-color: var(--tk86); box-shadow: 0 4px 14px rgba(var(--tk58-rgb), .1); }

.fb-it-thumb {
flex: none; width: 46px; height: 46px; border-radius: 10px;
object-fit: cover; background: var(--tk94); border: 1px solid var(--border);
}
.fb-it-thumb-empty {
display: flex; align-items: center; justify-content: center;
font-size: 18px; font-weight: 600; color: var(--tk64); background: var(--tk96);
}
.fb-it-body { min-width: 0; flex: 1; overflow: hidden; }

.fb-it-t {
display: block; font-size: 13.5px; font-weight: 600;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fb-it-d {
display: block; font-size: 12px; color: var(--muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px;
}
.fb-it-meta { flex: none; font-size: 11px; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.fb-chips button {
border: 1px solid var(--tk92); background: var(--tk96); color: var(--tk52);
border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer;
}
.fb-chips button:hover { background: var(--tk94); }

.fb-acts { display: flex; margin-top: 2px; }
.fb-wish-btn {
display: inline-flex; align-items: center; gap: 6px;
border: 1px solid var(--border); border-radius: 10px; background: #fff;
color: #4b4a5e; font: inherit; font-size: 12.5px; padding: 7px 12px; cursor: pointer;
transition: border-color .15s, background-color .15s, color .15s;
}
.fb-wish-btn svg { flex: none; }
.fb-wish-btn:hover { border-color: var(--tk86); background: var(--tk98); color: var(--tk48); }
.fb-form { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--border); background: #fff; }
.fb-form input {
flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 11px;
padding: 10px 13px; font-size: 13.5px; background: #f8f9fc; color: var(--text);
}
.fb-form input:focus { outline: none; border-color: var(--tk82); background: #fff; }
.fb-form button {
flex: none; border: 0; border-radius: 11px; padding: 0 18px; cursor: pointer;
background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 600;
}
.fb-form button:disabled { opacity: .55; cursor: default; }
.fb-foot { padding: 0 14px 12px; font-size: 11.5px; color: var(--muted); text-align: center; }


.findbot-inline-btn {
margin: 14px auto 0; display: block; cursor: pointer;
border: 1px solid var(--tk90); background: var(--tk96); color: var(--tk52);
border-radius: 999px; padding: 9px 18px; font-size: 13px;
}
.findbot-inline-btn:hover { background: var(--tk94); border-color: var(--tk86); }

@media (max-width: 640px) {
.fb-box {
width: 100%; margin-top: 0; height: 86vh; height: 86dvh; border-radius: 18px 18px 0 0;
position: absolute; bottom: 0; animation: fbUp .2s ease-out;
}
@keyframes fbUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.fb-log { padding: 14px 14px 6px; }
.fb-msg { max-width: 92%; }
}


.featured-section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.section-head h2 { font-size: 18px; }
.section-sub { font-size: 13px; color: var(--muted); }


.feat-info { position: relative; display: inline-flex; }
.feat-info-btn {
display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; padding: 0;
border: 0; background: none; color: var(--muted); cursor: pointer;
border-radius: 50%; transition: color .15s ease;
}
.feat-info-btn:hover, .feat-info-btn:focus-visible { color: var(--text); outline: none; }
.feat-info-pop {
position: absolute; top: calc(100% + 8px); left: -10px; z-index: 60;
width: max-content; max-width: min(420px, 78vw);
padding: 9px 12px; border-radius: 10px;
background: var(--text, #1f2333); color: #fff;
font-size: 12.5px; line-height: 1.65; font-weight: 400; text-align: left;
box-shadow: 0 8px 24px rgba(20, 24, 46, .18);

display: none;
opacity: 0; visibility: hidden; transform: translateY(-4px);
pointer-events: none;
}
.feat-info-pop::before {
content: ""; position: absolute; top: -4px; left: 14px;
width: 10px; height: 10px; transform: rotate(45deg);
background: inherit; border-radius: 2px;
}
.feat-info.open .feat-info-pop, .feat-info:hover .feat-info-pop {
display: block;
opacity: 1; visibility: visible; transform: translateY(0);
animation: feat-pop-in .15s ease both;
}
@keyframes feat-pop-in {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
@media (hover: none) {

.feat-info:hover .feat-info-pop { display: none; opacity: 0; visibility: hidden; transform: translateY(-4px); }
.feat-info.open .feat-info-pop { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
}


.featured-head { align-items: center; }
.featured-nav { margin-left: auto; display: flex; gap: 8px; }
.fn-btn {
width: 32px; height: 32px; border-radius: 50%;
border: 1px solid var(--border); background: #fff; color: var(--text);
font-size: 18px; line-height: 1; cursor: pointer;
display: flex; align-items: center; justify-content: center; padding-bottom: 2px;
transition: all .15s;
}
.fn-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--tk96); }
.fn-btn:disabled { opacity: .3; cursor: default; }


.featured-row {
display: flex; gap: 14px;
overflow-x: auto; scroll-snap-type: x mandatory;
padding: 4px 2px 8px;
scrollbar-width: none; -ms-overflow-style: none;
cursor: grab;
}
.featured-row::-webkit-scrollbar { display: none; }
.featured-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.featured-row.dragging .featured-card { pointer-events: none; }



.feat-bar {
position: relative; width: 100%; max-width: 240px; height: 22px;
margin: 2px auto 0; cursor: pointer; touch-action: none;
}
.feat-bar[hidden] { display: none; }
.feat-bar::before {
content: ''; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
height: 8px; border-radius: 999px; background: var(--tk90);
transition: background .16s ease;
}
.feat-bar-thumb {
position: absolute; top: 50%; transform: translateY(-50%);
height: 8px; min-width: 34px; border-radius: 999px; background: var(--tk66);
transition: background .16s ease, width .12s ease;
will-change: left;
}
.feat-bar:hover::before { background: var(--tk86); }
.feat-bar:hover .feat-bar-thumb { background: var(--tk60); }
.feat-bar.is-drag .feat-bar-thumb { background: var(--primary); }
.feat-bar.is-drag { cursor: grabbing; }

.featured-card {
position: relative;
flex: 0 0 288px; scroll-snap-align: start;

min-width: 0;
display: flex; gap: 12px; align-items: stretch;
background: linear-gradient(180deg, var(--tk98), var(--tk96));
border: 1px solid var(--tk92); border-radius: 14px;
padding: 14px; cursor: pointer;

min-height: 121px;
transition: transform .15s, box-shadow .15s;
user-select: none;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(60,60,120,.14); }

.featured-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.featured-card:focus-visible:hover { transform: none; }

.feat-retry {
flex: 0 0 auto; min-height: 134px; padding: 14px 18px; 
display: inline-flex; align-items: center; justify-content: center;
border: 1px dashed var(--border); border-radius: 14px;
background: var(--tk98); color: var(--muted);
font-size: 13px; font-family: inherit; cursor: pointer;
transition: color .15s, border-color .15s;
}
.feat-retry:hover:not(:disabled) { color: var(--text); border-color: var(--primary); }
.feat-retry:disabled { cursor: default; opacity: .6; }
.featured-card img {
width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
flex-shrink: 0; background: var(--tk94);
}

.featured-body { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.featured-title {
font-weight: 600; font-size: 14px; margin-bottom: 3px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 14px;

max-width: 100%;
}

.feat-sub {
display: flex; align-items: center; gap: 6px;
min-width: 0; max-width: 100%; margin: 1px 0 5px;
}
.feat-reason {
flex: none;
font-size: 10px; font-weight: 600; line-height: 1;
padding: 3px 6px; border-radius: 5px; white-space: nowrap;
border: 1px solid transparent;
}
.feat-reason.is-pick { color: var(--tk58); background: var(--tk96); border-color: var(--tk92); }
.feat-reason.is-like { color: #d6455b; background: #fff0f2; border-color: #ffd9e0; }
.feat-reason.is-fav { color: #c9740a; background: #fff6e5; border-color: #ffe3b3; }
.feat-reason.is-cmt { color: #0e7c86; background: #edfafb; border-color: #c9eef2; }
.feat-reason.is-tip { color: #b3409a; background: #fdf0fa; border-color: #f6d8ee; }
.feat-reason.is-uv { color: #2f7fd0; background: #eef7ff; border-color: #d3e8ff; }
.feat-reason.is-new { color: #2f9e6a; background: #eefaf3; border-color: #cfefdd; }
.feat-author {
display: inline-flex; align-items: center; gap: 4px; min-width: 0;
font-size: 11px; color: var(--muted);
}
.feat-author .fa-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ava-chip {
flex: none; width: 16px; height: 16px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
background: linear-gradient(135deg, var(--tk74), var(--tk58)); color: #fff;
font-size: 9.5px; font-weight: 600; line-height: 1;
letter-spacing: 0;
}
.feat-author .ava-chip { width: 14px; height: 14px; font-size: 9px; }
.featured-intro {
font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 5px;
display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;

max-width: 100%;

user-select: text; -webkit-user-select: text;
cursor: text;
}
.featured-meta {
margin-top: auto; padding-top: 6px;
display: flex; align-items: center; gap: 9px;
font-size: 12px; color: var(--muted); white-space: nowrap;

max-width: 100%; overflow: hidden;
}
.featured-meta .fm-i { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.feat-arrow {
position: absolute; top: 10px; right: 12px;
font-size: 12px; color: var(--muted); opacity: 0;
transition: opacity .15s, transform .15s;
}
.featured-card:hover .feat-arrow { opacity: 1; transform: translate(1px, -1px); }


.feat-no {
position: absolute; left: 6px; top: 6px; z-index: 2;
width: 20px; height: 20px; border-radius: 50%;
background: rgba(28, 26, 52, .62); color: #fff;
font-size: 11px; font-weight: 600; line-height: 20px; text-align: center;
pointer-events: none;
}


.feat-sk {
flex: 0 0 288px; scroll-snap-align: start;
display: flex; gap: 12px; align-items: flex-start;
background: linear-gradient(180deg, var(--tk98), var(--tk96));
border: 1px solid var(--tk92); border-radius: 14px;
padding: 14px; min-height: 121px; 
}
.feat-sk-img { width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; }
.feat-sk-body { flex: 1; min-width: 0; padding-top: 2px; }


.list-head {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
padding: 4px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.list-head-left { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.list-head #listTitle { font-size: 15px; font-weight: 600; }
.list-count { font-size: 13px; color: var(--muted); }

.list-search-slot { display: flex; align-items: center; flex: none; min-width: 0; }

.list-head { flex-wrap: wrap; row-gap: 8px; }
.list-head .search-box { flex: 0 0 auto; width: 220px; min-width: 150px; align-self: center; transition: width .18s ease; }
.list-head .search-box:focus-within,
.list-head .search-box.is-focus,
.list-head .search-box:has(input:not(:placeholder-shown)) { width: 320px; }

.list-find-hint {
padding: 0; border: none; background: none; font-family: inherit;
font-size: 12px; font-weight: 400; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.list-find-hint b { color: var(--primary); font-weight: 600; }
.list-find-hint:hover { color: var(--text); }
.list-find-hint:hover b { text-decoration: underline; }

@media (min-width: 641px) {
.header-inner > .search-box { display: none; }
}


.gallery { transition: opacity .2s ease; }
.gallery.is-loading { opacity: .45; pointer-events: none; }   
.empty.is-loading { opacity: .45; pointer-events: none; }     
.empty { transition: opacity .2s ease; }

.list-spin {
display: inline-block; width: 11px; height: 11px; margin-right: 5px;
vertical-align: -1px; border-radius: 50%;
border: 2px solid rgba(var(--tk58-rgb), .18); border-top-color: var(--primary);
animation: wxqr-spin .8s linear infinite;
}



.form-title-info { margin-left: 4px; vertical-align: -3px; }
.form-title-info .feat-info-btn { width: 17px; height: 17px; color: var(--muted); }
.form-title-info .feat-info-pop { max-width: min(340px, 78vw); }



.count-info { align-self: center; margin-left: -4px; position: relative; top: 2px; }
.count-info .feat-info-btn { width: 18px; height: 18px; }
.count-info .feat-info-pop { max-width: min(300px, 72vw); }



.head-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sort-toggle {
display: inline-flex; gap: 2px; padding: 3px;
background: #fff; border-radius: 999px; flex-shrink: 0;

}
.sort-toggle .st-btn {
height: 26px; padding: 0 14px; border: none; border-radius: 999px; cursor: pointer;
background: transparent; color: #9aa0b5; font-size: 13px; line-height: 1;
transition: background .15s, color .15s, box-shadow .15s;
}
.sort-toggle .st-btn:hover { color: var(--primary); }
.sort-toggle .st-btn.active {
background: var(--tk94); color: var(--primary); font-weight: 600;
box-shadow: 0 1px 4px rgba(60, 60, 120, .14);
}

.view-toggle {
display: inline-flex; gap: 2px; padding: 3px;
background: var(--tk94); border-radius: 999px; flex-shrink: 0;
}
.view-toggle .vt-btn {
width: 30px; height: 26px; border: none; border-radius: 999px; cursor: pointer;
background: transparent; color: #9aa0b5; font-size: 13px; line-height: 1;
display: inline-flex; align-items: center; justify-content: center;
transition: background .15s, color .15s, box-shadow .15s;
}
.view-toggle .vt-btn .ico { font-size: 15px; } 
.view-toggle .vt-btn:hover { color: var(--primary); }
.view-toggle .vt-btn.active {
background: #fff; color: var(--primary); font-weight: 600;
box-shadow: 0 1px 4px rgba(60, 60, 120, .14);
}


.cols-toggle {
display: inline-flex; gap: 2px; padding: 3px;
background: var(--tk94); border-radius: 999px; flex-shrink: 0;
}
.cols-toggle .ct-btn {
height: 26px; padding: 0 9px; border: none; border-radius: 999px; cursor: pointer;
background: transparent; color: #9aa0b5; font-size: 12.5px; line-height: 1;
display: inline-flex; align-items: center; justify-content: center;
transition: background .15s, color .15s, box-shadow .15s;
}
.cols-toggle .ct-btn:hover { color: var(--primary); }
.cols-toggle .ct-btn.active {
background: #fff; color: var(--primary); font-weight: 600;
box-shadow: 0 1px 4px rgba(60, 60, 120, .14);
}

.cols-toggle[hidden], .cols-toggle .ct-btn[hidden] { display: none; }

@media (max-width: 1259px) {
.cols-toggle { display: none; }
}


.gallery.list-mode { display: flex; flex-direction: column; gap: 10px; }

.gallery.noimg-mode { gap: 7px; }
.gallery.noimg-mode .row-thumb { display: none; }
.gallery.noimg-mode .work-row { padding: 8px 16px; gap: 12px; }
.gallery.noimg-mode .work-row:hover { transform: none; }   
.gallery.noimg-mode .row-main { display: contents; }

.gallery.noimg-mode .row-intro {
display: block; margin-top: 0;
flex: 0 1 auto; min-width: 0;
}

.gallery.noimg-mode .row-title { flex: 0 0 auto; max-width: 50%; min-width: 0; }
.gallery.noimg-mode .row-name { flex: 0 1 auto; min-width: 0; }

.gallery.noimg-mode .row-meta {
flex-grow: 1; flex-shrink: 100; flex-basis: auto;
min-width: 0; margin-top: 0; white-space: nowrap;
overflow: hidden; text-overflow: ellipsis;
}
.gallery.noimg-mode .row-stats { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
.gallery.noimg-mode .row-fav, .gallery.noimg-mode .row-like, .gallery.noimg-mode .row-block { width: 26px; height: 26px; font-size: 13px; }
.gallery.noimg-mode .dm-load { padding: 12px 16px 18px; }
.work-row {
display: flex; align-items: center; gap: 14px;
background: #fff; border: 1px solid var(--border); border-radius: 14px;
padding: 12px 16px; cursor: pointer;
transition: transform .15s, box-shadow .15s, border-color .15s;
position: relative;
}
.work-row:hover {
transform: translateY(-1px); border-color: var(--tk86);
box-shadow: 0 6px 18px rgba(var(--tk44-rgb), .10);
}
.row-thumb {
width: 64px; height: 64px; border-radius: 12px; object-fit: cover;
background: var(--tk94); flex-shrink: 0; border: 1px solid var(--border);
}
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }

.row-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-pin { position: static; font-size: 10px; padding: 2px 7px; }
.row-intro {
font-size: 13px; color: #6b7085; margin-top: 3px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.row-stats {
display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
flex-shrink: 0; font-size: 12px; color: var(--muted); min-width: 52px;
}
.row-stat b { color: var(--text); font-weight: 600; }
.row-stat .fav-num { color: #d9820b; }
.row-stat .cmt-num { color: var(--tk60); }
.row-fav {
width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
background: #fff; color: #b9bdd0; font-size: 15px; cursor: pointer; flex-shrink: 0;
transition: color .15s, border-color .15s, transform .15s;
}
.row-fav:hover { color: #f5a524; border-color: #f5a524; transform: scale(1.08); }
.row-fav.active { color: #f5a524; border-color: #f5a524; background: #fff8e8; }

.row-like {
width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
background: #fff; color: #b9bdd0; font-size: 15px; cursor: pointer; flex-shrink: 0;
transition: color .15s, border-color .15s, transform .15s;
}
.row-like:hover { color: #e0465f; border-color: #e0465f; transform: scale(1.08); }
.row-like.active { color: #e0465f; border-color: #e0465f; background: #fdeef1; }

@media (max-width: 640px) {

.work-row { position: relative; padding: 10px; gap: 9px; }
.row-thumb { width: 56px; height: 56px; }
.gallery.noimg-mode .work-row { padding: 7px 10px; gap: 8px; }   
.gallery.noimg-mode .row-stats { gap: 6px; min-width: 0; }
.gallery.noimg-mode .row-meta { font-size: 11px; }
.row-main { min-width: 0; }
.row-title { font-size: 14px; }
.work-row .row-pin { position: static; }
.row-intro { font-size: 12px; margin-top: 2px; }
.row-meta { font-size: 11px; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-stats { display: flex; font-size: 10px; gap: 1px; min-width: 32px; }
.row-stat svg { width: 10px; height: 10px; }


.work-row .row-fav, .work-row .row-block { display: none; }
.list-head { flex-wrap: wrap; row-gap: 8px; }
.sort-toggle .st-btn { padding: 0 11px; }
}


.pin-badge {
position: absolute; right: 10px; top: 10px; background: #e5484d; color: #fff;
font-size: 11px; padding: 3px 8px; border-radius: 999px;
z-index: 2; 
}

.rank-num {
position: absolute; left: 10px; top: 10px; z-index: 3;
min-width: 22px; height: 22px; padding: 0 7px;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 11px; font-size: 12px; font-weight: 800; line-height: 1;
color: #fff; background: rgba(22,24,34,.6);
box-shadow: 0 1px 4px rgba(0,0,0,.32); letter-spacing: .3px;
}
.rank-num.top3 { color: #20160a; }
.rank-num.r1 { background: linear-gradient(135deg,#ffd95e,#f0a500); }
.rank-num.r2 { background: linear-gradient(135deg,#eef2f7,#bcc6d2); }
.rank-num.r3 { background: linear-gradient(135deg,#f3b07c,#cd7f32); }
.rank-card .type-badge { top: 40px; }
.fav-star {
position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px;
border-radius: 50%; border: none; cursor: pointer; font-size: 15px;
background: rgba(255,255,255,.9); color: #b9bdd0;
}
.fav-star.active { color: #f5a524; }
.card-author { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }

.card-author .author-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gh-medal { display: inline-flex; align-items: center; vertical-align: -2px; font-style: normal; line-height: 1; }
.gh-medal svg { display: block; width: 14px; height: 14px; }
.row-meta .gh-medal svg { width: 12px; height: 12px; }

.author-stats .author-tag { margin: 0 6px 0 0; }
.load-more-wrap { text-align: center; padding: 8px 0 48px; }
.btn-ghost {
background: #fff; border: 1px solid var(--border); color: var(--text);
padding: 10px 26px; border-radius: 10px; font-size: 14px; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }


.auth-box .auth-open {
background: #fff;
border: 1.5px solid var(--primary);
color: var(--primary);
font-weight: 600;
padding: 8px 18px;
border-radius: 10px;
font-size: 14px;
cursor: pointer;
white-space: nowrap;
}
.auth-box .auth-open:hover { background: var(--primary); color: #fff; }
.auth-box .link-btn { white-space: nowrap; }


.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: 24px; margin-bottom: 6px; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.page-intro { max-width: 720px; color: var(--muted); font-size: 14px; line-height: 1.9; margin: 14px 0 0; text-align: justify; }
.page-intro b { color: var(--text); font-weight: 600; }
.rank-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.rank-dd-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rank-dd-row .dd-opt.active::after { margin-left: auto; }
.rank-tab {
padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border);
background: #fff; cursor: pointer; font-size: 13.5px; font-family: inherit;
display: inline-block; text-decoration: none; color: inherit;
}
.rank-tab:hover { border-color: var(--primary); color: var(--primary); }
.rank-tab.active { background: #1f2330; border-color: #1f2330; color: #fff; }
.rank-list { display: flex; flex-direction: column; gap: 10px; }


.rank-today {
display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
font-size: 12.5px; color: var(--muted); line-height: 1.6;
background: var(--tk96); border: 1px solid var(--tk94); border-radius: 10px;
padding: 9px 13px; margin: 0 0 12px;
}
.rank-today:empty { display: none; }
.rank-today-tag {
flex-shrink: 0; font-size: 11.5px; font-weight: 600; color: var(--primary);
background: var(--tk94); border-radius: 6px; padding: 1px 7px;
}
.rank-today-line { color: var(--text); }
.rank-today-line b { color: var(--primary); font-weight: 600; }
.rank-today-hint { margin-left: auto; font-size: 12px; color: var(--muted); }

.rank-today-motto { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }

.rank-fresh {
display: inline-block; margin-right: 8px; vertical-align: 1px;
font-size: 11px; font-weight: 500; color: #8a5a12;
background: #fff3d9; border-radius: 5px; padding: 2px 8px;
}

.rank-age + .rank-fresh,
.rank-fresh.is-tail { margin-left: 8px; }

.rank-live {
display: inline-block; margin-right: 8px; vertical-align: 1px;
font-size: 11px; font-weight: 500; color: #12705a;
background: #e2f5ee; border-radius: 5px; padding: 2px 8px;
}
.rank-legend { font-size: 12.5px; color: var(--muted); background: var(--tk96); border-radius: 10px; padding: 9px 13px; margin-bottom: 12px; line-height: 1.6; }
.rank-legend b { color: var(--text); }

.rank-seg, .rank-pills, .rank-score-m { display: none; }
@media (max-width: 640px) {

.rank-seg {
display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px;
background: var(--tk94); border-radius: 999px;
}
.rank-seg-btn {
border: none; background: transparent; font-family: inherit; cursor: pointer;
font-size: 14px; font-weight: 600; color: var(--muted);
padding: 7px 24px; border-radius: 999px; transition: background .15s, color .15s;
}
.rank-seg-btn.active { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(31,35,48,.10); }

.rank-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.rank-pill {
padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border);
background: #fff; cursor: pointer; font-size: 13.5px; font-family: inherit; color: var(--text);
}
.rank-pill:hover { border-color: var(--primary); color: var(--primary); }
.rank-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

#rankPeriodDD, #rankByDD, .rank-score { display: none !important; }
.rank-score-m {
display: inline-flex; align-items: baseline; gap: 5px; flex-shrink: 0;
color: var(--primary); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.rank-score-m b { font-size: 19px; font-weight: 700; }
}
.rank-item {
display: flex; align-items: center; gap: 14px; background: #fff;
border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; cursor: pointer;
}
.rank-item:hover { border-color: var(--primary); }
.rank-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.rank-no {
width: 28px; text-align: center; font-weight: 700; font-size: 16px; color: var(--muted);
}
.rank-no-1 { color: #f5a524; } .rank-no-2 { color: #8a94a6; } .rank-no-3 { color: #c08a5a; }
.rank-main { flex: 1; min-width: 0; }

.rank-share {
display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
padding: 6px 10px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 12px;
}
.rank-share svg { width: 14px; height: 14px; display: block; }
.rank-share:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
@media (max-width: 640px) {
.rank-share span { display: none; }
.rank-share {
width: 30px; height: 30px; padding: 0; justify-content: center;
border-radius: 50%; align-self: center;
}
.rank-share svg { width: 15px; height: 15px; }
}

.pk-ico, .rank-ico {
width: 20px; height: 20px; border-radius: 5px; object-fit: cover;
vertical-align: -4px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06);
flex: 0 0 auto;
}
.pk-emoji { font-size: 15px; line-height: 1; }

.rank-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }

.rank-age { margin-left: 7px; font-size: 11.5px; font-weight: 400; color: #b3b8c9; white-space: nowrap; }

.rank-intro {
font-size: 12px; color: #9aa0b4; margin-bottom: 4px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-meta { font-size: 12px; color: var(--muted); }

.rank-meta .rk-types { border-bottom: 1px dashed currentColor; cursor: help; }

.rank-score {
display: flex; align-items: center; gap: 18px;
flex-shrink: 0; text-align: right; font-size: 12.5px; color: var(--muted); line-height: 1.45;
}
.rank-score span { white-space: nowrap; }

.dd-ico .ico { font-size: 1.1em; }
.dd-lico { font-size: 1.05em; vertical-align: -0.15em; margin-right: 2px; }

.rank-score span.on { color: var(--text); font-weight: 700; }

.rank-score svg, .row-stat svg { width: 12.5px; height: 12.5px; vertical-align: -1.5px; }
.rank-legend .ico { font-size: 13px; }
.dd-opt-label .ico { font-size: 13.5px; vertical-align: -2px; }

.dd-ico .ico[data-ico="rank"] { font-size: 1.25em; }

@media (max-width: 640px) {
.rank-item { padding: 10px 12px; gap: 10px; }
.rank-item img { width: 64px; height: 48px; }
.rank-today-hint { margin-left: 0; width: 100%; }
.rank-today-motto { margin-left: 0; white-space: normal; }
.rank-fresh { margin-right: 6px; }
.rank-age + .rank-fresh,
.rank-fresh.is-tail { margin-left: 6px; }
.rank-live { margin-right: 6px; }
}


.author-hero {
position: relative; background: #fff;
border: 1px solid var(--border); border-radius: 16px; margin: 32px 0 24px;
overflow: hidden;

--hero-ink: #fff;
--hero-ink-2: rgba(255, 255, 255, .84);
--hero-line: rgba(255, 255, 255, .34);
--hero-chip-bg: rgba(255, 255, 255, .16);
--hero-chip-bd: rgba(255, 255, 255, .32);
}

.author-hero-band {
background: linear-gradient(135deg, var(--tk68) 0%, var(--tk58) 55%, var(--tk58) 100%);
}
.author-hero-band.band-skin {
position: absolute; inset: 0 0 auto 0; height: 100%; z-index: 0;
}


.band-skin, .skin-thumb {
position: relative; overflow: hidden; isolation: isolate; contain: paint;

--stars-far:
radial-gradient(circle 1.1px at 7% 24%, rgba(255,255,255,.64) 98%, transparent),
radial-gradient(circle .9px at 16% 68%, rgba(255,255,255,.46) 98%, transparent),
radial-gradient(circle 1.3px at 25% 36%, rgba(255,255,255,.58) 98%, transparent),
radial-gradient(circle .8px at 33% 78%, rgba(255,255,255,.42) 98%, transparent),
radial-gradient(circle 1.2px at 42% 18%, rgba(255,255,255,.56) 98%, transparent),
radial-gradient(circle .9px at 51% 56%, rgba(255,255,255,.5) 98%, transparent),
radial-gradient(circle 1.4px at 59% 30%, rgba(255,255,255,.6) 98%, transparent),
radial-gradient(circle .8px at 68% 72%, rgba(255,255,255,.44) 98%, transparent),
radial-gradient(circle 1.1px at 77% 22%, rgba(255,255,255,.54) 98%, transparent),
radial-gradient(circle 1.3px at 85% 52%, rgba(255,255,255,.58) 98%, transparent),
radial-gradient(circle .9px at 93% 34%, rgba(255,255,255,.46) 98%, transparent);
--stars-near:
radial-gradient(circle 4px at 11% 31%, rgba(255,255,255,.96) 0 16%, rgba(178,198,255,.42) 38%, transparent 78%),
radial-gradient(circle 3.4px at 29% 61%, rgba(255,255,255,.8) 0 17%, rgba(178,198,255,.34) 40%, transparent 78%),
radial-gradient(circle 4.6px at 47% 26%, #fff 0 15%, rgba(198,188,255,.44) 36%, transparent 78%),
radial-gradient(circle 3.6px at 64% 78%, rgba(255,255,255,.84) 0 17%, rgba(178,198,255,.34) 40%, transparent 78%),
radial-gradient(circle 4.2px at 81% 42%, #fff 0 15%, rgba(198,188,255,.42) 36%, transparent 78%),
radial-gradient(circle 3.2px at 95% 68%, rgba(255,255,255,.76) 0 18%, rgba(178,198,255,.3) 40%, transparent 78%);
--stars-dense:
radial-gradient(circle 1px at 4% 18%, rgba(255,255,255,.62) 98%, transparent),
radial-gradient(circle 1.5px at 12% 58%, rgba(255,255,255,.8) 98%, transparent),
radial-gradient(circle .9px at 19% 34%, rgba(255,255,255,.54) 98%, transparent),
radial-gradient(circle 1.8px at 27% 76%, rgba(255,255,255,.86) 98%, transparent),
radial-gradient(circle 1.2px at 35% 22%, rgba(255,255,255,.66) 98%, transparent),
radial-gradient(circle 2.1px at 43% 54%, #fff 98%, transparent),
radial-gradient(circle 1px at 50% 14%, rgba(255,255,255,.58) 98%, transparent),
radial-gradient(circle 1.6px at 57% 82%, rgba(255,255,255,.78) 98%, transparent),
radial-gradient(circle 2.2px at 65% 36%, #fff 98%, transparent),
radial-gradient(circle 1.1px at 72% 66%, rgba(255,255,255,.62) 98%, transparent),
radial-gradient(circle 1.7px at 79% 18%, rgba(255,255,255,.82) 98%, transparent),
radial-gradient(circle 1px at 86% 74%, rgba(255,255,255,.56) 98%, transparent),
radial-gradient(circle 2px at 92% 44%, rgba(255,255,255,.88) 98%, transparent),
radial-gradient(circle 1.2px at 98% 84%, rgba(255,255,255,.6) 98%, transparent);

--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.075'/%3E%3C/svg%3E");
}
.band-skin::before, .band-skin::after,
.skin-thumb::before, .skin-thumb::after {
content: ''; position: absolute; inset: -8%; pointer-events: none;
}
.bs-m { display: none; }

@keyframes hsTwinkle { 0%, 100% { opacity: .46 } 50% { opacity: 1 } }
@keyframes hsBreath { 0%, 100% { opacity: .62; transform: scale(.985) } 50% { opacity: 1; transform: scale(1.015) } }
@keyframes hsShoot {
0%   { transform: translate3d(0, 0, 0) rotate(18deg) scaleX(.35); opacity: 0 }
5%   { opacity: .95 }
26%  { transform: translate3d(78vw, 22vw, 0) rotate(18deg) scaleX(1); opacity: .9 }
34%  { transform: translate3d(105vw, 30vw, 0) rotate(18deg) scaleX(1.15); opacity: 0 }
100% { transform: translate3d(105vw, 30vw, 0) rotate(18deg) scaleX(1.15); opacity: 0 }
}
@keyframes hsDrift {
0%   { transform: translate3d(-2.5%, 0, 0) }
50%  { transform: translate3d(1%, -1%, 0) }
100% { transform: translate3d(2.5%, 0, 0) }
}
@keyframes hsAurora {
0%   { transform: translate3d(-3%, 1%, 0) scaleY(.96); opacity: .7 }
50%  { transform: translate3d(1%, -1%, 0) scaleY(1.1); opacity: 1 }
100% { transform: translate3d(3%, 1%, 0) scaleY(1); opacity: .78 }
}
@keyframes hsTrail { 0%, 100% { opacity: .38 } 50% { opacity: .92 } }
@keyframes hsGlow {
0%, 100% { opacity: .7; transform: scale(.97) }
50% { opacity: 1; transform: scale(1.06) }
}
@keyframes hsRain {
0% { transform: translate3d(0, 0, 0) }
100% { transform: translate3d(-36px, 36px, 0) }
}
@keyframes hsScan { 0% { opacity: .58; transform: translate3d(-1%, 0, 0) } 100% { opacity: 1; transform: translate3d(1%, 0, 0) } }
@keyframes hsGrid { 0% { transform: translate3d(0, 0, 0) } 100% { transform: translate3d(28px, 18px, 0) } }
@keyframes hsWave {
0% { transform: translate3d(-2%, 1%, 0) }
50% { transform: translate3d(1%, -1.5%, 0) }
100% { transform: translate3d(-2%, 1%, 0) }
}
@keyframes hsFog {
0% { opacity: .52; transform: translate3d(-2%, 0, 0) }
100% { opacity: .96; transform: translate3d(2%, -1%, 0) }
}
@keyframes hsBead {
0% { background-position: 0 0, 0 0, 0 0 }
100% { background-position: 18px 9px, -13px 11px, 9px -8px }
}
@keyframes hsSheen {
0% { transform: translate3d(-52%, 0, 0) rotate(8deg) }
100% { transform: translate3d(52%, 0, 0) rotate(8deg) }
}
@keyframes hsLeak {
0% { opacity: .58; transform: translate3d(-2%, 0, 0) }
100% { opacity: 1; transform: translate3d(2%, 0, 0) }
}
@keyframes hsSnow {
0% { background-position: 0 0, 0 0, 0 0 }
100% { background-position: -8px 32px, 6px 32px, -3px 32px }
}
@keyframes hsPetal {
0% { background-position: 0 0, 0 0 }
100% { background-position: -18px 156px, 14px 156px }
}
@keyframes hsDrip {
0% { background-position: 22% -32%, 41% -20%, 64% -42%, 85% -24% }
100% { background-position: 22% 100%, 41% 100%, 64% 100%, 85% 100% }
}


.hs-meteor {
background-color: #7d5bd6;
background-image:
var(--grain),
radial-gradient(120% 160% at 82% -18%, rgba(166, 142, 255, .48), transparent 62%),
radial-gradient(90% 120% at 8% 118%, rgba(80, 92, 218, .44), transparent 70%),
linear-gradient(124deg, #242454 0%, #3b3288 46%, #5b48a0 74%, #7d5bd6 100%);
background-size: 180px 180px, 100% 100%, 100% 100%, 100% 100%;
}
.hs-meteor::before {
background-image: var(--stars-dense), var(--stars-near);
animation: hsTwinkle 7.2s ease-in-out infinite;
}
.hs-meteor::after {
background-image:
linear-gradient(112deg, transparent 16%, rgba(196, 174, 255, .15) 42%, transparent 68%),
radial-gradient(ellipse 68% 66% at 88% 104%, rgba(255, 202, 170, .22), transparent 72%);
mix-blend-mode: screen;
}
.hs-meteor .bs-m {
display: block; position: absolute; left: -24%; top: 6%;
width: 190px; height: 2px; border-radius: 999px; opacity: 0;
background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 22%, rgba(255,255,255,.92) 88%, #fff 100%);
box-shadow: 0 0 8px 1px rgba(255,255,255,.72), 0 0 22px 4px rgba(160,180,255,.34);
animation: hsShoot 11s cubic-bezier(.22,.6,.24,1) infinite;
}
.hs-meteor .bs-m2 { top: 2%; width: 112px; animation-delay: 5.4s; opacity: 0; }


.hs-dots { background: linear-gradient(135deg, #1f2454 0%, #34357f 54%, #6a55b4 100%); }
.hs-dots::before {
background-image: var(--stars-far);
opacity: .72;
}
.hs-dots::after {
background-image: var(--stars-near);
opacity: .82;
}


.hs-galaxy { background: radial-gradient(130% 190% at 16% 34%, #45308e 0%, #241a5e 50%, #110d32 100%); }
.hs-galaxy::before {
inset: -16%;
background-image:
linear-gradient(112deg, transparent 25%, rgba(198,180,255,.2) 40%, rgba(255,255,255,.3) 49%, rgba(198,180,255,.22) 58%, transparent 73%),
radial-gradient(ellipse 28% 92% at 18% 64%, rgba(150,110,255,.58), transparent 72%),
radial-gradient(ellipse 22% 84% at 82% 24%, rgba(86,184,255,.44), transparent 72%);
filter: blur(7px) saturate(1.1);
mix-blend-mode: screen;
animation: hsDrift 34s ease-in-out infinite;
}
.hs-galaxy::after {
background-image: var(--stars-near), var(--stars-far);
animation: hsTwinkle 8.4s ease-in-out infinite .8s;
}


.hs-aurora { background: linear-gradient(180deg, #0b1538 0%, #142a55 48%, #252665 100%); }
.hs-aurora::before {
inset: -14%;
background-image:
linear-gradient(96deg, transparent 12%, rgba(112,255,210,.6) 17%, rgba(160,255,232,.28) 22%, transparent 28%),
linear-gradient(94deg, transparent 38%, rgba(118,201,255,.52) 45%, transparent 52%),
linear-gradient(99deg, transparent 62%, rgba(208,150,255,.48) 70%, transparent 78%),
repeating-linear-gradient(92deg, rgba(255,255,255,.08) 0 1px, transparent 1px 9px);
filter: blur(5px);
-webkit-mask-image: linear-gradient(180deg, #000 3%, rgba(0,0,0,.75) 56%, transparent 100%);
mask-image: linear-gradient(180deg, #000 3%, rgba(0,0,0,.75) 56%, transparent 100%);
mix-blend-mode: screen;
animation: hsAurora 18s ease-in-out infinite;
}
.hs-aurora::after {
background-image: var(--stars-far);
animation: hsTwinkle 7.6s ease-in-out infinite 1.2s;
}


.hs-trail { background: radial-gradient(150% 250% at 50% 122%, #323a86 0%, #1e1c55 46%, #100d36 100%); }
.hs-trail::before {
background-image:
repeating-radial-gradient(circle at 50% 126%,
transparent 0 20px, rgba(206,220,255,.28) 20px 21px, transparent 21px 44px),
radial-gradient(ellipse 60% 30% at 50% 108%, rgba(150,170,255,.24), transparent 74%);
-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 62%, transparent 96%);
mask-image: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 62%, transparent 96%);
animation: hsTrail 18s ease-in-out infinite;
}
.hs-trail::after {
background-image: var(--stars-near), var(--stars-far);
animation: hsTwinkle 8s ease-in-out infinite 1.4s;
}


.hs-deep {
background:
radial-gradient(120% 180% at 80% -10%, rgba(94,82,190,.4), transparent 60%),
linear-gradient(135deg, #080e2b 0%, #121944 52%, #241a4c 100%);
}
.hs-deep::before {
background-image: var(--stars-dense);
animation: hsTwinkle 6.8s ease-in-out infinite;
}
.hs-deep::after {
inset: -16%;
background-image:
radial-gradient(ellipse 62% 120% at 78% 6%, rgba(126,110,255,.5), transparent 72%),
radial-gradient(ellipse 44% 90% at 14% 94%, rgba(80,160,255,.34), transparent 70%);
filter: blur(10px);
animation: hsDrift 42s ease-in-out infinite;
}


.hs-dawn { background: linear-gradient(112deg, #191a44 0%, #4a315f 22%, #a45874 48%, #e58d6f 74%, #ffd09a 100%); }
.hs-dawn::before {
background-image:
radial-gradient(circle 64px at 82% 86%, rgba(255,250,226,.98) 0%, rgba(255,224,170,.84) 38%, rgba(255,164,132,.24) 68%, transparent 86%),
radial-gradient(ellipse 40% 110% at 82% 104%, rgba(255,206,158,.5), transparent 72%);
animation: hsGlow 11s ease-in-out infinite;
}
.hs-dawn::after {
inset: -12%;
background-image:
radial-gradient(ellipse 42% 18% at 20% 46%, rgba(255,236,222,.34), transparent 74%),
radial-gradient(ellipse 38% 15% at 60% 62%, rgba(255,216,196,.3), transparent 76%),
radial-gradient(ellipse 50% 20% at 86% 78%, rgba(255,204,174,.24), transparent 74%),
linear-gradient(180deg, transparent 68%, rgba(28,18,52,.18) 100%);
filter: blur(3px);
animation: hsDrift 24s ease-in-out infinite;
}


.hs-rain {
background:
radial-gradient(120% 120% at 70% -20%, rgba(190,214,240,.28), transparent 60%),
linear-gradient(135deg, #4c5d76 0%, #37465e 52%, #252f44 100%);
}
.hs-rain::before {

inset: -60px;
background-image:
repeating-linear-gradient(112deg, transparent 0 7px, rgba(216,234,255,.26) 7px 8px, transparent 8px 18px),
repeating-linear-gradient(118deg, transparent 0 13px, rgba(226,240,255,.18) 13px 14px, transparent 14px 28px);
background-size: 36px 36px;
animation: hsRain 1.1s linear infinite;
}
.hs-rain::after {
background-image:
radial-gradient(ellipse 64% 26% at 30% 110%, rgba(188,220,255,.34), transparent 72%),
radial-gradient(ellipse 46% 22% at 78% 112%, rgba(188,220,255,.24), transparent 72%);
}


.hs-neon {
background:
radial-gradient(ellipse 42% 130% at 6% 108%, rgba(60,240,255,.28), transparent 72%),
radial-gradient(ellipse 38% 120% at 92% 0%, rgba(255,80,205,.26), transparent 72%),
radial-gradient(120% 220% at 24% 108%, #33155e 0%, #190c34 54%, #090620 100%);
}
.hs-neon::before {
inset: -40px;
background-image:
repeating-linear-gradient(90deg, rgba(120,255,255,.2) 0 1px, transparent 1px 28px),
repeating-linear-gradient(0deg, rgba(255,120,220,.16) 0 1px, transparent 1px 18px);
background-size: 28px 100%, 100% 18px;
-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.9) 64%, #000 100%);
mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.9) 64%, #000 100%);
animation: hsGrid 12s linear infinite;
}
.hs-neon::after {
background-image:
linear-gradient(180deg, transparent 58%, rgba(255,80,210,.82) 60%, rgba(180,180,255,.9) 61.2%, rgba(120,255,255,.88) 62.4%, transparent 65%),
linear-gradient(104deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
filter: drop-shadow(0 0 7px rgba(180,140,255,.85));
animation: hsScan 8s ease-in-out infinite alternate;
}


.hs-ocean { background: linear-gradient(160deg, #0d354f 0%, #176b8c 42%, #3fa8ae 76%, #69cfc6 100%); }
.hs-ocean::before {
inset: 0;
background-image:
repeating-radial-gradient(ellipse 140% 82% at 50% 320%,
transparent 0 20px, rgba(255,255,255,.2) 20px 22px, transparent 22px 48px),
linear-gradient(180deg, rgba(255,255,255,.13) 0%, transparent 40%, rgba(255,255,255,.14) 100%);
-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.58) 46%, #000 100%);
mask-image: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.58) 46%, #000 100%);
animation: hsWave 8s ease-in-out infinite;
}
.hs-ocean::after {
background-image:
radial-gradient(circle 2.1px at 14% 76%, rgba(255,255,255,.9) 98%, transparent),
radial-gradient(circle 1.5px at 28% 64%, rgba(255,255,255,.68) 98%, transparent),
radial-gradient(circle 2.5px at 41% 82%, rgba(255,255,255,.86) 98%, transparent),
radial-gradient(circle 1.6px at 55% 68%, rgba(255,255,255,.68) 98%, transparent),
radial-gradient(circle 2.1px at 69% 86%, rgba(255,255,255,.8) 98%, transparent),
radial-gradient(circle 1.5px at 82% 70%, rgba(255,255,255,.64) 98%, transparent),
radial-gradient(circle 2.3px at 93% 84%, rgba(255,255,255,.78) 98%, transparent);
animation: hsTwinkle 5.2s ease-in-out infinite 1s;
}


.hs-paper { background: linear-gradient(148deg, #f4eedf 0%, #e4d9c5 48%, #cbbda3 100%); }
.hs-paper::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"),
repeating-linear-gradient(0deg, rgba(120,100,70,.055) 0 1px, transparent 1px 4px),
repeating-linear-gradient(90deg, rgba(120,100,70,.04) 0 1px, transparent 1px 5px),
radial-gradient(ellipse 22% 92% at 17% 44%, rgba(62,54,44,.3), transparent 70%),
radial-gradient(ellipse 15% 70% at 63% 78%, rgba(72,60,48,.2), transparent 72%);
background-size: 180px 180px, 100% 4px, 5px 100%, 100% 100%, 100% 100%;
opacity: .74;
animation: hsDrift 36s ease-in-out infinite;
}
.hs-paper::after {
inset: 0;
background-image:
radial-gradient(circle 6px at 85% 42%, rgba(184,62,50,.78) 0%, rgba(184,62,50,.46) 62%, transparent 80%),
linear-gradient(90deg, transparent 5%, rgba(70,60,48,.4) 10%, rgba(70,60,48,.4) 80%, transparent 86%);
background-size: 100% 100%, 100% 1.4px;
background-position: 0 0, 0 68%;
background-repeat: no-repeat;
}


.hs-dune { background: linear-gradient(168deg, #342848 0%, #71475a 26%, #b5775c 58%, #ddaa72 86%, #f3d09a 100%); }
.hs-dune::before {
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 84' preserveAspectRatio='none'%3E%3Cpath d='M0,84 L0,54 C170,30 300,62 460,50 C630,37 740,10 890,28 C1030,44 1120,62 1200,52 L1200,84 Z' fill='%23d49b68' fill-opacity='.44'/%3E%3Cpath d='M0,84 L0,66 C190,50 340,76 510,67 C690,57 810,38 950,53 C1075,66 1140,75 1200,67 L1200,84 Z' fill='%238c5a52' fill-opacity='.68'/%3E%3Cpath d='M0,84 L0,76 C180,66 300,82 460,74 C620,66 700,58 850,70 C1000,82 1100,78 1200,72 L1200,84 Z' fill='%23452c45' fill-opacity='.88'/%3E%3C/svg%3E");
background-size: 100% 100%;
background-position: 0 100%;
background-repeat: no-repeat;
}
.hs-dune::after {
background-image:
radial-gradient(circle 21px at 86% 60%, rgba(255,246,208,.98) 0%, rgba(255,216,160,.7) 44%, transparent 82%),
radial-gradient(ellipse 62% 92% at 86% 58%, rgba(255,196,146,.36), transparent 76%);
animation: hsGlow 12s ease-in-out infinite;
}


.hs-mist { background: linear-gradient(180deg, #e6edf5 0%, #c9d6e4 44%, #a8b9cc 100%); }
.hs-mist::before {
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 84' preserveAspectRatio='none'%3E%3Cpath d='M0,84 L0,46 C120,22 240,54 360,40 C470,28 520,10 640,26 C760,42 830,54 940,36 C1050,20 1120,40 1200,44 L1200,84 Z' fill='%238094a9' fill-opacity='.5'/%3E%3Cpath d='M0,84 L0,62 C150,48 260,72 400,60 C540,48 620,34 760,50 C900,66 1010,70 1200,56 L1200,84 Z' fill='%235a7187' fill-opacity='.68'/%3E%3Cpath d='M0,84 L0,74 C180,64 300,80 460,72 C620,64 700,56 850,68 C1000,80 1100,76 1200,70 L1200,84 Z' fill='%233a4e63' fill-opacity='.84'/%3E%3C/svg%3E");
background-size: 100% 100%;
background-position: 0 100%;
background-repeat: no-repeat;
}
.hs-mist::after {
background-image: linear-gradient(180deg, transparent 38%, rgba(255,255,255,.42) 64%, rgba(255,255,255,.76) 100%);
animation: hsFog 18s ease-in-out infinite alternate;
}


.hs-candy { background: linear-gradient(125deg, #ffe4ef 0%, #f3dcff 38%, #dceaff 64%, #fff7d0 100%); }
.hs-candy::before {
background-image:
radial-gradient(circle at 6px 7px, rgba(255,255,255,.95) 0 2.4px, transparent 2.9px),
radial-gradient(circle at 19px 18px, rgba(255,164,203,.85) 0 3.2px, transparent 3.7px),
radial-gradient(circle at 31px 8px, rgba(255,222,116,.9) 0 2px, transparent 2.5px);
background-size: 36px 34px;
animation: hsBead 28s linear infinite alternate;
}
.hs-candy::after {
background-image: linear-gradient(104deg, transparent 36%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.16) 57%, transparent 68%);
animation: hsSheen 13s ease-in-out infinite alternate;
}


.hs-film { background: linear-gradient(140deg, #1c1814 0%, #2d231a 52%, #161210 100%); }
.hs-film::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.68'/%3E%3C/svg%3E"),
radial-gradient(circle at 11px 11px, rgba(8,8,10,.78) 0 3px, transparent 3.6px),
radial-gradient(circle at 129px 11px, rgba(8,8,10,.78) 0 3px, transparent 3.6px);
background-size: 110px 110px, 140px 34px, 140px 34px;
opacity: .46;
}
.hs-film::after {
background-image:
linear-gradient(90deg, transparent 58%, rgba(255,132,64,.4) 82%, rgba(255,190,112,.7) 94%, transparent 100%),
linear-gradient(90deg, rgba(96,144,255,.26) 0%, transparent 20%),
linear-gradient(180deg, transparent 0%, rgba(255,255,255,.46) 26%, rgba(255,255,255,.14) 62%, transparent 100%);
background-size: 100% 100%, 100% 100%, 1.6px 100%;
background-position: 0 0, 0 0, 68% 0;
background-repeat: no-repeat;
animation: hsLeak 10s ease-in-out infinite alternate;
}


.hs-snow { background: linear-gradient(180deg, #eff6ff 0%, #d2e5f9 46%, #aac8e7 100%); }
.hs-snow::before {
background-image:
radial-gradient(circle at 5px 6px, #fff 0 1.2px, rgba(255,255,255,.3) 1.9px, transparent 2.5px),
radial-gradient(circle at 14px 13px, #fff 0 .9px, rgba(255,255,255,.24) 1.5px, transparent 2px),
radial-gradient(circle at 22px 8px, #fff 0 1.5px, rgba(255,255,255,.3) 2.3px, transparent 3px);
background-size: 29px 29px, 37px 37px, 49px 49px;
animation: hsSnow 6.4s linear infinite;
}
.hs-snow::after {
background-image:
radial-gradient(ellipse 118% 72% at 24% 122%, rgba(255,255,255,.9), transparent 62%),
radial-gradient(ellipse 96% 58% at 88% 126%, rgba(146,182,222,.46), transparent 62%);
}


.hs-sakura { background: linear-gradient(132deg, #fff6fa 0%, #ffe4ee 46%, #ffd4e5 100%); }
.hs-sakura::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 130'%3E<path transform='translate(30,24) rotate(-22) scale(0.72)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23f58bb2' opacity='.9'/><path transform='translate(96,12) rotate(40) scale(0.55)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23ffb8d0' opacity='.78'/><path transform='translate(156,40) rotate(-6) scale(0.82)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23f58bb2' opacity='.9'/><path transform='translate(58,74) rotate(62) scale(0.6)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23ffb8d0' opacity='.78'/><path transform='translate(124,86) rotate(-40) scale(0.7)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23f58bb2' opacity='.9'/><path transform='translate(176,104) rotate(14) scale(0.5)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23ffb8d0' opacity='.78'/><path transform='translate(10,100) rotate(-64) scale(0.58)' d='M0,-8 C7,-7 10,-1 7,4 C4,9 -4,9 -7,4 C-10,-1 -7,-7 0,-8 Z' fill='%23f58bb2' opacity='.9'/>%3C/svg%3E");
background-size: 216px 156px;
animation: hsPetal 9.5s linear infinite;
}
.hs-sakura::after {
background-image:
radial-gradient(ellipse 58% 104% at 84% 0%, rgba(255,255,255,.5), transparent 72%),
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 130'%3E<path transform='translate(26,28) rotate(-26) scale(1)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23f793b8' opacity='.92'/><path transform='translate(82,15) rotate(34) scale(0.78)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23ffb3cd' opacity='.8'/><path transform='translate(138,36) rotate(-10) scale(1.12)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23f793b8' opacity='.92'/><path transform='translate(52,76) rotate(58) scale(0.9)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23ffb3cd' opacity='.8'/><path transform='translate(110,88) rotate(-44) scale(1)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23f793b8' opacity='.92'/><path transform='translate(164,100) rotate(16) scale(0.72)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23ffb3cd' opacity='.8'/><path transform='translate(8,96) rotate(-68) scale(0.84)' d='M0,-9 C6,-6 9.5,0.5 6,6.5 C3,10.5 -3,10.5 -6,6.5 C-9.5,0.5 -6,-6 0,-9 Z' fill='%23f793b8' opacity='.92'/>%3C/svg%3E");
background-size: 100% 100%, 268px 194px;
background-repeat: no-repeat, repeat;
opacity: .46;
animation: hsPetal 19s linear infinite reverse;
}


.hs-window { background: linear-gradient(156deg, #cbd9e6 0%, #a9bdcf 48%, #8ba2b7 100%); }
.hs-window::before {
background-image:
radial-gradient(ellipse 12% 46% at 14% 12%, rgba(255,255,255,.2), transparent 74%),
radial-gradient(ellipse 9% 38% at 74% 4%, rgba(255,224,186,.18), transparent 76%),
radial-gradient(circle 4px at 8% 44%, rgba(255,255,255,.8) 0 34%, rgba(255,255,255,.42) 58%, rgba(88,110,136,.26) 82%, transparent 94%),
radial-gradient(circle 2.6px at 17% 74%, rgba(255,255,255,.76) 0 34%, rgba(255,255,255,.4) 58%, rgba(88,110,136,.24) 82%, transparent 94%),
radial-gradient(circle 3.4px at 27% 26%, rgba(255,255,255,.8) 0 34%, rgba(255,255,255,.42) 58%, rgba(88,110,136,.26) 82%, transparent 94%),
radial-gradient(circle 2px at 36% 60%, rgba(255,255,255,.72) 0 34%, rgba(255,255,255,.36) 58%, rgba(88,110,136,.22) 82%, transparent 94%),
radial-gradient(circle 4.6px at 45% 84%, rgba(255,255,255,.8) 0 34%, rgba(255,255,255,.42) 58%, rgba(88,110,136,.26) 82%, transparent 94%),
radial-gradient(circle 2.8px at 54% 38%, rgba(255,255,255,.76) 0 34%, rgba(255,255,255,.4) 58%, rgba(88,110,136,.24) 82%, transparent 94%),
radial-gradient(circle 3.6px at 63% 68%, rgba(255,255,255,.78) 0 34%, rgba(255,255,255,.4) 58%, rgba(88,110,136,.24) 82%, transparent 94%),
radial-gradient(circle 2.2px at 72% 22%, rgba(255,255,255,.72) 0 34%, rgba(255,255,255,.36) 58%, rgba(88,110,136,.22) 82%, transparent 94%),
radial-gradient(circle 4.2px at 81% 52%, rgba(255,255,255,.78) 0 34%, rgba(255,255,255,.4) 58%, rgba(88,110,136,.24) 82%, transparent 94%),
radial-gradient(circle 2.6px at 90% 78%, rgba(255,255,255,.74) 0 34%, rgba(255,255,255,.38) 58%, rgba(88,110,136,.22) 82%, transparent 94%);
}
.hs-window::after {
background-image:
linear-gradient(180deg, transparent 0%, rgba(255,255,255,.18) 62%, rgba(255,255,255,.5) 100%),
linear-gradient(180deg, transparent 0%, rgba(255,255,255,.16) 66%, rgba(255,255,255,.44) 100%),
linear-gradient(180deg, transparent 0%, rgba(255,255,255,.17) 70%, rgba(255,255,255,.42) 100%),
linear-gradient(180deg, transparent 0%, rgba(255,255,255,.14) 74%, rgba(255,255,255,.36) 100%);
background-size: 3px 90%, 2px 78%, 2.6px 86%, 1.6px 66%;
background-position: 22% -32%, 41% -20%, 64% -42%, 85% -24%;
background-repeat: no-repeat;
animation: hsDrip 12s ease-in-out infinite;
}


.hs-vinyl { background: radial-gradient(circle at 78% 190%, #2d2d35 0%, #18181f 44%, #0a0a0e 100%); }
.hs-vinyl::before {
background-image: repeating-radial-gradient(circle at 78% 190%,
transparent 0 4px, rgba(255,255,255,.085) 4px 5px, transparent 5px 7.6px);
}
.hs-vinyl::after {
background-image:
linear-gradient(108deg, transparent 16%, rgba(255,255,255,.15) 28%, transparent 40%),
linear-gradient(108deg, transparent 58%, rgba(255,255,255,.1) 68%, transparent 78%);
animation: hsBreath 11s ease-in-out infinite;
}


.hs-grid { background: linear-gradient(180deg, #fbfcf5 0%, #f1f8e8 100%); }
.hs-grid::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E"),
repeating-linear-gradient(180deg, transparent 0 14px, rgba(122,164,130,.4) 14px 15px);
background-size: 160px 160px, 100% 15px;
}
.hs-grid::after {
inset: 0;
background-image:
linear-gradient(90deg, transparent 6.2%, rgba(214,126,126,.7) 6.5% 6.85%, transparent 7.1%),
linear-gradient(180deg, rgba(150,180,150,.12) 0%, transparent 30%),
radial-gradient(circle at 2.2% 50%, rgba(120,120,120,.18) 0 2px, transparent 2.6px);
background-size: 100% 100%, 100% 100%, 100% 42px;
}


@media (prefers-reduced-motion: reduce) {
.band-skin::before, .band-skin::after,
.skin-thumb::before, .skin-thumb::after,
.hs-meteor .bs-m { animation: none !important; }
.hs-meteor .bs-m { display: none !important; }
}


.author-hero-band.band-skin.is-swapping { animation: dmSkinSwap .42s ease both; }
@keyframes dmSkinSwap { from { opacity: .45 } to { opacity: 1 } }




.hs-lake {
background-color: #1b2a45;
background-image:
var(--grain),
linear-gradient(180deg, #eaa383 0%, #d68c8b 16%, #8a6b9c 40%, #33486b 64%, #0e1a2e 100%);
}
.hs-lake::before {
background-image:
radial-gradient(ellipse 11% 32% at 66% 28%, rgba(255,206,150,.42) 0 40%, transparent 78%),
radial-gradient(ellipse 5% 16% at 66% 28%, rgba(255,246,214,.98) 0 52%, rgba(255,206,150,.7) 72%, transparent 92%),
radial-gradient(ellipse 44% 18% at 6% 68%, rgba(26,36,62,.95) 0 58%, transparent 62%),
radial-gradient(ellipse 54% 15% at 56% 66%, rgba(42,50,80,.9) 0 58%, transparent 62%),
radial-gradient(ellipse 38% 12% at 96% 68%, rgba(22,32,58,.95) 0 58%, transparent 62%),
repeating-linear-gradient(180deg, rgba(255,228,190,.16) 0 1px, transparent 1px 11px);
background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 44%;
background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 100%;
background-repeat: no-repeat;
}
.hs-lake::after {
background-image:
radial-gradient(ellipse 4% 30% at 66% 84%, rgba(255,206,150,.4), transparent 80%),
linear-gradient(180deg, rgba(9,15,30,.3) 0%, transparent 28%, transparent 60%, rgba(6,12,26,.4) 100%),
radial-gradient(130% 110% at 50% 46%, transparent 40%, rgba(7,12,28,.34) 100%);
}


.hs-cloud {
background-color: #3f5776;
background-image:
var(--grain),
linear-gradient(180deg, #223a5a 0%, #48698b 36%, #86a3b9 66%, #c2beb5 100%);
}
.hs-cloud::before {
background-image:
radial-gradient(ellipse 56% 20% at 76% 44%, rgba(255,222,176,.42), transparent 74%),
radial-gradient(ellipse 44% 16% at 10% 54%, rgba(255,255,255,.34) 0 55%, transparent 74%),
radial-gradient(ellipse 52% 14% at 76% 58%, rgba(255,255,255,.3) 0 55%, transparent 74%),
radial-gradient(ellipse 32% 20% at 16% 78%, rgba(255,255,255,.72) 0 54%, rgba(226,234,243,.28) 68%, transparent 80%),
radial-gradient(ellipse 38% 18% at 56% 84%, rgba(255,255,255,.68) 0 52%, rgba(226,234,243,.24) 68%, transparent 80%),
radial-gradient(ellipse 30% 16% at 92% 74%, rgba(255,255,255,.58) 0 54%, rgba(226,234,243,.2) 70%, transparent 82%);
}
.hs-cloud::after {
background-image:
linear-gradient(180deg, rgba(12,24,44,.36) 0%, transparent 34%, transparent 62%, rgba(20,28,46,.28) 100%),
radial-gradient(140% 120% at 50% 40%, transparent 42%, rgba(14,24,44,.32) 100%);
}


.hs-forest {
background-color: #16241f;
background-image:
var(--grain),
linear-gradient(180deg, #2a4438 0%, #345344 38%, #22392f 70%, #101b18 100%);
}
.hs-forest::before {
background-image:
radial-gradient(ellipse 50% 32% at 74% 4%, rgba(255,244,200,.44), transparent 72%),
linear-gradient(102deg, transparent 0 26%, rgba(255,242,198,.18) 26% 33%, transparent 33% 100%),
linear-gradient(99deg, transparent 0 58%, rgba(255,242,198,.13) 58% 64%, transparent 64% 100%),
linear-gradient(90deg, transparent 0 6%, rgba(12,24,21,.12) 6%, rgba(12,24,21,.82) 6.5% 10%, rgba(12,24,21,.12) 10.5%, transparent 11% 100%),
linear-gradient(91deg, transparent 0 34%, rgba(18,32,27,.7) 34.4% 36%, transparent 36.4% 100%),
linear-gradient(89deg, transparent 0 59%, rgba(11,22,19,.12) 59%, rgba(11,22,19,.84) 59.5% 62%, rgba(11,22,19,.12) 62.5%, transparent 63% 100%),
linear-gradient(91deg, transparent 0 88%, rgba(10,21,18,.84) 88.4% 90.6%, transparent 91% 100%);
}
.hs-forest::after {
background-image:
linear-gradient(180deg, transparent 0 40%, rgba(214,232,214,.16) 54%, rgba(206,224,204,.24) 70%, transparent 88%),
linear-gradient(180deg, rgba(8,16,14,.28), transparent 36%, transparent 64%, rgba(6,12,10,.5)),
radial-gradient(140% 110% at 50% 42%, transparent 40%, rgba(5,12,10,.38) 100%);
}


.hs-peak {
background-color: #1a2c47;
background-image:
var(--grain),
radial-gradient(130% 100% at 50% 40%, transparent 42%, rgba(8,16,32,.38) 100%),
linear-gradient(180deg, #1d3354 0%, #3d5e81 36%, #89a5bd 70%, #c2d0da 100%);
}
.hs-peak::before {
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%0A%3Cdefs%3E%3ClinearGradient id='m' gradientUnits='userSpaceOnUse' x1='0' y1='80' x2='0' y2='300'%3E%0A%3Cstop offset='0%' stop-color='%23f0f7fc'/%3E%3Cstop offset='15%' stop-color='%23dceaf4'/%3E%0A%3Cstop offset='35%' stop-color='%238aa9c8'/%3E%3Cstop offset='68%' stop-color='%233d5e81'/%3E%0A%3Cstop offset='100%' stop-color='%23233d5d'/%3E%3C/linearGradient%3E%3C/defs%3E%0A%3Cpath d='M0,300 L0,185 C110,160 210,180 320,145 C430,110 510,60 620,85 C730,110 820,155 930,130 C1040,105 1130,140 1200,160 L1200,300 Z' fill='%238ba7c2' fill-opacity='.5'/%3E%0A%3Cpath d='M0,300 L0,235 C130,215 250,235 370,200 C480,168 560,80 690,105 C810,128 890,190 1010,175 C1110,162 1160,195 1200,210 L1200,300 Z' fill='url(%23m)'/%3E%0A%3C/svg%3E");
background-size: 100% 100%;
background-position: 0 100%;
background-repeat: no-repeat;
}
.hs-peak::after {
background-image: linear-gradient(180deg, transparent 0 62%, rgba(226,238,246,.18) 74%, transparent 90%);
}


.hs-ink {
background-color: #2a3034;
background-image:
var(--grain),
radial-gradient(ellipse 1.2% 4% at 82% 18%, rgba(206,92,76,.92) 0 56%, transparent 78%),
linear-gradient(180deg, #3a4245 0%, #4c5558 40%, #6d7770 72%, #9aa196 100%);
}
.hs-ink::before {
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%0A%3Cpath d='M0,300 L0,200 C140,175 260,205 390,170 C520,135 620,100 750,140 C880,180 1010,200 1200,165 L1200,300 Z' fill='%232a3337' fill-opacity='.46'/%3E%0A%3Cpath d='M0,300 L0,250 C150,225 290,260 430,225 C560,192 650,155 790,190 C930,225 1060,250 1200,215 L1200,300 Z' fill='%23192024' fill-opacity='.82'/%3E%0A%3C/svg%3E");
background-size: 100% 100%;
background-position: 0 100%;
background-repeat: no-repeat;
}
.hs-ink::after {
background-image: linear-gradient(180deg, transparent 0 52%, rgba(226,230,220,.42) 58% 65%, transparent 72%);
}

.hs-moon {
background-color: #0d142c;
background-image:
var(--grain),
radial-gradient(120% 90% at 76% 18%, rgba(74,92,158,.5), transparent 62%),
linear-gradient(180deg, #101a36 0%, #1b2a4c 46%, #2a3a5e 76%, #0f182e 100%);
}
.hs-moon::before {
background-image:
radial-gradient(ellipse 14% 44% at 72% 24%, rgba(206,222,255,.22) 0 40%, transparent 76%),
radial-gradient(ellipse 7% 21% at 72% 24%, #f2f1e6 0 58%, #d8dccf 74%, rgba(216,220,207,.6) 86%, transparent 94%),
radial-gradient(ellipse 1.6% 5% at 69% 20%, rgba(150,158,152,.5) 0 56%, transparent 78%),
radial-gradient(ellipse 1.2% 4% at 75% 27%, rgba(150,158,152,.44) 0 56%, transparent 78%),
radial-gradient(ellipse .9% 3% at 71% 29%, rgba(150,158,152,.42) 0 56%, transparent 78%),
radial-gradient(ellipse 46% 6% at 26% 40%, rgba(170,188,224,.18), transparent 74%),
radial-gradient(ellipse 38% 5% at 62% 58%, rgba(170,188,224,.13), transparent 74%),
radial-gradient(ellipse 60% 12% at 22% 96%, rgba(6,10,24,.9) 0 60%, transparent 64%),
radial-gradient(ellipse 52% 9% at 82% 98%, rgba(6,10,24,.9) 0 60%, transparent 64%);
}
.hs-moon::after {
background-image:
linear-gradient(180deg, rgba(6,10,24,.22), transparent 30%, transparent 66%, rgba(4,8,20,.5)),
radial-gradient(130% 110% at 50% 44%, transparent 42%, rgba(4,8,20,.4) 100%);
}


.author-hero-band.hs-candy::before {
background-size: 50px 47px, 50px 47px, 50px 47px;
}

.author-hero-band.hs-sakura::before {
background-size: 190px 137px;
}
.author-hero-band.hs-sakura::after {
background-size: 100% 100%, 232px 168px;
}

.author-hero-band.hs-candy { opacity: .78; }
.author-hero-band.hs-sakura { opacity: .72; }


.author-band-skin {
position: absolute; top: 10px; right: 12px; z-index: 3;
display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
font-size: 12px; font-family: inherit; line-height: 1;
padding: 5px 10px; border-radius: 999px;
border: 1px solid rgba(255,255,255,.55); background: rgba(22,16,42,.44); color: #fff;
box-shadow: 0 1px 8px rgba(20,14,40,.28); backdrop-filter: blur(4px);
transition: background .15s, border-color .15s;
}
.author-band-skin:hover { background: rgba(22,16,42,.6); border-color: rgba(255,255,255,.86); }


.skin-modal { max-height: 88vh; overflow-y: auto; }
.skin-group-t { margin: 16px 0 0; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.skin-group:first-of-type .skin-group-t { margin-top: 14px; }
.skin-group .skin-grid { margin-top: 8px; }
.skin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.skin-item {
display: block; width: 100%; padding: 7px; cursor: pointer; font-family: inherit;
border: 1px solid var(--border); border-radius: 12px; background: #fff;
transition: border-color .18s ease, box-shadow .22s ease, transform .28s cubic-bezier(.16, 1, .3, 1);
}
.skin-item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(62, 56, 130, .12); }
.skin-item:active { transform: translateY(0) scale(.99); }
.skin-item.is-on { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--tk58-rgb), .16), 0 5px 16px rgba(62,56,130,.1); }

.skin-thumb {
display: block; height: 46px; border-radius: 8px; background-color: #5b5bd6;
box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 -10px 18px rgba(12,10,30,.12);
}
.skin-name { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.skin-item.is-on .skin-name { color: var(--primary); font-weight: 600; }
.skin-modal-hint { margin: 0; font-size: 12.5px; color: var(--muted); }

.author-hero-main {
display: flex; align-items: flex-start; gap: 18px;
padding: 22px 24px 20px; position: relative; z-index: 1;
}
.author-avatar {
width: 84px; height: 84px; border-radius: 50%;
background: var(--tk96); color: var(--primary);
display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700;
border: 3px solid #fff; box-shadow: 0 4px 16px rgba(var(--tk58-rgb), .18);
overflow: hidden; flex: none;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-info { min-width: 0; padding-top: 44px; flex: 1; }


.author-hero .author-title { color: var(--hero-ink); text-shadow: 0 1px 10px rgba(10, 8, 28, .26); }
.author-hero .author-meta { color: var(--hero-ink-2); }
.author-hero .author-stats { color: var(--hero-ink-2); }
.author-hero .author-meta .am-item + .am-item::before { color: var(--hero-line); }
.author-hero .author-links .al-link {
color: var(--hero-ink); background: var(--hero-chip-bg); border-color: var(--hero-chip-bd);
}
.author-hero .author-links .al-link:hover {
color: var(--hero-ink); border-color: var(--hero-ink); background: rgba(255, 255, 255, .28);
}
.author-hero .author-nick-btn {
color: var(--hero-ink); background: var(--hero-chip-bg); border-color: var(--hero-chip-bd);
}
.author-hero .author-nick-btn:hover {
color: var(--hero-ink); border-color: var(--hero-ink); background: rgba(255, 255, 255, .28);
}

.author-hero .author-edit-btn {
background: rgba(255, 255, 255, .72); color: #2a2a3c;
border-color: rgba(255, 255, 255, .55);
backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
box-shadow: 0 1px 8px rgba(28, 20, 56, .14);
}
.author-hero .author-edit-btn:hover {
background: rgba(255, 255, 255, .92); color: var(--primary);
border-color: rgba(255, 255, 255, .8);
}

:is(.hs-paper, .hs-mist, .hs-candy, .hs-snow, .hs-sakura, .hs-grid, .hs-window)
~ :is(.author-hero-main, .author-stat-grid, .author-acts, .author-tabs) {
--hero-ink: #232a36;
--hero-ink-2: rgba(35, 42, 54, .72);
--hero-line: rgba(35, 42, 54, .22);
--hero-chip-bg: rgba(255, 255, 255, .58);
--hero-chip-bd: rgba(35, 42, 54, .16);
}
:is(.hs-paper, .hs-mist, .hs-candy, .hs-snow, .hs-sakura, .hs-grid, .hs-window) ~ .author-hero-main .author-title {
text-shadow: 0 1px 10px rgba(255, 255, 255, .5);
}
.author-info h1, .author-info .author-title { font-size: 21px; margin-bottom: 4px; }
.author-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.author-nick-btn {
display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
font-size: 12.5px; font-family: inherit; font-weight: 500;
padding: 3px 10px; border-radius: 999px;
border: 1px solid var(--border); background: #fff; color: var(--muted);
transition: color .15s, border-color .15s, background .15s;
}
.author-nick-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--tk98); }
.author-stats { font-size: 13px; color: var(--muted); }

.author-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.author-meta .am-item + .am-item::before { content: '·'; margin: 0 8px; color: var(--border); }

.author-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.author-links .al-link {
display: inline-flex; align-items: center; line-height: 1;
padding: 5px 10px; border-radius: 999px;
font-size: 12px; color: var(--muted); text-decoration: none;
background: var(--tk98); border: 1px solid var(--border);
transition: color .15s, border-color .15s, background .15s;
}
.author-links .al-link:hover { color: var(--primary); border-color: var(--primary); background: var(--tk98); }

.author-bio {
margin: 8px 0 0; font-size: 13px; line-height: 1.65;
color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 640px;
}
.author-hero .author-bio { color: var(--hero-ink-2); }

@media (max-width: 640px) {
.author-links { gap: 0 6px; margin-top: 6px; }
.author-links .al-link {
padding: 0; border: 0; background: none;
font-size: 13px; line-height: 1.5; color: var(--muted);
}
.author-links .al-link + .al-link::before {
content: '·'; margin-right: 6px; color: var(--border);
}
.author-links .al-link:hover { background: none; }
}

.author-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.author-badge {
display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
font-size: 12px; font-family: inherit; font-weight: 500; line-height: 1;
padding: 5px 11px; border-radius: 999px;
color: var(--text); background: var(--tk98); border: 1px solid var(--border);
transition: border-color .15s, background .15s;
}
.author-badge:hover { border-color: var(--primary); background: var(--tk98); }
.author-badge .ab-dot {
width: 8px; height: 8px; border-radius: 50%; flex: none;
background: var(--badge-c, var(--tk58)); box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--badge-c, var(--tk58)) 18%, transparent);
}

.author-stat-grid {
display: grid; grid-template-columns: repeat(6, 1fr);
border-top: 1px solid var(--hero-line); background: transparent;
position: relative; z-index: 1;
}
.author-stat-grid .as-cell {
display: flex; flex-direction: column; align-items: center; gap: 2px;
padding: 13px 6px 11px; cursor: default; min-width: 0;
}
.author-stat-grid .as-cell + .as-cell { border-left: 1px solid var(--hero-line); }
.author-stat-grid .as-ico { display: inline-flex; opacity: .72; color: var(--hero-ink); }
.author-stat-grid .as-ico svg { width: 15px; height: 15px; display: block; }

.author-stat-grid .as-ico svg path[fill="var(--tk58)"] { fill: currentColor; }
.author-stat-grid .as-val { font-size: 17px; font-weight: 700; color: var(--hero-ink); line-height: 1.25; }

.author-stat-grid .as-cell.is-ph .as-val { color: var(--hero-ink-2); font-weight: 500; }
.author-stat-grid .as-cell.is-ph .as-ico { opacity: .4; }
.author-stat-grid .as-label { font-size: 11.5px; color: var(--hero-ink-2); white-space: nowrap; }


.author-edit-btn {
flex: none; margin-top: 42px; white-space: nowrap;
font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
padding: 8px 18px; border-radius: 10px; line-height: 1.2;
background: var(--tk96); border: 1px solid transparent; color: var(--text);
transition: background .15s, color .15s, border-color .15s;
}
.author-edit-btn:hover { background: var(--tk94); color: var(--primary); border-color: var(--tk90); }


.author-acts {
display: grid; grid-template-columns: repeat(5, 1fr);
padding: 10px 6px 8px;

position: relative; z-index: 1; background: transparent;
}
.au-act {
display: flex; flex-direction: column; align-items: center; gap: 7px;
font-family: inherit; font-size: 12.5px; font-weight: 500; color: var(--hero-ink);
background: none; border: none; cursor: pointer;
padding: 6px 4px; border-radius: 12px; min-width: 0;
transition: background .15s, color .15s;
}
.au-act:hover { background: var(--hero-chip-bg); color: var(--hero-ink); }

.au-act-ico { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--hero-ink); }
.au-act-ico svg { width: 24px; height: 24px; display: block; }
.au-act:hover .au-act-ico { color: var(--hero-ink); }


.author-tabs {
display: flex; align-items: stretch; gap: 4px;
border-top: 1px solid var(--hero-line);
padding: 0 10px; background: transparent;
position: relative; z-index: 1;
}
.au-tab {
position: relative; flex: 1 1 0; min-width: 0;
font-family: inherit; font-size: 14px; font-weight: 500; color: var(--hero-ink-2);
background: none; border: none; cursor: pointer; padding: 13px 4px 12px;
transition: color .15s;
}
.au-tab:hover { color: var(--hero-ink); }
.au-tab.is-on { color: var(--hero-ink); font-weight: 700; }
.au-tab.is-on::after {
content: ''; position: absolute; left: 50%; transform: translateX(-50%);
bottom: 0; width: 26px; height: 3px; border-radius: 3px 3px 0 0; background: var(--hero-ink);
}

.au-empty-act { margin: 14px 0 0; }

#promoMine { scroll-margin-top: 84px; }

@media (max-width: 640px) {
.author-band-skin { top: 7px; right: 9px; font-size: 11.5px; padding: 4px 9px; }
.skin-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.skin-thumb { height: 40px; }
.author-hero-main { padding: 18px 14px 16px; gap: 14px; }
.author-avatar { width: 64px; height: 64px; font-size: 26px; }
.author-info { padding-top: 34px; }
.author-info h1, .author-info .author-title { font-size: 18px; }
.author-edit-btn { margin-top: 34px; padding: 7px 13px; font-size: 12.5px; }

.author-stat-grid { grid-template-columns: repeat(3, 1fr); }
.author-stat-grid .as-cell { padding: 10px 4px 9px; }
.author-stat-grid .as-cell:nth-child(4) { border-left: none; }
.author-stat-grid .as-cell:nth-child(n+4) { border-top: 1px solid var(--hero-line); }
.author-stat-grid .as-val { font-size: 16px; }
.author-stat-grid .as-label { font-size: 11px; }
.author-acts { padding: 8px 2px 4px; }
.au-act { font-size: 12px; gap: 5px; }
.au-act-ico, .au-act-ico svg { width: 22px; height: 22px; }
.author-tabs { padding: 0 6px; }
.au-tab { font-size: 13.5px; padding: 12px 2px 11px; }
}


.au-sheet { max-width: 420px; }
.au-sheet-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.au-sheet-list { display: flex; flex-direction: column; gap: 2px; }
.au-sheet-row {
display: flex; align-items: center; gap: 12px; width: 100%;
padding: 10px 8px; border-radius: 10px; border: none; background: none;
font-family: inherit; cursor: pointer; text-align: left;
transition: background .15s;
}
.au-sheet-row:hover { background: var(--tk98); }
.au-sheet-ico {
width: 32px; height: 32px; border-radius: 9px; flex: none;
background: var(--tk96); color: var(--primary);
display: flex; align-items: center; justify-content: center;
}
.au-sheet-ico svg { width: 17px; height: 17px; display: block; }
.au-sheet-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.au-sheet-main b { font-size: 14px; font-weight: 600; color: var(--text); }
.au-sheet-main i {
font-size: 12px; font-style: normal; color: var(--muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.au-sheet-badge {
flex: none; font-size: 11px; font-weight: 600; line-height: 1;
padding: 4px 7px; border-radius: 999px; background: var(--danger); color: #fff;
}
.au-sheet-more { flex: none; color: var(--muted); font-size: 15px; }


.au-sw {
flex: none; width: 38px; height: 22px; border-radius: 999px;
background: #d9d9e3; position: relative; transition: background .18s;
}
.au-sw i {
position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25);
transition: left .18s;
}
.au-sw.on { background: var(--primary); }
.au-sw.on i { left: 18px; }
.au-sheet-row:disabled { opacity: .65; cursor: default; }


.links-modal { max-width: 430px; }
.links-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.links-hint { margin: 0 0 14px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.links-rows { display: flex; flex-direction: column; gap: 8px; }
.links-inp {
width: 100%; box-sizing: border-box; padding: 10px 12px;
font-size: 13.5px; font-family: inherit; color: var(--text);
background: var(--tk98); border: 1px solid var(--border); border-radius: 10px;
}
.links-inp::placeholder { color: #b8b8c8; }
.links-inp:focus { outline: 2px solid var(--tk86); border-color: var(--primary); background: #fff; }
.links-msg { margin: 8px 0 0; min-height: 16px; font-size: 12.5px; color: var(--muted); }
.links-msg.err { color: var(--danger); }
.links-save { width: 100%; margin-top: 10px; }


.bio-modal { max-width: 620px; }
.bio-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.bio-hint { margin: 0 0 16px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.bio-field { display: flex; align-items: flex-start; gap: 14px; }
.bio-label { flex: none; width: 76px; padding-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.bio-box { position: relative; flex: 1; min-width: 0; }
.bio-inp {
display: block; width: 100%; box-sizing: border-box;
min-height: 100px; padding: 10px 12px 26px;
font-size: 13.5px; font-family: inherit; line-height: 1.6; color: var(--text);
background: var(--tk98); border: 1px solid var(--border); border-radius: 10px; resize: vertical;
}
.bio-inp::placeholder { color: #b8b8c8; }
.bio-inp:focus { outline: 2px solid var(--tk86); border-color: var(--primary); background: #fff; }
.bio-count {
position: absolute; right: 12px; bottom: 9px;
font-size: 12px; color: var(--muted); pointer-events: none;
}
.bio-msg { margin: 8px 0 0 90px; min-height: 16px; font-size: 12.5px; color: var(--muted); }
.bio-msg.err { color: var(--danger); }
.bio-save { width: 100%; margin-top: 10px; }
@media (max-width: 640px) {
.bio-field { flex-direction: column; gap: 6px; }
.bio-label { width: auto; padding-top: 0; }
.bio-msg { margin-left: 0; }
}


.modal.eh-modal { max-width: 560px; }
.eh-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.eh-hint { margin: 0 0 16px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.eh-form { display: flex; flex-direction: column; gap: 14px; }
.eh-field { display: flex; flex-direction: column; gap: 6px; }

.eh-modal .nick-msg:empty { display: none; }
.eh-opt { font-weight: 400; color: var(--muted); }
.eh-ava {
display: flex; align-items: center; gap: 16px;
padding: 12px; border-radius: 12px;
background: var(--tk98); border: 1px solid var(--border);
}
.eh-ava .author-avatar { flex: none; width: 64px; height: 64px; font-size: 26px; }
.eh-ava-side { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.eh-ava-btns { width: 100%; flex-wrap: wrap; }
.eh-ava-side .nick-msg { min-height: 0; }
.eh-ava-side .ava-reset { align-self: flex-start; }
.eh-switch {
display: flex; align-items: center; gap: 12px;
padding: 10px 12px; border-radius: 12px;
background: var(--tk98); border: 1px solid var(--border);
}
.eh-switch-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eh-switch-txt b { font-size: 13.5px; font-weight: 600; color: var(--text); }
.eh-switch-txt span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.eh-switch .au-sw { border: 0; padding: 0; cursor: pointer; }

.eh-foot {
position: sticky; bottom: -24px; z-index: 1;
margin: 0 -24px -24px; padding: 10px 24px 24px;
background: var(--card); border-top: 1px solid var(--border);
}
.eh-save { width: 100%; }
.eh-form-msg { min-height: 18px; margin-bottom: 8px; }
@media (max-width: 640px) {
.eh-ava { align-items: flex-start; gap: 12px; padding: 12px 10px; }
.eh-ava .author-avatar { width: 56px; height: 56px; font-size: 22px; }
.eh-ava-btns .ava-btn { flex: 1 1 auto; }
.eh-foot { bottom: -24px; margin: 0 -24px -24px; padding: 10px 24px 24px; }
}


.author-tools { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.author-tool-btn {
display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
font-size: 12.5px; font-family: inherit; font-weight: 500;
padding: 5px 12px; border-radius: 999px;
border: 1px solid var(--border); background: #fff; color: var(--text);
transition: border-color .15s, background .15s, color .15s;
max-width: 100%;
}
.author-tool-btn .ico { display: inline-flex; width: 14px; height: 14px; color: var(--muted); }
.author-tool-btn .ico svg { width: 14px; height: 14px; display: block; }
.author-tool-btn:hover { border-color: var(--primary); background: var(--tk98); }
.author-tool-btn:hover .ico { color: var(--primary); }
.author-tool-btn .at-sub {
color: var(--muted); font-weight: 400;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 560px) {

.author-tool-btn { flex-wrap: wrap; row-gap: 2px; padding: 6px 10px; }
.author-tool-btn .at-sub { flex-basis: 100%; padding-left: 20px; }
}


.author-join {
display: flex; align-items: center; justify-content: space-between; gap: 16px;
margin: 4px 0 8px; padding: 16px 20px;
background: var(--tk98); border: 1px dashed var(--tk84); border-radius: 16px;
}
.author-join .aj-copy b { display: block; font-size: 15px; margin-bottom: 3px; }
.author-join .aj-copy p { margin: 0; font-size: 13px; color: var(--muted); max-width: 560px; }
.author-join .aj-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.author-join .aj-btn {
font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
padding: 9px 20px; border-radius: 999px; border: none;
background: var(--primary); color: #fff; transition: filter .15s, transform .15s;
}
.author-join .aj-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.author-join .aj-link {
font-size: 13px; color: var(--primary); text-decoration: none; white-space: nowrap;
}
.author-join .aj-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
.author-join { flex-direction: column; align-items: stretch; }
.author-join .aj-actions { justify-content: flex-start; }
}


.author-danger-row { margin-top: 18px; text-align: center; }
.author-del-btn {
font-size: 12px; font-family: inherit; cursor: pointer;
background: none; border: none; padding: 4px 8px;
color: var(--muted); text-decoration: underline dotted;
transition: color .15s;
}
.author-del-btn:hover { color: var(--danger); }


.author-body {
display: grid; grid-template-columns: minmax(0, 1fr);
gap: 20px; align-items: start;
}
.author-body.has-side { grid-template-columns: minmax(0, 1fr) 272px; }
.author-left { min-width: 0; }
.author-side { position: sticky; top: 84px; margin-top: 32px; }   


.author-side-skel {
height: 132px; border-radius: 16px; overflow: hidden;
background: var(--tk96); border: 1px solid var(--tk94); position: relative;
}
.author-side-skel::after {
content: ''; position: absolute; inset: 0;
background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%);
transform: translateX(-100%);
animation: asSkelSweep 1.15s ease-in-out infinite;
}
@keyframes asSkelSweep {
to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
.author-side-skel::after { animation: none; opacity: 0; }
}
@media (max-width: 900px) {
.author-side-skel { display: none !important; }   
}


.author-find-strip {
background: var(--tk98); border: 1px dashed var(--tk86); border-radius: 14px;
padding: 15px 18px;
margin-bottom: 20px;   
}
.afs-head { display: flex; align-items: flex-start; gap: 10px; }

.author-find-strip .afs-head { cursor: pointer; }
.author-find-strip .afs-head:hover .afs-txt b { color: var(--primary-dark); }
.afs-ico {
width: 34px; height: 34px; border-radius: 10px; flex: none;
background: var(--tk96); color: var(--primary);
display: flex; align-items: center; justify-content: center;
}
.afs-ico svg { width: 16px; height: 16px; display: block; }
.afs-txt { min-width: 0; flex: 1; }
.afs-txt b { display: block; font-size: 13.5px; line-height: 1.35; }
.afs-txt span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.afs-btn {
flex: none; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
padding: 6px 14px; border-radius: 999px; border: 1px solid transparent;
background: linear-gradient(135deg, var(--tk68), var(--tk58)); color: #fff;
transition: filter .15s;
}
.afs-btn:hover { filter: brightness(1.08); }
.afs-btn.is-mini { padding: 4px 12px; font-size: 12px; }
.afs-rows { margin-top: 4px; }
.afs-row {
display: flex; align-items: center; gap: 8px;
padding-top: 9px; margin-top: 9px; border-top: 1px dashed var(--tk90);
}
.afs-work {
min-width: 0; flex: 1; font-size: 13px; font-weight: 600;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.afs-chips { flex: none; display: inline-flex; gap: 5px; }
.afs-chip {
font-style: normal; font-size: 11.5px; color: #b25e00;
background: #fff4e5; border: 1px solid #f0d9b5; border-radius: 999px; padding: 2px 8px;
}
@media (max-width: 640px) {
.author-find-strip { padding: 13px 14px; }
.afs-chips { display: none; }   
}

.author-hide-strip { background: #fff9f0; border-color: #f0d3a8; }
.author-hide-strip .afs-ico { background: #fdf0dc; color: #b4700f; }
.author-hide-strip .afs-btn { background: linear-gradient(135deg, #f0a13c, #d98518); }
.au-hidden-note p, .au-blocked-note p { margin: 0; }
.au-hidden-note .au-hidden-sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.au-blocked-note .link-btn { color: var(--primary); font-weight: 600; padding: 0 2px; }
.au-blocked-note .link-btn:hover { color: var(--primary-dark); }
.creator-card {
background: #fff; border: 1px solid var(--border); border-radius: 16px;
padding: 16px;
}
.cc-head { display: flex; align-items: center; gap: 12px; }
.cc-ico {
width: 44px; height: 44px; border-radius: 12px; flex: none;
background: var(--tk96); color: var(--primary);
display: flex; align-items: center; justify-content: center;
}
.cc-ico svg { width: 22px; height: 22px; display: block; }
.cc-title { min-width: 0; }
.cc-title b { display: block; font-size: 15px; line-height: 1.3; }
.cc-title span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cc-btn {
margin-top: 14px; width: 100%;
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
padding: 9px 0; border-radius: 10px; border: 1px solid transparent;
background: linear-gradient(135deg, var(--tk68), var(--tk58)); color: #fff;
transition: filter .15s, transform .15s;
}
.cc-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cc-btn svg { width: 14px; height: 14px; }


.author-medals {
margin-top: 12px; background: #fff;
border: 1px solid var(--border); border-radius: 16px;
padding: 14px 16px 16px;
}
.author-medals .medals-head {
display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
margin-bottom: 10px;
}
.author-medals .medals-head b { font-size: 14px; }
.author-medals .medals-head a {
font-size: 12px; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.author-medals .medals-head a:hover { color: var(--primary); text-decoration: underline; }
.author-medals .author-badges { margin-top: 0; gap: 5px; }

@media (max-width: 900px) {

.author-body { display: flex; flex-direction: column; gap: 16px; }
.author-side { position: static; margin-top: 0; }
}


.detail-author {
background: none; border: none; color: var(--primary); font-size: 13px;
cursor: pointer; padding: 2px 0; margin-bottom: 0;
}

.claim-entry {
display: inline-block; background: var(--tk96); border: 1px dashed var(--tk88);
color: var(--tk58); font-size: 12px; padding: 4px 10px; border-radius: 999px;
cursor: pointer; margin-bottom: 12px; transition: all .15s;
}
.claim-entry:hover:not(:disabled) { background: var(--tk96); border-color: var(--primary); }
.claim-entry.is-pending { color: var(--muted); border-style: solid; cursor: default; background: var(--tk96); }

.claim-entry.is-auth { border-style: solid; border-color: var(--primary); font-weight: 500; }
.label-sub { color: #9a9ab0; font-weight: 400; }
.claim-modal { max-width: 520px; }
.claim-modal input[readonly] { background: var(--tk96); color: var(--muted); }

.detail-stats { font-size: 11.5px; color: #9aa0b2; margin-bottom: 14px; }
.detail-stats:empty { display: none; }
.badge-featured { background: #fff7e6; color: #d48806; }
.detail-tools { margin-top: 18px; background: var(--tk98); border-radius: 12px; padding: 12px 14px; }
.detail-tools-head { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tool-item {
display: flex; flex-direction: column; text-decoration: none; color: var(--text);
padding: 8px 0; border-bottom: 1px dashed var(--tk92);
}
.tool-item:last-child { border-bottom: none; }
.tool-item b { font-size: 13px; color: var(--primary); }
.tool-item span { font-size: 12px; color: var(--muted); }
.detail-foot { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 18px; align-items: center; }
.detail-foot > * { flex: none; }


.owner-bar {
display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
margin-top: 14px; padding: 10px 12px;
background: linear-gradient(180deg, var(--tk98) 0%, var(--tk96) 100%);
border: 1px solid var(--tk90); border-radius: 12px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.owner-bar-label {
display: flex; align-items: center; gap: 7px; min-width: 0;
font-size: 12px; font-weight: 600; color: var(--primary-dark);
white-space: nowrap;
}
.owner-bar-badge { display: inline-flex; flex: none; align-items: center; justify-content: center; }
.owner-bar-label .ico, .owner-bar-label .ico svg { width: 13px; height: 13px; display: block; }
.owner-bar-badge .ob-ico-admin { display: none; }
.owner-bar-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.owner-bar-title { display: block; }
.owner-bar-sub { display: block; font-size: 11.5px; font-weight: 400; color: #a58a52; line-height: 1.45; }
.owner-bar-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.owner-bar-sep { flex: none; width: 1px; height: 18px; background: var(--tk88); margin: 0 1px; }
.owner-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 5px;
height: 32px; padding: 0 12px; box-sizing: border-box;
background: #fff; border: 1px solid var(--tk90); border-radius: 9px;
color: var(--text); font-family: inherit; font-size: 12.5px; line-height: 1;
white-space: nowrap; cursor: pointer;
transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.owner-btn .ico, .owner-btn .ico svg { width: 14px; height: 14px; display: block; }
.owner-btn:hover {
transform: translateY(-1px); border-color: var(--primary); color: var(--primary);
box-shadow: 0 3px 10px rgba(var(--tk44-rgb), .12);
}
.owner-btn:active { transform: translateY(0); box-shadow: none; }
.owner-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.owner-btn.is-edit {
background: linear-gradient(135deg, var(--tk62), var(--tk54));
border-color: var(--tk56); color: #fff; font-weight: 600;
box-shadow: 0 2px 6px rgba(var(--tk54-rgb), .22);
}
.owner-btn.is-edit:hover {
background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
box-shadow: 0 4px 12px rgba(var(--tk54-rgb), .28);
}

.owner-btn.is-code { background: var(--tk96); border-color: var(--tk88); color: var(--primary-dark); font-weight: 600; }
.owner-btn.is-code:hover { background: var(--tk94); border-color: var(--primary); color: var(--primary-dark); }

.owner-btn.is-promo { background: #fff7e6; border-color: #f2d693; color: #a8690b; font-weight: 600; }
.owner-btn.is-promo:hover { background: #ffefcf; border-color: #d99a2b; color: #8f5406; }

.owner-btn.is-quiet { background: rgba(255, 255, 255, .72); border-color: var(--tk90); color: var(--muted); }
.owner-btn.is-quiet:hover { background: #fff; border-color: var(--primary); color: var(--primary); }
.owner-btn.is-danger:hover {
background: #fff2f2; border-color: #f0b4b6; color: var(--danger);
box-shadow: 0 3px 10px rgba(229, 72, 77, .12);
}

.owner-bar.is-admin {
flex-wrap: nowrap;
align-items: center; gap: 14px;
padding: 11px 14px; border-radius: 14px;
background: linear-gradient(135deg, #fffdf7 0%, #fdf5e6 100%);
border-color: #eedfbd;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 10px rgba(168, 123, 34, .07);
}
.owner-bar.is-admin .owner-bar-label { flex: 1 1 auto; gap: 10px; white-space: normal; }
.owner-bar.is-admin .owner-bar-badge {
width: 34px; height: 34px; border-radius: 11px;
background: linear-gradient(135deg, #f8dc9a, #e7b455);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 6px rgba(168, 123, 34, .18);
}
.owner-bar.is-admin .owner-bar-badge .ico,
.owner-bar.is-admin .owner-bar-badge .ico svg { width: 17px; height: 17px; }
.owner-bar.is-admin .owner-bar-badge .ico { color: #7a5410; }
.owner-bar.is-admin .owner-bar-badge .ob-ico-mine { display: none; }
.owner-bar.is-admin .owner-bar-badge .ob-ico-admin { display: block; }
.owner-bar.is-admin .owner-bar-title { font-size: 13px; font-weight: 700; color: #8a6516; letter-spacing: .2px; }
.owner-bar.is-admin .owner-bar-acts { flex: none; }
.owner-bar.is-admin .owner-btn.is-edit {
height: 34px; padding: 0 16px; font-size: 13px;
background: linear-gradient(135deg, #c99a3a, #a87b22);
border-color: #a87b22;
box-shadow: 0 2px 6px rgba(168, 123, 34, .22);
}
.owner-bar.is-admin .owner-btn.is-edit:hover {
background: #8f6718; border-color: #8f6718; color: #fff;
box-shadow: 0 4px 12px rgba(168, 123, 34, .28);
}
@media (max-width: 640px) {
.owner-bar { padding: 10px; gap: 8px; }
.owner-bar-label { width: 100%; }
.owner-bar-acts { gap: 7px; }
.owner-bar-sep { display: none; }
.owner-btn { height: 31px; padding: 0 10px; font-size: 12px; }
.owner-bar.is-admin { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
.owner-bar.is-admin .owner-bar-acts { width: 100%; }
.owner-bar.is-admin .owner-btn.is-edit { width: 100%; height: 33px; }
}


.card-own-tools {
display: flex; flex-wrap: wrap; gap: 6px;
margin-top: 8px; padding-top: 8px;
border-top: 1px dashed var(--tk92);
}
.cot-btn {
display: inline-flex; align-items: center; gap: 4px;
position: relative; z-index: 3;   
height: 26px; padding: 0 9px; box-sizing: border-box;
background: #fff; border: 1px solid var(--tk90); border-radius: 8px;
color: var(--text); font-family: inherit; font-size: 11.5px; line-height: 1;
white-space: nowrap; cursor: pointer;
transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cot-btn .ico, .cot-btn .ico svg { width: 12px; height: 12px; display: block; }
.cot-btn:hover { border-color: var(--primary); color: var(--primary); }
.cot-btn:disabled { opacity: .55; cursor: default; }
.cot-btn.is-edit { background: var(--tk96); border-color: var(--tk88); color: var(--primary-dark); font-weight: 600; }
.cot-btn.is-edit:hover { background: var(--tk94); border-color: var(--primary); }
.cot-btn.is-promo { background: #fff7e6; border-color: #f2d693; color: #a8690b; font-weight: 600; }
.cot-btn.is-promo:hover { background: #ffefcf; border-color: #d99a2b; color: #8f5406; }
.cot-btn.is-share { background: #eef6ff; border-color: #bdd9f2; color: #2b6cb0; font-weight: 600; }
.cot-btn.is-share:hover { background: #e0efff; border-color: #5a9bd4; color: #2b6cb0; }
.cot-btn.is-quiet { color: var(--muted); }
.cot-btn.is-quiet:hover { border-color: var(--danger); color: var(--danger); }

.cot-btn.is-relist { background: #eef7ee; border-color: #bfe0c0; color: #2c7a3d; font-weight: 600; }
.cot-btn.is-relist:hover { border-color: #2c7a3d; color: #2c7a3d; }

.self-hidden-note {
font-size: 11px; line-height: 1.4;
background: #faeeda; color: #854f0b;
padding: 2px 8px; border-radius: 999px;
width: fit-content; margin-bottom: 6px;
cursor: default; white-space: nowrap;
}
.card.is-self-hidden .card-img { filter: grayscale(.35) brightness(.92); }


.author-tag {
display: inline-flex; align-items: center; justify-content: center;
width: 18px; height: 18px; padding: 0; border-radius: 50%;
font-size: 0; line-height: 1; font-style: normal;
background: linear-gradient(135deg, #a97c1c, #c9a03a);
border: 1px solid #96700f; color: #fff;
vertical-align: -4px; margin-left: 4px;
cursor: help; white-space: nowrap;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 2px rgba(150, 112, 15, .25);
}

.author-tag::before {
content: ''; width: 12px; height: 12px; flex: none;
background: center / contain no-repeat
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.9l1.16 2.35 2.59.38-1.87 1.83.44 2.58L8 9.83l-2.32 1.21.44-2.58-1.87-1.83 2.59-.38z' fill='%23fff'/%3E%3C/svg%3E");
}

.author-tag.gh::before {
width: 13px; height: 13px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E");
}

.author-tag[data-ti="thumb"]::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E");
}

.author-tag[data-ti="cup"]::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 13.5L17 22l-5-3-5 3 1.5-8.5'/%3E%3C/svg%3E");
}

.author-tag[data-ti="crown"]::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.8 4.4l2.9 2.2L8 2.6l3.3 4 2.9-2.2-.9 7.2c0 .5-.4.8-.9.8H3.6c-.5 0-.9-.3-.9-.8z' fill='%23fff'/%3E%3Crect x='3.4' y='12.4' width='9.2' height='1.4' rx='.7' fill='%23fff'/%3E%3C/svg%3E");
}
.card-author .author-tag { width: 15px; height: 15px; vertical-align: -3px; }
.card-author .author-tag::before { width: 10px; height: 10px; }

.author-hero .author-tag:not(.cert) {
width: 20px; height: 20px; vertical-align: -5px;
box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 2px 6px rgba(10, 8, 28, .22);
}
.author-hero .author-tag:not(.cert)::before { width: 13px; height: 13px; }

.author-tag.cert {
width: auto; height: auto; padding: 3px 9px; border-radius: 999px;
font-size: 11px; font-weight: 600; gap: 3px;
cursor: default; vertical-align: 1px;
background: linear-gradient(135deg, #1c6bb6, #185FA5);
border-color: #15508a; color: #fff;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(21, 80, 138, .2);
}
.author-tag.cert::before { content: none; }
.cert-shield { width: 11px; height: 11px; flex: none; }
.card-author .author-tag.cert { font-size: 10px; padding: 1px 7px; vertical-align: 0; }

.cert-mini {
display: inline-block; width: 12px; height: 12px; vertical-align: -1px;
margin-left: 3px; cursor: default;
}
.cert-mini svg { width: 12px; height: 12px; display: block; }
.row-meta .cert-mini { width: 11px; height: 11px; margin-left: 2px; }

.jrn-rank-tag {
display: inline-block; font-size: 11px; line-height: 1; font-style: normal;
background: linear-gradient(135deg, #4a7fb5, #5a9bd0); color: #fff;
padding: 3px 8px; border-radius: 999px; vertical-align: 1px; margin-left: 4px;
cursor: default; white-space: nowrap;
}

.author-tag-more {
display: inline-block; font-size: 11px; line-height: 1; font-style: normal;
background: var(--tk96); color: #7a8095;
padding: 3px 7px; border-radius: 999px; vertical-align: 1px;
margin-left: 3px; cursor: default; white-space: nowrap;
}


@media (min-width: 641px) and (max-width: 820px) {
.header-inner { height: 60px; padding: 0; gap: 8px; flex-wrap: nowrap; }
.header-inner > .logo, .main-nav, .pub-wrap, .auth-box { flex: none; }
.search-box { flex: 1 1 auto; min-width: 90px; order: 0; }
.main-nav { order: 0; width: auto; gap: 0; overflow: visible; }

.main-nav .nav-tabs { height: 60px; gap: 0; }
.main-nav .nav-tabs .nav-btn { padding: 0 8px; font-size: 13px; }
.main-nav .nav-btn { padding: 6px 6px; font-size: 13px; }

.pub-btn { width: 30px; height: 30px; }
.pub-btn .plus-ico { width: 12px; height: 12px; }
.pub-btn .plus-ico::before { width: 11px; }
.pub-btn .plus-ico::after { height: 11px; }
.auth-box { gap: 2px; }
.auth-box .link-btn { padding: 4px 3px; font-size: 12.5px; }
.auth-box .ck-label { display: none; }        
.auth-box .lb-ico { display: none; }          
.auth-box .user-menu .user-chip { max-width: 88px; padding: 6px 8px; font-size: 13px; }
.auth-box .user-chip .uc-name { max-width: 44px; overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 641px) and (max-width: 700px) {
.main-nav .nav-btn .ico { display: none; }

}


@media (min-width: 821px) and (max-width: 1360px) {
.header-inner { gap: 10px; }
.main-nav { gap: 0; }
.main-nav .nav-btn { padding: 6px 8px; font-size: 13.5px; }
.search-box { flex-basis: 150px; }
.search-box:focus-within,
.search-box.is-focus,
.search-box:has(input:not(:placeholder-shown)) { flex-basis: 180px; }
.search-box input { padding: 7px 10px 7px 30px; font-size: 13px; }
.auth-box { gap: 2px; }
.auth-box .link-btn { font-size: 12.5px; padding: 4px 4px; }
.user-chip { padding: 6px 10px; font-size: 13px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
}


@media (max-width: 640px) {
.site-header { position: static; background: transparent; border-bottom: none; }
.header-inner { height: 0; padding: 0; gap: 0; overflow: visible; }


.header-inner > .logo, .header-inner > .main-nav, .pub-btn,
.header-inner > .auth-box, .header-inner .m-search-btn { display: none !important; }


.pub-menu {
position: fixed; left: 12px; right: 12px; width: auto;
top: auto; bottom: calc(64px + env(safe-area-inset-bottom, 0px));
padding: 8px; border-radius: 16px; z-index: 95;
}
.pub-menu::before { display: none; }
.pub-item { padding: 11px 10px; }
.pub-mask { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(20, 20, 35, .28); }
.pub-mask[hidden] { display: none; }


.search-box { display: none; }
.header-inner.search-open .search-box {
display: flex; position: fixed; left: 0; right: 0; top: 0; height: 52px;
z-index: 90; padding: 0 14px; background: var(--card);
border-bottom: 1px solid var(--border); align-items: center; gap: 10px;
}
.header-inner.search-open .search-box input { flex: 1 1 auto; min-width: 0; padding-left: 14px; }

.header-inner.search-open .search-box .search-icon { display: none; }
.header-inner.search-open .search-cancel {
display: inline-flex; flex: none; align-items: center;
border: none; background: none; color: var(--primary);
font-size: 14px; cursor: pointer; padding: 6px 2px;
}


.section-head { gap: 8px; }
.section-head h2 { flex: none; white-space: nowrap; font-size: 16.5px; }
.featured-head .featured-nav { display: none; }

.featured-section { display: none; }


.form-title-info .feat-info-pop { left: auto; right: -10px; max-width: min(340px, calc(100vw - 96px)); }
.form-title-info .feat-info-pop::before { left: auto; right: 12px; }

.feat-info-pop { right: auto; left: -10px; max-width: min(320px, calc(76vw - 48px)); }


.filter-row {
position: relative; flex-wrap: nowrap; gap: 0; padding: 0;
margin-top: 12px; background: #fff; border-radius: 12px;
}
.dd-filter { flex: 1 1 0; position: static; min-width: 0; }
.dd-filter + .dd-filter { border-left: 1px solid #eef0f6; }
.filter-row .dd-btn {
width: 100%; justify-content: center; gap: 3px;
padding: 12px 4px; background: none; border: none; border-radius: 0;
font-size: 13.5px; box-shadow: none;
}
.filter-row .dd-btn .dd-ico { display: none; }   

.filter-row .dd-btn .dd-value { display: none; max-width: 88px; }
.filter-row .dd-btn.has-value { background: none; }
.filter-row .dd-btn.has-value .dd-label { display: none; }
.filter-row .dd-btn.has-value .dd-value { display: inline; color: var(--primary); }
.filter-row .dd-filter.open .dd-btn { box-shadow: none; }
.filter-row .dd-filter.open .dd-caret { color: var(--primary); }

.filter-row .dd-panel {
left: 0; right: 0; top: 100%; min-width: 0; max-width: none;
border-top: none; border-radius: 0 0 14px 14px; padding: 12px 14px 4px;
}
.filter-row .dd-filter.open .dd-panel { display: flex; flex-wrap: wrap; }
.filter-row .dd-opt {
width: auto; display: inline-flex; margin: 0 10px 10px 0;
padding: 7px 14px; border: 1px solid #eceef5; border-radius: 999px;
background: #fff; font-size: 13px;
}
.filter-row .dd-opt:hover { background: var(--tk96); }
.filter-row .dd-opt.active { border-color: var(--primary); background: var(--tk96); color: var(--primary); }
.filter-row .dd-opt.active::after { display: none; }   
.filter-row .dd-count { display: none; }               


#rankView .rank-dd-row { flex-direction: column; gap: 10px; align-items: stretch; }

#rankPeriodDD { order: 1; position: static; }
#rankByDD { order: 2; position: static; }
#rankTypeDD { order: 3; }
#rankByDD .dd-opt-label .ico { display: none; }   

#rankPeriodDD .dd-btn { display: none; }
#rankPeriodDD .dd-panel {
display: flex; position: static; max-height: none; overflow: visible;
min-width: 0; max-width: none;   
background: var(--tk94); border: none; border-radius: 999px;
padding: 4px; box-shadow: none;
}
#rankPeriodDD .dd-opt {
flex: 1; justify-content: center; padding: 8px 0;
background: none; border-radius: 999px;
font-size: 13.5px; font-weight: 600; color: var(--muted);
}
#rankPeriodDD .dd-opt .dd-opt-label .ico { display: none; }   
#rankPeriodDD .dd-opt-desc { display: none; }   
#rankPeriodDD .dd-opt.active { background: var(--primary); color: #fff; }

#rankByDD .dd-btn { display: none; }
#rankByDD .dd-panel {
display: flex; position: static; max-height: none;
overflow-x: auto; overflow-y: hidden;
background: none; border: none; box-shadow: none; padding: 0; gap: 8px;
}
#rankByDD .dd-opt {
flex: none; width: auto; margin: 0; padding: 7px 14px;
border: 1px solid #eceef5; border-radius: 999px; background: #fff; font-size: 13px;
}
#rankByDD .dd-opt.active { background: var(--primary); border-color: var(--primary); color: #fff; }

#rankTypeDD .dd-btn { padding: 8px 12px; font-size: 13px; }
#rankLimitDD { display: none; }

#rankView .rank-dd-row .dd-opt.active::after { display: none; }

.rank-today-hint { display: none; }


.hero { text-align: left; padding: 10px 0 0; }
.hero h1, .hero .hero-title, .hero .hero-sub { display: none; }

.hero .hero-tagline {
display: block; font-size: 13px; line-height: 1.5; color: var(--muted);
margin: 0 0 10px;
}
.hero .hero-tagline b { color: var(--text); font-weight: 500; }
.hero-search {
display: flex; width: 100%; align-items: center; gap: 8px;
height: 38px; padding: 0 14px; margin: 0 0 12px;
border: 1px solid var(--border); border-radius: 999px; background: var(--tk96);
color: var(--muted); font-size: 13.5px; cursor: pointer;
}
.hero-search:active { border-color: var(--primary); color: var(--primary); }
.hero-search .ico { font-size: 15px; }

.hero > .hero-search-combo { display: none; }
.hero .hero-find#heroFindBtn { display: inline-flex; }

.hero-find { margin: -4px 0 10px; padding: 5px 13px 6px; font-size: 12px; box-shadow: 0 1px 2px rgba(var(--tk58-rgb), .05), 0 3px 12px rgba(var(--tk58-rgb), .08); }

.hero-hot { justify-content: flex-start; margin: 2px 0 12px; font-size: 11px; gap: 3px 5px;

min-height: calc(1.7em + 5px); }
.hero-hot-word { padding: 2px 8px 3px; }
.hero-hot-word:nth-child(n+5) { display: none; }
}


@media (max-width: 480px) {
.logo { font-size: 0; gap: 0; }
.main-nav .nav-btn { gap: 0; }
.checkin-entry .ck-label { display: none; }
.user-chip .uc-name { display: none; }
.user-chip { max-width: none; }
}


html.scroll-lock-gap {
overflow-y: hidden;
padding-right: var(--zm-lock-gap, 0px);
}
body.scroll-locked {
overflow: hidden;
margin-right: calc(-1 * var(--zm-lock-gap, 0px));
}


.fab-stack {
position: fixed; right: 20px; bottom: 44px; z-index: 90;
display: flex; flex-direction: column; align-items: stretch; gap: 10px;
transition: opacity .25s, transform .25s;
}

.fab-stack.fab-hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }

.fab-stack > button {
position: relative;            
display: flex; align-items: center; gap: 10px;
width: 100%; min-width: 132px; padding: 9px 12px 9px 10px;
border: 1px solid var(--border); border-radius: 999px;

background: #fff;
color: var(--text); font-size: 13px; font-weight: 500; text-align: left;
white-space: nowrap; cursor: pointer;
box-shadow: 0 6px 18px rgba(40, 40, 90, .10);
transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.fab-stack > button > span { flex: 1; }


.fab-stack > button .ico {
width: 24px; height: 24px; border-radius: 50%; vertical-align: middle;
background: var(--tk94); color: var(--primary); font-size: 15px;
}
.fab-stack > button .ico svg { width: 15px; height: 15px; stroke-width: 2.2; }

.fab-stack > button.mini-fab .ico svg { width: 14px; height: 14px; }

.fab-stack > button::after {
content: '›'; margin-left: auto; font-size: 17px; line-height: 1;
color: var(--muted); opacity: .45;
transition: transform .18s, opacity .18s, color .18s;
}


.fab-stack > button.install-fab,
.fab-stack > button.mini-fab {
color: var(--primary); border-color: var(--tk90);
background: linear-gradient(100deg, var(--tk98), #fff 72%);
}
.fab-stack > button.feedback-fab .ico { background: #eef0f5; color: #7a7f94; }

.fab-stack > button:hover {
transform: translateY(-2px); border-color: var(--tk84);
box-shadow: 0 10px 24px rgba(40, 40, 90, .16);
}
.fab-stack > button:hover::after { color: var(--primary); opacity: .9; transform: translateX(2px); }
.fab-stack > button:active { transform: translateY(0); }


.feedback-fab.has-new { border-color: #f3c9c9; }
.feedback-fab.has-new::before {
content: ''; position: absolute; top: 6px; right: 10px; width: 7px; height: 7px;
border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--card);
}
@media (max-width: 640px) {

.fab-stack { display: none; }
.me-quick .me-quick-fab { display: flex; }

.fab-stack { right: 14px; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
.fab-stack > button { min-width: 118px; padding: 8px 11px 8px 8px; font-size: 12px; }
.fab-stack > button .ico { width: 22px; height: 22px; }
.fab-stack > button .ico svg { width: 14px; height: 14px; }
}


.scroll-nav {
position: fixed; right: 20px; bottom: 102px; z-index: 89;
display: flex; flex-direction: column; gap: 8px;
transition: opacity .25s, transform .25s;
}
.scroll-nav.fab-hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
.scroll-nav .scroll-nav-btn {
width: 38px; height: 38px; padding: 0; border-radius: 50%;
border: 1px solid var(--border); background: #fff; color: var(--text);
display: none; align-items: center; justify-content: center;
cursor: pointer; box-shadow: 0 6px 18px rgba(40, 40, 90, .10);
transition: transform .18s, box-shadow .18s, border-color .18s, color .18s;
}
.scroll-nav .scroll-nav-btn svg { width: 16px; height: 16px; }
.scroll-nav .scroll-nav-btn:hover {
transform: translateY(-2px); border-color: var(--tk84); color: var(--primary);
box-shadow: 0 10px 24px rgba(40, 40, 90, .16);
}
.scroll-nav.show-top .scroll-nav-btn#scrollTopBtn,
.scroll-nav.show-bottom .scroll-nav-btn#scrollBottomBtn { display: flex; }
@media (max-width: 640px) {

.scroll-nav { right: 14px; bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
}



[hidden] { display: none !important; }

.fb-sticky {
position: sticky; top: 0; z-index: 6;
margin: -24px -24px 12px; padding: 24px 24px 8px;
background: var(--card); border-radius: 16px 16px 0 0;
}
.fb-sticky .modal-head { position: static; margin: 0; padding: 0; z-index: auto; }
.fb-sticky .modal-head::after { display: none; }
.fb-sticky .fb-switch { margin: 6px 0 0; }

.fb-switch { display: flex; gap: 4px; margin: 4px 0 16px; padding: 4px; border-radius: 999px; background: var(--tk94); }
.fb-tab {
flex: 1; position: relative; padding: 7px 10px; border: none; border-radius: 999px; cursor: pointer;
background: transparent; font-size: 13px; font-weight: 600; color: var(--muted); font-family: inherit;
transition: background .15s, color .15s, box-shadow .15s;
}
.fb-tab.is-on { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(30, 30, 70, .10); }
.fb-dot {
position: absolute; top: 6px; right: 12px; width: 7px; height: 7px;
border-radius: 50%; background: var(--danger); font-size: 0; font-style: normal;
}
.fb-list { display: flex; flex-direction: column; gap: 8px; }
.fb-row {
width: 100%; text-align: left; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px;
background: #fff; cursor: pointer; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.fb-row:hover { border-color: var(--tk86); box-shadow: 0 2px 10px rgba(40, 40, 90, .08); }
.fb-row-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.fb-row-top b { font-size: 12.5px; color: var(--text); font-weight: 600; }
.fb-row-text {
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: #4a4f5e; word-break: break-word;
}
.fb-row-last {
display: block; margin-top: 6px; font-size: 12px; color: var(--primary);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fb-done { padding: 0 7px; border-radius: 999px; background: #eef7f1; color: #2f855a; font-size: 10.5px; font-weight: 700; }
.fb-new {
margin-left: auto; min-width: 18px; padding: 1px 6px; border-radius: 999px; text-align: center;
background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700;
}
.fb-back {
border: none; background: none; padding: 0 0 10px; cursor: pointer;
font-size: 12.5px; color: var(--primary); font-family: inherit;
}
.fb-detail-head { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.fb-detail .reply-thread { max-height: 40vh; }



.footer-inner { display: block; }
.footer-inner > * + * { margin-top: 18px; }

.footer-meta { position: relative; font-size: 12.5px; line-height: 1.75; }

.footer-icp { margin-left: 0; }

.footer-stats { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; opacity: .85; }  
.footer-stats .fs-item { color: var(--muted); white-space: nowrap; }
.footer-stats .fs-item b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.footer-stats .fs-sep { width: 1px; height: 12px; background: var(--border); flex: none; }
.footer-stats .fs-tag { font-size: 12px; opacity: .65; margin-right: 6px; }
.footer-stats .fs-dot { margin: 0 7px; opacity: .4; }

.footer-stats a.fs-link { text-decoration: none; transition: color .15s; }
.footer-stats a.fs-link:hover { color: var(--primary); }
.footer-stats a.fs-link:hover b { color: var(--primary); }
.footer-stats .fs-chron { margin-left: 5px; color: var(--primary); opacity: .8; }
.footer-stats a.fs-link:hover .fs-chron { opacity: 1; text-decoration: underline; }

.footer-stats .fs-mini { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; transition: color .15s; }
.footer-stats .fs-mini:hover { color: var(--primary); }

.footer-stats .fs-label { display: inline-flex; align-items: center; gap: 4px; color: var(--text); opacity: .75; margin-right: 8px; }
.footer-stats .fs-label svg { opacity: .85; }


.footer-stats .fs-info { display: inline-flex; align-items: center; vertical-align: -2px; margin: -3px 4px -3px -2px; padding: 3px 4px; color: var(--muted); cursor: pointer; transition: color .15s; }
.footer-stats .fs-info:hover, .footer-stats .fs-info:focus-visible, .footer-stats .fs-info.open { color: var(--primary); outline: none; }

.footer-meta .fs-pop {
position: absolute; z-index: 30; bottom: calc(100% + 9px); left: 0;
width: 336px; max-width: calc(100vw - 32px);
padding: 11px 14px 12px;
background: var(--card); border: 1px solid var(--border); border-radius: 10px;
box-shadow: 0 12px 30px rgba(24, 26, 52, .13), 0 2px 6px rgba(24, 26, 52, .05);
color: var(--muted); font-size: 12px; line-height: 1.7; text-align: left;
white-space: normal;   
opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.footer-meta .fs-pop.open { opacity: 1; visibility: visible; transform: none; }

.footer-meta .fs-pop::before {
content: ""; position: absolute; left: var(--fs-caret-x, 26px); bottom: -6px;
width: 10px; height: 10px; margin-left: -5px;
background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
transform: rotate(45deg);
}
.footer-meta .fs-pop b { display: block; color: var(--text); margin: 7px 0 2px; }
.footer-meta .fs-pop b:first-child { margin-top: 0; }
.footer-meta .fs-pop span { display: block; }
.footer-icp { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-icp:hover { color: var(--primary); text-decoration: underline; }

.footer-grid { display: flex; flex-wrap: wrap; gap: 26px 56px; align-items: flex-start; }

.footer-brand { flex: 1 0 max-content; min-width: 230px; }
.footer-brand .fm-brand { display: block; font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: .01em; }
.footer-brand .fm-desc { display: block; margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.footer-brand .footer-oss { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; flex: 2 1 auto; }
.fgroup { display: flex; flex-direction: column; gap: 9px; min-width: 72px; }
.fg-label { font-size: 12.5px; color: var(--text); font-weight: 600; opacity: .92; letter-spacing: .04em; margin-bottom: 3px; }
.footer-links .footer-link { color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.5; }
.footer-links .footer-link:hover { color: var(--primary); }
.footer-links button.footer-link {
appearance: none; background: none; border: none; padding: 0; margin: 0;

text-align: left;
font: inherit; color: var(--muted); cursor: pointer; text-decoration: none;
}
.footer-links button.footer-link:hover { color: var(--primary); }
.footer-links button.footer-link:disabled { opacity: .6; cursor: default; }


.footer-host { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.footer-host a { color: var(--primary); text-decoration: none; }
.footer-host a:hover { text-decoration: underline; }
.footer-host a span { font-size: 11px; }
@media (max-width: 640px) {
.footer-host { justify-content: center; }
}


.footer-oss { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.footer-oss .ico { width: 14px; height: 14px; flex: none; }
.footer-oss a { color: var(--primary); text-decoration: none; white-space: nowrap; } 
.footer-oss > span { white-space: nowrap; } 
.footer-oss a:hover { text-decoration: underline; }
.footer-oss a span { font-size: 11px; }
@media (max-width: 640px) {

.footer-oss > span { white-space: normal; }
.footer-oss { justify-content: center; }
.footer-brand { flex: 1 1 auto; }  
}


.footer-base { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 12.5px; color: var(--muted); opacity: .85; }
@media (max-width: 640px) {
.footer-base .fb-text { display: none; }
}

.seo-wrap { padding-bottom: 8px; }

.seo-wrap.seo-home { border-top: 1px solid var(--border); margin-top: 40px; padding: 2px 0 10px; }
.seo-wrap.seo-home.seo-index { margin-top: 24px; padding: 0 0 6px; }
.seo-index-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 12px; }
.seo-index-row { display: flex; align-items: baseline; gap: 12px; font-size: 12.5px; line-height: 1.9; }
.seo-index-label { flex: 0 0 66px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.seo-index-links { display: flex; flex-wrap: wrap; column-gap: 12px; min-width: 0; }
.seo-index-links a { color: #626a7b; text-decoration: none; white-space: nowrap; }
.seo-index-links a:hover { color: var(--primary); text-decoration: underline; }
@media (max-width: 640px) {
.seo-index-row { flex-direction: column; gap: 0; padding: 2px 0; }
.seo-index-label { flex: none; }
.seo-index-links { column-gap: 10px; }

.seo-index-links a { white-space: normal; overflow-wrap: anywhere; }
}
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-style: normal; margin: 0 6px; opacity: .5; }

.seo-article { padding: 16px 0 8px; max-width: 760px; }
.seo-article h1 { font-size: 26px; line-height: 1.35; margin: 10px 0 12px; }
.seo-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.seo-author { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.seo-author a { color: var(--primary); text-decoration: none; }
.seo-cover { width: 100%; border-radius: 14px; border: 1px solid var(--border); display: block; margin-bottom: 18px; }
.seo-intro { font-size: 15px; line-height: 1.8; color: #3a4152; }
.seo-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: flex-end; }
.seo-actions .btn-primary, .seo-actions .btn-ghost { text-decoration: none; display: inline-block; }

.seo-qr {
margin: 0 0 18px; padding: 14px; text-align: center;
border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.seo-qr img { width: 168px; height: 168px; object-fit: contain; border-radius: 10px; display: inline-block; }
.seo-qr p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.seo-mini-empty { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

.seo-kw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.seo-kw-title { font-size: 13px; color: var(--muted); }
.seo-kw a {
font-size: 13px; color: #4b5563; text-decoration: none;
border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; background: #fff;
}
.seo-kw a:hover { border-color: var(--primary); color: var(--primary); }


.seo-quick {
margin: 0 0 18px; padding: 16px 18px;
border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.seo-quick h2 { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0 0 10px; }
.seo-quick-dl { display: flex; flex-direction: column; gap: 8px; }
.seo-quick-dl > div { display: flex; gap: 12px; align-items: flex-start; }
.seo-quick-dl dt { flex: none; min-width: 4.6em; font-size: 13px; line-height: 1.9; color: var(--muted); }
.seo-quick-dl dd { margin: 0; font-size: 15px; line-height: 1.8; color: #3a4152; }
.seo-quick-steps { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border); }
.seo-quick-steps h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.seo-quick-steps ol { margin: 0; padding-left: 1.5em; font-size: 15px; line-height: 1.8; color: #3a4152; }
.seo-quick-steps li { margin: 3px 0; }

.seo-links { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 6px; }
.seo-links-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seo-links-title { font-size: 13px; color: var(--muted); margin-right: 4px; }
.seo-links-group a {
font-size: 13px; color: #4b5563; text-decoration: none;
border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; background: #fff;
}
.seo-links-group a:hover { border-color: var(--primary); color: var(--primary); }
.seo-more { font-size: 14px; padding: 12px 0 32px; }.seo-more a { color: var(--primary); text-decoration: none; }


.ads-lead { font-size: 14px; line-height: 1.9; color: var(--text); max-width: 820px; padding: 4px 0 16px; }
.ads-stats-row {
display: flex; flex-wrap: wrap; gap: 10px 14px;
padding: 14px 4px; margin: 6px 0 10px;
}
.ads-stat { min-width: 96px; }
.ads-stat b { display: block; font-size: 22px; font-weight: 600; color: var(--primary-dark); line-height: 1.3; }
.ads-stat span { font-size: 12px; color: var(--muted); }
.ads-h2 { font-size: 17px; padding: 22px 0 6px; }
.ads-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 20px 0 36px; }
.ads-cta .btn-primary { cursor: pointer; border: none; }

.ad-demo {
max-width: 760px; margin: 2px 0 8px; padding: 9px 11px;
background: var(--tk98); border: 1px solid var(--border); border-radius: 12px;
pointer-events: none;
}
.ad-demo .ad-close { opacity: .55; }

.seo-guide-note { font-size: 13px; line-height: 1.85; color: var(--muted); max-width: 820px; padding: 6px 0 14px; }
.seo-guide-note b { color: var(--text); }

.seo-faq { margin: 28px 0 8px; max-width: 820px; }
.seo-faq h2 { font-size: 18px; margin: 0 0 12px; }
.seo-faq dl { margin: 0; }
.seo-faq dt { font-size: 14px; font-weight: 500; margin-top: 16px; }
.seo-faq dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.8; color: #3a4152; }
.seo-faq dd a { color: var(--primary); text-decoration: none; }



.rules-doc { max-width: 880px; padding: 2px 0 8px; }
.rules-lead { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.rules-lead a { color: var(--primary); text-decoration: none; }
.rules-sec {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 18px 20px; margin-bottom: 14px;
}
.rules-sec h2 { font-size: 16px; margin: 0 0 10px; }
.rules-sub { font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.rules-sub::before { content: ''; display: inline-block; width: 4px; height: 12px; border-radius: 2px; background: var(--primary); margin-right: 8px; vertical-align: -1px; }
.rules-list { list-style: none; padding: 0; margin: 0; }
.rules-list li {
position: relative; padding-left: 18px;
font-size: 14px; line-height: 1.85; color: #3a4152;
}
.rules-list li + li { margin-top: 4px; }
.rules-list li b { color: var(--text); }
.rules-list li::before {
content: '·'; position: absolute; left: 6px; top: 0;
color: var(--muted); font-weight: 700;
}
.rules-list.is-ok li::before { content: '✓'; left: 0; color: #12805c; }
.rules-list.is-no li::before { content: '×'; left: 1px; color: var(--danger); font-size: 15px; }
.rules-list.is-step { counter-reset: rule; }
.rules-list.is-step li { padding-left: 24px; }
.rules-list.is-step li::before {
counter-increment: rule; content: counter(rule) '.';
left: 2px; color: var(--primary); font-weight: 700;
}
.rules-note {
margin-top: 12px; padding: 10px 12px; border-radius: 10px;
background: var(--bg); font-size: 13px; line-height: 1.8; color: var(--muted);
}
.rules-foot { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.rules-doc .seo-more { display: flex; gap: 12px; padding-bottom: 28px; }
.rules-doc .seo-more .btn-ghost { text-decoration: none; display: inline-block; }
@media (max-width: 640px) {
.rules-sec { padding: 16px 14px; border-radius: 12px; }
.rules-list li { font-size: 13.5px; line-height: 1.8; }
}



.chron-list { list-style: none; margin: 8px 0 0; padding: 0 0 8px; }
.chron-item {
display: flex; gap: 12px; align-items: flex-start;
padding: 8px 0; position: relative;
}
.chron-item + .chron-item { border-top: 1px dashed var(--border); }
.chron-dot {
flex: none; width: 28px; height: 28px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
background: #fff7e6; color: #b8860b; font-size: 13px;
box-shadow: 0 0 0 3px rgba(184, 134, 11, .08);
}
.chron-item:nth-child(6n+2) .chron-dot { background: #eef4ff; color: #3b6fd4; box-shadow: 0 0 0 4px rgba(59, 111, 212, .08); }
.chron-item:nth-child(6n+3) .chron-dot { background: #e7f8ec; color: #2f9e44; box-shadow: 0 0 0 4px rgba(47, 158, 68, .08); }
.chron-item:nth-child(6n+4) .chron-dot { background: var(--tk96); color: var(--tk52); box-shadow: 0 0 0 4px rgba(var(--tk52-rgb), .08); }
.chron-item:nth-child(6n+5) .chron-dot { background: #ffeef0; color: #d6455c; box-shadow: 0 0 0 4px rgba(214, 69, 92, .08); }
.chron-item:nth-child(6n) .chron-dot { background: #e6f7f8; color: #0c8599; box-shadow: 0 0 0 4px rgba(12, 133, 153, .08); }
.chron-main { flex: 1; min-width: 0; padding-top: 2px; }
.chron-date { font-size: 12px; color: var(--muted); margin-bottom: 1px; }
.chron-text { font-size: 14px; line-height: 1.5; }

.chron-mini-open {
display: inline; padding: 0; margin: 0; border: 0; background: none;
font: inherit; color: var(--primary); cursor: pointer;
text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--tk58-rgb), .35);
}
.chron-mini-open:hover { color: var(--primary-dark); text-decoration-color: var(--primary-dark); }
.chron-note {
margin-top: 18px; padding: 12px 16px; border-radius: 10px;
background: var(--bg-soft, var(--tk96)); color: var(--muted); font-size: 13px; line-height: 1.9;
}
.chron-note b { color: var(--text, #333); }
.chron-note a { color: var(--primary); text-decoration: none; }
.chron-note a:hover { text-decoration: underline; }
.chron-note .ico { vertical-align: -3px; }
@media (max-width: 560px) {
.chron-item { gap: 10px; padding: 7px 0; }
.chron-dot { width: 26px; height: 26px; font-size: 12px; }
.chron-text { font-size: 13.5px; }
}

.seo-wish-stat { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.seo-rank.seo-wish .rank-title { padding-right: 0; }
.seo-rank.seo-wish .rank-score { flex: none; font-size: 13px; color: var(--primary); text-decoration: none; }

.gallery a.card { text-decoration: none; color: inherit; display: block; }
.seo-card .card-body { pointer-events: none; }

.seo-rank { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0 0 8px; }
.seo-rank li {
display: flex; align-items: center; gap: 14px; background: #fff;
border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px;
}
.seo-rank li img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }
.seo-rank .rank-title { font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; }
.seo-rank .rank-title:hover { color: var(--primary); }

.seo-pager { display: flex; gap: 12px; padding: 8px 0 26px; }
.seo-pager a { text-decoration: none; }
.seo-footer-links {
display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
border-top: 1px solid var(--border); padding: 18px 0 48px; font-size: 13px; color: var(--muted);
}
.seo-footer-links a { color: #4b5563; text-decoration: none; }
.seo-footer-links a:hover { color: var(--primary); }


body.on-work .hero,
body.on-work .featured-section,
body.on-work .type-bar,
body.on-work .filter-bar,
body.on-work .list-head,
body.on-work #gallery,
body.on-work #empty,
body.on-work .load-more-wrap { display: none !important; }

.seo-related { padding-bottom: 40px; }
.seo-related h2 { font-size: 16px; margin: 26px 0 12px; }
.page-title { font-size: 24px; }
.page-title .ico { margin-right: 15px; }


.seo-full .seo-article { max-width: 860px; }
.seo-full .seo-cover { max-height: 520px; object-fit: contain; background: var(--tk96); }


.seo-full-body { display: flex; align-items: flex-start; gap: 28px; }
.seo-full-body .seo-article { flex: 1; min-width: 0; }
.seo-rail {
position: sticky; top: 84px; flex: none; width: 248px;
display: flex; flex-direction: column; gap: 8px;
}

.sr-item {
display: flex; flex-direction: row; align-items: center; gap: 9px;
width: 100%; padding: 9px 14px;
border: 1px solid var(--border); border-radius: 14px; background: #fff;
color: var(--muted); font-size: 12px; line-height: 1; cursor: pointer;
text-decoration: none; transition: color .15s, border-color .15s, background .15s, transform .15s;
font-family: inherit; text-align: left;
}
.sr-item .tico { font-size: 17px; }

.seo-author-card { display: none; margin: 0 0 4px; }
.seo-author-card.is-ready { display: block; }
.seo-author-card .dac-ava { width: 42px; height: 42px; font-size: 18px; }
.seo-author-card .dac-name { font-size: 15px; }
.seo-author-card .dac-stats { margin-top: 10px; padding: 9px 0; }
.seo-author-card .dac-stat b { font-size: 15px; }
.seo-author-card .detail-follow.dac-follow { margin-top: 10px; padding: 8px 12px; font-size: 13px; }
.sr-item:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.sr-item.active { color: var(--primary); border-color: var(--primary); background: var(--tk96); }
.sr-item.sr-danger:hover { color: var(--danger, #ee4d4d); border-color: var(--danger, #ee4d4d); }
@media (max-width: 1100px) {
.seo-full-body { flex-direction: column; gap: 18px; }
.seo-rail {
position: static; width: 100%;
flex-direction: row; flex-wrap: wrap; justify-content: flex-end;
}

.seo-rail .seo-author-card.is-ready { flex: 0 0 100%; order: -1; }
.sr-item { flex-direction: row; width: auto; padding: 9px 14px; gap: 6px; border-radius: 999px; }
.sr-item .tico { font-size: 16px; }
}


.seo-full .seo-intro {
font-size: 15.5px; line-height: 1.9; color: #333a4a;
margin-top: 26px;
}
.seo-full .seo-intro p { margin: 0 0 15px; }

.seo-full .seo-intro > p:first-child {
font-size: 16.5px; line-height: 1.85; color: var(--text);
}
.seo-full .seo-intro ul, .seo-full .seo-intro ol { margin: 0 0 16px; padding-left: 24px; }
.seo-full .seo-intro li { margin: 0 0 8px; padding-left: 2px; }
.seo-full .seo-intro li:last-child { margin-bottom: 0; }

.seo-full .seo-intro li::marker { font-weight: 700; }
.seo-full .seo-intro h3 { font-size: 16px; margin: 24px 0 10px; }
.seo-full .seo-intro h3:first-child { margin-top: 0; }
.seo-full .seo-intro blockquote { margin: 0 0 16px; padding: 10px 16px; }
.seo-full .seo-intro hr { margin: 24px 0; }
.seo-full .seo-intro img { max-width: 100%; height: auto; display: block; border-radius: 12px; margin: 0 0 16px; }

.seo-full .seo-kw { margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--border); }
.seo-full .seo-kw a { padding: 5px 13px; font-size: 13.5px; }
.seo-full .seo-actions { margin-top: 20px; }

.seo-full .seo-article h1 { margin-top: 12px; letter-spacing: .2px; }
.seo-full .seo-cover { margin-bottom: 24px; border-radius: 16px; }
.seo-full .seo-quick, .seo-full .seo-qr { margin-bottom: 22px; }
.seo-gallery {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px; margin: 0 0 20px;
}
.seo-gallery figure { margin: 0; }
.seo-gallery img {
width: 100%; height: auto; display: block; border-radius: 12px;
border: 1px solid var(--border); background: var(--tk96);
}

.seo-gallery[data-seo-carousel] { position: relative; margin-bottom: 24px; }
.seo-gallery .sg-nav, .seo-gallery .sg-dots, .seo-gallery .sg-count { display: none; }
.seo-gallery.carousel-on { display: block; }
.seo-gallery.carousel-on .sg-slide { display: none; }
.seo-gallery.carousel-on .sg-slide.show { display: block; }
.seo-gallery.carousel-on .sg-slide img { max-height: 520px; object-fit: contain; border-radius: 16px; }
.seo-gallery.carousel-on .sg-nav {
display: flex; align-items: center; justify-content: center;
position: absolute; top: 50%; transform: translateY(-50%);
width: 40px; height: 40px; padding: 0 0 3px;
border: 1px solid var(--border); border-radius: 50%;
background: rgba(255, 255, 255, .94); box-shadow: 0 4px 16px rgba(20, 20, 40, .12);
color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
transition: color .15s, border-color .15s, background .15s;
}
.seo-gallery.carousel-on .sg-prev { left: 12px; }
.seo-gallery.carousel-on .sg-next { right: 12px; }
.seo-gallery.carousel-on .sg-nav:hover { color: var(--primary); border-color: var(--primary); background: #fff; }
.seo-gallery.carousel-on .sg-dots { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 14px; }
.seo-gallery.carousel-on .sg-dot {
width: 8px; height: 8px; padding: 0; border: none; border-radius: 99px;
background: #d6d8e4; cursor: pointer; transition: width .15s, background .15s;
}
.seo-gallery.carousel-on .sg-dot.on { width: 22px; background: var(--primary); }
.seo-gallery.carousel-on .sg-count {
display: block; position: absolute; right: 14px; top: 14px;
padding: 4px 10px; border-radius: 99px;
background: rgba(20, 20, 40, .55); color: #fff; font-size: 12px; line-height: 1.4;
}
@media (max-width: 640px) {
.seo-gallery { grid-template-columns: 1fr; }
.seo-gallery.carousel-on .sg-nav { width: 34px; height: 34px; font-size: 22px; }
.seo-gallery.carousel-on .sg-prev { left: 8px; }
.seo-gallery.carousel-on .sg-next { right: 8px; }
.seo-full .seo-article h1 { font-size: 22px; }
.seo-full .seo-intro { font-size: 15px; line-height: 1.85; margin-top: 20px; }
.seo-full .seo-intro > p:first-child { font-size: 16px; }
.seo-full .seo-intro li { margin-bottom: 7px; }
.seo-full .seo-kw { margin-top: 22px; }
}

#fullPageBtn { text-decoration: none; }
#fullPageBtn:hover { color: var(--primary); }


.auth-box { display: flex; align-items: center; gap: 8px; }
.auth-open { padding: 8px 16px; }
.user-chip {
display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600;
color: var(--text); text-decoration: none; background: var(--tk94);
padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.user-chip:hover { background: var(--tk92); }

.user-chip .uc-ava {
position: relative; overflow: hidden;
flex: none; width: 28px; height: 28px; border-radius: 50%;
display: inline-grid; place-items: center;
background: var(--primary); color: #fff;
font-size: 12px; font-weight: 600; line-height: 1;
}
.user-chip .uc-ava img {
position: absolute; inset: 0; width: 100%; height: 100%;
object-fit: cover; border-radius: inherit;
}

.user-menu { position: relative; }
.user-menu .user-chip { border: none; cursor: pointer; font-family: inherit; max-width: 200px; overflow: hidden; }
.um-caret { font-size: 10px; color: var(--muted); transition: transform .15s; }
.user-menu.open .um-caret { transform: rotate(180deg); }
.user-dropdown {
display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
min-width: 168px; padding: 6px;
background: #fff; border: 1px solid var(--border); border-radius: 12px;
box-shadow: 0 10px 32px rgba(20, 20, 40, .14);
}
.user-menu.open .user-dropdown { display: block; }
.ud-item {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 9px 12px; border: none; border-radius: 8px;
background: none; font-size: 13.5px; color: var(--text);
cursor: pointer; text-align: left; text-decoration: none; white-space: nowrap;
}
.ud-item:hover { background: var(--tk96); color: var(--primary); }

.ud-item.active { background: var(--tk96); color: var(--primary); font-weight: 600; }
.ud-item.active svg { opacity: 1; }
.ud-item svg { flex: none; opacity: .75; }
.ud-item:hover svg { opacity: 1; }
.ud-item.ud-danger { color: var(--danger); }
.ud-item.ud-danger:hover { background: #fdf0f0; color: var(--danger); }
.ud-sep { height: 1px; margin: 4px 6px; background: var(--border); }

.ud-pts { margin-left: auto; padding-left: 12px; font-size: 12px; font-weight: 700; color: #d48806; }

.ud-arrow { margin-left: auto; font-size: 10px; color: var(--muted); transition: transform .15s; }
.ud-sub-toggle[aria-expanded="true"] .ud-arrow { transform: rotate(90deg); }
.ud-sub { margin: 2px 0 2px 10px; padding-left: 6px; border-left: 2px solid var(--tk94); }
.ud-sub[hidden] { display: none; }
.ud-sub .ud-item { padding: 8px 10px; font-size: 13px; }
.ud-logout { color: var(--muted); }
.link-btn {
background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; padding: 4px 6px;
}
.link-btn:hover { color: var(--danger); }


.blocked-entry { color: var(--muted); font-size: 12.5px; }
.blocked-entry:hover { color: var(--text); }
.blocked-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.blocked-tab {
border: 1px solid var(--border); background: #fff; color: var(--muted);
font-size: 12.5px; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.blocked-tab:hover { color: var(--text); }
.blocked-tab.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.blocked-avatar {
width: 44px; height: 44px; border-radius: 10px; flex: none;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); font-size: 20px;
}
.blocked-hint { margin: -2px 0 10px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.blocked-list { max-height: 56vh; overflow-y: auto; }
.blocked-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--tk94); }
.blocked-item:first-child { border-top: none; }
.blocked-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--tk96); }
.blocked-main { flex: 1; min-width: 0; }
.blocked-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blocked-meta { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blocked-undo { flex: none; font-size: 12.5px; padding: 6px 12px; }
.blocked-empty { padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); }



.card .card-block { right: 80px; color: var(--tk64); opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.card:hover .card-block, .card .card-block:focus-visible { opacity: 1; }
.card .card-block:hover { background: var(--danger, #ee4d4d); color: #fff; }
@media (hover: none) { .card .card-block { opacity: 1; } }

.row-block {
flex: none; width: 30px; height: 30px; border-radius: 50%;
border: 1px solid var(--border); background: #fff; color: var(--tk64);
display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.row-block svg { width: 15px; height: 15px; display: block; }
.row-block:hover { border-color: var(--danger, #ee4d4d); color: var(--danger, #ee4d4d); }

.row-block.is-owned { visibility: hidden; }

.blockwork-modal { max-width: 400px; }
.blockwork-work {
display: flex; align-items: center; gap: 7px; margin: 2px 0 10px;
font-size: 14px; font-weight: 600; line-height: 1.5; word-break: break-word;
}
.blockwork-work .ico { flex: none; width: 15px; height: 15px; color: var(--muted); }
.blockwork-hint { margin: 0 0 16px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.blockwork-hint b { color: var(--text); font-weight: 600; }
.blockwork-actions { display: flex; gap: 10px; }
.blockwork-actions button { flex: 1; }


.toast-act {
pointer-events: auto; flex: none; margin-left: 4px;
border: none; background: none; padding: 2px 4px; cursor: pointer;
font: inherit; font-size: 13.5px; font-weight: 600; color: var(--primary);
}
.toast-act:hover { text-decoration: underline; }


.rank-rules-btn {
border: none; background: none; padding: 0 0 0 8px; margin: 0;
font: inherit; font-weight: 600; color: var(--primary); cursor: pointer;
}
.rank-rules-btn:hover { text-decoration: underline; }

.rank-rules-btn .ico { font-size: 14px; vertical-align: -2px; margin-right: 2px; }
.rank-rules-modal .modal-head h2 .ico { font-size: 1.05em; margin-right: 8px; }
.rank-rules-body b .ico { font-size: 14px; margin-right: 4px; vertical-align: -1.5px; }
.rank-rules-modal { max-width: 560px; }
.rank-rules-body { max-height: 62vh; overflow-y: auto; }
.rank-rules-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 4px 0; }
.rank-rules-body b { color: var(--text); }

.rank-rules-body .rr-qa { border-bottom: 1px solid rgba(127,127,127,.22); }
.rank-rules-body .rr-qa:last-child { border-bottom: none; }
.rank-rules-body .rr-qa summary {
list-style: none; cursor: pointer; user-select: none;
display: flex; align-items: center; gap: 6px;
padding: 12px 2px; font-size: 14px; font-weight: 600; color: var(--text);
}
.rank-rules-body .rr-qa summary::-webkit-details-marker { display: none; }
.rank-rules-body .rr-qa summary .ico { font-size: 1.05em; }

.rank-rules-body .rr-qa summary::after {
content: ""; flex: none; margin-left: auto; width: 8px; height: 8px;
border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
transform: rotate(45deg); transition: transform .18s ease;
margin-right: 4px;
}
.rank-rules-body .rr-qa[open] summary::after { transform: rotate(-135deg); }
.rank-rules-body .rr-qa summary:hover { color: var(--primary); }
.rank-rules-body .rr-a { padding: 0 2px 12px; }
.rank-rules-body .rr-a p:first-child { margin-top: 0; }
.rank-rules-body .rr-a p:last-child { margin-bottom: 0; }


.modal.modal-stats { max-width: 660px; }
.stats-entry { color: var(--muted); }
.stats-entry:hover { color: var(--primary); }
.stats-loading { padding: 32px 0; text-align: center; font-size: 13px; color: var(--muted); }

.stats-summary {
display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-bottom: 18px;
}
.stat-card {
background: var(--tk98); border: 1px solid var(--tk94); border-radius: 12px;
padding: 10px 6px; text-align: center;
}
.stat-card b { display: block; font-size: 18px; line-height: 1.25; color: var(--text); }
.stat-card span { font-size: 11.5px; color: var(--muted); }

.stat-card.is-share { background: linear-gradient(180deg, var(--tk96), var(--tk98)); border-color: var(--tk94); }
.stat-card.is-share b { color: var(--primary); }

.stat-card.is-act { background: linear-gradient(180deg, #eefaf5, #f7fdfa); border-color: #d6f2e6; }
.stat-card.is-act b { color: #0f9d70; }

.stat-card.is-act.is-intent { background: #f7f8fa; border-color: #eceef2; }
.stat-card.is-act.is-intent b { color: var(--muted); }


.stats-summary.is-line {
display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 16px;
padding: 10px 14px; margin-bottom: 18px;
background: var(--tk98); border: 1px solid var(--tk94); border-radius: 12px;
font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
.stats-summary.is-line .ss-item { white-space: nowrap; }
.stats-summary.is-line .ss-item b { color: var(--text); font-weight: 600; margin-left: 1px; }
.stats-summary.is-line .ss-item.is-act b { color: #0f9d70; }
.stats-summary.is-line .ss-item.is-intent b { color: var(--muted); }


.week-bill {
padding: 12px 14px; margin: -8px 0 18px;
background: linear-gradient(135deg, var(--tk96) 0%, var(--tk98) 70%);
border: 1px solid var(--tk92); border-radius: 12px;
}
.week-bill .wb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.week-bill .wb-title { font-size: 13px; font-weight: 600; color: var(--primary-dark); }
.week-bill .wb-range { font-size: 11.5px; color: var(--muted); }
.week-bill .wb-line, .week-bill .wb-top { font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.week-bill .wb-line b, .week-bill .wb-top b { color: var(--text); font-weight: 600; }
.week-bill .wb-top a { color: var(--primary); text-decoration: none; }
.week-bill .wb-top a:hover { text-decoration: underline; }

.stats-chart { margin-bottom: 20px; position: relative; }
.stats-chart-head {
display: flex; align-items: flex-start; justify-content: space-between;
flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px;
}
.stats-chart-title { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; }
.stats-chart-hint { font-size: 11px; font-weight: 400; color: var(--muted); }
.stats-range {
display: flex; flex: none; gap: 2px; padding: 2px;
background: var(--tk94); border-radius: 8px;
}
.stats-range-btn {
border: 0; background: transparent; padding: 4px 9px; border-radius: 6px;
color: var(--muted); font-family: inherit; font-size: 11px; line-height: 1.4;
cursor: pointer; transition: background .15s, color .15s;
}
.stats-range-btn:hover { color: var(--primary-dark); }
.stats-range-btn.is-on {
background: #fff; color: var(--primary-dark); font-weight: 600;
box-shadow: 0 1px 4px rgba(45, 45, 90, .10);
}
.stats-line { position: relative; height: 114px; }
.stats-line svg { display: block; width: 100%; height: 96px; overflow: visible; }
.stats-line-path {
stroke: var(--tk68); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
}
.stats-line-dot { fill: #fff; stroke: var(--tk68); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.stats-line-guide { stroke: var(--tk84); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.stats-line-cursor {
fill: #fff; stroke: var(--tk60); stroke-width: 2; vector-effect: non-scaling-stroke;
opacity: 0; filter: drop-shadow(0 1px 3px rgba(60, 60, 130, .25));
}
.stats-line-hit { position: absolute; top: 0; left: 0; right: 0; height: 96px; cursor: crosshair; outline: none; }
.stats-line-hit:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; border-radius: 6px; }
.stats-line-x { position: relative; height: 16px; margin-top: 2px; }
.stats-line-label {
position: absolute; top: 0; transform: translateX(-50%);
font-size: 10px; color: var(--muted); white-space: nowrap;
}
.stats-line-label.is-first { transform: none; }
.stats-line-label.is-last { transform: translateX(-100%); }

.stats-line-tip {
position: absolute; z-index: 3; transform: translateX(-50%);
display: flex; align-items: baseline; gap: 5px;
padding: 4px 9px; border-radius: 8px; white-space: nowrap;
background: rgba(28, 28, 52, .92); color: #fff; font-size: 11.5px; line-height: 1.4;
box-shadow: 0 6px 16px rgba(28, 28, 60, .18);
opacity: 0; pointer-events: none; transition: opacity .12s;
}
.stats-line-tip.is-on { opacity: 1; }
.stats-line-tip b { font-size: 13px; font-weight: 700; }
.stats-line-tip i { font-style: normal; color: rgba(255, 255, 255, .6); }
@media (max-width: 520px) {
.stats-chart-head { align-items: stretch; }
.stats-range { width: 100%; }
.stats-range-btn { flex: 1; }
}



.pt-head {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
background: #fff7e6; border-radius: 12px; padding: 12px 14px; margin-bottom: 4px;
}
.pt-bal { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.pt-bal b { font-size: 24px; font-weight: 700; color: #d48806; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pt-bal span { font-size: 12px; color: var(--muted); }
.pt-go {
flex: none; border: none; background: none; padding: 4px 0; cursor: pointer;
color: var(--primary); font-size: 12.5px; font-weight: 600; font-family: inherit; white-space: nowrap;
}
.pt-go:active { opacity: .6; }
.pt-day { font-size: 11.5px; font-weight: 600; color: var(--muted); margin: 11px 0 0; }

.pt-row {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
padding: 6px 2px; border-bottom: 1px solid var(--tk94);
}
.pt-main { min-width: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.pt-text { font-size: 13px; color: var(--text); flex: none; }
.pt-sub {
min-width: 0; font-size: 11.5px; color: var(--muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-sub::before { content: '·'; margin-right: 6px; color: #c9c9d4; }
.pt-work { color: var(--muted); text-decoration: none; }
.pt-work:hover { color: var(--primary); }
.pt-right { flex: none; display: flex; align-items: baseline; gap: 8px; }
.pt-amt { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.pt-amt.is-in { color: #d48806; }
.pt-time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pt-in { color: #d48806; }
.pt-out { color: var(--text); }

.pt-tip.stats-tip { margin-bottom: 14px; }

.pt-star-hint {
width: 100%; display: flex; align-items: flex-start; gap: 8px; text-align: left;
padding: 9px 11px; margin: 0 0 10px; cursor: pointer;
font-size: 12px; line-height: 1.6; color: #8a5a06;
background: #fdf6e6; border: 1px solid #f3e3c2; border-radius: 9px;
transition: background .15s, border-color .15s;
}
.pt-star-hint:hover { background: #fdf1d8; border-color: #ead2a3; }
.pt-star-hint:active { transform: scale(.995); }
.pt-star-hint .ico { flex: 0 0 auto; font-size: 1.2em; line-height: 1.5; }
.pt-star-hint > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.pt-star-hint b { color: #b26a00; }
.pt-star-hint i { flex: 0 0 auto; font-style: normal; font-weight: 700; color: #b26a00; }


.stat-card.is-click { cursor: pointer; transition: border-color .15s, background .15s; }
.stat-card.is-click:hover { border-color: var(--tk86); background: var(--tk98); }
.stat-card.is-click:active { transform: scale(.99); }

.stats-works-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.stats-works { display: flex; flex-direction: column; }
.stats-work {
display: flex; align-items: center; gap: 10px; padding: 10px 0;
border-top: 1px solid var(--tk94); cursor: pointer;
}
.stats-works .stats-work:first-child { border-top: none; }
.stats-work:hover { background: var(--tk98); }
.stats-work img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--tk96); }
.sw-main { flex: 1; min-width: 0; }
.sw-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-badge {
margin-left: 6px; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 999px;
background: #fff3df; color: #a2600a; vertical-align: 1px;
}
.sw-meta { margin-top: 3px; font-size: 12px; color: var(--muted); }
.sw-types { margin-top: 2px; font-size: 11px; color: var(--tk60); opacity: .9; }

.sw-star { margin-top: 2px; font-size: 11px; color: #8a5a06; }
.sw-star[hidden] { display: none; }
.stats-star-bar {
display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
margin: 10px 0 4px; padding: 9px 12px; border-radius: 10px;
background: #fdf6e6; color: #8a5a06; font-size: 12px;
}
.stats-star-bar[hidden] { display: none; }
.stats-star-bar .sw-share { flex: none; margin-top: 0; white-space: nowrap; }
.sw-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--primary); }
.sw-spark { display: block; opacity: .85; }

.sw-spark-wrap { position: relative; display: block; cursor: pointer; }
.sw-spark-dot { fill: currentColor; }
.sw-spark-tip {
position: absolute; z-index: 4; transform: translateX(-50%);
display: flex; align-items: baseline; gap: 5px;
padding: 4px 9px; border-radius: 8px; white-space: nowrap;
background: rgba(28, 28, 52, .92); color: #fff; font-size: 11.5px; line-height: 1.4;
box-shadow: 0 6px 16px rgba(28, 28, 60, .18);
opacity: 0; pointer-events: none; transition: opacity .12s;
}
.sw-spark-tip.is-on { opacity: 1; }
.sw-spark-tip b { font-size: 13px; font-weight: 700; }
.sw-spark-tip i { font-style: normal; color: rgba(255, 255, 255, .6); }
.sw-7d { font-size: 11px; color: var(--muted); }
.sw-share {
margin-top: 3px; font-size: 11px; line-height: 1.6; padding: 1px 10px; border-radius: 999px;
border: 1px solid var(--tk90); background: #fff; color: var(--tk60); cursor: pointer;
transition: background .15s, color .15s, border-color .15s;
}
.sw-share:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.sw-btns { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 4px 6px; margin-top: 3px; width: max-content; max-width: 100%; }
.sw-btns .sw-share { margin-top: 0; white-space: nowrap; }
@media (max-width: 560px) {
.sw-btns { flex-wrap: wrap; width: auto; }
}


.board-list { display: flex; flex-direction: column; margin-bottom: 2px; }
.board-note { font-size: 12px; color: var(--muted, #8a8aa3); line-height: 1.5; margin: -4px 0 8px; }
.board-note b { color: inherit; font-weight: 600; }
.board-row {
display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 10px; font-size: 13px;
}
.board-row + .board-row { margin-top: 2px; }

a.board-row { color: inherit; text-decoration: none; cursor: pointer; }
a.board-row:hover:not(.is-me) { background: var(--tk96); }
.board-row:nth-child(odd) { background: var(--tk98); }
.board-row.is-me { background: var(--tk96); box-shadow: inset 0 0 0 1px var(--tk92); }
.board-rank { width: 22px; flex: none; text-align: center; font-size: 12px; font-weight: 700; color: #b9b9cc; }
.board-rank.top { color: var(--primary); }
.board-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-num { flex: none; font-size: 11.5px; color: var(--muted); white-space: nowrap; }   
.board-pts { flex: none; min-width: 44px; text-align: right; font-size: 13px; color: var(--primary); }
.board-pts i { font-style: normal; font-size: 10px; color: var(--muted); margin-left: 1px; }

.mini-share-card {
display: flex; align-items: center; gap: 10px; width: 100%; margin: 10px 0 2px;
padding: 9px 12px; text-align: left; cursor: pointer;
border: 1px solid var(--tk92); border-radius: 11px; background: var(--tk98);
transition: background .15s, border-color .15s, box-shadow .15s;
}
.mini-share-card:hover { background: var(--tk96); border-color: var(--tk86); box-shadow: 0 3px 10px rgba(var(--tk58-rgb), .1); }
.mini-share-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.msc-ico { font-size: 15px; color: var(--primary); }
.msc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.msc-main b { font-size: 12.5px; font-weight: 600; color: var(--text, #2b2b3a); }
.msc-main span { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.msc-main span b { font-size: inherit; color: var(--primary); }
.msc-fine { font-style: normal; font-size: 11px; color: #a5a3bd; line-height: 1.5; }
.msc-go { flex: none; align-self: center; font-size: 11.5px; color: var(--primary); white-space: nowrap; }

@media (max-width: 420px) {
.msc-go { font-size: 0; }
.msc-go::after { content: '›'; font-size: 16px; }
}
.stats-tip { margin: 12px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.6; }

.share-today { color: var(--text, #2b2b3a); font-weight: 600; }


.stats-actions { margin: -8px 0 18px; display: flex; flex-direction: column; gap: 5px; }
.stats-redeem {
width: 100%; padding: 8px 12px; font-size: 13px; font-weight: 700; cursor: pointer;
color: #fff; background: linear-gradient(135deg, var(--primary), var(--tk68));
border: none; border-radius: 9px;
box-shadow: 0 2px 6px rgba(var(--tk58-rgb), .3);
transition: background .15s, box-shadow .15s, transform .15s;
}
.stats-redeem:hover {
background: linear-gradient(135deg, var(--primary-dark), var(--tk62));
box-shadow: 0 3px 10px rgba(var(--tk58-rgb), .4);
transform: translateY(-1px);
}
.stats-redeem:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(var(--tk58-rgb), .3); }

.stats-gift-link {
align-self: center; background: none; border: none; padding: 2px 4px;
font-size: 12.5px; color: var(--muted); cursor: pointer;
text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tk86);
transition: color .15s;
}
.stats-gift-link:hover { color: var(--primary); text-decoration-color: var(--primary); }

.stats-gift-cta {
width: 100%; display: flex; align-items: center; gap: 7px; text-align: left;
padding: 9px 12px; cursor: pointer;
font-size: 13px; font-weight: 700; color: var(--primary);
background: #f6f4ff; border: 1px solid var(--tk86); border-radius: 9px;
transition: background .15s, border-color .15s, transform .15s;
}
.stats-gift-cta:hover { background: #efeaff; border-color: var(--primary); }
.stats-gift-cta:active { transform: scale(.995); }

.modal-head .stats-head-gift {
display: none; align-items: center; gap: 5px; margin: 0 40px 0 auto;
padding: 5px 11px; font-size: 12px; font-weight: 700; color: var(--primary);
background: #f6f4ff; border: 1px solid var(--tk86); border-radius: 999px;
cursor: pointer; transition: background .15s, border-color .15s;
}
.modal-head .stats-head-gift:hover { background: #efeaff; border-color: var(--primary); }
.modal-head .stats-head-gift .ico { display: inline-flex; align-items: center; }
.stats-gift-cta .ico { flex: 0 0 auto; font-size: 1.2em; }
.stats-gift-cta span:nth-of-type(2) { flex: 1 1 auto; }
.stats-gift-cta i { flex: 0 0 auto; font-style: normal; font-size: 16px; font-weight: 700; }


.modal.modal-gift { max-width: 420px; }
.gift-tip { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.gift-input {
width: 100%; padding: 12px 14px; font-size: 16px; letter-spacing: 1.5px;
text-transform: uppercase; border: 1px solid var(--border); border-radius: 10px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.gift-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk66-rgb), .12); }
.modal-gift .btn-block { margin-top: 12px; }
.gift-msg {
margin: 12px 0 0; padding: 10px 12px; border-radius: 10px;
font-size: 13px; line-height: 1.6;
}
.gift-msg.ok { background: #f1fbf5; border: 1px solid #d7efe2; color: #1b7a52; }
.gift-msg.ok b { color: #12704a; font-size: 15px; }
.gift-msg.bad { background: #fff4f4; border: 1px solid #f6dcdc; color: #c0392b; }


.os-bonus {
margin: 0 0 18px; padding: 12px 14px;
background: linear-gradient(135deg, #f1fbf5, #fafdfb);
border: 1px solid #d7efe2; border-radius: 12px;
}
.os-bonus .ob-head { font-size: 13px; font-weight: 700; color: #1b7a52; margin-bottom: 6px; }
.os-bonus p { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 0 0 5px; }
.os-bonus p b { color: #1b7a52; }
.os-bonus .ob-btn {
margin-top: 4px; padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer;
color: #1b7a52; background: #fff; border: 1px solid #c9e8d8; border-radius: 8px;
transition: background .15s, border-color .15s;
}
.os-bonus .ob-btn:hover { background: #eefaf3; border-color: #a8dbc2; }

.os-bonus .ob-head .ico { margin-right: 5px; vertical-align: -0.12em; }
.os-bonus .ob-btn .ico { margin-right: 5px; vertical-align: -0.12em; }

.os-bonus .ob-status { margin: 8px 0 2px; padding: 8px 10px; border-radius: 8px; background: #f6fbf8; border: 1px solid #dcefe5; font-size: 12px; }
.os-bonus .ob-status-empty { color: var(--muted); }
.os-bonus .ob-status-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.os-bonus .ob-status-sum b { color: #1b7a52; font-size: 13px; }
.os-bonus .ob-status-sum span { color: var(--muted); }
.os-bonus .ob-status-rows { display: flex; flex-direction: column; gap: 4px; }
.os-bonus .ob-status-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; line-height: 1.5; }
.os-bonus .ob-status-row b { color: #2b3a33; font-weight: 600; }
.os-bonus .ob-status-row span { color: var(--muted); flex: 1 1 auto; min-width: 0; }
.os-bonus .ob-status-row i { font-style: normal; color: #8aa79a; flex: 0 0 auto; }

.star-res {
margin: 0 0 14px; padding: 14px 16px; border-radius: 12px;
background: #fff; border: 1px solid var(--tk92);
color: var(--text); font-size: 13.5px; line-height: 1.65;
}
.star-res b { color: var(--primary); font-size: 19px; font-weight: 700; margin: 0 2px; }
.star-res.is-muted { background: #fafafb; border-color: #ecebf2; color: var(--muted); }
.star-res.is-muted b { color: var(--text); font-size: 13.5px; }
.star-res.is-err { background: #fdf5f5; border-color: #f2dede; color: #b04a4a; }
.stats-gift-link .ico { font-size: 1.18em; vertical-align: -0.2em; margin-right: 2px; }
.stats-tip .ico { font-size: 1.18em; vertical-align: -0.2em; margin-right: 2px; }
.sw-meta .ico { font-size: 1.08em; vertical-align: -0.12em; margin: 0 1px; }



.promote-body { max-width: 860px; margin: 0 auto; padding: 4px 0 40px; }
.redeem-body { padding: 0; }   
.redeem-hero {
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
background: linear-gradient(135deg, var(--tk96), var(--tk98));
border: 1px solid var(--tk94); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px;
}

.rh-tip { flex: 1; min-width: 200px; font-size: 12px; line-height: 1.65; color: #5b5f74; }
.rh-tip b { color: var(--text); }

.rh-share-row {
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
margin-top: 8px; padding: 8px 12px; font-size: 12px; color: #5b5f74;
background: rgba(var(--tk58-rgb), .06); border: 1px dashed rgba(var(--tk58-rgb), .35); border-radius: 10px;
}
.rh-share-row b { color: var(--text); }
.rh-share-btn {
margin-left: auto; padding: 5px 12px; font-size: 12px; font-weight: 600;
color: #fff; background: var(--primary); border: none; border-radius: 999px;
cursor: pointer; transition: transform .12s, opacity .12s;
}
.rh-share-btn:hover { transform: translateY(-1px); opacity: .92; }

.rh-links { margin-top: 6px; text-align: right; }
.rh-link {
font-size: 12px; color: var(--primary); background: none; border: none;
cursor: pointer; padding: 2px 0; font-weight: 500;
}
.rh-link:hover { text-decoration: underline; }

.redeem-topline {
display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
margin-bottom: 10px;
}
.rt-bal { font-size: 12px; color: var(--muted); }
.rt-bal b { font-size: 18px; color: var(--primary); margin: 0 2px; }

.redeem-faq { margin-bottom: 16px; }
.redeem-faq details {
background: linear-gradient(135deg, var(--tk96), var(--tk98));
border: 1px solid var(--tk94); border-radius: 12px; padding: 10px 14px;
}
.redeem-faq details + details { margin-top: 8px; }
.redeem-faq summary {
cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text);
list-style: none; display: flex; align-items: center; gap: 6px; user-select: none;
}
.redeem-faq summary::-webkit-details-marker { display: none; }
.redeem-faq summary::before { content: '▸'; font-size: 11px; color: var(--primary); transition: transform .15s; }
.redeem-faq details[open] summary { color: var(--primary); }
.redeem-faq details[open] summary::before { transform: rotate(90deg); }
.redeem-faq .rfq-a { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: #5b5f74; }
.redeem-faq .rfq-a p { margin: 0 0 8px; }
.redeem-faq .rfq-a p:last-child { margin-bottom: 0; }
.redeem-faq .rfq-a b { color: var(--text); }

.redeem-faq .rfq-jump { font-size: 12.5px; font-weight: 600; color: var(--primary); text-decoration: none; }
.redeem-faq .rfq-jump:hover { text-decoration: underline; }


.promo-board { margin-bottom: 16px; }
.pb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 8px; }
.pb-head-t { font-size: 14px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.pb-head-t .ico { color: var(--primary); }
.pb-head small { font-size: 12px; color: var(--muted); }

.pb-head .pb-qa {
flex: 1 0 100%; margin-top: 2px;
background: linear-gradient(135deg, var(--tk98), var(--tk98));
border: 1px solid var(--tk94); border-radius: 10px; padding: 6px 10px;
}
.pb-head .pb-qa summary {
cursor: pointer; font-size: 12px; font-weight: 600; color: var(--primary);
list-style: none; display: flex; align-items: center; gap: 6px; user-select: none;
}
.pb-head .pb-qa summary::-webkit-details-marker { display: none; }
.pb-head .pb-qa summary::before { content: '▸'; font-size: 10px; transition: transform .15s; }
.pb-head .pb-qa[open] summary::before { transform: rotate(90deg); }
.pb-head .pb-qa-a { margin-top: 6px; font-size: 12px; line-height: 1.65; color: #5b5f74; }
.pb-head .pb-qa-a p { margin: 0 0 6px; }
.pb-head .pb-qa-a p:last-child { margin-bottom: 0; }
.pb-head .pb-qa-a b { color: var(--text); }

.pb-totals {
display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;
background: linear-gradient(135deg, var(--tk96), var(--tk98));
border: 1px solid var(--tk94); border-radius: 12px;
padding: 10px 12px; margin-bottom: 8px;
}
.pb-tot { display: flex; flex-direction: column; min-width: 64px; padding: 2px 6px; }
.pb-tot i { font-style: normal; font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.15; font-variant-numeric: tabular-nums; }
.pb-tot small { font-size: 11px; color: var(--muted); }
.pb-tot-note {
flex: 1 1 160px; min-width: 0; align-self: center;
font-size: 11px; line-height: 1.5; color: var(--muted);
}

@media (max-width: 520px) {
.pb-tot { min-width: 56px; }
.pb-tot i { font-size: 17px; }
}

.pb-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.pb-tab {
flex: 1; min-width: 0; padding: 6px 4px; border-radius: 9px;
border: 1px solid var(--tk94); background: var(--tk98); color: var(--muted);
font-size: 12px; font-weight: 600; font-family: inherit; line-height: 1.4;
cursor: pointer; transition: background .12s, color .12s, border-color .12s;
}
.pb-tab:hover { border-color: var(--primary); color: var(--primary); }
.pb-tab.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pb-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.pb-col.pb-pane { display: none; }
.pb-col.pb-pane.is-on { display: flex; }
.pb-note { font-size: 11px; line-height: 1.5; color: var(--muted); padding: 0 4px 2px; }
.pb-col {
background: linear-gradient(135deg, var(--tk96), var(--tk98));
border: 1px solid var(--tk94); border-radius: 12px; padding: 10px;
display: flex; flex-direction: column; gap: 6px;
}
.pb-col-title { font-size: 12.5px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.pb-row {
display: flex; align-items: center; gap: 8px; padding: 6px 8px;
background: var(--card); border: 1px solid var(--border); border-radius: 10px;
cursor: pointer; transition: border-color .12s, transform .12s;
}
.pb-row:hover { border-color: var(--primary); transform: translateY(-1px); }

.pb-medal { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.pb-medal .ico { width: 22px; height: 22px; }
.pb-medal-gold { color: #d97706; }
.pb-medal-silver { color: #8b93a5; }
.pb-medal-bronze { color: #b46b45; }
.pb-rank {
flex: none; width: 20px; height: 20px; border-radius: 6px;
display: flex; align-items: center; justify-content: center;
font-size: 11px; font-weight: 700; color: var(--muted); background: var(--tk94);
}

.pb-row.is-podium { background: #fffdf6; }
.pb-thumb { flex: none; width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--tk94); }
.pb-thumb.is-noimg { display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); }
.pb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pb-title { font-size: 12.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-title .pb-live {
flex: none; margin-left: 5px; padding: 0 5px; border-radius: 99px;
font-size: 10px; font-style: normal; font-weight: 600;
color: #1a7f4b; background: #e2f6ea; vertical-align: 1px;
}
.pb-meta { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-num { flex: none; text-align: right; display: flex; flex-direction: column; }
.pb-num i { font-style: normal; font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.pb-num small { font-size: 10px; color: var(--muted); }
.pb-empty { padding: 14px 8px; text-align: center; font-size: 12px; color: var(--muted); }
.pb-foot { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pb-foot a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pb-foot a:hover { text-decoration: underline; }
@media (max-width: 640px) {
.pb-tab { font-size: 11.5px; }
.pb-num i { font-size: 13px; }

.pb-meta { white-space: normal; }
}


.modal-share-pick { width: min(400px, 92vw); }
.spp-tip { margin: -6px 0 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.share-pick-body { display: flex; flex-direction: column; gap: 8px; max-height: 55vh; overflow-y: auto; }
.spp-item {
display: flex; align-items: center; gap: 10px; padding: 8px 10px;
background: var(--tk96); border: 1px solid var(--tk92); border-radius: 12px;
cursor: pointer; text-align: left; transition: border-color .12s, background .12s;
}
.spp-item:hover { border-color: var(--primary); background: var(--tk96); }
.spp-item img, .spp-item .rw-noimg {
width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none;
}
.spp-item .rw-noimg { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); background: var(--tk94); }
.spp-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spp-go { flex: none; font-size: 12px; color: var(--primary); font-weight: 600; }


.modal-draft-pick { width: min(420px, 92vw); }
.draft-pick-body { display: flex; flex-direction: column; gap: 8px; max-height: 55vh; overflow-y: auto; }
.draft-row {
display: flex; align-items: center; gap: 10px; padding: 8px 10px;
background: var(--tk96); border: 1px solid var(--tk92); border-radius: 12px;
cursor: pointer; text-align: left; transition: border-color .12s, background .12s;
}
.draft-row:hover { border-color: var(--primary); background: var(--tk96); }
.draft-thumb {
width: 48px; height: 48px; border-radius: 8px; flex: none; overflow: hidden;
display: flex; align-items: center; justify-content: center;
background: var(--tk94); font-size: 11px; color: var(--muted);
}
.draft-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.draft-thumb-new { border: 1px dashed var(--tk86); font-size: 20px; color: var(--primary); }
.draft-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.draft-info b { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.draft-info span { font-size: 11.5px; color: var(--muted); }


.modal-ai-pick { width: min(420px, 92vw); }
.ai-pick-preview {
max-height: 40vh; overflow-y: auto; margin-bottom: 14px;
padding: 10px 12px; background: var(--tk96); border: 1px solid var(--tk92); border-radius: 12px;
font-size: 13px; line-height: 1.7; color: var(--text);
white-space: pre-wrap; word-break: break-word;
}
.ai-pick-actions { display: flex; gap: 10px; justify-content: flex-end; }
.draft-del {
flex: none; width: 24px; height: 24px; border: 0; border-radius: 6px;
background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1;
}
.draft-del:hover { background: #ffe9e9; color: #d64545; }

.draft-new-full { cursor: not-allowed; opacity: .6; }
.draft-new-full:hover { border-color: var(--tk92); background: #fff; }

.redeem-sec { margin-bottom: 16px; }
.redeem-sec-head {
display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.redeem-sec-head span { font-weight: 400; font-size: 11.5px; color: var(--muted); }

.xp-sec { border: 1px solid var(--tk94); background: var(--tk98); border-radius: 12px; padding: 12px 14px; }
.redeem-sec-head .xp-badge { font-size: 10px; font-weight: 600; color: var(--tk50); background: var(--tk94); border-radius: 5px; padding: 1px 6px; }
.xp-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.xp-pack { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; }
.xp-name { color: var(--text); }
.xp-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.xp-bonus { font-style: normal; font-weight: 500; font-size: 10.5px; color: #b8791f; background: #fdf3e0; border-radius: 4px; padding: 1px 5px; margin-left: 5px; }
.xp-tip { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0 0 10px; }
.xp-go { font-size: 12px; padding: 6px 14px; }

.lp-sec { border: 1px solid #f2dfc2; background: #fffcf6; border-radius: 12px; padding: 12px 14px; }
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 6px 0 10px; }
.lp-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.lp-icon { width: 34px; height: 34px; flex: none; object-fit: contain; }
.lp-name { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; color: var(--text); }

.lp-name b { color: #b8791f; }

.lp-name .lp-num { white-space: nowrap; }
.lp-price { font-weight: 700; font-size: 12px; color: #b8791f; white-space: nowrap; }
.lp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-line { display: flex; align-items: baseline; gap: 6px; }
.lp-acts { display: flex; gap: 6px; }
.lp-buy, .lp-ali {
flex: 1; min-width: 0; font-size: 12px; padding: 6px 8px; white-space: nowrap;
display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.lp-ali {
border-radius: 6px; text-decoration: none;
color: #1677ff; background: #eaf3ff; border: 1px solid #cfe2ff;
}
.lp-ali:hover { background: #dceaff; }
.lp-tip { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.lp-tip.lp-legal, .xp-tip.lp-legal { margin-top: 8px; }

.lampbuy .lpbuy-qrwrap {
position: relative; width: 240px; max-width: 72vw; aspect-ratio: 1 / 1;
margin: 0 auto 10px;
}
.lampbuy .lpbuy-qr {
position: absolute; inset: 0; width: 100%; height: 100%;
object-fit: contain; display: block; background: #fff;
border-radius: 10px; opacity: 0; transition: opacity .2s;
}
.lampbuy .lpbuy-qrwrap.is-ready .lpbuy-qr { opacity: 1; }
.lampbuy .lpbuy-skel {
position: absolute; inset: 0; z-index: 1;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
border: 1px solid var(--border); border-radius: 10px; background: #fff;
transition: opacity .2s;
}

.lampbuy .lpbuy-skel::before {
content: ''; position: absolute; inset: 14px; border-radius: 6px; opacity: .5;
background-image:
linear-gradient(90deg, var(--tk94) 1px, transparent 1px),
linear-gradient(var(--tk94) 1px, transparent 1px);
background-size: 14px 14px;
-webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
}
.lampbuy .lpbuy-skel > * { position: relative; z-index: 1; }
.lampbuy .lpbuy-skel .spin {
width: 28px; height: 28px; border-radius: 50%;
border: 3px solid var(--tk92); border-top-color: var(--primary);
animation: wxqr-spin .8s linear infinite;
}
.lampbuy .lpbuy-skel-title { font-size: 13px; font-weight: 600; color: var(--text); }
.lampbuy .lpbuy-skel-sub { font-size: 11px; color: var(--muted); }
.lampbuy .lpbuy-qrwrap.is-ready .lpbuy-skel { opacity: 0; pointer-events: none; }

.lampbuy .lpbuy-qrwrap.is-err {
border: 1px dashed rgba(255, 255, 255, .35); border-radius: 10px;
}
.lampbuy .lpbuy-qrwrap.is-err .lpbuy-skel,
.lampbuy .lpbuy-qrwrap.is-err .lpbuy-qr { display: none; }
.lampbuy .lpbuy-retry {
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
padding: 7px 16px; border: 1px solid var(--primary); border-radius: 999px;
background: var(--primary); color: #fff; font-size: 13px; cursor: pointer;
}
.lampbuy .lpbuy-retry[hidden] { display: none; }
.lampbuy-card { position: relative; }
.lampbuy-close {
position: absolute; top: -10px; right: -10px; z-index: 2;
width: 30px; height: 30px; border: 0; border-radius: 50%;
background: rgba(255, 255, 255, .92); color: #333; font-size: 14px;
display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lampbuy-close:hover { background: #fff; }
.lampbuy .lpbuy-status { font-size: 13px; color: #fff; margin: 0 0 8px; }
.redeem-empty {
padding: 16px 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted);
background: var(--tk98); border: 1px dashed var(--tk92); border-radius: 10px;
}

.redeem-works { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.redeem-work {
position: relative; flex: none; width: 108px; padding: 8px; cursor: pointer;
background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
display: flex; flex-direction: column; gap: 6px; text-align: left;
transition: border-color .15s, box-shadow .15s;
}
.redeem-work:hover { border-color: var(--tk86); }
.redeem-work.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .1); }
.redeem-work img, .rw-noimg {
width: 100%; height: 58px; border-radius: 8px; object-fit: cover; background: var(--tk96);
}
.rw-noimg { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.rw-title {
font-size: 12px; color: var(--text); line-height: 1.35; max-height: 2.7em; overflow: hidden;
}
.rw-check {
position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; border-radius: 50%;
background: var(--primary); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
}

.redeem-slots { display: flex; flex-direction: column; gap: 6px; }
.redeem-slot {
display: flex; align-items: center; gap: 12px; padding: 9px 12px; cursor: pointer;
background: #fff; border: 1.5px solid var(--border); border-radius: 10px; text-align: left;
transition: border-color .15s, background .15s;
}
.redeem-slot:hover { border-color: var(--tk86); }
.redeem-slot.is-on { border-color: var(--primary); background: var(--tk98); }
.rs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rs-main b { font-size: 13px; font-weight: 600; }
.rs-main small { font-size: 11px; color: var(--muted); }
.rs-price { flex: none; font-size: 15px; font-weight: 700; color: var(--primary); }
.rs-price small { font-size: 10px; font-weight: 400; color: var(--muted); margin-right: 2px; }
.rs-price i { display: block; font-size: 10px; font-weight: 400; font-style: normal; color: var(--muted); text-align: right; }


.redeem-preview { margin-top: 10px; display: flex; align-items: center; gap: 16px; }

@media (min-width: 960px) {
.redeem-sec-slots {
display: grid; grid-template-columns: minmax(0, 1fr) 300px;
grid-template-areas: "head head" "advice advice" "list prev";
column-gap: 26px; align-items: start;
}
.redeem-sec-slots .redeem-sec-head { grid-area: head; }

.redeem-sec-slots .rs-advice { grid-area: advice; }
.redeem-sec-slots .redeem-slots { grid-area: list; }
.redeem-sec-slots .redeem-preview {
grid-area: prev; margin-top: 2px;
flex-direction: column; align-items: center; gap: 10px;
position: sticky; top: 18px;   
}
.redeem-sec-slots .rp-note { text-align: center; }
}
.rp-modal {
flex: none; width: 240px; background: #fff; border: 1px solid var(--border);
border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(30, 32, 60, .08);
}
.rp-head { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.rp-head i { width: 26px; height: 6px; border-radius: 3px; background: var(--tk90); }
.rp-head i:first-child { width: 44px; background: var(--tk88); }
.rp-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.rp-top { display: flex; gap: 8px; }
.rp-thumb { flex: none; width: 56px; height: 40px; border-radius: 6px; background: linear-gradient(135deg, var(--tk94), #f6e3f2); }
.rp-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.rp-lines i { height: 6px; border-radius: 3px; background: var(--tk90); }
.rp-lines i:first-child { width: 70%; background: var(--tk86); }
.rp-btns { display: flex; gap: 5px; }
.rp-btns i { flex: 1; height: 14px; border-radius: 7px; background: var(--tk96); }
.rp-btns i:first-child { background: #fdeef0; }
.rp-ad {
display: flex; align-items: center; justify-content: center; gap: 6px;
padding: 6px 8px; border-radius: 8px;
background: #2b2d3a; color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
outline: 2px solid var(--primary); outline-offset: 2px;
}
.rp-ad-img { flex: none; width: 28px; height: 19px; border-radius: 4px; object-fit: cover; }
.rp-ad-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-cmt { display: flex; gap: 5px; }
.rp-cmt i { flex: 1; height: 10px; border-radius: 4px; background: var(--tk96); }
.rp-note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.rp-note b { color: var(--primary); }

.rp-phone {
width: 196px; margin: 2px auto 10px; padding: 7px;
border: 1.5px solid var(--border); border-radius: 18px; background: #fff;
}
.rp-phone-screen { border-radius: 12px; background: var(--tk96); padding: 8px; overflow: hidden; }
.rp-mbar { height: 7px; width: 62%; margin: 0 auto 8px; border-radius: 999px; background: var(--tk92); }
.rp-mcard { background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 1px 4px rgba(31,35,48,.06); }
.rp-mcard + .rp-mcard { margin-top: 7px; }
.rp-mcard.is-ghost { opacity: .55; }
.rp-mcover { position: relative; height: 52px; background: linear-gradient(135deg, var(--tk94), var(--tk96)); }
.rp-mcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-mcover .rp-flag { position: absolute; top: 4px; left: 4px; font-size: 9px; font-weight: 600; line-height: 1.6; color: var(--tk44); background: rgba(255, 255, 255, .94); padding: 0 4px; border-radius: 4px; }
.rp-mcbody { padding: 6px 8px 8px; }
.rp-mctitle { height: 9px; width: 78%; border-radius: 3px; background: var(--tk88); }
.rp-mctitle.rp-real { height: auto; width: auto; background: none; font-size: 10.5px; font-weight: 600; color: var(--text); line-height: 1.4; }

.rp-mctitle.rp-ph { height: auto; width: auto; background: none; font-size: 10.5px; font-weight: 500; color: var(--tk74); line-height: 1.4; }
.rp-mcfoot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 5px; font-size: 8.5px; color: #8a86b0; }
.rp-mcfoot span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-mcfoot b { flex: none; color: var(--primary); font-weight: 600; }
.rp-mline {
display: flex; align-items: center; gap: 4px; padding: 6px 7px;
background: linear-gradient(120deg, rgba(var(--tk66-rgb), .10), rgba(var(--tk66-rgb), .05));
border-radius: 7px;
}
.rp-mline-mark { flex: none; font-size: 8px; color: var(--tk44); background: rgba(var(--tk66-rgb), .14); border-radius: 3px; padding: 1px 4px; }
.rp-mline-title { flex: 1; min-width: 0; height: 8px; border-radius: 3px; background: var(--tk88); white-space: nowrap; overflow: hidden; }
.rp-mline-title.rp-real { height: auto; background: none; font-size: 9.5px; color: var(--text); font-weight: 500; }
.rp-mline-title.rp-ph { height: auto; background: none; font-size: 9.5px; color: var(--tk74); font-weight: 500; }
.rp-mline-go { flex: none; color: #b3b3cc; font-size: 12px; line-height: 1; }
.rp-mlist { margin-top: 7px; display: grid; gap: 6px; }
.rp-mlist i { display: block; height: 9px; border-radius: 3px; background: var(--tk92); }
.rp-mlist i:nth-child(2n) { width: 86%; }

.rp-card {
width: 250px; flex: none;
border: 1px solid var(--tk90); border-radius: 12px; overflow: hidden;
background: #fffdfd; box-shadow: 0 6px 18px rgba(60, 50, 110, .08);
}
.rp-cover { width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--tk94), #f9ecf6); position: relative; }
.rp-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rp-ctitle.rp-real {
height: auto; width: 100%; background: none; margin-bottom: 7px;
font-size: 12.5px; font-weight: 600; color: var(--text);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rp-card .rp-flag {
position: absolute; left: 8px; top: 8px;
font-size: 11px; font-weight: 600; line-height: 1.6; color: var(--tk44);
background: rgba(255, 255, 255, .94); border: 1px solid var(--tk86);
border-radius: 6px; padding: 0 6px;
}
.rp-cbody { padding: 9px 10px 4px; }
.rp-ctitle { height: 9px; width: 62%; border-radius: 4px; background: var(--tk86); margin-bottom: 7px; }
.rp-cmeta { display: flex; gap: 6px; }
.rp-cmeta i { height: 6px; border-radius: 3px; background: var(--tk90); flex: 1; }
.rp-cfoot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--tk64); }
.rp-cfoot b { color: var(--tk56); font-weight: 600; }
.rp-card .rp-ad { margin: 2px 8px 8px; padding: 5px 0; }

.rp-hero { width: 246px; flex: none; }
.rp-hero-deck { position: relative; height: 172px; margin-right: 22px; }
.rp-hero-card {
position: absolute; left: 0; right: 0; top: 0;
padding: 4px; border-radius: 10px; background: #fff;
border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(60, 60, 120, .14);
}
.rp-hero-card.is-front { z-index: 5; box-shadow: 0 12px 26px rgba(60, 60, 120, .2); }
.rp-hero-card.is-l1 { z-index: 4; transform: translate(6px, 6px) rotate(1.2deg); }
.rp-hero-card.is-l2 { z-index: 3; transform: translate(11px, 12px) rotate(-1.5deg); }
.rp-hero-card.is-l3 { z-index: 2; transform: translate(16px, 18px) rotate(2deg); opacity: .85; }
.rp-hero-card.is-l4 { z-index: 1; transform: translate(21px, 24px) rotate(-2.4deg); opacity: .75; }
.rp-hero-cover {
position: relative; display: block; width: 100%; aspect-ratio: 16 / 10;
border-radius: 5px; overflow: hidden; background: linear-gradient(135deg, var(--tk94), #f9ecf6);
}

.rp-hero-card:not(.is-front) .rp-hero-cover { background: var(--tk96); }
.rp-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-hero-flag {
position: absolute; top: 6px; left: 6px; z-index: 2;
font-size: 9px; font-weight: 600; line-height: 1.6; color: #fff;
background: var(--brand-strong); padding: 0 6px; border-radius: 999px;
}
.rp-hero-foot { display: flex; align-items: center; gap: 7px; padding: 6px 2px 1px; }
.rp-hero-title {
flex: 1; min-width: 0; font-size: 10.5px; font-weight: 600; color: var(--text);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rp-hero-title.rp-ph { font-weight: 500; color: var(--tk74); }
.rp-hero-views { flex: none; font-size: 9.5px; color: var(--muted); white-space: nowrap; }

.rp-hero-bar { display: flex; align-items: center; margin-right: 22px; padding: 0 20px; }
.rp-hero-dots { flex: 1; display: flex; gap: 5px; justify-content: center; }
.rp-hero-dots i { flex: 0 1 20px; width: 20px; height: 4px; border-radius: 999px; background: var(--tk90); }
.rp-hero-dots i:first-child { background: linear-gradient(90deg, var(--primary), #7a5cf0); }
@media (max-width: 560px) { .redeem-preview { gap: 10px; } .rp-modal { width: 190px; } .rp-card { width: 190px; } .rp-phone { width: 170px; } .rp-hero { width: 196px; } .rp-hero-deck { height: 138px; margin-right: 18px; } .rp-hero-bar { margin-right: 18px; gap: 8px; } }

.redeem-packs { display: flex; gap: 8px; }

.redeem-modes { display: flex; gap: 8px; margin-bottom: 10px; }
.redeem-mode {
flex: 1; min-width: 0; padding: 9px 12px; cursor: pointer; border-radius: 10px; text-align: left;
background: #fff; border: 1.5px solid var(--border); transition: border-color .15s, background .15s;
}
.redeem-mode:hover { border-color: var(--tk86); }
.redeem-mode.is-on { border-color: var(--primary); background: var(--tk98); }
.redeem-mode b { display: block; font-size: 13.5px; }
.redeem-mode.is-on b { color: var(--primary); }
.redeem-mode small { font-size: 11px; color: var(--muted); }
.rmode-note { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.65; color: var(--muted); }
.rmode-note b { color: var(--text); font-weight: 600; }
.redeem-disclaimer { margin: 10px 2px 2px; padding: 8px 10px; border-radius: 8px; background: var(--tk98, #f7f5ff); }
.redeem-pack {
flex: 1; padding: 8px 6px; cursor: pointer; border-radius: 10px; text-align: center;
background: #fff; border: 1.5px solid var(--border); transition: border-color .15s, background .15s;
}
.redeem-pack:hover { border-color: var(--tk86); }
.redeem-pack.is-on { border-color: var(--primary); background: var(--tk98); }
.redeem-pack b { display: block; font-size: 13px; }
.redeem-pack small { font-size: 11px; color: var(--muted); }
.redeem-pack:disabled { opacity: .5; cursor: not-allowed; border-style: dashed; }
.redeem-pack:disabled:hover { border-color: var(--border); }

.rp-custom { cursor: text; }
.rp-custom .rp-input {
width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; margin: 0;
font: inherit; font-size: 13px; font-weight: 600; text-align: center; color: var(--text);
-moz-appearance: textfield; appearance: textfield;
}
.rp-custom .rp-input::-webkit-outer-spin-button,
.rp-custom .rp-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rp-custom .rp-input::placeholder { font-weight: 400; color: var(--muted); }

.redeem-modepick {
margin: 12px 0 10px; padding: 8px 10px; border-radius: 10px; font-size: 11.5px; line-height: 1.7;
background: var(--tk98); border: 1px solid var(--tk92); color: var(--muted);
}
.redeem-modepick b { color: var(--primary); font-weight: 600; }

.redeem-days { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.rd-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.rd-head b { font-size: 12.5px; }
.rd-head small { font-size: 11px; color: var(--muted); }
.rd-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.redeem-day {
padding: 7px 2px; cursor: pointer; border-radius: 9px; text-align: center;
background: #fff; border: 1.5px solid var(--border); transition: border-color .15s, background .15s;
}
.redeem-day:hover { border-color: var(--tk86); }
.redeem-day.is-on { border-color: var(--primary); background: var(--tk98); }
.redeem-day b { display: block; font-size: 12.5px; }
.redeem-day.is-on b { color: var(--primary); }
.redeem-day small { font-size: 10px; color: var(--muted); }
label.redeem-day.rd-custom { cursor: text; }
.rd-input {
width: 100%; border: 0; outline: none; background: transparent; padding: 0;
font: inherit; font-weight: 600; font-size: 12.5px; text-align: center; color: inherit;
appearance: textfield; -moz-appearance: textfield;
}
.rd-input::-webkit-outer-spin-button, .rd-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rd-input::placeholder { font-weight: 400; color: var(--muted); }
.redeem-day.is-on .rd-input { color: var(--primary); }
.rd-tip { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.65; color: var(--muted); }
.rd-tip b { color: var(--text); font-weight: 600; }

.rt-hint { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.rt-switch {
margin-left: 4px; padding: 2px 9px; font-size: 11.5px; cursor: pointer;
color: var(--primary); background: #fff; border: 1px solid var(--tk86); border-radius: 999px;
}
.rt-switch:hover { background: var(--tk98); border-color: var(--primary); }


.redeem-targets { display: flex; gap: 8px; }
.redeem-target {
flex: 1; padding: 9px 10px; cursor: pointer; border-radius: 10px; text-align: left;
background: #fff; border: 1.5px solid var(--border); transition: border-color .15s, background .15s;
}
.redeem-target:hover { border-color: var(--tk86); }
.redeem-target.is-on { border-color: var(--primary); background: var(--tk98); }
.redeem-target b { display: block; font-size: 13px; }
.redeem-target small { font-size: 11px; color: var(--muted); }

.redeem-target:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.redeem-target:disabled:hover { border-color: var(--border); }

.rt-link { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); word-break: break-all; }
.rt-link a { color: var(--primary); text-decoration: none; }
.rt-link a:hover { text-decoration: underline; }

.rt-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.rt-link-pill {
display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; cursor: pointer;
border-radius: 999px; background: #fff; border: 1.5px solid var(--border); text-align: left;
transition: border-color .15s, background .15s; max-width: 100%;
}
.rt-link-pill:hover { border-color: var(--tk86); }
.rt-link-pill.is-on { border-color: var(--primary); background: var(--tk98); }
.rt-link-pill b { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
.rt-link-pill b .p-ico { width: 13px; height: 13px; flex: none; }
.rt-link-pill small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }

.rt-beta {
display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px;
font-style: normal; font-size: 10px; font-weight: 600; vertical-align: 1px;
color: #8a6d1f; background: #fdf3d7; border: 1px solid #f0e0a8;
}

.redeem-link-row { margin-top: 8px; }
.redeem-link-row input {
width: 100%; padding: 8px 11px; font-size: 13px; font-family: inherit;
border: 1.5px solid var(--border); border-radius: 10px; background: #fff; outline: none;
transition: border-color .15s;
}
.redeem-link-row input:focus { border-color: var(--primary); }
.redeem-link-tip { margin-top: 5px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.redeem-link-tip.is-bad { color: var(--danger); }

.ri-ext {
flex: none; margin-left: 6px; padding: 0 6px; border-radius: 999px;
font-style: normal; font-size: 10.5px; font-weight: 600;
color: #8a6d1f; background: #fdf3d7; border: 1px solid #f0e0a8;
}

.redeem-foot {
display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
padding: 12px 14px; background: var(--tk98); border: 1px solid var(--tk94); border-radius: 12px;
}
.redeem-total { display: flex; align-items: baseline; gap: 4px; font-size: 12px; color: var(--muted); }
.redeem-total b { font-size: 22px; color: var(--primary); }
.redeem-total i { font-style: normal; font-size: 12px; color: var(--muted); }
.redeem-total em { font-style: normal; margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.redeem-foot .btn-primary { padding: 9px 18px; font-size: 13px; }
.redeem-note { margin: 10px 0 16px; font-size: 11px; line-height: 1.7; color: var(--muted); }


.redeem-value {
margin: 0 0 12px; border: 1px solid var(--tk94); border-radius: 12px;
background: var(--tk98);
scroll-margin-top: 76px;   
}
.redeem-value > summary {
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
padding: 10px 13px; cursor: pointer; list-style: none;
font-size: 12.5px; line-height: 1.6; color: #5b5f74;
}
.redeem-value > summary::-webkit-details-marker { display: none; }
.redeem-value > summary::marker { content: ''; }
.rv-tag {
flex: none; padding: 2px 9px; border-radius: 999px;
font-size: 11px; font-weight: 600; color: #fff; background: var(--primary);
}
.rv-lead { flex: 1; min-width: 220px; }
.rv-lead b { color: var(--text); }
.rv-more { flex: none; font-size: 11.5px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.redeem-value[open] .rv-more-open, .redeem-value:not([open]) .rv-more-close { display: none; }
.rv-body { padding: 0 13px 12px; border-top: 1px dashed var(--tk94); }
.rv-body ul { margin: 10px 0 0; padding-left: 18px; }
.rv-body li { margin-bottom: 7px; font-size: 12px; line-height: 1.7; color: #5b5f74; }
.rv-body li b { color: var(--text); }
.rv-terms { margin: 8px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.rv-kicker {
margin: 10px 0 0; padding: 8px 11px; border-radius: 9px;
background: rgba(var(--tk58-rgb), .06); font-size: 12px; color: #3f3a70;
}
@media (max-width: 640px) {
.redeem-value { scroll-margin-top: 14px; }   
.redeem-value > summary { padding: 9px 11px; gap: 8px; }
.rv-lead { flex-basis: 100%; min-width: 0; order: 2; }
.rv-more { margin-left: auto; }
.rv-body { padding: 0 11px 11px; }
}


.redeem-cap-tip {
display: flex; align-items: flex-start; gap: 8px;
margin-top: 12px; padding: 9px 11px;
font-size: 11.5px; line-height: 1.65; color: #0d7a4d;
background: #e9f8f0; border: 1px solid #cbeedd; border-radius: 10px;
}
.redeem-cap-tip > b {
flex: none; margin-top: 1px; padding: 1px 7px; border-radius: 999px;
font-size: 10.5px; font-weight: 600; color: #fff; background: #12a05e;
}
.redeem-cap-tip i { font-style: normal; font-weight: 700; }

.redeem-list { display: flex; flex-direction: column; gap: 8px; }
.redeem-item { padding: 10px 12px; border: 1px solid var(--tk94); border-radius: 10px; background: #fff; }
.ri-top { display: flex; align-items: center; gap: 8px; }
.ri-title { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-status { flex: none; font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.ri-status.is-on { color: #0d7a4d; background: #e6f7ef; }
.ri-status.is-done { color: var(--muted); background: var(--tk96); }
.ri-meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.ri-bar { height: 4px; margin: 7px 0 6px; background: var(--tk94); border-radius: 999px; overflow: hidden; }
.ri-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--tk74), var(--primary)); }
.ri-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); }
.ri-foot-btns { display: inline-flex; gap: 6px; flex: none; }
.ri-peek, .ri-cancel {
flex: none; padding: 3px 10px; font-size: 11.5px; cursor: pointer;
color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px;
}
.ri-peek { color: var(--tk56); border-color: var(--tk86); }
.ri-peek:hover { color: var(--tk44); border-color: var(--tk74); background: var(--tk98); }
.ri-cancel:hover { color: var(--danger); border-color: #f3c9ca; }

@media (max-width: 640px) {
.redeem-hero { gap: 10px; padding: 10px 12px; }
.rh-tip { font-size: 11.5px; min-width: 0; }
.redeem-work { width: 96px; }
.redeem-foot { gap: 8px; }
.redeem-foot .btn-primary { width: 100%; }
.redeem-total em { margin-left: 0; }
.redeem-mode { padding: 8px 9px; }
.redeem-mode small { font-size: 10.5px; }
}





#wishView { padding-top: 0; }
.bar-head { margin: 0 0 14px; }
.bar-sub { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.bar-sub b { color: #2b2d3f; font-weight: 600; }



.bar-hot {
margin: 0 0 14px;
padding: 14px 16px 12px;
border: 1px solid var(--tk92);
border-radius: 16px;
background: var(--card);
}
.bar-hot[hidden], .bar-shelf[hidden] { display: none; }
.bh-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.bh-title { flex: none; font-size: 13.5px; font-weight: 600; color: #2b2d3f; }
.bh-title .ico { color: var(--primary); margin-right: 3px; }
.bh-week { flex: 1; min-width: 0; font-size: 11.5px; color: var(--muted); }

.bs-submit { color: var(--primary); text-decoration: none; border-bottom: 1px dashed currentColor; }
.bs-submit:hover { text-decoration: none; border-bottom-style: solid; }

.bh-more { flex: none; margin-left: auto; font-size: 11.5px; color: var(--primary); text-decoration: none; }
.bh-more:hover { text-decoration: underline; }


.bh-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.bh-list::-webkit-scrollbar { display: none; }
.bh-card {
position: relative; flex: 1 1 0; display: flex; align-items: center; gap: 9px; min-width: 190px;
padding: 9px 10px; border: 1px solid var(--tk94); border-radius: 12px; background: #fff;
font: inherit; color: var(--text); text-align: left; text-decoration: none; cursor: pointer;
transition: border-color .16s, box-shadow .16s;
}
.bh-card:hover { border-color: var(--tk92); box-shadow: 0 6px 16px rgba(var(--tk58-rgb), .08); }
.bh-card:hover .bh-name { color: var(--primary); }
.bh-no { flex: none; width: 13px; font-size: 11.5px; font-weight: 700; color: #b3b0c6; text-align: center; font-variant-numeric: tabular-nums; }

.bh-card:first-child .bh-no, .bh-card.is-first .bh-no { color: #e0453a; }

.bh-group {
display: flex; align-items: baseline; gap: 5px;
margin: 8px 0 1px; font-size: 11.5px; font-weight: 600; color: #7d819c;
}
.bh-list > .bh-group:first-child { margin-top: 0; }
.bh-group i { font-style: normal; font-weight: 400; color: #b3b0c6; font-variant-numeric: tabular-nums; }

.bh-thumb {
flex: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary);
}
.bh-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bh-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.bh-title-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bh-title-row .bh-name { flex: 1; min-width: 0; }
.bh-kind {
flex: none; padding: 0 5px; border-radius: 4px;
font-size: 10px; line-height: 1.6; background: var(--tk96); color: #6a6f8a;
}
.bh-kind.is-idea { background: #fff5e8; color: #a2600a; }
.bh-kind.is-done { background: #eaf7ef; color: #1f8a4c; }
.bh-kind.is-rec { background: #e6f7f1; color: #128a63; }
.bh-kind.is-seek { background: #e8f1ff; color: #2059c9; }
.bh-name { font-size: 13px; font-weight: 600; color: #2b2d3f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-meta { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



.bar-shelf {
margin: 0 0 16px;
padding: 14px 16px 12px;
border: 1px solid var(--tk92);
border-radius: 16px;
background: var(--card);
}
.bs-list { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bs-card {
position: relative; display: flex; align-items: center; gap: 9px; min-width: 0;
padding: 9px 10px; border: 1px solid var(--tk94); border-radius: 12px; background: #fff;
color: var(--text); text-decoration: none;
transition: border-color .16s, box-shadow .16s;
}
.bs-card:hover { border-color: var(--tk92); box-shadow: 0 6px 16px rgba(var(--tk58-rgb), .08); }
.bs-ico {
flex: none; width: 36px; height: 36px; border-radius: 8px;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary);
}
.bs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bs-title-row { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.bs-name {
flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: #2b2d3f;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bs-card:hover .bs-name { color: var(--primary); }
.bs-n { flex: none; font-style: normal; font-size: 9.5px; color: #b3b0c6; font-variant-numeric: tabular-nums; }
.bs-sub {
font-size: 11px; color: var(--muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}




.cmp-wrap {
margin: 0 0 14px; padding: 12px 14px;
background: #fff; border: 1px solid var(--tk92); border-radius: 16px;
}
.cmp-topics { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.cmp-topic-label { font-size: 11.5px; color: #a8a5bb; margin-right: 2px; }
.cmp-topic {
display: inline-flex; align-items: center; gap: 4px;
padding: 4px 12px; border: 1px solid var(--tk92); border-radius: 999px;
background: #fff; font: inherit; font-size: 12.5px; color: #5f6479; cursor: pointer;
transition: background .16s, color .16s, border-color .16s;
}
.cmp-topic:hover { border-color: var(--tk88); color: var(--primary); }
.cmp-topic.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); font-weight: 600; }

.cmp-topic-add { border-style: dashed; color: #9b98ad; }
.cmp-topic-input {
width: 82px; padding: 4px 10px; border: 1px solid var(--tk90); border-radius: 999px;
font: inherit; font-size: 12.5px; color: #2b2d3f; outline: none;
}
.cmp-topic-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk66-rgb), .08); }
.cmp-note { margin-left: auto; font-size: 11px; color: #b3b0c6; }
@media (max-width: 640px) { .cmp-note { display: none; } }

.cmp-tabs { display: none; }


.cmp-wrap .chat-compose { margin: 0; padding: 0; border: 0; background: transparent; }
.cmp-wrap .wish-compose { margin-top: 0; }
.cmp-wrap .wish-compose-extra { margin: 6px 0 0; }

.cmp-media { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cmp-media-add {
display: inline-flex; align-items: center; gap: 4px;
padding: 5px 11px; border: 1px dashed var(--tk90); border-radius: 999px;
background: #fff; color: var(--primary); font: inherit; font-size: 12px; cursor: pointer;
}
.cmp-media-add:hover { background: var(--tk98); border-style: solid; }
.cmp-media-add .ico { font-size: 13px; }
.cmp-media-tip { font-size: 11.5px; color: #b3b0c6; }
.cmp-media-list { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.cmp-media-item { position: relative; width: 64px; height: 64px; }
.cmp-media-item img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.cmp-media-del {
position: absolute; top: -6px; right: -6px; width: 19px; height: 19px; padding: 0;
border: none; border-radius: 50%; background: #3b355c; color: #fff; font-size: 11px; line-height: 19px; cursor: pointer;
}
.cmp-media-loading { display: grid; place-items: center; width: 64px; height: 64px; border: 1px dashed var(--tk90); border-radius: 8px; color: var(--muted); font-size: 11px; }
@media (max-width: 640px) { .cmp-media-tip { display: none; } }


.bar-col-head {
display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
margin: 26px 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--tk94);
}
.bar-col-title { font-size: 14px; font-weight: 700; color: #2b2d3f; }
.bar-col-title .ico { color: var(--primary); font-size: 13px; margin-right: 2px; }
.bar-col-note { font-size: 11.5px; color: var(--muted); }



.bar-rail .ad-slot { margin: 0 0 14px; }


.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card {
background: #fff; border: 1px solid var(--tk94); border-radius: 12px; box-shadow: none;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card:hover {
transform: none; border-color: var(--tk92); box-shadow: 0 6px 16px rgba(var(--tk58-rgb), .08);
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-body {
padding: 9px 34px 9px 10px; row-gap: 2px;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-title {
font-size: 13px; font-weight: 600; color: #2b2d3f;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-desc {
font-size: 11px; color: var(--muted); opacity: 1;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-badge {
font-size: 10px; line-height: 1.6; padding: 0 5px; border-radius: 4px;
background: var(--tk96); color: #6a6f8a; border: 0;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-badge.is-redeem {
background: #fff5e8; color: #a2600a; border: 0;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card .ad-cta {
background: transparent; color: var(--primary); font-weight: 600;
font-size: 11.5px; padding: 0;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant {
background: #fff; border: 1px dashed var(--tk88); border-radius: 12px; box-shadow: none;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-title {
color: #2b2d3f; font-weight: 600;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-desc {
color: var(--muted); opacity: 1;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-cta {
background: transparent; color: #a1741a; font-weight: 600; padding: 0;
}
.bar-rail .ad-slot[data-ad-slot="rank"], .cr-side .ad-slot[data-ad-slot="rank"] .ad-stack { gap: 6px; }


.bar-grid { display: flex; flex-direction: column; }
.bar-rail { order: -1; }

@media (min-width: 901px) {

.bar-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
gap: 28px;
align-items: start;
}
.bar-rail { order: 0; position: sticky; top: 72px; z-index: 20; }  


.bar-rail .bh-list { flex-direction: column; gap: 6px; }
.bar-rail .bh-card { flex: none; min-width: 0; }
.bar-rail .bh-thumb { width: 36px; height: 36px; border-radius: 8px; }

}


.chat-compose {
margin: 0 0 12px; padding: 12px 14px 10px;
background: #fff; border: 1px solid var(--tk92); border-radius: 16px;
}
.chat-compose textarea {
display: block; width: 100%; min-height: 52px; padding: 0; border: 0; outline: none; resize: vertical;
font: inherit; font-size: 13.5px; line-height: 1.7; color: var(--text); background: transparent;
}
.chat-compose textarea::placeholder { color: #a8abbe; }
.chat-compose-foot { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.chat-tip { flex: 1; min-width: 0; font-size: 11.5px; color: var(--muted); }
.chat-count { font-size: 11px; color: #b3b0c6; font-variant-numeric: tabular-nums; }
.chat-compose .btn-primary { padding: 6px 16px; font-size: 12.5px; border-radius: 10px; }

.bar-privacy {
margin: 2px 0 10px; font-size: 11.5px; line-height: 1.6; color: var(--muted);
display: flex; align-items: center; gap: 6px;
}
.bar-privacy::before {
content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--tk80); flex: 0 0 4px;
}

.chat-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.chat-sorts { display: flex; gap: 6px; }
.chat-sort {
padding: 1px 11px; border: 1px solid var(--tk92); border-radius: 999px; background: #fff;
font: inherit; font-size: 12px; line-height: 1.8; color: var(--muted); cursor: pointer;
}
.chat-sort.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); font-weight: 600; }
.chat-total { font-size: 11.5px; color: var(--muted); }

.chat-list { display: flex; flex-direction: column; gap: 10px; }
.chat-card { padding: 12px 14px 10px; background: #fff; border: 1px solid var(--tk94); border-radius: 14px; transition: border-color .18s, box-shadow .18s; }
.chat-card:hover { border-color: var(--tk92); }

.chat-card.is-focus { border-color: var(--tk86); box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12); }
.cc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.cc-ava {
display: inline-flex; align-items: center; justify-content: center; flex: none;
width: 24px; height: 24px; border-radius: 8px; background: var(--tk96); color: var(--primary);
font-size: 12px; font-weight: 600;
}
.cc-who { font-size: 12.5px; font-weight: 600; color: #2b2d3f; }
.cc-time { margin-left: auto; font-size: 11px; color: #b3b0c6; }
.cc-text {
margin: 0 0 8px; font-size: 13.5px; line-height: 1.75; color: #2f3242;
white-space: pre-wrap; word-break: break-word;
}
.cc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cc-act {
display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px;
border: 1px solid var(--tk94); border-radius: 999px; background: #fff; cursor: pointer;
font: inherit; font-size: 11.5px; color: #6a6f8a;
}
.cc-act b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-act:hover { border-color: var(--tk90); color: var(--primary); }
.cc-act.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); }
.cc-act.is-del { margin-left: auto; border-color: transparent; color: #b3b0c6; }
.cc-act.is-del:hover { color: var(--danger); }
.cc-replies {
display: flex; flex-direction: column; gap: 6px;
margin-top: 9px; padding: 8px 10px; border-radius: 10px; background: var(--tk98);
}

.cc-replies[hidden], .cc-form[hidden] { display: none; }
.cc-reply { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 12.5px; line-height: 1.7; color: #3a3d52; }
.cc-reply b { font-size: 12px; font-weight: 600; color: var(--primary); }
.cc-reply small { margin-left: auto; font-size: 10.5px; color: #b3b0c6; }
.cc-form { display: flex; gap: 8px; margin-top: 9px; }
.cc-form input {
flex: 1; min-width: 0; padding: 7px 12px; border: 1px solid var(--tk92); border-radius: 10px;
background: var(--tk98); font: inherit; font-size: 12.5px; color: var(--text);
}
.cc-form input:focus { outline: none; border-color: var(--primary); background: #fff; }
.cc-send {
flex: none; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer;
background: var(--primary); color: #fff; font: inherit; font-size: 12.5px;
}
.cc-send:hover { background: var(--primary-dark); }

.cc-emoji {
flex: none; width: 34px; padding: 0; border: 1px solid var(--tk92); border-radius: 10px;
background: var(--tk98); color: inherit; cursor: pointer; font-size: 15px; line-height: 1;
display: inline-flex; align-items: center; justify-content: center;
}
.cc-emoji:hover, .cc-emoji:focus-visible { border-color: var(--tk90); background: var(--tk98); outline: none; }

.emoji-pop.emoji-float {
position: fixed; right: auto; bottom: auto; z-index: 120;
}


.chat-empty {
display: flex; flex-direction: column; align-items: center; gap: 8px;
padding: 26px 18px; border: 1px dashed var(--tk92); border-radius: 14px; background: var(--tk98);
text-align: center;
}
.chat-empty b { font-size: 14px; color: #2b2d3f; }
.chat-empty span { max-width: 430px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.chat-empty-ideas { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 4px; }
.chat-empty-ideas button {
padding: 4px 11px; border: 1px solid var(--tk92); border-radius: 999px; background: #fff;
font: inherit; font-size: 11.5px; color: #6a6f8a; cursor: pointer;
}
.chat-empty-ideas button:hover { border-color: var(--tk90); color: var(--primary); }


@media (max-width: 899px) {
.bar-hot, .bar-shelf { padding: 12px 12px 10px; border-radius: 14px; }
.bh-list { flex-direction: column; gap: 6px; }
.bh-card { flex: none; min-width: 0; }
.bh-thumb { width: 36px; height: 36px; border-radius: 8px; }
.bh-name { font-size: 12.5px; }
.bh-meta { font-size: 10.5px; }
.bs-list { gap: 6px; }

.bar-shelf .bh-note { display: none; }

.bar-upcoming .bh-week { display: none; }
.bar-upcoming .up-img { width: 44px; height: 44px; border-radius: 8px; }
.bar-upcoming .up-title { font-size: 12.5px; }

.chat-tip { display: none; }
.chat-compose { padding: 11px 12px 9px; }
.chat-compose textarea { min-height: 46px; font-size: 13px; }
}

.wish-section { margin: 36px 0 6px; padding-top: 26px; border-top: 1px solid var(--tk94); scroll-margin-top: 76px; }
.wish-section.wish-flash { animation: wishFlash 1.6s ease; }
.wish-page-head { margin-bottom: 16px; }
@keyframes wishFlash {
0% { background: rgba(var(--tk68-rgb), 0.10); border-radius: 14px; }
70% { background: rgba(var(--tk68-rgb), 0.10); }
100% { background: transparent; }
}
.wish-head h2 { font-size: 19px; }
.wish-compose { display: flex; gap: 8px; margin: 14px 0 12px; }
.wish-compose input {
flex: 1; min-width: 0; padding: 10px 14px; font-size: 13.5px; color: var(--text);
border: 1px solid var(--tk92); border-radius: 12px; background: var(--tk98);
transition: border-color .18s, box-shadow .18s, background .18s;
}
.wish-compose input:focus {
outline: none; border-color: var(--primary); background: #fff;
box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .1);
}
.wish-compose .btn-primary { flex: none; padding: 0 18px; font-size: 13.5px; border-radius: 12px; }

.wish-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 10px; }
.wish-tabs { display: flex; gap: 6px; }
.wish-tab {
font-size: 12px; line-height: 1.8; padding: 1px 11px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--tk92); background: #fff; color: var(--muted);
}
.wish-tab.active { background: var(--tk96); border-color: var(--tk90); color: var(--primary); font-weight: 600; }
.wish-tab .ico { font-size: 12px; vertical-align: -2px; margin-right: 2px; }
.wish-count { font-size: 11.5px; color: var(--muted); }
.wish-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wish-card {
background: #fff; border: 1px solid var(--tk94); border-radius: 14px; padding: 12px 14px 10px;
transition: box-shadow .16s, border-color .16s;
}
.wish-card:hover { border-color: var(--tk92); box-shadow: 0 6px 18px rgba(var(--tk58-rgb), .08); }
.wish-card.is-done { background: #fbfdfb; border-color: #e3f0e6; }
.wish-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.wish-cat { font-size: 11px; line-height: 1.7; padding: 0 8px; border-radius: 999px; background: var(--tk96); color: #6a6f8a; }
.wish-status { font-size: 11px; }
.wish-status.is-open { color: var(--muted); }
.wish-status.is-claimed { color: #a2600a; }
.wish-status.is-done { color: #1f8a4c; text-decoration: none; }
.wish-status.is-done:hover { text-decoration: underline; }
.wish-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wish-author { font-size: 11.5px; color: var(--muted); flex: none; }
.wish-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wish-want, .wish-claim {
font-size: 11.5px; line-height: 1.8; padding: 0 9px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--tk92); background: #fff; color: #5a5f78;
}
.wish-want b { font-weight: 700; }
.wish-want:hover { border-color: var(--primary); color: var(--primary); }
.wish-want.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); }
.wish-claim { border-color: var(--tk90); color: var(--primary); }
.wish-claim:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.wish-claim.is-mine { background: var(--primary); border-color: var(--primary); color: #fff; }
.wish-del { border: none; background: none; padding: 0 2px; font-size: 12px; color: #c4c7d6; cursor: pointer; }
.wish-del:hover { color: #e05b5b; }
.wish-empty { grid-column: 1 / -1; padding: 22px 0; text-align: center; font-size: 13px; color: var(--muted); }
.wish-more {

display: flex; align-items: center; justify-content: center; gap: 6px;
margin: 16px auto 6px; padding: 10px 24px; min-width: 220px; max-width: 100%;
border: 1px solid var(--tk88); border-radius: 999px; background: var(--card);
font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer;
transition: background .15s, border-color .15s, box-shadow .15s;
}
.wish-more:hover {
background: var(--tk96); border-color: var(--primary);
box-shadow: 0 2px 10px rgba(var(--tk58-rgb), .12);
}
.wish-more:active { background: var(--tk94); }
@media (max-width: 560px) {
.wish-more { min-width: 0; width: 100%; padding: 11px 16px; font-size: 12.5px; }
}


.wish-list.bar-feed { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 16px; }
.bar-feed-head { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 10px; }
.bar-feed-note { font-size: 12.5px; color: var(--muted); }
.bar-feed-count { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.bar-row { margin: 0 -16px; padding: 9px 16px 11px; border-bottom: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: background .12s; }
.bar-row:last-child { border-bottom: 0; }
.bar-row:hover { background: var(--tk96); }
.bar-row:hover .br-title { color: var(--primary); }
.br-line { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }

.bar-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 2px; }
.bar-imgs button { padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; }
.bar-imgs img { display: block; width: 76px; height: 58px; object-fit: cover; }
.cp-imgs, .id-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cp-imgs button, .id-imgs button { padding: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.cp-imgs img, .id-imgs img { display: block; width: 118px; height: 88px; object-fit: cover; }
.br-kind { flex: none; margin-top: 2px; font-size: 11px; font-weight: 600; line-height: 1.7; padding: 0 7px; border-radius: 6px; background: var(--tk96); color: var(--tk50); border: 1px solid var(--tk92); }
.br-kind-chat { background: #f1f1f4; color: #5a5f78; border-color: #e2e2ea; }

.br-kind-rec { background: #e6f7f1; color: #128a63; border-color: #c4ecd9; }

.br-kind-seek { background: #e8f1ff; color: #2059c9; border-color: #cfe0ff; }

.br-kind-share { background: var(--tk96); color: var(--tk50); border-color: var(--tk92); }

.br-kind-story { background: #f3edfd; color: #6d3fc4; border-color: #e3d6f7; }
.br-kind-custom { background: #fff; color: #5f6479; border-color: var(--tk88); }
.br-title { flex: 1 1 auto; min-width: 0; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.55; color: var(--text); background: none; border: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

span.br-title { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow: hidden; word-break: break-word; }
.bar-row.is-done .br-title { color: var(--muted); text-decoration: line-through; text-decoration-color: #bfe3cd; }

.br-sub { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 5px; font-size: 12px; color: var(--muted); }
.br-meta { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
.br-acts { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.br-stat { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.br-del { flex: none; background: none; border: none; padding: 0 2px; font-size: 12px; color: #c4c7d6; cursor: pointer; }
.br-del:hover { color: #e05b5b; }
.br-chat-acts { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
@media (max-width: 700px) {

.br-meta .br-when { display: none; }
.br-meta .br-author { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wish-list.bar-feed { padding: 2px 12px; }
.bar-row { margin: 0 -12px; padding: 9px 12px 11px; }
.br-sub { margin-top: 4px; gap: 6px; }
}


.br-tag {
font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.6;
padding: 0 7px; margin: 0 2px; border-radius: 999px; vertical-align: 1px;
border: 1px solid var(--tk92); background: var(--tk96); color: var(--tk56); cursor: pointer;
transition: background .15s, border-color .15s;
}
.br-tag:hover { background: var(--tk94); border-color: var(--tk86); }
.br-tag.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

.br-kind-topic { background: #fff4e2; color: #9a6212; border-color: #f3e0bd; }
.bar-row.is-topic .br-title { font-weight: 600; }
.bar-tag-more {
padding: 10px 0 12px; text-align: center; font-size: 12.5px; color: var(--muted);
border-top: 1px dashed var(--border);
}
.wish-empty-back {
margin-left: 8px; padding: 0; font: inherit; font-size: 12.5px;
color: var(--primary); background: none; border: none; cursor: pointer;
}
.wish-empty-back:hover { text-decoration: underline; }

.bar-topic-bar {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
margin: 14px 0 2px;
}
.bt-label { font-size: 12px; color: var(--muted); }
.bt-chip {
font: inherit; font-size: 12px; line-height: 1.8; padding: 0 9px; border-radius: 999px;
border: 1px solid var(--tk92); background: var(--tk98); color: var(--tk56); cursor: pointer;
transition: background .15s, border-color .15s, color .15s;
}
.bt-chip:hover { background: var(--tk96); border-color: var(--tk86); }
.bt-chip i { font-style: normal; margin-left: 3px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bt-chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.bt-chip.is-on i { color: rgba(255, 255, 255, .82); }
.bt-clear {
font: inherit; font-size: 12px; padding: 0 4px; border: none; background: none;
color: var(--muted); cursor: pointer;
}
.bt-clear:hover { color: var(--primary); }
.bt-hint { font-size: 11.5px; color: #a8abbe; }

.bt-search-toggle {
font: inherit; font-size: 12px; padding: 0 9px; border-radius: 999px;
border: 1px dashed var(--tk86); background: none; color: var(--tk56); cursor: pointer;
transition: background .15s, border-color .15s;
}
.bt-search-toggle:hover, .bt-search-toggle.is-open { background: var(--tk96); border-style: solid; }
.bt-search {
font: inherit; font-size: 12px; line-height: 1.8; padding: 0 10px; width: 170px;
border-radius: 999px; border: 1px solid var(--tk92); background: #fff;
color: inherit; outline: none; transition: border-color .15s, background .15s;
}
.bt-search:focus { border-color: var(--tk86); background: var(--tk98); }
.bt-search::placeholder { color: #b6b9c8; }
.bt-chip.is-hidden { display: none; }
.bt-search-none { font-size: 11.5px; color: #a8abbe; }


.chat-tag-hint {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
margin: 7px 2px 0; font-size: 12px;
}
.cth-lead { color: var(--muted); }
.cth-chip {
display: inline-flex; align-items: baseline; gap: 5px;
padding: 1px 9px; border-radius: 999px; font-weight: 600;
background: var(--tk96); border: 1px solid var(--tk92); color: var(--tk56);
}
.cth-chip i { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.cth-chip.is-exist { background: var(--tk96); border-color: var(--tk92); color: var(--tk50); }
.chat-tag-btn {
flex: none; font: inherit; font-size: 12px; padding: 2px 9px; border-radius: 999px;
border: 1px dashed var(--tk86); background: none; color: var(--tk56); cursor: pointer;
transition: background .15s, border-color .15s;
}
.chat-tag-btn:hover { background: var(--tk96); border-style: solid; }
@media (max-width: 700px) {
.bt-hint { display: none; }
}


.modal.modal-install { max-width: 480px; }
.install-body { display: flex; gap: 18px; margin: 6px 0 14px; }
.install-qr { flex: none; text-align: center; }
.install-qr-box {
width: 148px; height: 148px; padding: 8px; box-sizing: border-box;
background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.install-qr-box svg { display: block; width: 100%; height: 100%; }
.install-qr-err { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.install-qr-tip { display: block; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.install-steps { min-width: 0; display: flex; flex-direction: column; }
.install-note {
font-size: 12px; line-height: 1.7; color: #8a5b00; background: #fff7e0;
border: 1px solid #f5e3ae; border-radius: 10px; padding: 7px 10px; margin-bottom: 10px;
}
.install-list { margin: 0 0 10px; padding-left: 0; list-style: none; counter-reset: step; }
.install-list li {
counter-increment: step; position: relative; padding-left: 26px;
font-size: 12.5px; line-height: 1.7; color: var(--text); margin-bottom: 8px;
}
.install-list li::before {
content: counter(step); position: absolute; left: 0; top: 2px;
width: 18px; height: 18px; border-radius: 50%;
background: var(--primary); color: #fff; font-size: 11px; font-weight: 600;
display: flex; align-items: center; justify-content: center;
}
.install-native { font-size: 13px; }

.install-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.install-copy {
display: inline-flex; align-items: center; gap: 6px;
padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
background: var(--card); color: var(--text); font-size: 12.5px; cursor: pointer; font-family: inherit;
transition: color .15s, border-color .15s;
}
.install-copy:hover { color: var(--primary); border-color: var(--tk86); }

button.install-mini {
display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
margin: 2px 0 12px; padding: 10px; box-sizing: border-box; font-family: inherit;
border: 1px solid var(--border); border-radius: 12px; background: var(--tk98); cursor: pointer;
transition: border-color .15s, background .15s;
}
button.install-mini:hover { border-color: var(--tk86); background: var(--tk96); }
button.install-mini img { flex: none; width: 148px; height: 52px; object-fit: cover; border-radius: 8px; }
button.install-mini span { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
button.install-mini b { display: block; margin-top: 2px; color: var(--primary); font-weight: 600; }


.modal.modal-mini { max-width: 520px; }
.wxmini-lead {
margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
background: var(--tk96); border: 1px solid var(--tk92);
font-size: 12.5px; line-height: 1.75; color: #5b5f72;
}
.wxmini-lead b { color: var(--text); font-weight: 600; }
.wxmini-hero { display: flex; gap: 18px; align-items: flex-start; margin: 6px 0 14px; }
.wxmini-qr { flex: none; width: 176px; text-align: center; }
.wxmini-qr img {
display: block; width: 176px; height: 176px; object-fit: contain;
border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.wxmini-qr-tip { display: block; margin-top: 8px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.wxmini-steps { flex: 1; min-width: 0; }

.wxmini-gzh {
display: flex; align-items: center; gap: 10px;
margin: 0 0 12px; padding: 8px 10px;
border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.wxmini-gzh-qr { flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 6px; }
.wxmini-gzh-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wxmini-gzh-side b { font-size: 12.5px; font-weight: 600; color: var(--text); }
.wxmini-gzh-side span { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.wxmini-gzh-side button {
align-self: flex-start; padding: 0; border: none; background: none;
font-family: inherit; font-size: 11.5px; color: var(--primary); cursor: pointer;
}
.wxmini-gzh-side button:hover { text-decoration: underline; }
@media (max-width: 520px) {
.wxmini-hero { flex-direction: column; align-items: center; }
.wxmini-steps { width: 100%; }
}

.modal.modal-gzh { max-width: 470px; }
.wxgzh-lead { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.wxgzh-body { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.wxgzh-qr {
flex: none; width: 190px; height: 190px; object-fit: contain;
border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.wxgzh-side p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.wxgzh-side b { color: var(--text); font-weight: 600; }
@media (max-width: 460px) {
.wxgzh-body { flex-direction: column; align-items: center; text-align: left; }
}

.modal.modal-group { max-width: 470px; }
.wxgroup-lead { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.wxgroup-body { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.wxgroup-qr {
flex: none; width: 230px; height: auto; object-fit: contain;
border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.wxgroup-side p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.wxgroup-side b { color: var(--text); font-weight: 600; }
.wxgroup-expire { color: #b45309; }
.wxgroup-expire b { color: #b45309; }
@media (max-width: 460px) {
.wxgroup-body { flex-direction: column; align-items: center; text-align: left; }
.wxgroup-qr { width: 100%; max-width: 300px; }
}
.mini-link {
display: block; width: 100%; margin: 2px 0 12px; padding: 0; border: none; background: none;
font-size: 12.5px; color: var(--primary); cursor: pointer; font-family: inherit; text-align: center;
}
.mini-link:hover { text-decoration: underline; }
.install-know { margin-top: 2px; }
@media (max-width: 460px) {
.install-body { flex-direction: column; align-items: center; text-align: left; }
}



.checkin-entry { color: var(--primary); display: inline-flex; align-items: center; }
.checkin-entry.is-todo {
background: var(--primary-soft, var(--tk96));
border-radius: 999px;
padding: 3px 10px;
font-weight: 600;
}
.checkin-entry.is-done { color: var(--muted); }

.checkin-entry .ck-pts {
display: inline-flex;
align-items: center;
gap: 3px;
margin-left: 6px;
padding: 1px 7px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
background: #fff7e6;
color: #d48806;
white-space: nowrap;
}
.checkin-entry.is-done .ck-pts { background: #f2f2f6; color: var(--muted); }



@media (min-width: 821px) {
.checkin-entry {
height: 34px; padding: 0 13px; gap: 6px;
background: var(--tk94); border-radius: 999px; font-size: 12px;
}
.checkin-entry.is-todo { background: var(--tk94); color: var(--primary); font-weight: 600; }
.checkin-entry .ck-label { font-size: 12px; font-weight: 500; }
.checkin-entry .ck-pts {
margin-left: 8px; padding: 0 0 0 11px; border-radius: 0;
border-left: 1px solid var(--border); background: none;
font-size: 12px; color: var(--text);
}
.checkin-entry.is-done .ck-pts { background: none; color: var(--muted); }
.notice-entry {
width: 34px; height: 34px; padding: 0;
display: inline-grid; place-items: center;
background: var(--tk94); border-radius: 999px;
}
.notice-entry.has-new { background: var(--primary-soft, var(--tk96)); }
.user-chip { height: 34px; padding: 3px 12px 3px 3px; gap: 7px; font-size: 13px; }
.user-chip .uc-ava { width: 28px; height: 28px; }
}



.notice-entry { position: relative; padding: 3px 8px; color: var(--muted); border-radius: 999px; }
.notice-entry:hover { color: var(--primary); }
.notice-entry.has-new { color: var(--primary); background: var(--primary-soft, var(--tk96)); }
.notice-entry .nb-ico { font-size: 15px; line-height: 1; }
.notice-entry .nb-dot {
position: absolute; top: -3px; right: -4px;
min-width: 15px; height: 15px; padding: 0 4px;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 999px; background: var(--danger); color: #fff;
font-size: 10px; font-weight: 700; line-height: 1;
box-shadow: 0 0 0 2px #fff;
}

.modal.modal-notice { max-width: 560px; }

.modal-notice .modal-head { flex-wrap: wrap; margin-bottom: 20px; }
.notice-tabs {
display: flex; gap: 2px; flex: 1 1 100%; margin: 6px 0 0; padding: 4px;
background: var(--tk96); border-radius: 999px;
}
.nt-tab {
flex: 1 1 0; min-width: 0;
display: inline-flex; align-items: center; justify-content: center; gap: 2px;
padding: 6px 2px; border: none; border-radius: 999px; background: none; cursor: pointer;
font-family: inherit; font-size: 12px; color: var(--muted); white-space: nowrap;
transition: background .15s, color .15s, box-shadow .15s;
}
.nt-tab .ico { width: 12px; height: 12px; opacity: .75; flex: none; }
.nt-tab:hover { color: var(--primary); }
.nt-tab.is-on { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .10); }
.nt-tab.is-on .ico { opacity: 1; }

.nt-n {
flex: none; min-width: 14px; height: 14px; padding: 0 3px;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 999px; background: var(--danger); color: #fff;
font-size: 9.5px; font-weight: 700; font-style: normal; line-height: 1;
}

.nt-tab.is-muted { color: #a9adbc; }
.nt-tab.is-muted:hover { color: #9296a3; }
.nt-tab.is-muted.is-on { background: #fff; color: #8a8f99; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.nt-tab.is-muted .ico { position: relative; opacity: .55; }
.nt-tab.is-muted .ico::after {
content: ''; position: absolute; left: -25%; top: 50%; width: 150%; height: 1.5px;
background: currentColor; border-radius: 2px; transform: rotate(-45deg);
}
.nt-n.is-muted { background: #e7e8ef; color: #9296a3; }
@media (max-width: 560px) {
.nt-tab { font-size: 12px; gap: 2px; padding: 6px 1px; }
.nt-tab .ico { display: none; }   

.nt-tab.is-muted { color: #b6b9c6; }
}

.notice-muted-banner {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
margin: 0 0 10px; padding: 9px 12px;
background: var(--tk96); border: 1px dashed #c9cbdb; border-radius: 10px;
font-size: 12px; line-height: 1.5; color: #8a8f99;
}
.notice-muted-banner .nm-unmute {
flex: none; padding: 4px 10px; border: 1px solid #c9cbdb; border-radius: 999px;
background: #fff; cursor: pointer; font-family: inherit; font-size: 12px; color: var(--primary);
}
.notice-muted-banner .nm-unmute:hover { border-color: var(--primary); }

.nc-tag {
display: inline-block; margin-right: 5px; padding: 0 5px; border-radius: 4px;
font-size: 9.5px; font-weight: 600; line-height: 15px; vertical-align: 1px;
background: #f1f2f6; color: #8a8f99;
}
.nc-promo { background: #fff2e8; color: #c2410c; }
.nc-system { background: var(--tk96); color: var(--tk52); }
.nc-ad { background: #eaf4fb; color: #1f6fa8; }
.nc-points { background: #fff8e6; color: #a8781a; }
.nc-msg { background: var(--tk96); color: var(--tk54); }

.nc-bar { background: #e7f5f1; color: #12756a; }

.notice-list { height: min(480px, 56vh); overflow-y: auto; scrollbar-gutter: stable; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }

.notice-item.notice-demo { opacity: .68; border-style: dashed; border-left-style: solid; cursor: default; pointer-events: none; }
.notice-item.notice-demo .nc-tag { opacity: .75; }

.notice-empty { margin: auto; padding: 34px 16px 30px; text-align: center; }
.notice-empty .ne-art {
position: relative; width: 58px; height: 58px; margin: 0 auto 14px;
display: flex; align-items: center; justify-content: center;
border-radius: 50%; color: var(--primary);
background: linear-gradient(135deg, rgba(var(--tk58-rgb), .12), rgba(var(--tk58-rgb), .04));
animation: ne-float 3.2s ease-in-out infinite;
}
.notice-empty .ne-art::after {
content: ''; position: absolute; inset: -6px; border-radius: 50%;
border: 1.5px dashed rgba(var(--tk58-rgb), .30); pointer-events: none;
}
.notice-empty .ne-art .ne-spark {
position: absolute; top: -4px; right: -8px; color: #f5a623; opacity: .9;
}
.notice-empty .ne-title { font-size: 14px; font-weight: 600; color: var(--text); }
.notice-empty .ne-text { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--muted); }
@keyframes ne-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.notice-item {
padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
border-left: 3px solid var(--tk90);
}
.notice-item.is-plus { border-left-color: #38a169; background: #f7fdf9; }
.notice-item.is-minus { border-left-color: var(--danger); background: #fffafa; }
.notice-item.is-unread { box-shadow: 0 2px 10px rgba(var(--tk44-rgb), .08); }
.notice-item.is-unread .notice-title::after {
content: 'NEW'; margin-left: 6px; padding: 0 5px; border-radius: 4px;
background: var(--primary); color: #fff; font-size: 9px; font-weight: 700; vertical-align: 1px;
}

.notice-item.is-link { cursor: pointer; transition: border-color .15s, transform .15s; }
.notice-item.is-link:hover { border-color: var(--primary); transform: translateY(-1px); }
.notice-go { font-size: 11px; font-weight: 600; color: var(--primary); margin-left: 4px; }
.notice-top { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; }
.notice-title { font-size: 13.5px; font-weight: 600; color: var(--text); min-width: 0; }
.notice-time { flex: none; font-size: 11.5px; color: var(--muted); }

.notice-mute { flex: none; margin-left: auto; padding: 0 6px; border-radius: 999px; font-size: 10.5px; color: #8a8f99; background: #f1f2f6; }
.notice-text { margin-top: 4px; font-size: 12.8px; line-height: 1.65; color: #4a4f5e; word-break: break-word; }
.notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

@media (max-width: 560px) { .notice-hint { display: none; } }
.notice-hint { font-size: 12px; color: var(--muted); }

.notice-reply-btn { display: block; margin: 8px 0 0 auto; padding: 3px 14px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--tk90); background: var(--tk96); color: var(--primary); font-size: 12px; transition: background .15s, color .15s, border-color .15s; }
.notice-reply-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.notice-item.has-thread { border-left-color: var(--tk84); background: linear-gradient(180deg, var(--tk98), #fff); }


.modal-reply { width: min(480px, 92vw); }
.reply-sub { font-size: 12.5px; color: var(--muted); margin: -6px 0 12px; padding-left: 2px; }
.reply-thread { max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
padding: 16px 14px; background: var(--tk98); border: 1px solid var(--tk94); border-radius: 14px; margin-bottom: 12px; }
.reply-empty { padding: 30px 0; text-align: center; font-size: 13px; color: var(--muted); }
.reply-msg { max-width: 78%; padding: 9px 13px 7px; border-radius: 14px; background: #fff; border: 1px solid var(--border);
align-self: flex-start; box-shadow: 0 1px 2px rgba(30, 30, 60, .05); }
.reply-msg.reply-admin { align-self: flex-end; background: linear-gradient(135deg, var(--tk68), var(--tk58)); border-color: transparent; color: #fff; }
.reply-from { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.reply-msg.reply-admin .reply-from { color: rgba(255, 255, 255, .75); }
.reply-text { margin: 0; font-size: 13.5px; line-height: 1.65; word-break: break-word; white-space: pre-wrap; }
.reply-time { display: block; font-size: 10.5px; color: var(--muted); text-align: right; margin-top: 3px; }
.reply-msg.reply-admin .reply-time { color: rgba(255, 255, 255, .7); }
.reply-input { display: flex; gap: 10px; align-items: flex-end; }
.reply-input textarea { flex: 1; min-width: 0; resize: none; padding: 11px 14px; font-size: 13.5px; line-height: 1.6;
border: 1px solid var(--border); border-radius: 12px; background: var(--tk98);
transition: border-color .15s, box-shadow .15s, background .15s; }
.reply-input textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12); background: #fff; }
.reply-input .btn-primary { flex: none; height: 42px; padding: 0 22px; border-radius: 12px; }


#dmMask { z-index: 130; }
.modal-dm {
width: min(780px, 94vw); max-width: 780px;
height: min(580px, 84vh); max-height: 84vh;
padding: 0; overflow: hidden;
display: grid; grid-template-columns: 268px minmax(0, 1fr);
}
.dm-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.dm-list-pane { background: var(--tk98); border-right: 1px solid var(--border); }
.dm-list-head {
flex: none; display: flex; align-items: center; justify-content: space-between;
padding: 16px 16px 12px;
}
.dm-list-head h2 { margin: 0; font-size: 16px; color: var(--text); }
.dm-list-head .close-btn { position: static; background: none; box-shadow: none; color: var(--muted); }
.dm-list-head .close-btn:hover { color: var(--text); }
.dm-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 8px 8px; }
.dm-item {
display: flex; align-items: center; gap: 10px; width: 100%;
padding: 9px 10px; border: none; border-radius: 10px; background: none;
font-family: inherit; text-align: left; cursor: pointer;
transition: background .15s;
}
.dm-item:hover { background: var(--tk96); }
.dm-item.is-on { background: var(--tk96); }
.dm-ava {
flex: none; width: 38px; height: 38px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
position: relative; overflow: hidden;
font-size: 15px; font-weight: 700; line-height: 1;
}
.dm-ava img, .dm-peer-avatar img {
position: absolute; inset: 0; width: 100%; height: 100%;
object-fit: cover; display: block;
}
.dm-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dm-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.dm-item-top b {
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
font-size: 13.5px; font-weight: 600; color: var(--text);
}
.dm-item-top i { flex: none; font-size: 10.5px; font-style: normal; color: var(--muted); }
.dm-item-sub {
font-size: 12px; color: var(--muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dm-item.has-unread .dm-item-sub { color: #4a4f5e; }
.dm-badge {
flex: none; min-width: 17px; height: 17px; padding: 0 5px;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 999px; background: var(--danger); color: #fff;
font-size: 10px; font-weight: 700; line-height: 1;
}
.dm-list-foot { flex: none; padding: 10px 16px; border-top: 1px solid var(--border); }
.dm-policy {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
width: 100%; padding: 2px 0; border: none; background: none;
font-family: inherit; font-size: 12px; color: var(--muted); cursor: pointer; text-align: left;
}
.dm-policy:hover { color: var(--text); }
.dm-policy.is-on { color: var(--primary); }
.dm-policy:hover .ud-switch:not(.is-on) { background: #c3c7d0; }   


.dm-chat-pane { background: #fff; }
.dm-chat-head {
flex: none; display: flex; align-items: center; gap: 10px;
padding: 11px 16px; border-bottom: 1px solid var(--border); position: relative;
}
.dm-back {
display: none; flex: none; width: 30px; height: 30px; margin-left: -6px;
align-items: center; justify-content: center;
border: none; border-radius: 8px; background: none; cursor: pointer;
font-size: 22px; line-height: 1; color: var(--muted);
}
.dm-back:hover { background: var(--tk96); color: var(--text); }
.dm-peer-avatar {
flex: none; width: 34px; height: 34px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
position: relative; overflow: hidden;
font-size: 14px; font-weight: 700; line-height: 1;
}
.dm-peer-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dm-peer-meta b {
font-size: 14px; color: var(--text);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dm-peer-meta i { font-size: 11px; font-style: normal; color: var(--muted); }
.dm-more {
flex: none; width: 30px; height: 30px; border: none; border-radius: 8px;
background: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.dm-more:hover { background: var(--tk96); color: var(--text); }
.dm-menu {
position: absolute; right: 14px; top: 50px; z-index: 8;
min-width: 146px; padding: 4px;
background: #fff; border: 1px solid var(--border); border-radius: 10px;
box-shadow: 0 10px 28px rgba(30, 30, 60, .14);
}
.dm-menu button {
display: block; width: 100%; padding: 8px 10px;
border: none; border-radius: 7px; background: none;
font-family: inherit; font-size: 13px; color: var(--text); text-align: left; cursor: pointer;
}
.dm-menu button:hover { background: var(--tk96); }
.dm-thread {
flex: 1; min-height: 0; overflow-y: auto;
display: flex; flex-direction: column; gap: 10px;
padding: 16px; background: var(--tk98);
}
.dm-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; }
.dm-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.dm-bubble {
padding: 9px 13px; border-radius: 14px 14px 14px 4px;
background: #fff; border: 1px solid var(--border); color: var(--text);
font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
box-shadow: 0 1px 2px rgba(30, 30, 60, .04);
}
.dm-msg.is-mine .dm-bubble {
background: linear-gradient(135deg, var(--tk68), var(--tk58));
border-color: transparent; color: #fff; border-radius: 14px 14px 4px 14px;
}
.dm-time { margin-top: 3px; font-size: 10.5px; color: var(--muted); }
.dm-thread-empty {
margin: auto; padding: 24px 12px; text-align: center;
font-size: 13px; line-height: 1.7; color: var(--muted);
}
.dm-thread-empty .ico { display: block; margin: 0 auto 10px; opacity: .5; }
.dm-thread-empty p { margin: 0; }
.dm-thread-empty i { font-style: normal; font-size: 12px; color: #b45309; }
.dm-loading { margin: auto; font-size: 13px; color: var(--muted); }
.dm-compose {
flex: none; display: flex; align-items: flex-end; gap: 10px;
padding: 12px 16px 6px; border-top: 1px solid var(--border);
}
.dm-compose textarea {
flex: 1; min-width: 0; max-height: 120px; resize: none;
padding: 10px 13px; font-size: 13.5px; line-height: 1.6; font-family: inherit;
border: 1px solid var(--border); border-radius: 12px; background: var(--tk98);
transition: border-color .15s, box-shadow .15s, background .15s;
}
.dm-compose textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12); background: #fff; }
.dm-compose textarea:disabled { background: var(--tk96); color: var(--muted); cursor: not-allowed; }
.dm-compose .btn-primary { flex: none; height: 40px; padding: 0 20px; border-radius: 12px; }
.dm-compose-tip { flex: none; margin: 0; padding: 0 16px 10px; font-size: 11px; color: var(--muted); text-align: right; }
.dm-compose-tip.is-warn { color: #b45309; text-align: left; }

.dm-retain { margin: 9px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }


#dmReportModal { z-index: 140; }
.dm-report-to { margin: 0 0 14px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.dm-report-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.dm-reason {
padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
background: var(--tk98); font-family: inherit; font-size: 12.5px; line-height: 1.4;
color: var(--text); cursor: pointer;
transition: border-color .15s, color .15s, background .15s;
}
.dm-reason:hover { border-color: var(--primary); color: var(--primary); }
.dm-reason.is-on {
border-color: var(--primary); color: var(--primary);
background: rgba(var(--tk58-rgb), .08); font-weight: 600;
}
.dm-report-block {
display: flex; align-items: center; gap: 8px;
margin: 14px 0 16px; font-size: 12.5px; color: var(--text); cursor: pointer;
}
.dm-report-block input { flex: none; width: 15px; height: 15px; accent-color: var(--primary); }

@media (hover: none) {
.dm-msg:not(.is-mine) .dm-bubble {
-webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
}

.dm-empty { margin: auto; padding: 30px 12px; }

.detail-actions .btn-auhome { min-width: 50px; padding: 0 10px; }

@media (max-width: 720px) {
.modal-dm { grid-template-columns: 1fr; width: 100%; height: min(92vh, 680px); max-height: 92vh; }
.dm-list-pane { border-right: none; }
.modal-dm:not(.is-chat) .dm-chat-pane { display: none; }
.modal-dm.is-chat .dm-list-pane { display: none; }
.dm-back { display: inline-flex; }
.dm-list-head h2 { font-size: 17px; }
}



.checkin-card {
border: 1px solid var(--tk94); border-radius: 16px;
background: linear-gradient(135deg, var(--tk98) 0%, var(--tk98) 60%, #fff 100%);
padding: 14px 16px 12px; margin-bottom: 14px;
box-shadow: 0 2px 10px rgba(var(--tk58-rgb), .05);
}
.checkin-card.is-done {
background: linear-gradient(135deg, #f4faf8 0%, #f8fbfd 60%, #fff 100%);
border-color: #dceee9;
}
.ck-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.ck-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 9px; }
.ck-title > .ico {
width: 28px; height: 28px; font-size: 16px; border-radius: 9px;
background: linear-gradient(135deg, var(--tk68), var(--tk58));
box-shadow: 0 3px 8px rgba(var(--tk58-rgb), .24);
}
.ck-title > .ico svg { filter: brightness(0) invert(1); }
.ck-streak {
font-size: 11px; font-weight: 600; color: #a25f06;
background: linear-gradient(135deg, #fff5dd, #ffedd0);
border: 1px solid #f7dfb0; border-radius: 999px; padding: 3px 9px;
}

.ck-double {
font-size: 11px; font-weight: 600; color: #6e4bb5;
background: linear-gradient(135deg, #f6f0ff, #efe6ff);
border: 1px solid #e0d0ff; border-radius: 999px; padding: 3px 9px;
}

.checkin-go {
flex: none; font-size: 12.5px; font-weight: 600; color: #fff; cursor: pointer;
background: linear-gradient(135deg, var(--tk64), var(--tk58)); border: 1px solid transparent;
border-radius: 999px; padding: 7px 16px;
box-shadow: 0 3px 10px rgba(var(--tk58-rgb), .22);
transition: background .15s, box-shadow .15s, transform .15s;
}
.checkin-go:hover:not(:disabled) { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(var(--tk58-rgb), .3); }
.checkin-go:active:not(:disabled) { transform: translateY(1px); }
.checkin-go:disabled {
background: #e9f7f1; border-color: #cdeadd; color: #14946a; cursor: default; box-shadow: none;
}

.ck-week {
margin: 12px 0 10px; padding: 11px 12px 12px;
background: #fff; border: 1px solid var(--tk94); border-radius: 12px;
}
.ck-week-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ck-week-label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.ck-week-head em {
font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--primary);
background: var(--tk96); border-radius: 999px; padding: 2px 8px; margin-left: 5px;
}
.ck-week-cycle {
font-size: 11px; line-height: 1.5; color: #7d769c;
background: var(--tk96); border: 1px solid var(--tk94); border-radius: 999px; padding: 3px 9px;
}
.ck-week-cycle b { color: var(--primary); font-weight: 700; }
.ck-week-sep { display: inline-block; width: 1px; height: 9px; background: var(--tk88); margin: 0 6px; vertical-align: -1px; }
.ck-week-tbl { width: 100%; border-collapse: separate; border-spacing: 4px 0; table-layout: fixed; }
.ck-week-tbl th { font-size: 11px; font-weight: 500; color: #9590ab; padding: 0 0 6px; text-align: center; }
.ck-week-tbl th.is-today { color: var(--primary); font-weight: 700; }
.ckw-cell {
height: 46px; border-radius: 10px; text-align: center; vertical-align: middle; padding: 3px 0;
background: var(--tk98); border: 1px solid var(--tk94);
transition: background .15s, border-color .15s;
}
.ckw-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; }
.ckw-cell b { font-size: 15px; font-weight: 700; color: #c2bed0; line-height: 1; }
.ckw-cell i { font-style: normal; font-size: 9.5px; color: #b6b2c5; line-height: 1; font-variant-numeric: tabular-nums; }
.ckw-cell.is-signed {
background: linear-gradient(135deg, var(--tk66), var(--tk58)); border-color: var(--tk58);
box-shadow: 0 3px 8px rgba(var(--tk58-rgb), .22);
}
.ckw-cell.is-signed b { color: #fff; }
.ckw-cell.is-signed i { color: rgba(255, 255, 255, .78); }
.ckw-cell.is-missed { background: #fff5f4; border-color: #f6ddda; }
.ckw-cell.is-missed b { color: #d9605a; }
.ckw-cell.is-missed i { color: #c99b98; }

.ckw-cell.is-patchable { cursor: pointer; border-style: dashed; border-color: var(--tk58); }
.ckw-cell.is-patchable b { color: var(--tk42); }
.ckw-cell.is-patchable:hover { background: var(--tk94); }
.ckw-cell.is-today:not(.is-signed) { border-color: var(--primary); border-style: dashed; background: var(--tk98); }
.ckw-cell.is-today b { color: var(--primary); }
.ckw-cell.is-future { background: var(--tk98); border-style: dashed; }
.ckw-cell.is-future b, .ckw-cell.is-unknown b { color: #d0cdda; }

.ck-tip { margin-top: 10px; font-size: 11px; color: var(--muted); line-height: 1.65; }
.ck-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 5px; }
.ck-legend span { display: inline-flex; align-items: center; gap: 4px; color: #8a86a0; }
.ck-legend b {
display: inline-flex; align-items: center; justify-content: center;
width: 15px; height: 15px; border-radius: 5px;
background: var(--tk94); color: #7973a2; font-size: 10px; font-weight: 700;
}
.ck-legend span:first-child b { background: var(--tk94); color: var(--primary); }
.ck-legend span:nth-child(2) b { background: #fff0ef; color: #d9605a; }
.ck-tip p { margin: 0; }
.ck-tip strong { color: var(--primary-dark); font-weight: 700; }

.ck-makeup {
display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
background: var(--tk98); border: 1px dashed var(--tk86); border-radius: 9px;
padding: 7px 10px; margin: 8px 0 0;
}
.ck-makeup-ico { flex: none; display: flex; color: var(--tk58); }
.ck-makeup-txt { flex: 1; min-width: 0; font-size: 11.5px; line-height: 1.5; color: #5a5473; }
.ck-makeup-txt b { color: var(--tk42); font-weight: 600; }
.ck-makeup-left { display: block; font-size: 10.5px; color: #8a84a8; }
.ck-makeup-btn {
flex: none; border: 1px solid var(--tk58); background: var(--tk58); color: #fff;
border-radius: 7px; padding: 5px 10px; font-size: 11.5px; font-weight: 600; cursor: pointer;
font-family: inherit;
}
.ck-makeup-btn:hover { background: var(--tk52); border-color: var(--tk52); }
.ck-makeup.is-off { background: #f6f6f9; border-color: #e2e2ec; }
.ck-makeup.is-off .ck-makeup-ico { color: #a9a9bd; }
.ck-makeup.is-off .ck-makeup-txt { color: #8a8aa0; }

.ck-arrive {
display: flex; align-items: center; gap: 6px;
font-size: 11.5px; line-height: 1.5; color: #a2600a;
background: #fff8e8; border: 1px dashed #f0dfb8; border-radius: 8px;
padding: 5px 9px; margin: 0 0 8px;
}
.ck-arrive svg { flex: none; }
.ck-arrive.is-done { color: #8a7a5c; background: #fdfbf6; border-color: #efe9dc; }

.ck-mini {
display: flex; align-items: center; gap: 6px;
font-size: 11.5px; line-height: 1.5; color: var(--tk58);
background: var(--tk96); border: 1px solid var(--tk90); border-radius: 8px;
padding: 5px 9px; margin: 8px 0 0;
}
.ck-mini svg { flex: none; }
.ck-mini a { margin-left: auto; flex: none; color: var(--tk58); text-decoration: none; white-space: nowrap; font-weight: 600; }
.ck-mini a:hover { text-decoration: underline; }


.ck-ad {
background: linear-gradient(160deg, #fff7ec, #fffdf7);
border: 1px solid #ffe3c2; border-radius: 12px;
padding: 10px 12px 11px; margin: 9px 0 0;
}
.ck-ad-head { display: flex; align-items: center; gap: 6px; }
.ck-ad-ico { flex: none; display: flex; color: #f07f1f; }
.ck-ad-head b { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: #45301c; }
.ck-ad-badge {
flex: none; font-size: 10.5px; font-weight: 600; color: #c46a12;
background: #ffe9cf; border-radius: 999px; padding: 2px 8px;
}
.ck-ad-sub { font-size: 11px; color: #b08a63; line-height: 1.5; margin: 2px 0 8px; }
.ck-ad-steps { display: flex; gap: 7px; margin: 0 0 9px; }
.ck-ad-step {
flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 1px; border-radius: 8px; padding: 5px 4px; line-height: 1.2;
background: #fff; border: 1px solid #f3e3cf;
}
.ck-ad-step b { font-size: 13px; font-weight: 700; color: #5a4632; }
.ck-ad-step i { font-style: normal; font-size: 10px; color: #b99b77; }
.ck-ad-step.is-done { background: #4a4038; border-color: #4a4038; }
.ck-ad-step.is-done b { color: #fff; }
.ck-ad-step.is-done i { color: #cdbba7; }
.ck-ad-step.is-next { border-color: #f5a623; box-shadow: inset 0 0 0 1px #f5a623; }
.ck-ad-step.is-next i { color: #c46a12; font-weight: 600; }
.ck-ad-step.is-last { background: #fff4d8; border-color: #f6e3b0; }
.ck-ad-step.is-last b { color: #d97a15; }
.ck-ad-step.is-last i { color: #c99a4e; }
.ck-ad-go {
display: block; width: 100%; font-size: 13px; font-weight: 700; color: #fff; cursor: pointer;
background: linear-gradient(90deg, #ffab4a, #ff7d2e); border: none; border-radius: 999px;
padding: 9px 12px; transition: filter .15s, opacity .15s;
}
.ck-ad-go:hover:not(:disabled) { filter: brightness(1.05); }
.ck-ad-go:disabled { background: #e8ddcf; color: #b3a48f; cursor: default; }
.ck-ad-note { font-size: 10.5px; color: #c2a37c; text-align: center; line-height: 1.5; margin: 7px 0 0; }
.ck-ad.is-done { background: #faf7f2; border-color: #ece4d8; }
.ck-ad.is-done .ck-ad-head b { color: var(--muted); }
.ck-ad.is-done .ck-ad-badge { color: #a89a86; background: #f0eae0; }
.ck-ad.is-done .ck-ad-sub, .ck-ad.is-done .ck-ad-note { color: #b7ab9a; }

.ck-ad-hide {
flex: none; font-size: 10.5px; color: #c9b394; background: none;
border: none; cursor: pointer; padding: 2px 0;
}
.ck-ad-hide:hover { color: #c46a12; }
.ck-ad.is-off { background: none; border-color: transparent; padding: 2px 0 0; margin: 6px 0 0; }
.ck-ad-off { font-size: 11px; color: #c2a37c; text-align: center; }
.ck-ad-show { font-size: 11px; color: #c46a12; background: none; border: none; cursor: pointer; padding: 0 0 0 4px; }
.ck-ad-show:hover { text-decoration: underline; }

.ckad-lead { font-size: 12.5px; line-height: 1.7; color: var(--text); margin: 0 0 10px; }
.ckad-state { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.ckad-acct { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: #c46a12; }
.ckad-acct b { color: #a5500b; }
.ckad-late { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }


.ck-board { margin: -4px 0 14px; padding: 12px 14px 10px; border: 1px solid var(--border); border-radius: 14px; }
.ck-board .stats-works-head { margin-bottom: 6px; }
.ck-you {
font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--primary);
background: var(--tk94); border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: 1px;
}
.ck-board-gap { text-align: center; font-size: 11px; color: var(--muted); line-height: 1.6; }
.ck-board-foot { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }
.ck-board-foot b { color: var(--primary); }


.modal.modal-idea { max-width: 440px; }
.idea-done-tip { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 2px 0 12px; }
.idea-done-tip code { background: var(--tk96); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
#ideaDoneInput {
width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 13px; color: var(--text);
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
}
#ideaDoneInput:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .1); }
.idea-done-msg { min-height: 16px; margin: 6px 0 0; font-size: 12px; color: #d9534f; }
.idea-done-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }


.bar-stats {
display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
margin: 0 0 14px; font-size: 12px; color: var(--muted);
}
.bar-stats b { color: var(--text); font-weight: 600; font-size: 13px; }
.bar-stats .bs-total { color: var(--primary); font-weight: 600; }
.bar-stats .bs-total b { color: var(--primary); font-size: 16px; }
.bar-stats .bs-done b { color: #1f8a4c; }
.bar-stats .bs-claimed b { color: #a2600a; }

.bar-stats[hidden], .wish-done-box[hidden] { display: none; }


.wish-compose-extra { margin: -4px 0 10px; }
.wish-extra-toggle {
border: 0; background: none; padding: 2px 0; font: inherit; font-size: 12px;
color: var(--primary); cursor: pointer;
}
.wish-extra-toggle:hover { text-decoration: underline; }
#wishDetail {
display: block; width: 100%; box-sizing: border-box; margin-top: 8px;
padding: 9px 12px; font: inherit; font-size: 13px; color: var(--text);
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98); resize: vertical;
}
#wishDetail:focus { outline: none; border-color: var(--primary); background: #fff; }
#wishDetail[hidden] { display: none; }
.wish-tabs { flex-wrap: wrap; }

.wish-card-title {
display: block; width: 100%; padding: 0; margin: 0 0 6px;
border: 0; background: none; text-align: left; cursor: pointer;
font-size: 14px; font-weight: 600; line-height: 1.55; color: var(--text);
}
.wish-card-title:hover { color: var(--primary); }
.wish-card-detail {
margin: 0 0 8px; font-size: 12px; line-height: 1.6; color: var(--muted);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wish-card-meta {
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
margin: 0 0 9px; font-size: 11.5px; color: var(--muted);
}
.wish-card-meta .wish-author { flex: none; color: var(--muted); }
.wish-when { color: #a2a5b8; }
.wish-discuss-n {
margin-left: auto; padding: 0; border: 0; background: none;
font: inherit; font-size: 11.5px; color: var(--primary); cursor: pointer;
}
.wish-discuss-n:hover { text-decoration: underline; }
.wish-open {
flex: none; padding: 0; border: 0; background: none; font: inherit;
font-size: 11.5px; color: var(--primary); cursor: pointer;
}
.wish-open:hover { text-decoration: underline; }


.wish-done-box {
margin: 22px 0 6px; padding: 16px 18px; border: 1px solid #dcefe3;
border-radius: 16px; background: #f7fcf8;
}
.wd-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.wd-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: #1f6b42; }
.wd-head span { font-size: 11.5px; color: #6d8a78; }
.wd-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wd-item {
display: flex; align-items: center; gap: 8px; min-width: 0;
padding: 9px 11px; border: 1px solid #e2f0e6; border-radius: 10px;
background: #fff; text-decoration: none; color: var(--text); font-size: 12.5px;
}
.wd-item:hover { border-color: #9fd5b1; }
.wd-check { flex: none; color: #1f8a4c; font-weight: 700; }
.wd-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-work {
flex: none; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
font-size: 11.5px; color: #1f8a4c;
}



#ideaDetailModal { z-index: 90; }
.modal.modal-idea-detail { max-width: 620px; }
.idea-detail-body { margin-top: -6px; }


.modal.modal-chat-post { max-width: 560px; }
.chat-post-body { margin-top: -6px; max-height: min(72vh, 640px); overflow-y: auto; }
.cp-main { padding-top: 4px; }
.cp-text { margin: 0 0 10px; font-size: 14.5px; line-height: 1.8; color: var(--text); word-break: break-word; }
.cp-text .br-tag { font-weight: 600; }
.cp-work {
display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px;
padding: 3px 10px; border-radius: 999px; background: var(--tk96); color: var(--primary);
font-size: 12px; font-weight: 600; text-decoration: none;
}
.cp-work:hover { background: var(--tk94); }
.cp-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cp-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 4px; }
.cp-replies { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--tk98); max-height: 40vh; overflow-y: auto; }

.cp-replies-head { margin-bottom: 0; }
.cp-replies .comment-item { gap: 8px; }
.cp-replies .comment-meta { gap: 6px; }
.cp-replies .comment-acts { gap: 8px; }
.cp-replies:has(.cp-empty), .cp-replies:has(.comment-empty) { background: none; padding: 0; max-height: none; overflow: visible; }
.cp-empty, .comment-empty { font-size: 12.5px; color: var(--muted); padding: 2px 0; }
.cp-form { margin-top: 10px; }
.cp-form input { font-size: 13px; padding: 9px 12px; }
.id-hero { padding-bottom: 16px; border-bottom: 1px solid var(--tk94); }
.id-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.id-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--text); }
.id-detail {
margin: 0 0 10px; padding: 10px 12px; border-radius: 10px;
background: var(--tk96); font-size: 13px; line-height: 1.7; color: #4a4c62;
}
.id-detail.is-empty { color: var(--muted); font-style: italic; background: var(--tk98); }
.id-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.id-acts { display: flex; gap: 8px; flex-wrap: wrap; }

.id-sec { padding-top: 16px; }
.id-sec + .id-sec { margin-top: 4px; border-top: 1px solid var(--tk94); }
.id-sec h4 { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #2b2d3f; }
.id-sec h4 span { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.id-sec-note { margin: -4px 0 12px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

.id-timeline { list-style: none; margin: 0; padding: 0 0 2px; }
.id-timeline li { position: relative; display: flex; gap: 10px; padding: 0 0 14px 4px; }
.id-timeline li::before {
content: ''; position: absolute; left: 8px; top: 12px; bottom: -2px; width: 1px; background: var(--tk92);
}
.id-timeline li:last-child::before { display: none; }
.id-tl-dot {
position: relative; z-index: 1; flex: none; width: 9px; height: 9px; margin-top: 5px;
border-radius: 50%; background: var(--tk86); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--tk92);
}
.id-timeline li.is-on .id-tl-dot { background: var(--primary); box-shadow: 0 0 0 1px var(--tk88); }
.id-timeline li.is-now .id-tl-dot { background: #d98514; box-shadow: 0 0 0 1px #f3d3a5; }
.id-timeline li.is-done .id-tl-dot { background: #1f8a4c; box-shadow: 0 0 0 1px #bfe3cc; }
.id-timeline b { display: block; font-size: 12.5px; font-weight: 500; color: #4a4c62; }
.id-timeline li.is-on b { color: var(--text); }
.id-timeline small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }

.id-discuss-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.id-loading, .id-empty {
padding: 14px; text-align: center; font-size: 12.5px; color: var(--muted);
background: var(--tk98); border-radius: 10px;
}

.id-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid var(--tk94); border-radius: 10px; background: var(--tk98); }
.id-body { flex: 1; min-width: 0; }
.id-item-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; min-width: 0; }
.cmt-badge.claimer { color: var(--tk50); background: var(--tk96); border-color: var(--tk92); }
.id-kind-tag {
flex: none; padding: 1px 7px; border-radius: 5px; font-size: 10.5px;
background: var(--tk96); color: var(--tk50);
}
.id-kind-tag.k-solution { background: #e6f1fb; color: #185fa5; }
.id-kind-tag.k-progress { background: #fdf0dc; color: #a2600a; }
.id-item-author { font-size: 11.5px; color: #4a4c62; }
.id-item-when { font-size: 11px; color: #a2a5b8; }
.id-item-top b { font-size: 12px; color: var(--text); }
.id-item-top > span:not(.id-kind-tag):not(.cmt-badge) { font-size: 11px; color: var(--muted); }
.id-item-del, .id-item-report {
margin-left: auto; border: 0; background: none; padding: 0 2px;
font: inherit; font-size: 11px; color: #b1b3c4; cursor: pointer;
}
.id-item-del:hover { color: #e05b5b; }
.id-item-report:hover { color: var(--primary); }
.id-item-text {
margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text);
white-space: pre-wrap; word-break: break-word;
}
.id-report-menu {
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--tk92);
font-size: 11px; color: var(--muted);
}
.id-report-menu button {
padding: 3px 8px; border: 1px solid var(--tk92); border-radius: 6px;
background: #fff; font: inherit; font-size: 11px; color: #5a5c75; cursor: pointer;
}
.id-report-menu button:hover { border-color: var(--primary); color: var(--primary); }

.id-form { padding: 12px; border: 1px solid var(--tk92); border-radius: 12px; background: var(--tk98); }
.id-kinds { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.id-kind {
padding: 5px 10px; border: 1px solid var(--tk92); border-radius: 999px;
background: #fff; font: inherit; font-size: 11.5px; color: #6a6f8a; cursor: pointer;
}
.id-kind.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); font-weight: 600; }
.id-kind:disabled { opacity: .45; cursor: not-allowed; }
#idDiscussText {
display: block; width: 100%; box-sizing: border-box; padding: 9px 11px;
font: inherit; font-size: 12.5px; color: var(--text); line-height: 1.6;
border: 1px solid var(--border); border-radius: 9px; background: #fff; resize: vertical;
}
#idDiscussText:focus { outline: none; border-color: var(--primary); }
.id-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.id-form-msg { flex: 1; font-size: 11.5px; color: #d9534f; }
.id-form-foot .btn-primary { flex: none; padding: 7px 18px; font-size: 12.5px; border-radius: 9px; }

@media (max-width: 640px) {
.wish-list { grid-template-columns: 1fr; }
.wish-compose { flex-direction: column; }
.wish-compose .btn-primary { padding: 9px; }
.wish-tabs { gap: 5px; }
.wish-tab { font-size: 11.5px; padding: 5px 9px; }

.wish-card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
.wish-card-foot .wish-actions { justify-content: flex-start; }
.wish-card-foot .wish-open { align-self: flex-end; }
.wish-want, .wish-claim { white-space: nowrap; }
.wd-list { grid-template-columns: 1fr; }
.modal.modal-idea-detail { max-width: 100%; }
.modal.modal-chat-post { max-width: 100%; }
.chat-post-body { max-height: 78vh; }
.id-title { font-size: 16px; }
.bar-stats { gap: 4px 10px; font-size: 11.5px; }
}

.stats-empty { padding: 26px 6px 10px; text-align: center; }
.stats-empty-icon { font-size: 34px; margin-bottom: 6px; }
.stats-empty p { font-size: 14px; margin: 0 0 6px; }
.stats-empty .stats-empty-sub { font-size: 12.5px; color: var(--muted); line-height: 1.65; max-width: 380px; margin: 0 auto 16px; }

.stats-empty .stats-claim-link { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; }
.stats-empty .stats-claim-link:hover { text-decoration: underline; }

.stats-empty-reward { margin-top: 20px; text-align: left; }
.stats-empty-reward .os-bonus { margin-bottom: 0; }

@media (max-width: 640px) {
.stats-summary { grid-template-columns: repeat(3, 1fr); }
}

.auth-modal { max-width: 380px; }
.auth-modal form { display: block; }
.auth-switch { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }


.nick-pick { display: flex; gap: 8px; align-items: stretch; }
.nick-pick input { flex: 1; min-width: 0; }
.nick-dice {
flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
padding: 0 12px; border: 1px solid var(--border); border-radius: 10px;
background: #fff; color: var(--primary); font-size: 13px; font-weight: 600;
font-family: inherit; cursor: pointer; white-space: nowrap;
}
.nick-dice:hover { background: var(--tk96); border-color: var(--primary); }
.nick-dice:active { transform: scale(.97); }
.nick-dice .ico { width: 14px; height: 14px; flex: 0 0 auto; }
.nick-dice.is-roll .ico { animation: nickRoll .4s ease; }
@keyframes nickRoll {
0% { transform: rotate(0) scale(1); }
60% { transform: rotate(200deg) scale(1.25); }
100% { transform: rotate(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .nick-dice.is-roll .ico { animation: none; } }


.auth-upgrade {
margin-top: 12px; padding: 12px 14px; border: 1px solid var(--primary);
border-radius: 10px; background: var(--tk96); font-size: 13px;
}
.auth-upgrade p { margin: 0 0 10px; line-height: 1.6; }
.auth-upgrade .btn-block { margin-bottom: 8px; }
.auth-upgrade-cancel {
display: block; margin: 0 auto; background: none; border: none; padding: 0;
font-size: 12.5px; color: var(--muted); cursor: pointer; text-decoration: underline;
}


.auth-oauth {
margin-top: 4px;
display: flex; flex-wrap: wrap; gap: 10px;
}
.auth-oauth .auth-or { flex: 1 1 100%; }
.auth-oauth .btn-wechat, .auth-oauth .btn-github {
flex: 1 1 0; min-width: 0; width: auto; margin-top: 0;
font-size: 13.5px; padding: 9px 6px; white-space: nowrap;   
}
.auth-oauth .btn-google { flex: 1 1 100%; width: 100%; margin-top: 0; }


.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 42px; }
.pw-eye {
position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
display: inline-flex; align-items: center; justify-content: center;
width: 32px; height: 32px; padding: 0;
background: none; border: none; border-radius: 8px; cursor: pointer;
color: var(--muted);
}
.pw-eye:hover { background: #f0f0f5; color: var(--text); }
.pw-eye .ico { width: 17px; height: 17px; }
.pw-eye.is-on { color: var(--primary); }


.sms-code-wrap { display: flex; gap: 8px; align-items: stretch; }
.sms-code-wrap input { flex: 1; min-width: 0; }
.sms-send {
flex: 0 0 auto; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px;
background: #fff; color: var(--primary); font-size: 13px; font-weight: 600;
font-family: inherit; cursor: pointer; white-space: nowrap;
}
.sms-send:hover { background: var(--tk96); border-color: var(--primary); }
.sms-send:disabled { color: var(--muted); background: #fafafa; border-color: var(--border); cursor: not-allowed; }
.phone-modal { max-width: 380px; }
.phone-modal .form-hint { margin: 4px 0 14px; }
.phone-modal .btn-block { margin-top: 4px; }


.form-err {
margin: 10px 0 0; font-size: 13px; line-height: 1.55;
color: #c0392b; background: #fdf0ef; border: 1px solid #f2c5c0;
border-radius: 8px; padding: 8px 12px;
}

.btn-github {
width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
color: #fff; background: #24292f; border: 1px solid #24292f;
transition: background .15s, transform .1s;
}
.btn-github:hover { background: #11151a; }
.btn-github:active { transform: translateY(1px); }
.btn-github .ico { width: 1.15em; height: 1.15em; }

.btn-google {
width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
margin-top: 10px; padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
color: #1f1f1f; background: #fff; border: 1px solid #dadce0;
transition: background .15s, transform .1s;
}
.btn-google:hover { background: #f8f9fa; }
.btn-google:active { transform: translateY(1px); }
.btn-google .ico { width: 1.15em; height: 1.15em; flex: none; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 12px; color: var(--muted); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-github-inline { display: inline-flex; align-items: center; gap: 6px; }
.btn-google-inline { display: inline-flex; align-items: center; gap: 6px; }


.btn-wechat {
width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
margin-top: 10px; padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
color: #fff; background: #07c160; border: 1px solid #07c160;
transition: background .15s, transform .1s;
}
.btn-wechat:hover { background: #06ad56; }
.btn-wechat:active { transform: translateY(1px); }
.btn-wechat .ico { width: 1.15em; height: 1.15em; flex: none; }


@media (max-width: 640px) {
.auth-modal { max-width: none; width: calc(100vw - 36px); border-radius: 20px; padding: 22px 20px 20px; }

.auth-modal .modal-head { margin: -22px -20px 26px; padding: 22px 20px 10px; }
.auth-modal .modal-head h2 { font-size: 21px; font-weight: 800; }
.auth-modal .form-hint { font-size: 12.5px; padding: 9px 12px; border-radius: 10px; line-height: 1.6; }

.auth-modal form input { font-size: 16px; padding: 12px 14px; border-radius: 12px; }
.auth-modal .btn-block { padding: 13px 16px; font-size: 16px; border-radius: 12px; margin-top: 20px; }
.auth-modal .auth-or { margin: 16px 0 12px; }

.auth-modal .auth-oauth { gap: 8px; }
.auth-modal .btn-wechat, .auth-modal .btn-github {
padding: 12px 4px; font-size: 13px; border-radius: 12px;
}
.auth-modal .btn-google { padding: 12px 16px; font-size: 15px; border-radius: 12px; }
.auth-modal .auth-switch { margin-top: 16px; font-size: 13.5px; }
}
.wxscan-stage {
display: flex; flex-direction: column; align-items: center; gap: 10px;
margin: 6px 0 4px;
}
#wxScanImg {
width: 208px; height: 208px; border: 1px solid var(--border); border-radius: 12px;
background: #fff; object-fit: contain;
}

.wxscan-loading {
width: 208px; height: 208px; border: 1px solid var(--border); border-radius: 12px;
background: #fff;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
font-size: 12.5px; color: var(--muted);
}
.wxscan-loading .spin {
width: 28px; height: 28px; border-radius: 50%;
border: 3px solid var(--tk92); border-top-color: var(--primary);
animation: wxqr-spin .8s linear infinite;
}
@keyframes wxqr-spin { to { transform: rotate(360deg); } }
.wxscan-tip { font-size: 12.5px; color: var(--muted); }

.wxscan-save {
display: flex; align-items: center; justify-content: center; gap: 6px;
width: 100%; margin: 10px 0 0; padding: 10px 14px;
border: 1px solid #07c160; border-radius: 10px; background: #f2fdf7;
color: #07894a; font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.wxscan-save .ico { width: 15px; height: 15px; flex: none; }
.wxscan-save:active { background: #e6f9ee; }
@media (max-width: 640px) {
.wxscan-tip { line-height: 1.6; text-align: center; padding: 0 4px; }
.wxscan-status { font-size: 12.5px; line-height: 1.6; }
.wxscan-save { padding: 12px 14px; font-size: 14.5px; border-radius: 12px; margin-top: 12px; }
}
.wxscan-status { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--ink, #333); }

.wxscan-status.is-waiting::before {
content: ''; display: inline-block; width: 13px; height: 13px;
margin-right: 6px; vertical-align: -2px; border-radius: 50%;
border: 2px solid #d9f7e6; border-top-color: #07c160;
animation: wxqr-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
.wxscan-status.is-waiting::before { animation: none; border-top-color: #07c160; }
}
.wxscan-expired { margin: 8px 0 0; text-align: center; font-size: 13px; color: #d97706; }
.wxscan-expired a { color: var(--primary); cursor: pointer; text-decoration: underline; }
#wxScanBack { margin-top: 14px; }
.btn-google-inline .ico { width: 1.05em; height: 1.05em; flex: none; }


.gh-card {
display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 12px;
border: 1px solid var(--border); border-radius: 12px; background: var(--tk98);
}
.gh-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: #eee; }
.gh-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gh-login { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; word-break: break-all; }
.gh-login:hover { color: var(--primary); }
.gh-sub { font-size: 12px; color: var(--muted); }
.nick-tip code { background: var(--tk96); padding: 1px 4px; border-radius: 4px; font-size: 12px; }
.ud-ok { margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--primary); background: var(--tk96); }
.ud-ok.is-muted { color: #8a8f99; background: #f1f2f6; }   

.ud-switch {
flex: none; margin-left: auto; position: relative;   
width: 30px; height: 17px; border-radius: 999px;
background: #d4d7de; transition: background .18s;
}
.ud-switch i {
position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s;
}
.ud-switch.is-on { background: var(--primary); }
.ud-switch.is-on i { transform: translateX(13px); }
.ud-item:hover .ud-switch:not(.is-on) { background: #c3c7d0; }
.remember-row {
display: flex; align-items: center; gap: 8px;
margin: 4px 0 0; font-size: 13px; color: var(--muted);
cursor: pointer; user-select: none; font-weight: 400;
}
.remember-row input[type="checkbox"] {
width: 16px; height: 16px; margin: 0; accent-color: var(--primary); cursor: pointer; flex: none;
}


.npref-list { display: flex; flex-direction: column; gap: 8px; }
.npref-row {
display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px;
background: var(--tk98); cursor: pointer; font: inherit;
}
.npref-row:hover { border-color: var(--primary); }
.npref-row:disabled { opacity: .6; cursor: default; }
.npref-ico {
flex: none; width: 30px; height: 30px; border-radius: 9px;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary);
}
.npref-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.npref-main b { font-size: 14px; color: var(--text); }
.npref-main i { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.5; }
.npref-state { flex: none; margin-left: auto; padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--primary); background: var(--tk96); }
.npref-state.is-muted { color: #8a8f99; background: #f1f2f6; }   
.npref-row .ud-switch { margin-left: 0; }                        

.form-hint { font-size: 12px; color: var(--muted); background: var(--tk96); border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }

.form-hint.err { color: #c9302c; background: #fdf1f0; }

.form-hint.os-bonus-tip { color: #8a5a06; background: #fdf6e6; }

.form-hint.claim-bonus-tip { color: #8a5a06; background: #fdf6e6; border: 1px solid #f2e2ba; margin: 8px 0 0; }
.form-hint.os-bonus-tip b { color: #b26a00; }


.admin-claim-code-bar {
display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
padding: 9px 12px; margin: 0 0 14px;
color: #8a5a06; background: #fdf6e6; border: 1px solid #f2e2ba; border-radius: 8px;
font-size: 12.5px;
}
.accb-label { font-weight: 600; flex: none; }
.accb-code {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 14px; font-weight: 700; letter-spacing: .5px; color: #7a4a00;
background: #fff; border: 1px solid #f0dca8; border-radius: 5px; padding: 2px 8px;
user-select: all;
}
.accb-copy {
flex: none; border: 1px solid #e8c984; background: #fff; color: #8a5a06;
border-radius: 6px; padding: 3px 10px; font-size: 12px; cursor: pointer;
}
.accb-copy:hover { background: #fbeac6; }
.accb-bonus { color: #b26a00; font-weight: 600; }


.agree-box {
margin: 4px 0 14px; padding: 12px 14px;
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
}
.agree-line { display: flex; align-items: flex-start; gap: 8px; }
.agree-line input[type="checkbox"] {
flex: 0 0 auto; width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--primary); cursor: pointer;
}
.agree-line label { font-size: 13px; line-height: 1.65; color: #3a4152; cursor: pointer; margin: 0; }
.agree-line label a { color: var(--primary); text-decoration: none; font-weight: 600; }
.agree-line label a:hover { text-decoration: underline; }


.modal.share-modal { max-width: 560px; }
.share-tpls { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; }
.share-tpls-label { font-size: 12px; color: var(--muted); margin-right: 2px; }
.tpl-btn {
padding: 5px 12px; font-size: 12px; border-radius: 999px;
border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer;
}
.tpl-btn:hover { border-color: var(--primary); color: var(--primary); }
.tpl-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.share-preview {
position: relative;
display: flex; justify-content: center; align-items: flex-start;
}
.share-preview canvas {
display: block; width: auto; height: auto;
max-width: 100%; max-height: 56vh;
transition: opacity .15s;

border-radius: 16px;
box-shadow: 0 10px 30px rgba(38,34,92,.16);
}
.share-preview canvas.loading { opacity: .45; }

.share-preview .save-overlay {
position: absolute; inset: 0; z-index: 2;
width: 100%; height: 100%;
object-fit: contain;
border-radius: 16px;
opacity: 0; pointer-events: none;
-webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto;
}
.share-preview .save-overlay.show { opacity: 1; pointer-events: auto; }
.share-tip { font-size: 12px; color: var(--muted); margin: 10px 0 14px; line-height: 1.5; }

.share-qr-mode { flex-wrap: wrap; }
.share-qr-hint { font-size: 12px; color: var(--muted); margin: -6px 0 14px; line-height: 1.55; }

.share-lamp-tip {
display: none; margin: -6px 0 14px; padding: 8px 11px; border-radius: 10px;
background: rgba(var(--tk58-rgb), .07); color: var(--text);
font-size: 12px; line-height: 1.55;
}
.share-lamp-tip.show { display: block; }
.share-lamp-tip b { color: var(--primary); }
.share-lamp-tip.is-guest { background: rgba(122, 128, 149, .10); color: var(--muted); }
.share-lamp-tip.is-guest b { color: var(--muted); }
.share-lamp-tip .lamp-login {
border: 0; background: none; padding: 0; margin: 0; font: inherit; font-weight: 700;
color: var(--primary); text-decoration: underline; cursor: pointer;
}

.share-head-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.share-head-actions .share-head-btn { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

.share-head-actions .btn-report {
text-decoration: none; color: var(--text); border: 1px solid var(--border); background: #fff;
white-space: nowrap;
}
.share-head-actions .btn-report:hover { color: var(--primary); border-color: var(--primary); }

.share-modal-head .close-btn {
position: static; width: auto; height: auto; border-radius: 0; font-size: 20px;
background: none; box-shadow: none; color: var(--muted); margin-left: 2px; padding: 4px 6px;
}
.share-modal-head .close-btn:hover { color: var(--text); }
.btn-ic { vertical-align: -3px; margin-right: 5px; }

@media (max-width: 640px) {
.share-preview canvas { max-height: 46vh; }
}




.ad-slot { display: none; margin: 22px 0 4px; }
.ad-slot-footer { margin: 30px 0 0; }
.ad-slot-detail { margin: 16px 0 0; }


.adsense-unit { text-align: center; }
.adsense-unit ins.adsbygoogle { display: inline-block; margin: 22px auto; }


#adsHomeTop .adsense-320 { display: inline-block; }
#adsHomeTop .adsense-970 { display: none; }
@media (min-width: 1024px) {
#adsHomeTop .adsense-320 { display: none; }
#adsHomeTop .adsense-970 { display: inline-block; }
}


#adsFooterBar .adsense-320 { display: inline-block; }
#adsFooterBar .adsense-728 { display: none; }
@media (min-width: 768px) {
#adsFooterBar .adsense-320 { display: none; }
#adsFooterBar .adsense-728 { display: inline-block; }
}


#adsHomeSquare .adsense-320 { display: none; }
@media (max-width: 380px) {
#adsHomeSquare .adsense-320 { display: inline-block; }
#adsHomeSquare .adsense-336 { display: none; }
}


.ad-carousel { display: grid; }
.ad-slide { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.ad-slide.show { opacity: 1; pointer-events: auto; }


.promo-slot { width: 100%; }
.promo-slot .ad-carousel { width: 100%; }

.promo-slot .ad-slide { width: 100%; }
.promo-slot .ad-slide > .card,
.promo-slot .ad-slide > .work-row,
.promo-slot > .card,
.promo-slot > .work-row { width: 100%; }


.ad-card {
position: relative; display: flex; align-items: center; overflow: hidden;
min-height: 0; border-radius: 12px; text-decoration: none; color: #2f3346;
background: #fff;
border: 1px solid var(--tk92);
box-shadow: 0 1px 2px rgba(31, 35, 48, .04);
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ad-card:hover {
transform: translateY(-1px); border-color: var(--tk90);
box-shadow: 0 8px 20px rgba(var(--tk58-rgb), .11);
}
.ad-card.has-img { background: #fff; }

.ad-bg {
position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4;
-webkit-mask-image: linear-gradient(90deg, transparent 60%, rgba(0, 0, 0, .45) 80%, #000 100%);
mask-image: linear-gradient(90deg, transparent 60%, rgba(0, 0, 0, .45) 80%, #000 100%);
}
.ad-card.has-img::after {
content: ''; position: absolute; inset: 0;
background: linear-gradient(90deg, #fff 0%, #fff 62%, rgba(255, 255, 255, .88) 82%, rgba(255, 255, 255, .66) 100%);
}
.ad-body {
position: relative; z-index: 1; display: flex;
flex-direction: row; align-items: center; gap: 12px;
padding: 10px 46px 10px 16px; max-width: 100%;
}
.ad-badge {
align-self: center; font-size: 8px; line-height: 1.35; padding: 1px 3px;
border-radius: 3px; background: var(--tk96); color: #6b7091; letter-spacing: .04em;
flex: none; justify-self: start;   
}

.ad-badge.is-redeem { background: #ffe9c6; color: #8f5806; }
.ad-card.ad-text-card .ad-badge.is-redeem {
background: #fff7e8; color: #a86e00; border-color: #f2dfb6;
}
.ad-title {
font-size: 15px; line-height: 1.3; font-weight: 700; flex: none; max-width: 40%;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-desc {
font-size: 12.5px; line-height: 1.5; color: #8b90a6; flex: 1 1 auto; min-width: 0;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.ad-author { flex: none; max-width: 24%; font-size: 11px; line-height: 1.4; color: #8b90a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-cta {
align-self: center; margin: 0; flex: none; font-size: 12px; font-weight: 600;
padding: 4px 12px; border-radius: 999px; background: var(--tk92); color: var(--tk52);
white-space: nowrap;
}
.ad-dots { display: flex; gap: 6px; justify-content: center; margin-top: 9px; }

.ad-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ad-row2 .ad-card-wrap { min-width: 0; }

.ad-row2 .ad-card { height: 100%; }

.ad-row2.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ad-row2.cols-3 .ad-card.ad-compact .ad-body { padding: 6px 28px 7px 11px; }
.ad-row2.cols-3 .ad-card.ad-compact .ad-title { font-size: 12.5px; }
.ad-row2.cols-3 .ad-card.ad-compact .ad-desc { font-size: 11px; }
.ad-row2.cols-3 .ad-card.ad-compact .ad-cta { font-size: 10.5px; padding: 1px 8px; }

.ad-row2.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ad-row2.cols-4 .ad-card.ad-compact .ad-body {
grid-template-columns: minmax(0, 1fr) auto;
grid-template-areas: "badge cta" "title title" "author desc";
row-gap: 2px;
padding: 6px 28px 7px 11px;
}
.ad-row2.cols-4 .ad-card.ad-compact .ad-title { font-size: 12.5px; }
.ad-row2.cols-4 .ad-card.ad-compact .ad-author { grid-area: author; max-width: 72px; font-size: 10px; }
.ad-row2.cols-4 .ad-card.ad-compact .ad-author::after { content: '·'; margin-left: 3px; }
.ad-row2.cols-4 .ad-card.ad-compact .ad-desc { grid-area: desc; font-size: 11px; }
.ad-row2.cols-4 .ad-card.ad-compact .ad-cta { font-size: 10.5px; padding: 1px 8px; }


@media (max-width: 640px) { .ad-row2 { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.ad-card.ad-compact { display: block; }
.ad-card.ad-compact .ad-body {
display: grid; width: 100%;
grid-template-columns: auto minmax(0, 1fr) auto;
grid-template-areas: "badge title cta" "author desc desc";
align-items: center; column-gap: 8px; row-gap: 1px;
padding: 6px 36px 7px 12px;
}
.ad-card.ad-compact .ad-badge { grid-area: badge; }
.ad-card.ad-compact .ad-title { grid-area: title; max-width: 100%; font-size: 13px; }

.ad-card.ad-compact .ad-author { grid-area: author; max-width: 76px; font-size: 10.5px; }
.ad-card.ad-compact .ad-author::after { content: '·'; margin-left: 4px; }
.ad-card.ad-compact .ad-cta { grid-area: cta; font-size: 11px; padding: 2px 9px; }
.ad-card.ad-compact .ad-desc { grid-area: desc; font-size: 11.5px; opacity: .85; }

.rank-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-compact .ad-body {
grid-template-columns: auto minmax(0, 1fr) auto;
grid-template-areas: "badge title cta";
row-gap: 0;
padding: 8px 34px 8px 11px;
}
.rank-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-compact .ad-desc,
.rank-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-compact .ad-author { display: none; }
.rank-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-compact .ad-title { font-size: 12.5px; }
.rank-side .ad-slot[data-ad-slot="rank"] .ad-card.ad-compact .ad-cta { font-size: 10.5px; padding: 2px 7px; }
.ad-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tk84); transition: background .2s, width .2s; }
.ad-dot.active { width: 16px; border-radius: 4px; background: var(--primary); }


.ad-slot-detail .ad-card { border-radius: 12px; }
.ad-slot-detail .ad-body { padding: 9px 42px 9px 14px; }
.ad-slot-detail .ad-title { font-size: 14px; }


.rank-top { margin: 26px 0 10px; }
.rank-top .ad-slot { margin: 0; }


.rank-side { display: none; }
@media (min-width: 1100px) {
.rank-top { display: none; }   
.rank-body {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 24px;
align-items: start;
}
.rank-side {
display: block;
position: sticky;
top: 72px;

z-index: 20;

margin-top: 0;
}
.rank-side .ad-slot { margin: 0; }
}


.jrn {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 13px 13px 9px; margin-bottom: 14px;
}
.jrn[hidden] { display: none; }
.jrn-head { display: flex; align-items: center; gap: 9px; }
.jrn-mark {
width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: var(--tk96);
display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.jrn-mark svg { width: 17px; height: 17px; display: block; }
.jrn-brand { flex: 1; min-width: 0; line-height: 1.25; }
.jrn-name { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: .2px; }
.jrn-sub {
display: block; font-size: 11px; color: var(--muted); margin-top: 2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-tabs { display: inline-flex; flex-shrink: 0; background: var(--tk96); border-radius: 999px; padding: 2px; }
.jrn-tab {
border: 0; background: transparent; font-family: inherit; font-size: 12px; color: var(--muted);
padding: 4px 9px; border-radius: 999px; cursor: pointer; line-height: 1.3;
}
.jrn-tab.on { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 3px rgba(31,35,48,.12); }

.jrn-body { margin-top: 11px; }

.jrn-live {
display: block; width: 100%; text-align: left; font-family: inherit; cursor: pointer;
border: 1px solid var(--border); border-radius: 12px; padding: 10px 11px 9px;
background: linear-gradient(180deg, var(--tk98), #fff); transition: border-color .15s;
}
.jrn-live:hover { border-color: var(--primary); }
.jrn-live-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jrn-live-tag { font-size: 12px; font-weight: 600; color: var(--primary); }
.jrn-live-left { font-style: normal; font-size: 11px; color: var(--muted); }
.jrn-live-row { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.jrn-live-row img { width: 46px; height: 34px; border-radius: 7px; object-fit: cover; flex-shrink: 0; background: var(--tk96); }
.jrn-live-txt { min-width: 0; }
.jrn-live-txt b {
display: block; font-size: 13px; font-weight: 600;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-live-txt em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.jrn-live-empty { display: block; font-size: 12px; color: var(--muted); margin-top: 9px; }
.jrn-live-foot { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }


.jrn-past { margin-top: 12px; }
.jrn-past-head { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; margin-bottom: 4px; }
.jrn-item {
display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; font-family: inherit;
background: transparent; border: 0; border-top: 1px solid var(--tk94); padding: 8px 2px; cursor: pointer;
}
.jrn-past-head + .jrn-item { border-top: 0; }
.jrn-item:hover .jrn-item-main b { color: var(--primary); }
.jrn-item img, .jrn-item-noimg { width: 42px; height: 31px; border-radius: 6px; flex-shrink: 0; object-fit: cover; background: var(--tk96); }
.jrn-item-noimg { display: flex; align-items: center; justify-content: center; font-size: 10px; color: #b0b3c6; }
.jrn-item-main { flex: 1; min-width: 0; }
.jrn-item-main b {
display: block; font-size: 12.5px; font-weight: 600;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-item-main b i { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 6px; }
.jrn-item-main em {
display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-item-score { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--primary); }


.jrn-pending { border: 1px dashed var(--tk90); border-radius: 12px; padding: 11px; background: var(--tk98); }
.jrn-pending-tag {
display: inline-block; font-size: 11px; font-weight: 600; color: var(--primary);
background: var(--tk96); border-radius: 999px; padding: 2px 8px;
}
.jrn-pending-line { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.jrn-pending-line b { color: var(--text); font-weight: 600; }
.jrn-bar { height: 5px; border-radius: 999px; background: var(--tk94); overflow: hidden; margin: 9px 0 6px; }
.jrn-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--tk74), var(--primary)); }
.jrn-pending-meta { font-size: 11px; color: var(--muted); }
.jrn-lead {
display: block; width: 100%; text-align: left; margin-top: 9px; font-family: inherit; font-size: 12px;
color: var(--primary); background: #fff; border: 1px solid var(--tk92); border-radius: 9px;
padding: 7px 9px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-lead:hover { border-color: var(--primary); }

.jrn-foot {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--tk94); font-size: 11px; color: var(--muted);
}
.jrn-help { border: 0; background: transparent; font-family: inherit; font-size: 11px; color: var(--muted); cursor: pointer; padding: 0; }
.jrn-help:hover { color: var(--primary); }
.jrn-empty { font-size: 12px; color: var(--muted); text-align: center; padding: 14px 2px; }


.rank-gzh {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 14px 13px 11px; margin-bottom: 14px; text-align: center;
}
.rank-gzh img {
display: block; width: 190px; max-width: 100%; height: auto; margin: 0 auto;
border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.rank-gzh b { display: block; margin-top: 9px; font-size: 11.5px; font-weight: 500; color: var(--muted); }


.modal.journal-modal { max-width: 660px; padding: 24px 24px 22px; }

.journal-modal .modal-head { margin-bottom: 36px; }
.journal-modal .modal-head h2 { display: flex; align-items: center; gap: 7px; font-size: 15px; }
.journal-modal .modal-head h2 svg { width: 16px; height: 16px; display: block; color: var(--primary); }
.journal-sheet { min-height: 120px; }
.jrn-issue-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jrn-issue-kind { font-size: 12px; letter-spacing: 1.4px; color: var(--primary); font-weight: 600; }
.jrn-issue-badge {
font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px;
}
.jrn-issue-badge.is-live { color: #b25b00; background: #fff6ea; border-color: #ffe0b8; }

.jrn-issue-badge[data-tip] { position: relative; cursor: help; }
.jrn-issue-badge[data-tip]::before,
.jrn-issue-badge[data-tip]::after {
opacity: 0; visibility: hidden; pointer-events: none; z-index: 40;
transition: opacity .14s ease, transform .14s ease, visibility .14s;
transform: translateY(-4px);
}
.jrn-issue-badge[data-tip]::after {
content: attr(data-tip);
position: absolute; top: calc(100% + 9px); right: 0;
width: 236px; max-width: 62vw;
padding: 7px 10px 8px; border-radius: 9px;
background: #22253a; color: #fff;
font-size: 12px; font-weight: 400; line-height: 1.65; letter-spacing: 0;
text-align: left; white-space: normal;
box-shadow: 0 10px 28px rgba(24, 24, 48, .2);
}
.jrn-issue-badge[data-tip]::before {
content: "";
position: absolute; top: calc(100% - 3px); right: 13px;
border: 5px solid transparent; border-bottom-color: #22253a;
}
.jrn-issue-badge[data-tip]:hover::before,
.jrn-issue-badge[data-tip]:hover::after { opacity: 1; visibility: visible; transform: translateY(0); }
.jrn-issue-no { font-size: 30px; font-weight: 700; letter-spacing: 1px; line-height: 1.25; margin-top: 6px; }
.jrn-issue-date { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.jrn-cover {
position: relative; margin: 14px 0 12px; border-radius: 14px; overflow: hidden;
aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--tk64), var(--tk78));
}
.jrn-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jrn-cover-shade {
position: absolute; inset: 0;
background: linear-gradient(to top, rgba(18,16,40,.82), rgba(18,16,40,.18) 46%, rgba(18,16,40,0) 72%);
}
.jrn-cover-text { position: absolute; left: 18px; right: 18px; bottom: 15px; color: #fff; }
.jrn-cover-label { font-size: 11px; letter-spacing: 2px; opacity: .82; }
.jrn-cover-text h3 {
font-size: 21px; line-height: 1.3; margin: 5px 0 4px;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jrn-cover-text p { font-size: 12.5px; opacity: .88; }
.jrn-cover.is-empty { aspect-ratio: auto; padding: 26px 0; background: linear-gradient(135deg, var(--tk94), var(--tk96)); }
.jrn-cover.is-empty .jrn-cover-text { position: static; color: var(--text); text-align: center; padding: 8px 18px; }
.jrn-cover.is-empty .jrn-cover-label { color: var(--primary); opacity: 1; }
.jrn-cover.is-empty h3 { font-size: 16px; }
.jrn-cover.is-empty p { color: var(--muted); opacity: 1; }

.jrn-lede { font-size: 13.5px; line-height: 1.8; color: var(--text); }
.jrn-figures {
display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 14px 0 16px;
background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.jrn-figures > div { background: #fff; padding: 10px 4px; text-align: center; }
.jrn-figures b { display: block; font-size: 17px; font-weight: 700; color: var(--primary); }
.jrn-figures span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.jrn-board { list-style: none; }
.jrn-row {
display: flex; align-items: center; gap: 11px; padding: 9px 2px; border-top: 1px solid var(--tk94); cursor: pointer;
}
.jrn-row:first-child { border-top: 0; }
.jrn-row:hover { background: var(--tk98); }
.jrn-row-no { width: 20px; flex-shrink: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.jrn-row-no.is-top { color: var(--primary); }
.jrn-row img { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--tk96); }
.jrn-row-main { flex: 1; min-width: 0; }
.jrn-row-main b {
display: block; font-size: 13.5px; font-weight: 600;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jrn-row-main em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.jrn-row-score { flex-shrink: 0; text-align: right; }
.jrn-row-score b { display: block; font-size: 15px; color: var(--primary); }
.jrn-row-score i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 1px; }

.jrn-row-score .jrn-prize {
display: block; font-style: normal; font-size: 10.5px; font-weight: 700;
color: #c98a5a; margin-top: 1px;
}

.jrn-sheet-foot {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted);
}
.jrn-sheet-foot .btn-ghost { font-size: 12.5px; padding: 7px 12px; flex-shrink: 0; }
.jrn-note { font-size: 11.5px; line-height: 1.75; color: var(--muted); margin-top: 12px; }
@media (max-width: 560px) {
.modal.journal-modal { padding: 20px 18px 18px; }
.jrn-issue-no { font-size: 25px; }
.jrn-figures { grid-template-columns: repeat(3, 1fr); }
.jrn-cover-text h3 { font-size: 18px; }
.jrn-row-score i { display: none; }
}

@media (max-width: 640px) {
.ad-slot { margin: 18px 0 2px; }
.rank-top { margin: 18px 0 2px; }
.ad-card { border-radius: 12px; }

.ad-body { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 40px 10px 14px; }
.ad-title { font-size: 14.5px; max-width: 100%; white-space: normal; }
.ad-desc {
font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; overflow: hidden;
}
.ad-cta { font-size: 12px; padding: 4px 10px; align-self: flex-start; }

.ad-slot[data-ad-slot="rank"] .ad-card .ad-body { flex-direction: row; align-items: center; padding: 8px 40px 8px 12px; gap: 8px; }
.ad-slot[data-ad-slot="rank"] .ad-card .ad-title { font-size: 13px; max-width: 62%; flex: 1 1 auto; white-space: nowrap; }
.ad-slot[data-ad-slot="rank"] .ad-card .ad-desc { display: none; }
.ad-slot[data-ad-slot="rank"] .ad-card .ad-cta { font-size: 11px; padding: 3px 9px; align-self: center; }
}


.ad-card-wrap { position: relative; }
.ad-close {
position: absolute; top: 8px; right: 8px; z-index: 3;
width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
display: flex; align-items: center; justify-content: center; cursor: pointer;
background: rgba(31, 35, 48, .05); color: #9aa1b8; opacity: .8;
transition: opacity .18s ease, background .18s ease, transform .18s ease;
-webkit-tap-highlight-color: transparent;
}
.ad-close:hover, .ad-close:focus-visible {
opacity: 1; background: rgba(31, 35, 48, .12); color: #5f6580; transform: scale(1.06);
}
.ad-close svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.ad-card-wrap:hover .ad-close { opacity: 1; }


.ad-tip {
position: absolute; left: 0; bottom: calc(100% + 7px);
max-width: min(460px, calc(100vw - 24px));
background: rgba(24, 26, 38, .95); color: #fff;
border-radius: 8px; padding: 7px 11px;
font-size: 12px; line-height: 1.55; text-align: left; white-space: normal;
box-shadow: 0 6px 20px rgba(20, 22, 34, .25);
opacity: 0; visibility: hidden; transform: translateY(3px);
transition: opacity .15s ease, transform .15s ease, visibility .15s;
pointer-events: none; z-index: 80;
}
.ad-tip b { display: block; font-weight: 700; }
.ad-tip span { display: block; opacity: .82; margin-top: 2px; }
.ad-card-wrap[data-edge="right"] .ad-tip { left: auto; right: 0; }
.ad-card-wrap[data-trunc]:hover .ad-tip,
.ad-card-wrap[data-trunc]:focus-within .ad-tip {
opacity: 1; visibility: visible; transform: translateY(0);
}

@media (max-width: 640px) {

.ad-close { top: 6px; right: 6px; width: 30px; height: 30px; opacity: .86; }
.ad-close svg { width: 12px; height: 12px; }

.ad-slot[data-ad-slot="rank"] .ad-card-wrap:not(:has(.ad-compact)) .ad-close {
width: 28px; height: 28px; margin-top: -14px; opacity: .86;
}
}


.ad-slot[data-ad-slot="rank"] .ad-card-wrap:not(:has(.ad-compact)) .ad-close {
top: 50%; right: 10px; margin-top: -12px;
width: 24px; height: 24px;
background: rgba(31, 35, 48, .05);
color: #a2a8bd;
opacity: .72;
}
.ad-slot[data-ad-slot="rank"] .ad-card-wrap:not(:has(.ad-compact)) .ad-close svg { width: 9px; height: 9px; stroke-width: 2; }
.ad-slot[data-ad-slot="rank"] .ad-card-wrap:not(:has(.ad-compact)) .ad-close:hover,
.ad-slot[data-ad-slot="rank"] .ad-card-wrap:not(:has(.ad-compact)) .ad-close:focus-visible {
background: rgba(18, 20, 32, .55); color: #fff; opacity: 1;
}


.ad-card.ad-text-card {
min-height: 0;
background: transparent; color: var(--muted);
border: 0; border-radius: 8px;
box-shadow: none;
}
.ad-card.ad-text-card:hover { box-shadow: none; }
.ad-card.ad-text-card .ad-badge {
background: transparent; color: #a0a4ba;
font-size: 8px; border: 1px solid var(--tk90); padding: 0 4px; line-height: 1.5;
}
.ad-card.ad-text-card .ad-title { color: #565b72; font-weight: 500; }
.ad-card.ad-text-card .ad-desc { color: #a0a4ba; opacity: 1; }
.ad-card.ad-text-card .ad-cta {
background: transparent; color: var(--tk68);
font-weight: 500; padding: 0;
}

.ad-card-wrap:has(.ad-text-card) .ad-close { background: transparent; color: #b8bccd; top: 50%; margin-top: -13px; right: 14px; }
.ad-card-wrap:has(.ad-text-card) .ad-close:hover { background: rgba(31, 35, 48, .07); color: #7a7f96; }


.ad-card.ad-text-card .ad-body {
flex-direction: row; align-items: center; gap: 10px;
padding: 5px 38px 5px 10px; max-width: 100%;
}
.ad-card.ad-text-card .ad-title {
font-size: 13px; flex: none; max-width: 42%;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-card.ad-text-card .ad-desc { font-size: 12px; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-card.ad-text-card .ad-cta { margin: 0; flex: none; font-size: 12px; padding: 0; white-space: nowrap; }

@media (max-width: 640px) {

.ad-card.ad-text-card .ad-body { flex-direction: row; align-items: center; gap: 8px; padding: 7px 40px 7px 12px; }
.ad-card.ad-text-card .ad-title {
flex: 1 1 auto; min-width: 0; max-width: 100%; font-size: 13px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-card.ad-text-card .ad-desc,
.ad-card.ad-text-card .ad-cta { display: none; }
}


.ad-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 10px; }
.ad-stack > .ad-card-wrap { min-width: 0; }
.ad-stack .ad-card { height: 100%; }


.ad-card.ad-text-card.ad-rent { border: 1px dashed #ddd6c6; border-radius: 8px; }
.ad-card.ad-text-card.ad-rent:hover { border-color: #c8bda2; }
.ad-card.ad-text-card.ad-rent .ad-badge.is-rent { color: #a1741a; border-color: #eedcb4; background: #fdf7e9; }
.ad-card.ad-text-card.ad-rent .ad-title { color: #6c6455; }
.ad-card.ad-text-card.ad-rent .ad-cta { color: #a1741a; }
.ad-card.ad-text-card.ad-rent .ad-body { padding-right: 14px; }


.ad-join { margin-top: 6px; text-align: right; line-height: 1.6; }
.ad-join a {
font-size: 12px; color: #a0a4ba; text-decoration: none;
transition: color .15s ease;
}
.ad-join a:hover { color: #a1741a; }


.ad-card.ad-text-card.ad-vacant { border: 1px dashed #ddd6c6; border-radius: 8px; }
.ad-card.ad-text-card.ad-vacant:hover { border-color: #c8bda2; }
.ad-card.ad-text-card.ad-vacant .ad-badge.is-vacant { color: #a1741a; border-color: #eedcb4; background: #fdf7e9; }
.ad-card.ad-text-card.ad-vacant .ad-title { color: #6c6455; }
.ad-card.ad-text-card.ad-vacant .ad-cta { color: #a1741a; }
.ad-card.ad-text-card.ad-vacant .ad-body { padding-right: 14px; }


@media (max-width: 640px) {
.ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-body,
.ad-card.ad-text-card.ad-vacant .ad-body {
display: grid; grid-template-columns: auto 1fr; align-items: center;
gap: 3px 8px; padding: 10px 14px;
}
.ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-badge,
.ad-card.ad-text-card.ad-vacant .ad-badge { grid-row: 1; grid-column: 1; }
.ad-slot[data-ad-slot="rank"] .ad-card.ad-vacant .ad-title,
.ad-card.ad-text-card.ad-vacant .ad-title {
grid-row: 1; grid-column: 2; max-width: 100%; white-space: normal; font-size: 13.5px;
}
.ad-card.ad-text-card.ad-vacant .ad-desc {
grid-row: 2; grid-column: 1 / -1;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
white-space: normal; overflow: hidden; font-size: 12px;
}
.ad-card.ad-text-card.ad-vacant .ad-cta { grid-row: 3; grid-column: 1 / -1; }
}


.ad-slot-detail .ad-card.ad-vacant .ad-body { flex-wrap: wrap; row-gap: 3px; }
.ad-slot-detail .ad-card.ad-vacant .ad-desc {
flex: 1 1 100%; order: 3; white-space: normal; font-size: 12px;
}
.ad-slot-detail .ad-card.ad-vacant .ad-cta { order: 2; margin-left: auto; }

.ad-slot-detail .ad-card.ad-compact .ad-body {
grid-template-columns: minmax(0, 1fr) auto;
grid-template-areas: "badge cta" "title title" "author desc";
row-gap: 2px;
padding: 9px 30px 10px 12px;
}
.ad-slot-detail .ad-card.ad-compact .ad-author { grid-area: author; max-width: 72px; font-size: 10px; }
.ad-slot-detail .ad-card.ad-compact .ad-author::after { content: '·'; margin-left: 3px; }
.ad-slot-detail .ad-card.ad-compact .ad-desc { grid-area: desc; font-size: 11.5px; }





.ad-slot[data-ad-slot="rank"] .ad-card .ad-body { padding: 6px 40px 6px 12px; }
.ad-slot[data-ad-slot="rank"] .ad-title { font-size: 13px; }
.ad-slot[data-ad-slot="rank"] .ad-desc { font-size: 11.5px; }
.ad-slot[data-ad-slot="rank"] .ad-cta { font-size: 11px; padding: 2px 9px; }


.modal.modal-nick { max-width: 440px; }
.nick-body { display: flex; flex-direction: column; gap: 10px; }
.nick-label { font-size: 13px; color: var(--muted); }
.nick-input {
width: 100%; padding: 10px 12px; font-size: 15px; color: var(--text);
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
transition: border-color .18s ease, box-shadow .18s ease;
}
.nick-input:focus {
outline: none; border-color: var(--primary); background: #fff;
box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12);
}
.nick-tip { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.nick-tip b { color: var(--text); font-weight: 600; }
.nick-msg { margin: 0; min-height: 18px; font-size: 12.5px; color: var(--muted); }
.nick-msg.err { color: var(--danger); }
.nick-msg.ok { color: #1a7f56; }
.nick-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 2px; }
.nick-actions .btn-ghost { margin-right: auto; }

.slug-field {
display: flex; align-items: center;
border: 1px solid var(--border); border-radius: 10px; background: var(--tk98);
transition: border-color .18s ease, box-shadow .18s ease;
}
.slug-field:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(var(--tk58-rgb), .12); }
.slug-prefix {
padding: 10px 0 10px 12px; font-size: 15px; color: var(--muted); user-select: none;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.slug-field .slug-input {
border: 0; background: none; border-radius: 0; padding-left: 2px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.slug-field .slug-input:focus { box-shadow: none; background: none; }

.ava-preview { display: flex; justify-content: center; padding: 4px 0 8px; }
.ava-preview .author-avatar { width: 104px; height: 104px; font-size: 40px; }
.ava-actions { display: flex; gap: 10px; }
.ava-actions .ava-btn { flex: 1 1 0; text-align: center; cursor: pointer; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
.ava-actions .ava-btn[disabled] { opacity: .45; cursor: not-allowed; }

.ava-actions.is-busy { opacity: .5; pointer-events: none; }
.ava-preview .author-avatar { transition: opacity .18s ease; }
.ava-preview .author-avatar.is-busy { opacity: .45; }

.nick-msg.busy { color: var(--primary); }

.ava-reset {
align-self: center; margin-top: -2px; padding: 2px 4px;
border: 0; background: none; cursor: pointer;
font-family: inherit; font-size: 12.5px; color: var(--muted);
text-decoration: underline; text-underline-offset: 3px;
text-decoration-color: rgba(0, 0, 0, .16);
transition: color .15s;
}
.ava-reset:hover { color: var(--text); text-decoration-color: currentColor; }
.ava-wx-tip { margin-top: 2px; font-size: 12px; text-align: center; }


.modal.modal-delacc { max-width: 470px; }
.del-warn {
padding: 12px 14px; border: 1px solid #f6c6c8; border-radius: 10px;
background: #fff6f6; color: #8a2f33; font-size: 12.5px; line-height: 1.75;
}
.del-warn b { color: #b91c1c; }
.del-warn ul { margin: 6px 0 0; padding-left: 18px; }
.del-warn li + li { margin-top: 2px; }
.del-choice { display: flex; flex-direction: column; gap: 8px; }
.del-opt {
display: flex; gap: 9px; align-items: flex-start; margin: 0; cursor: pointer;
padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff;
font-size: 13.5px; line-height: 1.5; transition: border-color .15s, background .15s;
}
.del-opt:hover { border-color: var(--tk90); background: var(--tk98); }
.del-opt input { margin: 3px 0 0; accent-color: var(--primary); flex: none; }
.del-opt span { display: block; color: var(--text); }
.del-opt .del-count, .del-opt .del-count span { display: inline; white-space: nowrap; }  
.del-opt em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); }
.del-opt:has(input:checked) { border-color: var(--primary); background: var(--tk98); }
.btn-danger {
background: var(--danger); color: #fff; border: 1px solid var(--danger);
padding: 9px 18px; border-radius: 10px; font-size: 14px; cursor: pointer;
}
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-danger:disabled { opacity: .6; cursor: default; }


.guide-howto {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 20px;
}
.guide-step {
display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px;
background: var(--card); border: 1px solid var(--border); border-radius: 12px;
font-size: 13px; line-height: 1.55; color: var(--muted);
}
.guide-step b {
flex: none; width: 20px; height: 20px; border-radius: 50%;
background: var(--tk96); color: var(--primary); font-size: 12px;
display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-card {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 16px 18px; transition: border-color .15s, box-shadow .15s;
}
.guide-card:hover { border-color: var(--tk90); box-shadow: 0 4px 16px rgba(var(--tk58-rgb), .06); }
.guide-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.guide-no {
flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--tk96);
color: var(--primary); font-size: 12px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
}
.guide-title-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.guide-title-wrap h3 { font-size: 15.5px; }
.guide-region { font-size: 12px; color: var(--muted); }
.guide-go {
margin-left: auto; flex: none; font-size: 13px; color: var(--primary);
text-decoration: none; padding: 5px 11px; border-radius: 8px; background: var(--tk96);
}
.guide-go:hover { background: var(--tk94); }
.guide-fits { font-size: 13.5px; line-height: 1.6; color: var(--text); margin-bottom: 6px; }
.guide-fits b { color: var(--muted); font-weight: 500; }
.guide-tip { font-size: 13px; line-height: 1.7; color: var(--muted); }
.guide-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.guide-tags span {
font-size: 11.5px; color: var(--muted); background: var(--tk96);
border-radius: 6px; padding: 2px 8px;
}
.guide-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }


.modal.pk-modal { max-width: 600px; }
.pk-tip { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.pk-advice {
margin: -4px 0 12px; padding: 10px 12px;
border: 1px dashed #e4d8bd; border-radius: 10px;
background: #fffaf0; font-size: 12.5px; line-height: 1.7; color: #6b5a2e;
}
.pk-advice .pk-advice-title { font-weight: 600; color: #8a6d1a; display: inline-flex; align-items: center; gap: 4px; }
.pk-advice ul { margin: 6px 0 0; padding-left: 18px; }
.pk-advice li { margin-bottom: 3px; }
.pk-advice li:last-child { margin-bottom: 0; }
.pk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pk-tab {
display: inline-flex; align-items: center; gap: 5px;
padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border);
background: #fff; font-size: 12.5px; color: var(--text); cursor: pointer;
}
.pk-tab:hover { border-color: var(--tk90); background: var(--tk98); }
.pk-tab.active { background: var(--tk96); border-color: var(--tk86); color: var(--primary); font-weight: 600; }

.pk-tab.dim { opacity: .45; border-style: dashed; }
.pk-tab.dim:hover { opacity: .75; }
.pk-tab .pk-dim-mark {
font-style: normal; font-size: 10px; line-height: 1; margin-left: 4px;
width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center;
border-radius: 50%; background: var(--tk96); color: var(--muted); flex-shrink: 0;
}
.pk-tab.dim.active .pk-dim-mark { background: #fff3df; color: #a2600a; }
.pk-meta .pk-warn { color: #a2600a; }
.pk-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; line-height: 1.6; }
.pk-copy {
background: var(--tk96); border: 1px solid var(--border); border-radius: 12px;
padding: 14px; font-size: 12.5px; line-height: 1.75; color: #2f3444;
white-space: pre-wrap; word-break: break-word;
font-family: "SFMono-Regular", Consolas, "Microsoft YaHei", monospace;
max-height: 46vh; overflow-y: auto; margin-bottom: 14px;
}
.pk-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.pk-go { text-decoration: none; display: inline-flex; align-items: center; }

@media (max-width: 720px) {
.guide-howto { grid-template-columns: 1fr; }
.guide-card { padding: 14px; }
.guide-go { margin-left: 0; }
.guide-card-head { flex-wrap: wrap; }
.pk-copy { max-height: 40vh; font-size: 12px; }
.pk-actions { flex-direction: column-reverse; }
.pk-actions .btn-primary, .pk-actions .pk-go { width: 100%; justify-content: center; }
}


.ico {
display: inline-flex; align-items: center; justify-content: center;
width: 1em; height: 1em; flex: none;
vertical-align: -0.15em;
}
.ico svg { width: 100%; height: 100%; display: block; }

.nav-btn .ico[data-ico="rank"] { width: 1.35em; height: 1.35em; vertical-align: -0.28em; }
.page-title .ico[data-ico="rank"] { width: 1.15em; height: 1.15em; vertical-align: -0.22em; }

.nav-btn .ico[data-ico="wish"] { width: 1.2em; height: 1.2em; vertical-align: -0.22em; }

.tico { font-size: 1.12em; }

.tico svg { width: 1em; height: 1em; }


.nav-btn .ico[data-ico="rank"] { width: 1.35em; height: 1.35em; }

.nav-btn .ico[data-ico="globe"] { width: 1.35em; height: 1.35em; }
.page-title .ico[data-ico="rank"] { width: 1.15em; height: 1.15em; vertical-align: -0.22em; }



.section-head h2 .ico, .page-title .ico { vertical-align: -0.12em; }
.section-head h2 .ico { margin-right: 6px; }

.os-badge .ico, .stage-badge .ico, .badge-featured .ico, .badge-repo .ico,
.wish-status .ico, .ri-peek .ico, .rh-share-btn .ico, .up-watch .ico,
.claim-entry .ico, .btn-watch .ico, .coming-meta .ico { margin-right: 3px; }

.row-meta .ico, .coming-meta .ico, .link-locked .ico, .pk-warn .ico,
.wish-status .ico, .rp-ad .ico, .rp-ad-txt .ico, .sw-meta .ico {
font-size: 1.08em; vertical-align: -0.12em; margin-right: 2px;
}

.empty-icon .ico, .promo-noimg .ico, .stats-empty-icon .ico { width: 1em; height: 1em; }

.notice-entry .nb-ico .ico { width: 1em; height: 1em; }

.pk-emoji .ico { width: 1em; height: 1em; }

.howto-card .x-ico { color: #d64545; vertical-align: -0.12em; margin-right: 2px; }
.guide-step .ico, .howto-card .ico { vertical-align: -0.15em; }


.fav-star svg, .row-fav svg, .card-share svg { width: 16px; height: 16px; display: block; }
.fav-star { display: inline-flex; align-items: center; justify-content: center; }

.card-share { right: 44px; color: var(--tk64); }
.card-share:hover { background: var(--primary); color: #fff; }
.row-fav { display: inline-flex; align-items: center; justify-content: center; }
.fav-star svg, .row-fav svg, .btn-fav svg {
filter: grayscale(1); opacity: .5; transition: filter .15s, opacity .15s;
}
.fav-star.active svg, .row-fav.active svg, .btn-fav.faved svg {
filter: none; opacity: 1;
}
.fav-star.active, .row-fav:hover { color: var(--primary); }
.row-fav.active { color: var(--primary); border-color: var(--tk82); background: var(--tk96); }
.fav-star.active { background: rgba(255,255,255,.92); }

.card-like.active { color: var(--danger); }
.btn-fav { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }

.btn-fav.faved { background: var(--tk96); border-color: var(--tk86); color: var(--primary); }
.btn-fav.faved svg { filter: none; opacity: 1; }

.detail-actions .btn-fav:not(.faved) svg { opacity: .85; }
.user-chip { display: inline-flex; align-items: center; gap: 5px; }
.user-chip .uc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip svg { width: 17px; height: 17px; }


@media (hover: none) and (pointer: coarse) {
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
textarea,
select {
font-size: 16px !important;
}


a, button, input, textarea, select, label, [role="button"] {
touch-action: manipulation;
}
}


@media (max-width: 640px) {
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
textarea,
select {
font-size: 16px !important;
}
}


.bar-upcoming {
margin: 0 0 14px;
padding: 14px 16px 12px;
border: 1px solid var(--tk92);
border-radius: 16px;
background: var(--card);
}
.bar-upcoming[hidden] { display: none; }
.bu-list { display: flex; flex-direction: column; gap: 8px; }
.bar-upcoming .up-card {
display: flex; align-items: flex-start; gap: 9px;
padding: 9px 10px; border: 1px solid var(--tk94); border-radius: 12px; background: #fff;
cursor: pointer; user-select: none;
transition: border-color .16s, box-shadow .16s;
}
.bar-upcoming .up-card:hover { border-color: var(--tk92); box-shadow: 0 6px 16px rgba(var(--tk58-rgb), .08); }
.bar-upcoming .up-img {
flex: none; width: 52px; height: 52px; aspect-ratio: auto;
border-radius: 10px; overflow: hidden; background: #f1f1f6;
}
.bar-upcoming .up-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bar-upcoming .up-body { flex: 1; min-width: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.bar-upcoming .up-title-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bar-upcoming .up-title { font-weight: 600; font-size: 13px; color: #2b2d3f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-upcoming .up-card:hover .up-title { color: var(--primary); }
.bar-upcoming .up-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 0; }
.bar-upcoming .up-eta { font-size: 11px; color: var(--muted); }
.bar-upcoming .coming-bar { margin-top: 1px; }
.up-watch {
border: 1px solid var(--border); background: #fff; color: var(--text);
border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; white-space: nowrap;
transition: all .15s;
}
.up-watch:hover { border-color: var(--primary); color: var(--primary); }
.up-watch.is-on { background: var(--tk96); border-color: var(--tk86); color: var(--tk48); }


.coming-bar { height: 5px; border-radius: 3px; background: #eef0f7; overflow: hidden; }
.coming-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--tk66); }
.up-card.is-reviewing .coming-bar > span { background: #ef9f27; }
.coming-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }


.stage-badge {
display: inline-flex; align-items: center; gap: 3px;
font-size: 11px; font-weight: 600; line-height: 1.5;
padding: 2px 8px; border-radius: 999px;
}
.stage-badge.is-wip { background: #e6f1fb; color: #185fa5; }
.stage-badge.is-review { background: #faeeda; color: #854f0b; }
.card-stage { position: absolute; right: 10px; top: 10px; z-index: 2; } 

.card-img-wrap .img-paid { position: absolute; left: 10px; bottom: 10px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.14); }

.lt-reward {
display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
font-size: 11px; line-height: 1; font-weight: 600; white-space: nowrap;
padding: 4px 9px; border-radius: 999px;
color: #7a4b0a; background: linear-gradient(135deg, #fff3d4, #ffe2a2);
border: 1px solid rgba(214, 151, 42, .38); text-decoration: none;
}
.lt-reward:hover { background: linear-gradient(135deg, #ffedbf, #ffd886); color: #63390a; }
.lt-reward .ico { width: 12px; height: 12px; display: inline-flex; }
.lt-reward .ico svg { width: 12px; height: 12px; display: block; }
.card-img-wrap .card-lt { position: absolute; left: 10px; bottom: 10px; z-index: 3; box-shadow: 0 1px 5px rgba(120, 84, 20, .22); }
.card-img-wrap:has(.img-paid) .card-lt { bottom: 36px; }
.row-title .row-lt { position: relative; z-index: 3; font-size: 10.5px; padding: 2px 7px; align-self: center; }
.disc-card .card-lt { z-index: 3; }

.detail-cat .lt-reward { max-width: 100%; }

.up-stage { position: static; flex: none; }


.detail-stage { margin: 10px 0 2px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.65; }
.detail-stage.is-wip { background: #eef5fd; color: #1c4f7c; border: 1px solid #d3e5f7; }
.detail-stage.is-reviewing { background: #fdf5e7; color: #7a5310; border: 1px solid #f4e2c2; }
.detail-stage.is-hidden { background: #f1f1f3; color: #5a5a62; border: 1px dashed #c9c9d1; }
.detail-stage b { font-weight: 600; }
.detail-stage .ds-bar { margin-top: 8px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.7); overflow: hidden; }
.detail-stage .ds-bar > span { display: block; height: 100%; border-radius: 4px; background: #5b8ed6; }
.detail-stage.is-reviewing .ds-bar > span { background: #d99a2b; }

.crypto-chip {
display: inline-block; font-size: 11px; line-height: 1; padding: 3px 7px;
border-radius: 999px; white-space: nowrap;
color: #7a5310; background: #fdf5e7; border: 1px solid #f2e2c6;
}
.crypto-chip.is-inline { padding: 2px 6px; vertical-align: 1px; }
.detail-crypto {
margin: 8px 0 2px; padding: 10px 12px; border-radius: 10px;
font-size: 13px; line-height: 1.65; color: #7a5310; background: #fdf5e7;
border: 1px solid #f2e2c6;
}
.detail-crypto b { font-weight: 600; }
.detail-crypto .ico { margin-right: 2px; }
.seo-crypto-chip {
font-size: 12px; padding: 2px 8px; border-radius: 999px;
color: #7a5310; background: #fdf5e7; border: 1px solid #f2e2c6;
}
.seo-crypto {
margin: 12px 0; padding: 10px 12px; border-radius: 10px;
font-size: 13px; line-height: 1.7; color: #7a5310; background: #fdf5e7;
border: 1px solid #f2e2c6;
}
.btn-watch { background: var(--tk96); color: var(--tk48); border-color: var(--tk88); }
.btn-watch:hover { background: var(--tk94); }
.btn-watch.is-on { background: var(--tk48); color: #fff; border-color: var(--tk48); }
.link-locked { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }


.detail-links .lamp-lock { width: 100%; }
.lamp-lock {
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
padding: 10px 12px; border-radius: 12px;
background: #fff8e6; border: 1px solid #f3dcae; max-width: 100%;
}
.lamp-lock-ico { font-size: 18px; line-height: 1; flex-shrink: 0; }
.lamp-lock-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
.lamp-lock-main b { font-size: 14px; color: #8a5a06; }
.lamp-lock-main span { font-size: 12px; color: #9b7b3d; line-height: 1.5; }
.lamp-unlock-btn { flex-shrink: 0; height: 34px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
.lamp-unlock-btn:disabled { opacity: .6; cursor: default; }
@media (max-width: 520px) {
.lamp-lock { padding: 10px; }
.lamp-unlock-btn { width: 100%; }
}


.stage-picker { display: flex; flex-direction: row; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.stage-opt {
display: flex; gap: 6px; align-items: center;
border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px 3px 8px; cursor: pointer;
transition: border-color .15s, background .15s;
}
.stage-opt:hover { border-color: var(--tk86); }
.stage-opt input { width: auto; flex: 0 0 auto; margin: 0; accent-color: var(--primary); }
.stage-opt span { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; }
.stage-opt b { font-weight: 600; }
.stage-opt em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.stage-opt:has(input:checked) { border-color: var(--primary); background: var(--tk98); }
.progress-val { color: var(--primary); font-weight: 600; }
#progressRange { width: 100%; margin: 6px 0 14px; accent-color: var(--primary); }


.sw-badge.is-bad { background: #fdecec; color: #a32d2d; }
.sw-badge.is-wip { background: #e6f1fb; color: #185fa5; }
.sw-badge.is-review { background: #faeeda; color: #854f0b; }
.sw-badge.is-hidden { background: #f1f1f3; color: #5a5a62; border: 1px dashed #c9c9d1; }
.sw-reason { margin-top: 3px; font-size: 12px; color: #a32d2d; }


.tool-card { position: relative; border-color: #cfe3ee; background: #fbfdff; }
.tool-card:hover { border-color: #9dc9dd; }
.tool-head {
display: flex; align-items: center; justify-content: center;
width: 100%; aspect-ratio: 4 / 3; background: #eef7fc;
}
.tool-logo {
width: 46px; height: 46px; border-radius: 13px; background: #fff;
border: 1px solid #d5e8f2; color: #134f78;
display: flex; align-items: center; justify-content: center;
font-size: 20px; font-weight: 700; letter-spacing: .5px;
}
.tool-flag {
position: absolute; left: 8px; top: 8px; z-index: 2;
font-size: 11px; font-weight: 600; line-height: 1.6; color: #134f78;
background: rgba(255, 255, 255, .95); border: 1px solid #c9e0ee;
border-radius: 6px; padding: 0 6px;
}
.tool-desc {
margin: 3px 0 2px; font-size: 12px; line-height: 1.5; color: var(--muted);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-foot { justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.tool-tip { font-size: 11px; color: #3d7f9b; }
.tool-go { flex: none; font-size: 12px; color: var(--primary); }

.tool-row { position: relative; border-color: #cfe3ee; background: #fbfdff; text-decoration: none; }
.tool-row:hover { border-color: #9dc9dd; }
.tool-thumb {
display: flex; align-items: center; justify-content: center;
background: #eef7fc; color: #134f78; font-size: 18px; font-weight: 700;
}
.tool-row-flag {
flex: none; font-size: 11px; font-weight: 600; line-height: 1.6;
color: #134f78; background: #e6f3fa; border-radius: 6px; padding: 0 6px; margin-right: 6px;
}

.tool-slot { width: 100%; }
.tool-slot > .card,
.tool-slot > .work-row { width: 100%; }


.modal.tool-detail { max-width: 560px; padding: 26px 28px 22px; }
.tool-detail .close-btn { top: 14px; right: 14px; }
.td-top { display: flex; align-items: flex-start; gap: 14px; padding-right: 30px; }
.td-logo {
flex: none; width: 52px; height: 52px; border-radius: 14px;
display: flex; align-items: center; justify-content: center;
background: #eef7fc; color: #134f78; font-size: 24px; font-weight: 700;
}
.td-head { min-width: 0; }
.td-flag {
display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.7;
color: #134f78; background: #e6f3fa; border-radius: 6px; padding: 0 7px;
}
.td-name { font-size: 20px; font-weight: 700; margin: 6px 0 2px; color: var(--text); }
.td-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0; }
.td-body { margin: 16px 0 0; font-size: 14px; line-height: 1.85; color: var(--text); }
.td-body p { margin: 0 0 10px; }
.td-body p:last-child { margin-bottom: 0; }
.td-body strong { font-weight: 600; }
.td-note {
margin: 16px 0 0; padding: 10px 12px; border-radius: 10px;
background: #f6f9fc; color: var(--muted); font-size: 12.5px; line-height: 1.75;
}
.td-acts { display: flex; gap: 10px; margin-top: 18px; }
.td-acts .btn { flex: 1; justify-content: center; text-align: center; }
.td-dismiss { margin: 12px 0 0; text-align: center; }
.td-dismiss .link-btn { font-size: 12.5px; color: var(--muted); }
@media (max-width: 480px) {
.modal.tool-detail { padding: 22px 18px 16px; }
.td-logo { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
.td-name { font-size: 18px; }
.td-acts { flex-direction: column-reverse; }
}


.promo-card { position: relative; border-color: var(--tk90); background: #fffdfd; }
.promo-card:hover { border-color: var(--tk80); }
.promo-flag {
position: absolute; left: 8px; top: 8px; z-index: 2;
font-size: 11px; font-weight: 600; line-height: 1.6; color: var(--tk44);
background: rgba(255, 255, 255, .94); border: 1px solid var(--tk86);
border-radius: 6px; padding: 0 6px;
}

.card[data-native-promo="1"] .type-badge { top: 38px; }

.promo-flag.is-ad { color: #6b7091; border-color: #dfe2ea; }

.promo-row-flag + .row-name { margin-left: 6px; }
.promo-noimg {
display: flex; align-items: center; justify-content: center;
width: 100%; aspect-ratio: 16 / 9; font-size: 30px; background: var(--tk96);
}
.promo-desc {
margin: 3px 0 2px; font-size: 12px; line-height: 1.5; color: var(--muted);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-foot { justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }

.promo-join-line { margin-top: 4px; font-size: 11px; line-height: 1.5; }
.promo-tip { font-size: 11px; color: var(--tk52); }
.promo-author { font-size: 11px; color: #8b90a6; white-space: nowrap; }
.promo-go { flex: none; font-size: 12px; color: var(--primary); }

.promo-join { position: relative; z-index: 4; color: var(--tk58); cursor: pointer; transition: color .15s ease; }
.promo-join:hover { color: #a1741a; text-decoration: underline; }


.promo-row { position: relative; border-color: var(--tk90); background: #fffdfd; }
.promo-row:hover { border-color: var(--tk80); }

.promo-row { padding-right: 44px; }


.promo-x {
position: absolute; top: 8px; right: 8px; z-index: 4;
width: 26px; height: 26px; padding: 0; border: 1px solid rgba(var(--tk44-rgb), .16);
border-radius: 50%; display: flex; align-items: center; justify-content: center;
cursor: pointer; background: rgba(255, 255, 255, .93); color: var(--tk52);
opacity: .72; transition: opacity .18s ease, background .18s ease;
-webkit-tap-highlight-color: transparent;
}
.promo-x:hover, .promo-x:focus-visible { opacity: 1; background: #fff; color: var(--tk44); }
.promo-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.promo-card:hover .promo-x, .promo-row:hover .promo-x, .card[data-native-promo]:hover .promo-x { opacity: 1; }
@media (max-width: 640px) {

.promo-x { top: 6px; right: 6px; width: 30px; height: 30px; opacity: .9; }
.promo-x svg { width: 12px; height: 12px; }
}
.promo-row-flag {
flex: none; font-size: 11px; font-weight: 600; line-height: 1.6;
color: var(--tk44); background: var(--tk94); border-radius: 6px; padding: 0 6px;
}
.row-thumb-empty {
display: flex; align-items: center; justify-content: center;
font-size: 22px; color: var(--tk64); background: var(--tk96);
}


.rs-exclusive {
font-style: normal; font-size: 10px; font-weight: 600; margin-left: 6px;
padding: 0 5px; border-radius: 4px; color: var(--tk44); background: var(--tk94);
}

.rs-soon {
font-style: normal; font-size: 10px; font-weight: 600; margin-left: 6px;
padding: 0 5px; border-radius: 4px; color: #8a5a00; background: #fdf0d5;
}
.redeem-slot.is-soon { border-style: dashed; background: #fffdf7; }
.redeem-slot.is-soon.is-on { border-color: #d9b25f; }
.btn-primary.is-soon { background: #b08a3c; }
.btn-primary.is-soon:hover { background: #9a7733; }
.rs-busy { color: #a1541a !important; }
.rs-free { color: #0d7a4d !important; }

.rs-fresh { color: #a2600a !important; }
.rs-fresh .ico { font-size: 1.05em; vertical-align: -0.1em; margin-right: 2px; }


.rs-advice {
display: flex; gap: 8px; align-items: flex-start;
margin: 0 0 10px; padding: 9px 11px; border-radius: 10px;
border: 1px solid var(--tk90); background: var(--tk98);
font-size: 12px; line-height: 1.7; color: #4d4a72;
}
.rs-advice p { margin: 0; }
.rs-advice .ico { flex: none; margin-top: 1px; font-size: 1.15em; color: var(--primary); }
.rs-advice b { color: #3f3a8a; font-weight: 600; }

.rs-group { display: flex; flex-direction: column; gap: 6px; }
.rs-group + .rs-group { margin-top: 10px; }
.rs-group-head {
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
margin: 0 1px; font-size: 12px; color: var(--text);
}
.rs-group-head .ico { font-size: 1.05em; color: var(--muted); }
.rs-group-head b { font-weight: 600; }
.rs-group-head small { font-size: 11px; color: var(--muted); }
.rs-group-head em {
font-style: normal; font-size: 10.5px; color: var(--muted);
border: 1px dashed #d9d9e6; border-radius: 4px; padding: 0 4px;
}
.rs-rec {
font-style: normal; font-size: 10px; font-weight: 600; padding: 0 5px;
border-radius: 4px; color: var(--tk48); background: var(--tk96);
}

.rs-peek-mini {
font-size: 11px; font-weight: 600; line-height: 1; color: var(--primary);
border: 1px solid var(--tk86); border-radius: 999px; padding: 4px 10px;
text-decoration: none; background: #fff; transition: all .15s;
}
.rs-peek-mini:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.rs-main b .rs-peek {
font-style: normal; font-size: 10px; font-weight: 600; line-height: 1;
color: var(--primary); border: 1px solid var(--tk86); border-radius: 999px;
padding: 3px 8px; margin-left: 6px; cursor: pointer; vertical-align: 1px;
background: #fff; transition: all .15s; white-space: nowrap; user-select: none;
}
.rs-main b .rs-peek:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.modal.modal-mini-peek { max-width: 340px; text-align: center; }
.mpk-body { padding: 4px 4px 2px; }
.mpk-qr {
position: relative;
width: 200px; height: 200px; margin: 4px auto 14px; padding: 10px;
background: #fff; border: 1px solid var(--border); border-radius: 14px;
box-shadow: 0 12px 26px -20px rgba(35,32,90,.6);
}

.mpk-qr img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s; }
.mpk-block.is-ready .mpk-qr img { opacity: 1; }

.mpk-skel {
position: absolute; top: 10px; right: 10px; bottom: 10px; left: 10px;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
border-radius: 8px; background: var(--tk98);
font-size: 12px; color: var(--muted); transition: opacity .2s;
}
.mpk-skel .spin {
width: 26px; height: 26px; border-radius: 50%;
border: 3px solid var(--tk92); border-top-color: var(--primary);
animation: wxqr-spin .8s linear infinite;
}
.mpk-block.is-ready .mpk-skel { opacity: 0; pointer-events: none; }

.mpk-block.is-err .mpk-skel { background: #fdf5e7; color: #7a5310; font-weight: 600; }
.mpk-block.is-err .mpk-skel .spin { display: none; }
.mpk-cap { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.6; }
.mpk-cap.mpk-retry { color: var(--primary); cursor: pointer; text-decoration: underline; }

.mpk-block + .mpk-block { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border); }
.mpk-tip { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--muted); }


.ptop-need { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.ptop-back { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.rs-group.is-rec .rs-group-head .ico { color: var(--primary); }


.modal.modal-fresh { max-width: 460px; }
.fresh-body { font-size: 13.5px; line-height: 1.8; color: var(--text); }
.fresh-body p { margin: 0 0 10px; }
.fresh-body p:last-child { margin: 0; }
.fresh-body b { color: var(--primary); }
.fresh-tip {
margin-top: 12px; padding: 10px 12px; border-radius: 10px;
background: #fdf5e7; border: 1px solid #f4e2c2; color: #7a5310;
font-size: 12.5px; line-height: 1.7;
}
.fresh-btns { display: flex; gap: 10px; margin-top: 18px; }
.fresh-btns .btn-ghost, .fresh-btns .btn-primary { flex: 1; }

.rs-note { color: var(--primary) !important; }
.redeem-slot:not(.is-on) { opacity: .82; }
.redeem-slot:not(.is-on):hover { opacity: 1; }
.redeem-warn {
margin-top: 10px; padding: 9px 11px; border-radius: 9px; font-size: 12px; line-height: 1.65;
color: #7a5310; background: #fdf5e7; border: 1px solid #f4e2c2;
}
.redeem-warn b { font-weight: 600; }
.ri-status.is-queue { color: var(--tk48); background: var(--tk96); }
.redeem-item.is-queued { border-style: dashed; background: var(--tk98); }

.ri-close-hint {
margin-top: 7px; padding: 7px 10px; border-radius: 8px;
font-size: 11.5px; line-height: 1.65;
color: #7a5310; background: #fdf5e7; border: 1px solid #f4e2c2;
}
.ri-close-hint b { font-weight: 600; }



.mini-hero {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
gap: 26px;
align-items: stretch;
margin: 6px 0 22px;
}

.mini-eyebrow {
display: inline-block;
font-size: 11px;
letter-spacing: .18em;
color: var(--primary);
background: var(--tk96);
border: 1px solid var(--tk92);
border-radius: 999px;
padding: 2px 10px;
}

.mini-title {
font-size: 30px;
line-height: 1.25;
margin: 12px 0 10px;
letter-spacing: -.3px;
}

.mini-lead {
font-size: 14px;
line-height: 1.85;
color: #4d5268;
max-width: 640px;
}

.mini-stats {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 14px;
}

.mini-stat {
font-size: 12px;
color: #5a5f78;
background: #fff;
border: 1px solid var(--tk94);
border-radius: 10px;
padding: 6px 11px;
}

.mini-stat b {
font-size: 15px;
color: var(--primary);
margin-right: 2px;
}


.mini-self {
display: flex;
gap: 14px;
align-items: center;
padding: 14px;
background: linear-gradient(150deg, #ffffff 0%, var(--tk96) 100%);
border: 1px solid var(--tk92);
border-radius: 16px;
}

.mini-self-qr {
flex: none;
width: 104px;
height: 104px;
border-radius: 12px;
overflow: hidden;
background: #fff;
border: 1px solid var(--tk94);
display: flex;
align-items: center;
justify-content: center;
}

.mini-self-qr img {
width: 100%;
height: 100%;
object-fit: contain;
cursor: zoom-in;
}

.mini-qr-loading {
font-size: 11px;
color: #a2a6b8;
}

.mini-self-main { min-width: 0; }
.mini-self-tag {
display: inline-block;
font-size: 10.5px;
color: var(--primary);
background: var(--tk96);
border-radius: 999px;
padding: 1px 8px;
}
.mini-self-title {
display: block;
font-size: 15px;
margin: 6px 0 3px;
}
.mini-self-desc {
font-size: 12px;
color: var(--muted);
line-height: 1.6;
}
.mini-self-hint {
display: block;
margin-top: 6px;
font-size: 11.5px;
color: var(--primary);
}

.mini-bar {
display: flex;
align-items: baseline;
gap: 10px;
margin: 4px 0 12px;
}

.mini-bar-title { font-size: 16px; }
.mini-bar-note { font-size: 11.5px; color: var(--muted); }

.mini-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.mini-card {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid var(--tk94);
border-radius: 16px;
overflow: hidden;
transition: box-shadow .16s, border-color .16s, transform .16s;
}

.mini-card:hover {
border-color: var(--tk92);
box-shadow: 0 10px 26px rgba(var(--tk58-rgb), .09);
transform: translateY(-1px);
}

.mini-cover {
display: block;
aspect-ratio: 16 / 10;
background: var(--tk96);
overflow: hidden;
}

.mini-cover img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.mini-body {
display: flex;
flex-direction: column;
flex: 1;
padding: 12px 14px 13px;
}

.mini-name {
font-size: 15px;
font-weight: 600;
color: var(--text);
text-decoration: none;
line-height: 1.45;
}

.mini-name:hover { color: var(--primary); }

.mini-desc {
font-size: 12.5px;
line-height: 1.7;
color: #5a5f78;
margin: 6px 0 12px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.mini-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-top: auto;
}

.mini-author {
font-size: 11.5px;
color: var(--muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.mini-qr-btn {
flex: none;
font-size: 12px;
line-height: 1.9;
padding: 0 12px;
border-radius: 999px;
cursor: pointer;
border: 1px solid var(--tk90);
background: var(--tk96);
color: var(--primary);
font-weight: 600;
}

.mini-qr-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.mini-qr-btn.is-off {
border-color: var(--tk92);
background: var(--tk98);
color: #9aa0b4;
font-weight: 400;
cursor: pointer;
text-decoration: none;
}

.mini-qr-btn.is-off:hover { background: var(--tk96); color: #6a6f8a; }


.mini-miss {
font-size: 11px;
color: #b5761a;
background: #fff7e8;
border: 1px solid #ffe6bd;
border-radius: 8px;
padding: 4px 8px;
margin-bottom: 8px;
}

.mini-empty,
.mini-loading {
grid-column: 1 / -1;
padding: 40px 0;
text-align: center;
color: var(--muted);
font-size: 13px;
}

.mini-foot {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin: 26px 0 40px;
padding: 16px 18px;
background: #fff;
border: 1px dashed var(--tk92);
border-radius: 16px;
}

.mini-foot-main b { font-size: 14px; }
.mini-foot-main p { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.mini-foot .btn-primary { flex: none; }

@media (max-width: 960px) {
.mini-hero { grid-template-columns: 1fr; gap: 18px; }
.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
.mini-title { font-size: 24px; }
.mini-grid { grid-template-columns: 1fr; gap: 12px; }
.mini-foot { flex-direction: column; align-items: flex-start; }
}



.guest-notice-bar {
display: flex;
align-items: center;
gap: 10px;
max-width: 1400px;
margin: 0 auto;
padding: 10px 20px;
background: #fff;
border-bottom: 1px solid var(--border);
font-size: 13px;
line-height: 1.5;
}
.gnb-ico { display: flex; color: var(--primary); flex-shrink: 0; }
.gnb-ico .ico { width: 16px; height: 16px; }
.gnb-main { flex: 1; min-width: 0; color: var(--text); }
.gnb-main b { margin-right: 8px; color: var(--primary-dark); }
.gnb-main span { color: var(--muted); }
.gnb-link {
flex-shrink: 0;
color: var(--primary);
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
.gnb-link:hover { text-decoration: underline; }
.gnb-close {
flex-shrink: 0;
border: none;
background: none;
color: var(--muted);
font-size: 14px;
cursor: pointer;
padding: 4px 6px;
border-radius: 6px;
}
.gnb-close:hover { color: var(--text); background: var(--bg); }
@media (max-width: 600px) {
.guest-notice-bar { padding: 8px 14px; gap: 8px; }
.gnb-main span { display: none; }   
}



.tab-bar { display: none; }
@media (max-width: 640px) {
.tab-bar {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
display: flex; align-items: stretch;

background: rgba(255, 255, 255, .96);
border-top: 1px solid var(--border);

padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
}
.tab-item {
flex: 1; min-width: 0;
display: flex; flex-direction: column; align-items: center;
gap: 3px;
padding: 6px 0; border-radius: 10px;
color: #8a8fa3; text-decoration: none; font-size: 11px; line-height: 1.2;
-webkit-tap-highlight-color: transparent;
}
.tab-item .ico { font-size: 20px; }

.tab-ico { width: 24px; height: 24px; display: block; }
.tab-ico.t-on { display: none; }
.tab-item.active .t-on { display: block; }
.tab-item.active .t-off { display: none; }
.tab-item.active { color: var(--primary); font-weight: 600; }
.tab-item.active .ico { transform: translateY(-1px); }

.tab-pub {
flex: 0 0 54px; background: none; border: none;
font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tab-pub-ring {
position: relative; width: 38px; height: 38px; border-radius: 50%; margin-top: -18px;
display: inline-flex; align-items: center; justify-content: center;
background: var(--primary);
box-shadow: 0 4px 12px rgba(var(--tk58-rgb), .34), 0 0 0 4px #fff;
transition: transform .15s, background .15s;
}

.tab-pub:active .tab-pub-ring { transform: scale(.94); }

.tab-pub.is-open .tab-pub-ring { background: var(--primary-dark); }
.tab-pub.is-open .plus-ico { transform: rotate(45deg); }

body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

body.scroll-locked .tab-bar { display: none; }

.fab-stack { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

.main-nav { display: none; }
}



.disc-page-head { margin-bottom: 8px; }
@media (max-width: 640px) {
.disc-page-head { display: none; }
}
.disc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.disc-chips::-webkit-scrollbar { display: none; }

.disc-m-remember {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
margin: -8px 2px 12px; font-size: 12px;
}
.disc-m-remember .cat-remember-main {
display: inline-flex; align-items: center; gap: 5px;
color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.disc-m-remember .cat-remember-main input { width: 13px; height: 13px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.disc-m-remember:has(input:checked) .cat-remember-main { color: var(--primary); font-weight: 600; }

@media (max-width: 640px) {
.disc-chips { padding-top: 26px; }
}
.disc-chip {
flex: none; padding: 7px 18px; border-radius: 999px;
border: 1px solid var(--border); background: var(--card);
font-size: 13.5px; color: var(--text); cursor: pointer;
-webkit-tap-highlight-color: transparent; transition: background .15s, color .15s;
}
.disc-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.disc-eyebrow {
display: inline-block; padding: 3px 10px; border-radius: 999px;
background: var(--tk96); color: var(--primary);
font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
}
.disc-title { font-size: 20px; margin: 10px 0 7px; }
.disc-desc { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin: 0 0 14px; }
.disc-stats {
display: flex; align-items: center; justify-content: center; gap: 24px;
background: var(--tk96); border-radius: 14px; padding: 13px 10px; margin-bottom: 16px;
}
.disc-stat { display: flex; align-items: baseline; gap: 5px; }
.disc-stat b { font-size: 21px; color: var(--primary); font-weight: 700; }
.disc-stat span { font-size: 12.5px; color: var(--muted); }
.disc-stat-sep { width: 1px; height: 22px; background: var(--tk90); }
.disc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.disc-scan-badge {
position: absolute; left: 8px; top: 8px; z-index: 2;
padding: 3px 9px; border-radius: 999px;
background: rgba(var(--tk62-rgb), .92); color: #fff; font-size: 11px; font-weight: 600;
}
.disc-card .card-body { display: flex; flex-direction: column; }
.disc-intro {
font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 3px 0 6px;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-meta { margin-top: auto; }
.disc-favs { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12.5px; }
.disc-btn {
margin-top: 9px; width: 100%; padding: 8px 0; border: none; border-radius: 10px;
background: var(--tk96); color: var(--primary); font-size: 13.5px; font-weight: 600; cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.disc-btn:active { background: var(--tk92); }
@media (max-width: 640px) {
.disc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.disc-title { font-size: 19px; }
.disc-stats { gap: 18px; padding: 12px 8px; }
}


.disc-pc { display: none; }
#discoverView.disc-has-pc .disc-pc { display: flex; align-items: flex-start; }
#discoverView.disc-has-pc .disc-m { display: none; }

.disc-pc .cat-side {
width: 200px; flex: 0 0 200px; margin-right: 18px;
background: #f5f5f7; border: 1px solid #e3e3e6; border-radius: 14px;
position: sticky; top: 72px; align-self: flex-start;
max-height: calc(100vh - 88px); overflow-y: auto;
display: flex; flex-direction: column; padding: 16px 10px 12px;
}

.disc-pc .cat-side.is-loading { overflow: hidden; }
.disc-pc .cat-search { position: relative; margin: 0 2px 14px; }
.disc-pc .cat-search input {
width: 100%; height: 30px; border: 1px solid #e3e3e6; border-radius: 8px;
background: #fff; font: inherit; font-size: 12.5px; padding: 0 10px 0 28px;
color: var(--text); outline: none;
}
.disc-pc .cat-search input::placeholder { color: #a1a1a6; }
.disc-pc .cat-search input:focus { border-color: var(--primary); }
.disc-pc .cat-search .ico { position: absolute; left: 9px; top: 8px; color: #86868b; pointer-events: none; }
.disc-pc .cat-group-title { font-size: 11px; font-weight: 600; color: #86868b; padding: 0 9px 6px; }
.disc-pc .cat-group-mt { margin-top: 14px; }
.disc-pc .cat-list { display: flex; flex-direction: column; gap: 1px; }
.disc-pc .cat-item {
display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 9px;
border-radius: 7px; font: inherit; font-size: 13px; color: var(--text);
cursor: pointer; border: none; background: transparent; text-align: left; width: 100%;
}
.disc-pc .cat-item:hover { background: #ebebef; }
.disc-pc .cat-item.active { background: #e3e3e7; font-weight: 600; }
.disc-pc .cat-item .cat-ico {
width: 17px; height: 17px; flex: 0 0 17px; border-radius: 4px;
display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.disc-pc .cat-item .cat-ico svg { width: 12px; height: 12px; }

.disc-pc .cat-item .cat-ico svg [fill="var(--tk58)"] { fill: #fff; }
.disc-pc .cat-item .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.disc-pc .cat-item .cnt { margin-left: auto; font-size: 11px; color: #a1a1a6; font-weight: 400; }

.disc-pc .cat-list:has(.cat-skel) { gap: 1px; }
.disc-pc .cat-skel {
display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 9px;
border-radius: 7px; background: transparent; animation: none;
}
.disc-pc .cat-skel i {
display: block; flex: none; border-radius: 4px;
background: linear-gradient(100deg, #e9e9ee 40%, #f5f5f7 50%, #e9e9ee 60%);
background-size: 200% 100%; animation: sk-shimmer 1.9s ease-in-out infinite;
}
.disc-pc .cat-skel .sk-ico { width: 17px; height: 17px; border-radius: 4px; }
.disc-pc .cat-skel .sk-txt { width: 68%; max-width: 104px; height: 10px; }
.disc-pc .cat-skel .sk-num { width: 16px; height: 9px; margin-left: auto; opacity: .7; }
.disc-pc .cat-skel:nth-child(2) i { animation-delay: .1s; }
.disc-pc .cat-skel:nth-child(3) i { animation-delay: .2s; }
.disc-pc .cat-skel:nth-child(4) i { animation-delay: .3s; }
.disc-pc .cat-skel:nth-child(5) i { animation-delay: .4s; }
.disc-pc .cat-skel:nth-child(6) i { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .disc-pc .cat-skel i { animation: none; } }


.disc-pc .cat-group-row { display: flex; align-items: center; justify-content: space-between; }
.disc-pc .cat-edit-btn {
border: none; background: transparent; font: inherit; font-size: 11px; font-weight: 500;
color: #86868b; cursor: pointer; padding: 2px 6px; border-radius: 6px;
}
.disc-pc .cat-edit-btn:hover { color: var(--text); background: #e3e3e7; }
.disc-pc .cat-item-editing, .disc-pc .cat-item-adding { cursor: default; }
.disc-pc .cat-edit-acts { margin-left: auto; display: flex; gap: 2px; flex: none; }
.disc-pc .cat-edit-btn-ico {
width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center;
border: none; background: transparent; border-radius: 5px; color: #86868b; cursor: pointer; padding: 0;
}
.disc-pc .cat-edit-btn-ico svg { width: 13px; height: 13px; }
.disc-pc .cat-edit-btn-ico:hover { background: #dcdce1; color: var(--text); }
.disc-pc .cat-edit-btn-ico:disabled { opacity: .3; cursor: default; }
.disc-pc .cat-edit-btn-ico:disabled:hover { background: transparent; color: #86868b; }
.disc-pc .cat-edit-x:hover { color: #d05a5a; background: #f3e1e1; }
.disc-pc .cat-edit-add:hover { color: #3b8f5c; background: #e0efe5; }
.disc-pc .cat-item-adding { opacity: .62; }
.disc-pc .cat-edit-add-title { font-size: 10.5px; color: #a1a1a6; padding: 10px 9px 4px; }
.disc-pc .cat-edit-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 9px 2px; }
.disc-pc .cat-edit-reset {
border: none; background: transparent; font: inherit; font-size: 12px; color: #86868b; cursor: pointer;
padding: 4px 6px; border-radius: 6px; text-decoration: underline; text-underline-offset: 2px;
}
.disc-pc .cat-edit-reset:hover { color: var(--text); }
.disc-pc .cat-edit-done {
border: none; background: var(--primary); color: #fff; font: inherit; font-size: 12px; font-weight: 600;
cursor: pointer; padding: 5px 16px; border-radius: 7px;
}
.disc-pc .cat-edit-done:hover { filter: brightness(1.06); }


.disc-pc .cat-group-row { position: relative; }
.disc-pc .cat-edit-btn.cat-edit-hint {
color: var(--text); background: #e3e3e7;
animation: catEditBtnPulse 1.6s ease-in-out 2;
}
@keyframes catEditBtnPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tk58-rgb), 0); }
50% { box-shadow: 0 0 0 4px rgba(var(--tk58-rgb), .22); }
}
.disc-pc .cat-edit-tip {
position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
max-width: 230px; padding: 8px 12px; border-radius: 10px;
background: #1d1d1f; color: #fff; font-size: 12px; line-height: 1.55; text-align: left;
box-shadow: 0 6px 18px rgba(0, 0, 0, .18); pointer-events: none;
animation: catEditTipIn .25s ease-out;
}
.disc-pc .cat-edit-tip::before {
content: ''; position: absolute; top: -4px; right: 16px;
width: 8px; height: 8px; background: #1d1d1f; transform: rotate(45deg); border-radius: 2px;
}
@keyframes catEditTipIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.disc-sync-modal { width: min(360px, calc(100vw - 40px)); }
.disc-sync-modal .disc-sync-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.disc-sync-modal .disc-sync-acts .btn-ghost { justify-content: center; }

@media (max-width: 900px) {
.disc-pc .cat-edit-btn { display: none; }
.disc-pc .cat-edit-acts, .disc-pc .cat-edit-add-title, .disc-pc .cat-edit-foot { display: none; }
}
.disc-pc .cat-main { flex: 1; min-width: 0; }
.disc-pc .cat-head { margin-bottom: 14px; }
.disc-pc .cat-head h1, .disc-pc .cat-head h2, .disc-pc .cat-head .disc-pc-title { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 5px; }
.disc-pc .cat-head p { font-size: 13px; color: var(--muted); margin: 0; }
.disc-pc .cat-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.disc-pc .cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.disc-pc .cat-chip {
border: 1px solid #e3e3e6; background: var(--card); color: var(--muted);
font: inherit; font-size: 12px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.disc-pc .cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.disc-pc .cat-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.disc-pc .cat-sort { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.disc-pc .cat-sort label { font-size: 12px; color: var(--muted); }

.disc-pc .cat-remember {
display: inline-flex; align-items: center; gap: 8px; margin-right: 4px;
padding: 4px 10px 4px 12px; border-radius: 9px;
background: var(--tk96); border: 1px solid var(--tk94);
font-size: 12px; white-space: nowrap;
}
.disc-pc .cat-remember-main {
display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
color: var(--muted); transition: color .15s;
}
.disc-pc .cat-remember-main:hover { color: var(--primary); }
.disc-pc .cat-remember-main input { width: 13px; height: 13px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.disc-pc .cat-remember:has(input:checked) { background: var(--tk96); border-color: var(--tk92); }
.disc-pc .cat-remember:has(input:checked) .cat-remember-main { color: var(--primary); font-weight: 600; }
.disc-pc .cat-sort select {
border: 1px solid #e3e3e6; background: var(--card); border-radius: 7px;
padding: 5px 8px; font: inherit; font-size: 12px; color: var(--text);
}
.disc-pc .cat-main .gallery { gap: 16px; }

.disc-pc .cat-main .gallery .disc-sk-note {
grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px;
font-size: 12px; color: var(--muted); margin: -2px 0 -4px;
}
.disc-pc .cat-main .gallery .disc-sk-note i {
width: 7px; height: 7px; border-radius: 50%; background: #ffc75e;
box-shadow: 0 0 0 4px rgba(255, 191, 77, .14);
animation: discSkBlink 1.5s ease-in-out infinite;
}
@keyframes discSkBlink {
0%, 100% { opacity: .45; transform: scale(.85); }
50% { opacity: 1; transform: scale(1); }
}
.disc-pc .cat-main .gallery .disc-card-sk { cursor: default; }
.disc-pc .cat-main .gallery .disc-card-sk:hover { transform: none; box-shadow: none; }
.disc-pc .cat-main .gallery .disc-card-sk .sk-cover { border-radius: 0; }
.disc-pc .cat-main .gallery .disc-card-sk .sk-line-sm,
.disc-pc .cat-main .gallery .disc-card-sk .sk-line-meta { height: 11px; }
.disc-pc .cat-main .gallery .disc-card-sk .sk-line-meta { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
.disc-pc .cat-main .gallery .disc-sk-note i { animation: none; opacity: .9; }
}

.disc-pc .cat-main .gallery { grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); }
@media (min-width: 1001px) and (max-width: 1260px) {
.disc-pc .cat-main .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1261px) {
.disc-pc .cat-main .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1000px) {
.disc-pc .cat-side { width: 180px; flex-basis: 180px; }
}
.disc-pc .cat-empty { text-align: center; padding: 80px 0; color: var(--muted); font-size: 14px; }

.disc-pc .cat-scroll-ico { display: none; }

@media (max-width: 900px) {
#discoverView.disc-has-pc .disc-pc { display: block; }
.disc-pc .cat-side { position: static; width: auto; flex: none; max-height: none; margin: 0 0 14px; }
.disc-pc .cat-group-title { display: none; }
.disc-pc .cat-list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; }
.disc-pc .cat-list::-webkit-scrollbar { display: none; }

.disc-pc .cat-scroll-wrap { position: relative; }
.disc-pc .cat-scroll-wrap.cat-fade-r .cat-list {
-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
}
.disc-pc .cat-scroll-wrap.cat-fade-l .cat-list {
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 30px), transparent 100%);
mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 30px), transparent 100%);
}
.disc-pc .cat-scroll-ico {
display: none; position: absolute; top: 50%; transform: translateY(-50%);
width: 20px; height: 20px; align-items: center; justify-content: center;
color: #86868b; background: #f5f5f7; border-radius: 999px;
box-shadow: 0 0 7px 5px #f5f5f7;   
pointer-events: none; z-index: 1;
}
.disc-pc .cat-scroll-ico svg { width: 12px; height: 12px; }
.disc-pc .cat-scroll-ico-r { right: 3px; }
.disc-pc .cat-scroll-ico-l { left: 3px; }
.disc-pc .cat-scroll-wrap.cat-fade-r .cat-scroll-ico-r { display: flex; }
.disc-pc .cat-scroll-wrap.cat-fade-l .cat-scroll-ico-l { display: flex; }
.disc-pc .cat-item { width: auto; flex: 0 0 auto; }
.disc-pc .cat-skel { width: 84px; flex: 0 0 84px; }   
.disc-pc .cat-item .cnt { display: none; }
.disc-pc .cat-search { margin-bottom: 10px; }

.disc-pc .cat-list#discPcCats { margin-top: 8px; }
}

@media (max-width: 640px) {
.disc-pc .cat-main .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {

.gallery:not(.list-mode) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.card-body { padding: 10px 12px 11px; }
.card-title { font-size: 14px; }

.gallery:not(.list-mode) .card-foot > span:last-child { display: none; }
}

@media (max-width: 640px) {
.dm-load { padding: 12px 16px 20px; gap: 9px; }
.dm-load-win { width: 56px; height: 50px; padding-bottom: 11px; }
}



@media (max-width: 640px) {
#meView .page-head { display: none; }

#meView .me-tile-guide { display: none; }
.me-tiles:has(.me-tile-guide) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
#meView .me-hero {
margin-top: 4px; padding: 16px 14px;
background: linear-gradient(180deg, var(--tk98), var(--tk96));
border: 1px solid var(--tk92); border-radius: 16px;
}
.me-hero-user { display: flex; align-items: center; gap: 13px; }
.me-ava2 {
flex: none; width: 54px; height: 54px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary); font-size: 24px; font-weight: 700;
}
.me-ava2 svg { width: 26px; height: 26px; }
.me-ava2-user {
background: linear-gradient(160deg, var(--tk70), var(--tk56));
color: #fff; box-shadow: 0 4px 12px rgba(var(--tk62-rgb), .28);
}

#meView .me-hero-guest {
position: relative; overflow: hidden;
background: linear-gradient(135deg, var(--tk96), #edf3ff 55%, var(--tk96));
border: 1px solid var(--tk92);
}
#meView .me-hero-guest::after {
content: ''; position: absolute; right: -36px; top: -36px; width: 132px; height: 132px;
border-radius: 50%; background: radial-gradient(circle, rgba(var(--tk70-rgb), .16), transparent 70%);
pointer-events: none;
}

.me-login-big {
display: block; width: 100%; margin-top: 14px; padding: 12px 0;
border: none; border-radius: 12px; cursor: pointer; font-family: inherit;
background: linear-gradient(180deg, var(--tk70), var(--tk56));
color: #fff; font-size: 15.5px; font-weight: 700;
box-shadow: 0 5px 14px rgba(var(--tk56-rgb), .32);
-webkit-tap-highlight-color: transparent; transition: transform .12s, box-shadow .12s;
}
.me-login-big:active { transform: scale(.98); box-shadow: 0 2px 8px rgba(var(--tk56-rgb), .28); }

.me-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.me-perk {
display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
padding: 12px 13px; border: 1px solid var(--border); border-radius: 13px;
background: var(--card); cursor: pointer; font-family: inherit; text-align: left;
-webkit-tap-highlight-color: transparent;
}
.me-perk:active { background: var(--tk98); }
.me-perk-ico {
width: 32px; height: 32px; border-radius: 10px; margin-bottom: 3px;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary);
}
.me-perk-ico svg { width: 17px; height: 17px; }
.me-perk b { font-size: 13.5px; color: var(--text); }
.me-perk i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.me-hero-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.me-hero-main b { font-size: 18px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-hero-main span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.me-hero-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.me-name-tag {
flex: none; padding: 0 5px; border: 1px solid rgba(138, 143, 163, .45); border-radius: 5px;
font-size: 10.5px; font-style: normal; line-height: 1.5; color: var(--muted);
}

.me-stats {
margin-top: 14px; display: flex; align-items: stretch;
background: var(--tk96); border-radius: 12px; padding: 11px 0;
}
.me-stat {
flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
border: none; background: none; cursor: pointer; padding: 0;
-webkit-tap-highlight-color: transparent; text-decoration: none; color: inherit;
}
.me-stat b { font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.15; }
.me-stat span { font-size: 12px; color: var(--muted); }
.me-stat:active { opacity: .7; }
.me-stat-sep { width: 1px; background: var(--tk90); margin: 2px 0; }

.me-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.me-tile {
position: relative;   
display: flex; flex-direction: column; align-items: center; gap: 8px;
padding: 13px 4px 11px; border: 1px solid var(--tk92); border-radius: 14px; cursor: pointer;
background: var(--tk96); color: var(--primary); font-size: 12px; font-weight: 600; text-decoration: none;
-webkit-tap-highlight-color: transparent; transition: background .15s, transform .12s;
}
.me-tile:active { background: var(--tk96); transform: scale(.97); }
.me-tile-ico {
width: 38px; height: 38px; border-radius: 11px;
display: flex; align-items: center; justify-content: center;
background: var(--tk92); color: var(--primary);
}
.me-tile-ico svg { width: 20px; height: 20px; }

.me-ck-card {
position: relative; margin-top: 12px; padding: 15px 14px 10px;
display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
background: var(--card); border: 1px solid var(--tk92); border-radius: 14px;
}
.me-ck-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.me-ck-left b { font-size: 15px; color: var(--text); }
.me-ck-left span { font-size: 12px; color: var(--muted); }
.me-ck-lamp { flex: none; display: flex; }
.me-ck-lamp svg { width: 34px; height: 34px; }
.me-ck-btn {
flex: none; padding: 9px 16px; border: none; border-radius: 999px; cursor: pointer;
background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap;
-webkit-tap-highlight-color: transparent; transition: background .15s, transform .12s;
}
.me-ck-btn:hover { background: var(--primary-dark); }
.me-ck-btn:active { transform: scale(.96); }
.me-checkin.is-done { background: #eef0f6; color: var(--muted); cursor: default; }
.me-checkin.is-done:hover { background: #eef0f6; }
.me-checkin:disabled { opacity: .9; }
.me-ck-tip { flex: 1 1 100%; margin: 2px 0 0; font-size: 11px; color: #9aa0b8; text-align: right; }
.me-ck-tip a { color: var(--tk58); text-decoration: none; font-weight: 600; }

.me-ck-adlink {
background: none; border: none; padding: 0; margin: 0; font: inherit;
color: var(--tk58); font-weight: 600; cursor: pointer;
}
.me-ck-adlink:hover { text-decoration: underline; }

.me-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }

@media (max-width: 640px) {
.me-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.me-quick-card {
position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px;
padding: 13px 4px 11px; border: 1px solid var(--border); border-radius: 13px;
background: var(--card); color: var(--text); font-size: 11.5px; text-decoration: none;
cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.me-quick-card:active { background: var(--tk96); }

.me-quick-fab { display: none; }

.me-quick-fab.has-new::after {
content: ''; position: absolute; top: 8px; right: 10px; width: 7px; height: 7px;
border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--card);
}
.me-quick-ico {
width: 32px; height: 32px; border-radius: 10px;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary);
}
.me-quick-ico svg { width: 17px; height: 17px; }

.me-sec { margin-top: 18px; }
.me-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.me-sec-head h3 { margin: 0; font-size: 16.5px; color: var(--text); }
.me-sec-count { font-size: 12px; color: var(--muted); }
.me-idea-card {
display: flex; align-items: center; justify-content: center; gap: 4px;
padding: 15px 12px; border-radius: 13px; text-decoration: none;
background: var(--card); border: 1px solid var(--border);
color: var(--muted); font-size: 13px; -webkit-tap-highlight-color: transparent;
}
.me-idea-card:active { background: var(--tk96); }
.me-idea-card i, .me-fav-row i, .me-fav-more i { font-style: normal; color: #b6bac9; }
.me-fav-list { display: flex; flex-direction: column; gap: 8px; }
.me-fav-row {
display: flex; align-items: center; gap: 11px; padding: 9px 12px;
border-radius: 13px; text-decoration: none; -webkit-tap-highlight-color: transparent;
background: var(--card); border: 1px solid var(--border);
}
.me-fav-row:active { background: var(--tk96); }
.me-fav-thumb {
flex: none; width: 44px; height: 44px; border-radius: 9px; object-fit: cover;
background: var(--tk94);
}
.me-fav-title {
flex: 1; min-width: 0; font-size: 13.5px; color: var(--text);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.me-fav-more {
display: flex; align-items: center; justify-content: center; gap: 4px;
padding: 11px 0; border: 1px dashed var(--tk86); border-radius: 13px;
background: none; color: var(--muted); font-size: 12.5px; cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.me-fav-more:active { background: var(--tk96); }
.me-fav-empty {
padding: 16px 12px; border-radius: 13px; text-align: center;
background: var(--card); border: 1px solid var(--border);
color: var(--muted); font-size: 12.5px;
}
button.me-fav-empty { width: 100%; cursor: pointer; }

.me-foot { display: flex; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.me-foot-btn {
display: inline-flex; align-items: center; gap: 5px;
padding: 8px 14px; border-radius: 999px; cursor: pointer;
background: none; border: 1px solid var(--border);
color: var(--muted); font-size: 12px; -webkit-tap-highlight-color: transparent;
}
.me-foot-btn:active { background: var(--tk96); }
.me-foot-btn.me-logout { color: #d64545; border-color: #f3d4d4; }
.me-badge {
position: absolute; top: 6px; right: 8px;
min-width: 16px; height: 16px; padding: 0 4px;
border-radius: 999px; background: #f2566a; color: #fff;
font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}

.me-menu {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
margin-top: 12px; padding: 4px 0; overflow: hidden;
}
.me-item {
display: flex; align-items: center; gap: 10px; width: 100%;
padding: 12px 16px; border: none; background: none; cursor: pointer;
font-size: 14px; color: var(--text); text-decoration: none; text-align: left;
}
.me-item:active { background: var(--tk96); }
.me-item .ico { color: var(--muted); }
.me-sep { height: 1px; background: var(--border); margin: 4px 16px; }


.modal-site-info { max-width: 640px; }
.site-info-body { color: var(--muted); font-size: 13px; }
.site-info-body .si-inner > * + * { margin-top: 12px; }

.site-info-body .footer-grid { gap: 16px 24px; }

.site-info-body .footer-brand { flex: 1 1 auto; }
.site-info-body .footer-links { gap: 14px 28px; }

.site-info-body .footer-friends {
flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.site-info-body .footer-friends .ff-label {
font-size: 12.5px; font-weight: 600; color: var(--text); opacity: .92; letter-spacing: .04em;
}
.site-info-body .footer-friends .ff-body { width: 100%; }
.site-info-body .footer-friends .ff-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.site-info-body .footer-friends .ff-item { max-width: none; }
.site-info-body .fgroup { gap: 7px; }

.site-info-body .fs-pop {
position: static; display: block; left: auto; bottom: auto; z-index: auto;
width: auto; max-width: none; padding: 10px 12px;
box-shadow: none;
opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.site-info-body .fs-pop::before { display: none; }   


@media (max-width: 640px) {
.site-footer .footer-meta,
.site-footer .footer-grid,
.site-footer .footer-links,
.site-footer .footer-oss,
.site-footer .footer-friends { display: none; }

.site-footer .footer-base { display: flex; justify-content: center; }
.site-footer .footer-icp { margin-left: 0; }  
.site-footer { padding: 14px 0; text-align: center; }
}


.fbar-wrap { position: relative; z-index: 50; margin: 18px 0 4px; }
.fbar {
display: flex; align-items: center; height: 46px; padding: 0 6px;
border: 1px solid var(--border); border-radius: 14px; background: var(--card);
transition: border-radius .12s;
}

.fbar-wrap.open .fbar { border-radius: 14px 14px 0 0; border-bottom-color: transparent; }
.fbar-item {
position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
gap: 4px; height: 100%; padding: 0 6px; border: 0; background: none; cursor: pointer;
font-size: 14px; color: #4a4f63; font-family: inherit;
}
.fbar-item + .fbar-item::before {
content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 14px;
background: #eef0f6; transform: translateY(-50%);
}
.fbar-text { overflow: hidden; max-width: 88px; white-space: nowrap; text-overflow: ellipsis; }
.fbar-caret { font-size: 10px; color: #b6bac9; transition: transform .2s; }
.fbar-item.is-on .fbar-text { color: var(--primary-dark); font-weight: 600; }
.fbar-item.is-open .fbar-text { color: var(--primary-dark); font-weight: 600; }
.fbar-item.is-open .fbar-caret { color: var(--primary); transform: rotate(180deg); }
.fbar-panel {
position: absolute; z-index: 51; top: 100%; left: 0; right: 0; margin-top: -1px;
max-height: 60vh; overflow-y: auto; padding: 16px 16px 4px;
border: 1px solid var(--border); border-top: 0; border-radius: 0 0 14px 14px;
background: var(--card); box-shadow: 0 16px 34px rgba(30, 32, 60, .16);
animation: fbarDrop .18s ease-out;
}
.fbar-panel[hidden] { display: none; }
.fbar-chips { display: flex; flex-wrap: wrap; }
.fbar-chip {
margin: 0 10px 12px 0; padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px;
background: var(--bg); color: #4a4f63; font-size: 13.5px; font-family: inherit; cursor: pointer;
}
.fbar-chip:hover { border-color: var(--tk86); }
.fbar-chip.is-on { border-color: var(--primary); background: var(--tk96); color: var(--primary-dark); font-weight: 600; }
@keyframes fbarDrop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 400px) {
.fbar-item { padding: 0 3px; gap: 2px; }
.fbar-caret { font-size: 9px; }
}

.rk-head { background: #fff; padding: 12px 14px 4px; }
.rk-seg { display: flex; padding: 4px; border-radius: 999px; background: var(--tk96); }
.rk-seg-item {
flex: 1; padding: 9px 0; border-radius: 999px; border: 0; background: transparent;
color: #6c7186; font-size: 14px; text-align: center; cursor: pointer;
}
.rk-seg-item.on { background: #fff; color: var(--primary); font-weight: 700; box-shadow: 0 2px 7px rgba(var(--tk58-rgb), .16); }
.rk-dims {
position: relative; display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
padding: 10px 12px 2px; scrollbar-width: none;
}
.rk-dims::-webkit-scrollbar { display: none; }

.rk-dims.can-scroll::after {
content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 22px;
background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg)); pointer-events: none;
}
.rk-dim {
flex: 0 0 auto; padding: 6px 11px; border-radius: 8px; border: 0; white-space: nowrap;
background: var(--tk96); color: #4a4f63; font-size: 12.5px; line-height: 1; cursor: pointer;
transition: background .15s, color .15s;
}
.rk-dim.on { background: var(--primary); color: #fff; font-weight: 600; }
.rk-hint { padding: 8px 16px 0; color: #9aa0b4; font-size: 11px; line-height: 1.6; }
.rk-rows { padding: 8px 10px 4px; }
.rk-row {
display: flex; align-items: center; margin-bottom: 8px; padding: 10px;
border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(31, 35, 48, .04);
cursor: pointer;
}
.rk-num { flex: 0 0 26px; color: #b0b4c4; font-size: 15px; font-weight: 800; text-align: center; }
.rk-num.top1 { color: #e8a33d; }
.rk-num.top2 { color: #9aa0b4; }
.rk-num.top3 { color: #c98a5a; }
.rk-cover { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: #f1f2f6; }
.rk-cover-empty { display: flex; align-items: center; justify-content: center; color: #b0b4c4; font-size: 20px; font-weight: 800; }
.rk-main { flex: 1; min-width: 0; margin-left: 10px; }
.rk-title-line { display: flex; align-items: center; gap: 5px; min-width: 0; }
.rk-title { overflow: hidden; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }

.rk-title-line .rank-age { margin-left: 5px; font-size: 10.5px; flex: 0 0 auto; }
.rk-new { flex: 0 0 auto; padding: 1px 5px; border-radius: 4px; background: #ffeee6; color: #e5751f; font-size: 9px; font-weight: 700; }
.rk-live { background: #e2f5ee; color: #12705a; }
.rk-sub { display: block; margin-top: 4px; color: #8a8fa3; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.rk-intro { margin-top: 3px; color: #a2a6b8; font-size: 11px; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.rk-meta-line { display: flex; align-items: center; gap: 6px; margin-top: 4px; min-width: 0; }
.rk-meta-line .rk-sub { margin-top: 0; flex: 1; min-width: 0; }
.rk-meta-line .rk-tags { margin-top: 0; flex: 0 0 auto; }
.rk-tags { display: flex; gap: 5px; margin-top: 5px; }
.rk-tag { padding: 1px 6px; border-radius: 4px; background: var(--tk96); color: var(--tk60); font-size: 10px; }
.rk-metric { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; margin-left: 8px; }
.rk-metric-text { color: var(--primary); font-size: 13px; font-weight: 700; white-space: nowrap; }
.rk-metric-sub { display: flex; flex-direction: column; align-items: flex-end; margin-top: 3px; color: #a2a6b8; font-size: 10px; line-height: 1.35; white-space: nowrap; }
.rk-days { color: #b6bac9; }
@media (max-width: 640px) {
.fbar-wrap { margin: 14px 0 2px; }
.fbar { height: 42px; }
.fbar-text { max-width: 74px; font-size: 13.5px; }
}


@media (min-width: 641px) {
.h5-only { display: none !important; }
}
@media (max-width: 640px) {
.pc-only { display: none !important; }
}


.fab-stack.bot-wrap { right: 18px; bottom: 30px; gap: 0; }
.site-bot {

--bot-w: 54px;
position: relative; align-self: flex-end;
width: var(--bot-w); cursor: pointer; user-select: none;
-webkit-tap-highlight-color: transparent;
}
.site-bot .bot-figure { display: block; }
.site-bot .bot-svg {
display: block; width: 100%; height: auto;
transform-origin: 50% 100%;   
filter: drop-shadow(0 4px 10px rgba(40, 40, 90, .16));
transition: transform .22s cubic-bezier(.2, .9, .3, 1.2);
}

.site-bot:hover .bot-svg,
.site-bot:focus-visible .bot-svg { transform: translateY(-3px) scale(1.18); }




.site-bot .bot-bubble {

position: absolute; right: calc(var(--bot-w) - 6px); top: -4px; white-space: nowrap;
padding: 7px 12px; border: 1px solid var(--border); border-radius: 12px 12px 12px 3px;
background: #fff; color: var(--text); font-size: 12.5px; font-weight: 500;
box-shadow: 0 6px 18px rgba(40, 40, 90, .12);
opacity: 0; transform: translateY(6px) scale(.92); transform-origin: 100% 100%;
pointer-events: none;
animation: botBubble 12s ease infinite 2.5s;
}
@keyframes botBubble {
0%, 70%, 100% { opacity: 0; transform: translateY(6px) scale(.92); }
76%, 93% { opacity: 1; transform: none; }
}
.site-bot:hover .bot-bubble,
.site-bot.bot-talk .bot-bubble { animation: none; opacity: 1; transform: none; }

body.scroll-locked .site-bot { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {

.fab-stack.bot-wrap { display: block; right: 10px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.site-bot { --bot-w: 44px; }
.site-bot .bot-bubble { font-size: 12px; padding: 6px 10px; }
.bot-panel { width: min(268px, calc(100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
.site-bot .bot-float, .site-bot .bot-shadow, .site-bot .bot-eye,
.site-bot .bot-head, .site-bot .bot-arm, .site-bot .bot-bubble,
.site-bot .m-float, .site-bot .m-shadow, .site-bot .m-eye,
.site-bot .lam-sway, .site-bot .lam-flame, .site-bot .jar-cork, .site-bot .jar-star,
.site-bot .moo-face, .site-bot .bf-wing, .site-bot .door-glow, .site-bot .door-star,
.site-bot .quill-body, .site-bot .quill-spark,
.site-bot .bt-rock, .site-bot .bt-star, .site-bot .cl-drift, .site-bot .cl-breathe,
.site-bot .cl-spark, .site-bot .lt-paper, .site-bot .lt-seal, .site-bot .lt-spark,
.site-bot .mb-rock, .site-bot .mb-note, .site-bot .mb-key,
.site-bot .ct-tail, .site-bot .ct-body, .site-bot .ct-head, .site-bot .ct-spark,
.site-bot:hover .bot-svg, .site-bot:focus-visible .bot-svg, .site-bot.bot-hi .bot-svg { animation: none; transform: none; }
.site-bot:hover .bot-bubble { opacity: 1; }
}


.fab-stack.bot-wrap.bot-docked { transform: translateX(calc(100% - 12px)); }
.fab-stack.bot-wrap.bot-docked .bot-bubble { animation: none; opacity: 0; }
@media (max-width: 640px) {
.fab-stack.bot-wrap.bot-docked { transform: translateX(calc(100% - 10px)); }
}


.bot-panel {
position: absolute; right: 2px; bottom: calc(100% + 12px);
width: 264px; padding: 12px 12px 10px;
background: #fff; border: 1px solid var(--border); border-radius: 16px;
box-shadow: 0 14px 40px rgba(40, 40, 90, .18);
opacity: 0; transform: translateY(10px) scale(.94); transform-origin: 85% 100%;
pointer-events: none;
transition: opacity .2s, transform .22s cubic-bezier(.34, 1.4, .5, 1);

max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
}
.bot-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.bot-panel-head {
display: flex; align-items: center; gap: 9px;
padding-bottom: 10px; border-bottom: 1px dashed var(--border);
}
.bot-panel-avatar { width: 34px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; }

.bot-panel-avatar svg { width: 100%; height: auto; display: block; filter: none; }
.bot-panel-avatar * { animation: none !important; }
.bot-panel-id { flex: 1; min-width: 0; }
.bot-panel-id b { display: block; font-size: 13.5px; color: var(--text); line-height: 1.3; }
.bot-panel-id i {
font-style: normal; font-size: 11px; color: #43b06d;
display: flex; align-items: center; gap: 4px;
}
.bot-panel-id .dot { width: 6px; height: 6px; border-radius: 50%; background: #43b06d; }
.bot-panel-close {
flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%;
background: transparent; color: var(--muted); font-size: 13px; cursor: pointer;
transition: background .15s, color .15s;
}
.bot-panel-close:hover { background: var(--tk94); color: var(--text); }

.bot-panel-pin {
flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%;
background: transparent; color: var(--muted); cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: background .15s, color .15s, transform .15s;
}
.bot-panel-pin:hover { background: var(--tk94); color: var(--text); }
.bot-panel-pin.on { background: var(--tk96); color: var(--primary); transform: rotate(-38deg); }
.bot-panel-pin.on:hover { background: var(--tk94); }
.bot-panel-msg { margin: 10px 1px 2px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.bot-panel > button,
.bot-panel > a.skin-fab {
position: relative;            
display: flex; align-items: center; gap: 10px;
width: 100%; margin-top: 8px; padding: 9px 12px 9px 10px;
border: 1px solid var(--border); border-radius: 12px;
background: var(--tk98); color: var(--text);
font-size: 13px; font-weight: 500; text-align: left; white-space: nowrap;
text-decoration: none;         
cursor: pointer;
transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.bot-panel > button:hover,
.bot-panel > a.skin-fab:hover {
transform: translateX(2px); border-color: var(--tk84);
background: #fff; box-shadow: 0 4px 12px rgba(40, 40, 90, .08);
}
.bot-panel > button::after {
content: '›'; margin-left: auto; font-size: 16px; line-height: 1;
color: var(--muted); opacity: .45;
}
.bot-panel > button .ico,
.bot-panel > a.skin-fab .ico {
width: 24px; height: 24px; border-radius: 50%; flex: none;
background: var(--tk94); color: var(--primary); font-size: 15px;
}
.bot-panel > button .ico svg,
.bot-panel > a.skin-fab .ico svg { width: 15px; height: 15px; stroke-width: 2.2; }
.bot-panel > button.mini-fab .ico svg { width: 14px; height: 14px; }
.bot-panel > button.install-fab,
.bot-panel > button.mini-fab {
color: var(--primary); border-color: var(--tk90);
background: linear-gradient(100deg, var(--tk98), #fff 72%);
}

.bot-panel > button.install-fab { display: none; }
.bot-panel > button.feedback-fab .ico { background: #eef0f5; color: #7a7f94; }


.bot-panel > button.bot-find { color: var(--tk52); border-color: var(--tk90); }
.bot-panel > button.bot-find .ico { background: var(--tk92); color: var(--tk52); }
.bot-panel > button.bot-find::after { color: var(--tk68); opacity: .7; }


.bot-panel > button.bot-act {
margin-top: 10px;
color: var(--tk52); border-color: var(--tk86);
background: linear-gradient(100deg, var(--tk96), var(--tk98) 72%);
}
.bot-panel > button.bot-act .ico { background: var(--tk92); color: var(--tk52); }
.bot-panel > button.bot-act::after { color: var(--tk68); opacity: .7; }


html.dm-night::after {
content: ''; position: fixed; inset: 0; z-index: 99998;
background: #12141f; opacity: .17; pointer-events: none;
}


html.dm-quiet *,
html.dm-quiet *::before,
html.dm-quiet *::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}


.cat-drop {
position: absolute; top: -8px; right: 18px;
font-size: 15px; color: #ffbf4d; pointer-events: none;
animation: catDrop .9s ease-out forwards;
}
@keyframes catDrop {
0% { opacity: 0; transform: translateY(6px) scale(.6); }
25% { opacity: 1; transform: translateY(0) scale(1); }
100% { opacity: 0; transform: translateY(26px) scale(1.05); }
}

.bot-wrap.panel-open .bot-bubble { animation: none; opacity: 0; }


.bot-panel > a.skin-fab em,
.bot-panel > button.skin-fab em {
margin-left: auto; font-style: normal; font-size: 12px;
color: var(--muted); max-width: 96px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bot-panel > a.skin-fab::after {
content: '›'; margin-left: 6px; font-size: 16px; line-height: 1;
color: var(--muted); opacity: .45; flex: none;
}


.bot-panel > .bot-trial {
margin: 7px 2px 0; font-size: 11.5px; line-height: 1.55;
color: var(--tk58);
}
.bot-panel > .bot-trial b { font-weight: 600; }


.st-list {
max-width: 640px; margin: 0 auto;
background: var(--card); border: 1px solid var(--border); border-radius: 16px;
padding: 6px; overflow: hidden;
}
.st-row {
display: flex; align-items: center; gap: 12px; width: 100%;
padding: 13px 12px; border: 0; border-radius: 12px;
background: none; color: var(--text); text-align: left; cursor: pointer;
transition: background .15s;
}
.st-row + .st-row { position: relative; }
.st-row + .st-row::before {
content: ''; position: absolute; left: 54px; right: 12px; top: 0;
border-top: 1px solid var(--tk94);
}
.st-row:hover { background: var(--tk96); }
.st-ico {
flex: none; width: 30px; height: 30px; border-radius: 10px;
display: flex; align-items: center; justify-content: center;
background: var(--tk96); color: var(--primary); font-size: 17px;
}
.st-ico svg { width: 16px; height: 16px; stroke-width: 2.1; }
.st-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-main b { font-size: 14px; font-weight: 600; }
.st-main i { font-style: normal; font-size: 12px; color: var(--muted); }
.st-val { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--primary); }
.st-val.st-dim { color: var(--muted); }
.st-more { flex: none; font-size: 16px; line-height: 1; color: var(--muted); opacity: .45; }
.st-login { text-align: center; padding: 34px 16px; color: var(--muted); font-size: 14px; }
.st-login .btn-primary { margin-top: 14px; }
@media (max-width: 640px) {
.st-list { border-radius: 14px; }
.st-row { padding: 12px 10px; }
}


.ai-write-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.ai-write-btn {
display: inline-flex; align-items: center; gap: 4px; flex: none;
padding: 5px 12px; border: 1px solid var(--primary); border-radius: 999px;
background: var(--tk96); color: var(--primary); font: inherit; font-size: 12.5px; font-weight: 600;
line-height: 1.5; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.ai-write-btn:hover { background: var(--tk92); border-color: var(--primary-dark); color: var(--primary-dark); }
.ai-write-btn[disabled] { opacity: .55; cursor: default; }
.ai-write-btn .ico svg { width: 14px; height: 14px; }



.ql-block { margin: 14px 0 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--tk98); overflow: hidden; }
.ql-toggle {
display: flex; align-items: center; gap: 8px; width: 100%;
padding: 10px 13px; border: 0; background: none; cursor: pointer;
font-size: 13px; font-weight: 600; color: var(--primary); text-align: left;
}
.ql-toggle:hover { background: var(--tk96); }
.ql-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.ql-ico {
display: inline-flex; align-items: center; justify-content: center; flex: none;
width: 20px; height: 20px; border-radius: 6px;
background: var(--primary); color: #fff; font-size: 12px;
}
.ql-title { font-weight: 600; }
.ql-tag {
font-size: 11px; font-weight: 400; color: var(--muted);
background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px;
}
.ql-caret {
margin-left: auto; width: 0; height: 0;
border-left: 4px solid transparent; border-right: 4px solid transparent;
border-top: 5px solid currentColor; transition: transform .18s;
}
.ql-toggle.is-open .ql-caret { transform: rotate(180deg); }
.ql-lead { padding: 0 13px 8px; margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }

.ql-ai-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 10px; }
.ql-ai-row .ai-write-btn { flex: 0 0 auto; }
.ql-body { padding: 0 13px 13px; }
.ql-body label { display: block; margin-top: 10px; }
.ql-body input[type="text"], .ql-body textarea { width: 100%; }

.ql-count { float: right; font-size: 11px; font-weight: 400; color: var(--muted); }
.ql-count.is-full { color: var(--danger); }


.ai-pos-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; min-height: 24px; }
.ai-pos-row .ai-write-btn { padding: 3px 10px; font-size: 12px; }
.ai-pos-hint { font-size: 12px; line-height: 1.5; color: var(--muted); }
.ai-pos-hint.is-busy { color: var(--primary); }
.ai-pos-hint.is-ok { color: var(--primary-dark); }
.ai-pos-hint.is-err { color: var(--danger); }

.ai-pos-go {
border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 600;
color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.ai-pos-go:hover { color: var(--primary-dark); }
.ai-pos-go[hidden] { display: none; }


.wander-section { margin-top: 18px; }
.wander-grid { margin-top: 4px; }

.wander-re {
position: absolute; top: 8px; right: 10px; z-index: 3;
background: rgba(31, 35, 48, .62); color: #fff;
font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px; letter-spacing: .06em;
pointer-events: none;
}

.wander-re.is-below { top: 40px; }

.wander-new {
position: absolute; top: 8px; right: 10px; z-index: 3;
background: linear-gradient(135deg, var(--tk68), var(--primary)); color: #fff;
font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px;
letter-spacing: .08em; font-weight: 600;
box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .32);
pointer-events: none;
}
.wander-new.is-below { top: 40px; }

.card-img-wrap:has(.wander-new) .type-badge,
.card-img-wrap:has(.wander-re) .type-badge { max-width: calc(100% - 68px); }

.row-new {
flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
background: var(--primary); color: #fff;
font-size: 10px; line-height: 1; font-weight: 600;
padding: 3px 6px; border-radius: 5px; letter-spacing: .04em;
vertical-align: 1px;
}

#empty.wander-empty { padding: 72px 16px 56px; }

#empty.wander-empty { animation: emptyIn .28s ease; }
@keyframes emptyIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
#empty.wander-empty .empty-icon { margin-bottom: 14px; }
.wander-empty-title { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.wander-empty-sub { margin: 0 auto 22px; max-width: 360px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.wander-empty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.wander-empty-btns .btn-primary, .wander-empty-btns .btn-ghost { padding: 9px 20px; font-size: 13.5px; }

.wander-empty-reset { margin: 20px 0 0; font-size: 12px; }
.wander-empty-sub a, .wander-empty-reset a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.wander-empty-sub a:hover, .wander-empty-reset a:hover { color: var(--text, #333); }
.feat-info-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.gallery .wander-foot,
.wander-foot {
grid-column: 1 / -1;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
column-gap: 10px;
row-gap: 14px;
padding: 32px 0 14px;
animation: wanderFootIn .3s ease;
}
@keyframes wanderFootIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}

.wander-foot-hint {
flex: 0 0 100%;
order: -1;               
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
font-size: 12.5px;
color: var(--muted);
letter-spacing: .02em;
}
.wander-foot-hint::before,
.wander-foot-hint::after {
content: "";
height: 1px;
width: clamp(28px, 7vw, 88px);
background: linear-gradient(to right, transparent, var(--border));
}
.wander-foot-hint::after { background: linear-gradient(to left, transparent, var(--border)); }

.wander-foot .btn-primary,
.wander-foot .btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
height: 36px;
padding: 0 20px;
font-size: 13.5px;
white-space: nowrap;
}
@media (max-width: 420px) {
.wander-foot { padding-top: 20px; row-gap: 12px; }
.wander-foot .btn-primary, .wander-foot .btn-ghost { padding: 0 16px; }
}


.feat-info-pop .rt { display: block; font-weight: 600; margin-bottom: 3px; letter-spacing: .02em; }
.feat-info-pop b { font-weight: 600; }


.adv-page { padding-top: 4px; }


.adv-hero {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
gap: 38px;
align-items: center;
padding: 38px 32px 34px;
border: 1px solid var(--border);
border-radius: 20px;
background:
radial-gradient(58% 88% at 6% 0%, rgba(var(--tk58-rgb), .10), transparent 70%),
radial-gradient(48% 78% at 100% 8%, rgba(var(--tk64-rgb), .09), transparent 70%),
#fff;
overflow: hidden;
}
.adv-eyebrow {
display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
color: var(--primary-dark); background: rgba(var(--tk58-rgb), .08);
border-radius: 999px; padding: 5px 12px;
}
.adv-hero h1 {
font-size: 36px; line-height: 1.32; font-weight: 700; letter-spacing: -.01em;
margin: 15px 0 16px; color: var(--text);
}
.adv-hero h1 em {
font-style: normal;
background: linear-gradient(96deg, var(--tk58), var(--tk64));
-webkit-background-clip: text; background-clip: text; color: transparent;
}
.adv-sub { font-size: 14.5px; line-height: 1.9; color: #4a5065; max-width: 560px; }
.adv-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.adv-btn { padding: 11px 22px; font-size: 14.5px; border-radius: 11px; }
.adv-trust {
display: flex; flex-wrap: wrap; gap: 6px 15px;
margin-top: 18px; font-size: 12px; color: var(--muted);
}
.adv-trust span { display: inline-flex; align-items: center; gap: 6px; }
.adv-trust span::before {
content: ''; width: 5px; height: 5px; border-radius: 50%; background: #b9c0d8;
}


.adv-showcase { display: flex; gap: 12px; align-items: flex-start; justify-content: flex-end; }
.adv-showcase-pc {
flex: 1 1 auto; min-width: 0;
display: flex; flex-direction: column; gap: 8px;
padding: 10px; border-radius: 14px; background: #fff;
border: 1px solid var(--border);
box-shadow: 0 16px 36px rgba(31, 35, 48, .08);
}
.adv-showcase-bar {
display: flex; align-items: center; gap: 4px;
padding-bottom: 7px; border-bottom: 1px solid var(--tk94);
}
.adv-showcase-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--tk90); }
.adv-showcase-bar span { margin-left: 6px; font-size: 9px; color: #a8adc0; letter-spacing: .02em; }
.adv-slot-hi {
display: flex; align-items: center; justify-content: center;
height: 40px; border-radius: 8px;
background: linear-gradient(120deg, rgba(var(--tk58-rgb), .13), rgba(var(--tk64-rgb), .11));
border: 1.5px dashed rgba(var(--tk58-rgb), .5);
color: var(--primary-dark); font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.adv-slot-hi.is-foot { height: 26px; }
.adv-showcase-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; position: relative; }
.adv-showcase-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adv-showcase-tiles i { aspect-ratio: 4 / 3; border-radius: 5px; background: #f1f3fa; }

.adv-showcase-layer {
position: absolute; left: 16%; right: 16%; top: 26%; bottom: 32%;
display: flex; align-items: center; justify-content: center;
font-style: normal; font-size: 10px; font-weight: 600;
color: var(--primary-dark);
background: rgba(255, 255, 255, .92);
border: 1.2px dashed rgba(var(--tk58-rgb), .48);
border-radius: 7px;
box-shadow: 0 6px 14px rgba(31, 35, 48, .08);
}
.adv-showcase-phone {
flex: 0 0 118px;
display: flex; flex-direction: column; gap: 7px;
padding: 8px; border-radius: 16px; background: #fff;
border: 1px solid var(--border);
box-shadow: 0 12px 28px rgba(31, 35, 48, .07);
}
.adv-showcase-phone .adv-slot-hi { height: 34px; font-size: 10px; }
.adv-showcase-tag {
font-size: 9.5px; color: var(--muted); text-align: center;
border: 1px dashed var(--border); border-radius: 6px; padding: 4px 0;
}


.adv-stats {
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1px; margin-top: 16px;
background: var(--border); border: 1px solid var(--border);
border-radius: 14px; overflow: hidden;
}
.adv-stat { background: #fff; padding: 15px 14px; }
.adv-stat b {
display: block; font-size: 23px; font-weight: 700; line-height: 1.25;
color: var(--primary-dark); font-variant-numeric: tabular-nums;
}
.adv-stat span { font-size: 11.5px; color: var(--muted); }
.adv-foot-note {
font-size: 12.5px; color: var(--muted); line-height: 1.85;
padding: 12px 2px 0;
}


.adv-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.adv-why-card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.adv-why-ico {
display: inline-grid; place-items: center; width: 34px; height: 34px;
border-radius: 10px; background: rgba(var(--tk58-rgb), .09);
color: var(--primary-dark); margin-bottom: 12px;
}
.adv-why-ico svg { width: 19px; height: 19px; }
.adv-why-card h3 { font-size: 15px; margin-bottom: 8px; }
.adv-why-card p { font-size: 13px; line-height: 1.85; color: var(--muted); }


.adv-sec-head { padding: 34px 0 16px; scroll-margin-top: 76px; }
.adv-sec-head h2 { font-size: 22px; letter-spacing: -.01em; }
.adv-sec-head p {
font-size: 13.5px; color: var(--muted); margin-top: 8px;
max-width: 780px; line-height: 1.8;
}


.adv-pos-list { display: flex; flex-direction: column; gap: 16px; }
.adv-pos {
display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px;
padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: #fff;
}
.adv-pos.is-flip { grid-template-columns: minmax(0, 1fr) 290px; }
.adv-pos.is-flip .adv-pos-map { order: 2; }
.adv-pos-map { align-self: start; }
.adv-pos-map-cap {
display: block; margin-top: 9px; font-size: 11.5px;
color: var(--muted); text-align: center;
}
.adv-pos-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adv-pos-no {
font-size: 12px; font-weight: 700; color: var(--primary);
background: rgba(var(--tk58-rgb), .08); border-radius: 6px; padding: 2px 8px;
font-variant-numeric: tabular-nums;
}
.adv-pos-head h3 { font-size: 18px; }
.adv-pos-tag {
font-size: 11.5px; color: #a86e00; background: #fff8ea;
border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}
.adv-pos-pitch {
font-size: 14px; color: #33384c; margin-top: 10px; line-height: 1.7; font-weight: 500;
}
.adv-pos-note { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 10px; }



.adv-demo {
margin: 14px 0 0; display: grid; gap: 8px; width: 100%;
padding: 10px; border-radius: 12px; background: var(--tk94);
}
.adv-demo .ad-card { pointer-events: none; position: relative; width: 100%; }

.adv-demo-x {
position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
display: grid; place-items: center;
width: 19px; height: 19px; border-radius: 50%;
font-size: 9px; line-height: 1; color: #9aa1b8;
background: rgba(31, 35, 48, .06);
}
.adv-demo.is-banner .ad-card { min-height: 76px; }
.adv-demo .ad-card.is-photo { background: #fff; }

.adv-photo {
position: absolute; inset: 0;
background:
linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .88) 55%, rgba(255, 255, 255, .22) 100%),
linear-gradient(120deg, #c9d3f2 0%, var(--tk86) 52%, #f0cfe2 100%);
}
.adv-demo.is-phone { max-width: 320px; }
.adv-demo.is-phone .ad-card { min-height: 56px; }
.adv-demo-line {
display: flex; align-items: center; gap: 8px;
padding: 9px 12px; border-radius: 10px;
background: var(--tk96); border: 1px solid var(--border);
font-size: 12.5px; color: var(--text);
}
.adv-demo-line b { font-weight: 600; }
.adv-demo-line .ad-badge { background: var(--tk94); color: var(--primary-dark); }


.adv-spec {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 9px 20px; margin: 15px 0 0;
}
.adv-spec > div { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.65; }
.adv-spec dt { flex: none; color: var(--muted); }
.adv-spec dd { color: var(--text); }


.adv-pos-buy {
display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--border);
}
.adv-price {
display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
font-size: 26px; font-weight: 700; color: var(--primary-dark); line-height: 1.1;
font-variant-numeric: tabular-nums;
}
.adv-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.adv-price em {
font-style: normal; font-size: 12px; font-weight: 600; color: #a86e00;
background: #fff8ea; border-radius: 999px; padding: 3px 9px;
}
.adv-price i {
flex-basis: 100%; font-style: normal; font-size: 12px;
color: var(--muted); font-weight: 400;
}
.adv-pos-buy .adv-btn { margin-left: auto; }


.adv-sk {
position: relative;
display: flex; flex-direction: column; gap: 7px;
padding: 12px; border-radius: 12px; background: #fff;
border: 1px solid var(--border);
box-shadow: 0 8px 20px rgba(31, 35, 48, .05);
}
.adv-sk.is-phone {
max-width: 148px; margin: 0 auto;
border-radius: 16px; padding: 10px 8px;
}
.adv-sk-nav { height: 8px; border-radius: 3px; background: var(--tk92); }
.adv-sk-line { height: 7px; border-radius: 3px; background: #eef0f7; }
.adv-sk-line.w70 { width: 70%; }
.adv-sk-line.w60 { width: 60%; }
.adv-sk-line.w45 { width: 45%; }
.adv-sk-line.w35 { width: 35%; }
.adv-sk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.adv-sk-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adv-sk-cards i { display: block; aspect-ratio: 4 / 3; border-radius: 5px; background: #f1f3fa; }
.adv-sk-foot { height: 10px; border-radius: 3px; background: #eef0f7; margin-top: 2px; }
.adv-sk-hot {
display: flex; align-items: center; justify-content: center;
height: 30px; border-radius: 7px;
font-size: 11.5px; font-weight: 600; color: var(--primary-dark);
background: rgba(var(--tk58-rgb), .10);
border: 1.5px dashed rgba(var(--tk58-rgb), .55);
animation: advPulse 3s ease-in-out infinite;
}

.adv-sk-layer { position: absolute; left: 12px; right: 12px; bottom: 36px; }
@keyframes advPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tk58-rgb), .14); }
50% { box-shadow: 0 0 0 5px rgba(var(--tk58-rgb), .05); }
}
@media (prefers-reduced-motion: reduce) {
.adv-sk-hot { animation: none; }
}


.adv-table-wrap {
overflow-x: auto;
border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.adv-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.adv-table th {
text-align: left; padding: 12px 14px; font-size: 11.5px; font-weight: 600;
color: var(--muted); background: #fafbfe; border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.adv-table td { padding: 14px; border-bottom: 1px solid var(--tk96); vertical-align: top; }
.adv-table tr:last-child td { border-bottom: none; }
.adv-td-no { color: var(--muted); font-variant-numeric: tabular-nums; }
.adv-td-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.adv-td-price { font-weight: 700; color: var(--primary-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.adv-td-trial { font-weight: 600; color: #a86e00; white-space: nowrap; font-variant-numeric: tabular-nums; }

.adv-td-rule.adv-td-sub { display: none; }


.adv-steps {
list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px; padding: 0; margin: 0;
}
.adv-steps li {
display: flex; gap: 12px; padding: 18px;
border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.adv-steps b {
flex: none; width: 26px; height: 26px; border-radius: 8px;
display: grid; place-items: center;
background: rgba(var(--tk58-rgb), .09); color: var(--primary-dark); font-size: 13px;
}
.adv-steps h3 { font-size: 14px; margin-bottom: 6px; }
.adv-steps p { font-size: 12.5px; line-height: 1.8; color: var(--muted); }


.adv-rules {
margin-top: 22px; padding: 22px 24px;
border: 1px solid var(--border); border-radius: 16px; background: #fff;
}
.adv-rules h2 { font-size: 17px; margin-bottom: 10px; }
.adv-rules ul {
padding-left: 18px; display: grid; gap: 6px;
font-size: 13.5px; line-height: 1.8; color: var(--text);
}
.adv-rules p { margin-top: 10px; font-size: 13px; color: var(--muted); }


.adv-swap {
display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.adv-swap-card {
padding: 20px; border: 1px solid var(--tk88); border-radius: 16px;
background: linear-gradient(180deg, var(--tk98), #fff);
}
.adv-swap-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--primary-dark); }
.adv-swap-card p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.adv-swap-cta {
display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap;
margin-top: 14px;
}
.adv-swap-cta span { font-size: 12.5px; color: var(--muted); }


.adv-final {
margin: 26px 0 14px; padding: 34px 28px;
border-radius: 20px; text-align: center; color: #fff;
background: linear-gradient(120deg, var(--tk58) 0%, var(--tk64) 58%, var(--tk64) 100%);
box-shadow: 0 16px 36px rgba(var(--tk58-rgb), .22);
}
.adv-final h2 { font-size: 24px; margin-bottom: 8px; }
.adv-final p { font-size: 14px; color: rgba(255, 255, 255, .86); margin-bottom: 18px; }
.adv-final .adv-cta-row { justify-content: center; margin-top: 0; }
.adv-final .btn-primary { background: #fff; color: var(--primary-dark); }
.adv-final .btn-primary:hover { background: var(--tk96); }
.adv-final .btn-ghost {
background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45);
}
.adv-final .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }


@media (max-width: 980px) {
.adv-hero { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px 26px; }
.adv-hero h1 { font-size: 30px; }
.adv-showcase { justify-content: center; }
.adv-showcase-pc { max-width: 420px; }
.adv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adv-why { grid-template-columns: 1fr; }
.adv-swap { grid-template-columns: 1fr; }
.adv-pos, .adv-pos.is-flip { grid-template-columns: 1fr; gap: 18px; }
.adv-pos.is-flip .adv-pos-map { order: 0; }
.adv-pos-map { max-width: 340px; }
.adv-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
.adv-hero { padding: 22px 16px 22px; border-radius: 16px; }
.adv-hero h1 { font-size: 25px; }
.adv-sub { font-size: 13.5px; }
.adv-btn { padding: 10px 18px; font-size: 14px; }

.adv-hero .adv-cta-row { gap: 2px 14px; align-items: flex-start; flex-direction: column; }
.adv-hero .adv-cta-row .adv-cta-sub {
padding: 4px 0; border: 0; background: none; box-shadow: none;
color: var(--primary); font-size: 13.5px;
text-decoration: underline; text-underline-offset: 3px;
}
.adv-showcase-phone { flex: 0 0 96px; }
.adv-showcase-pc { padding: 8px; }
.adv-stat { padding: 13px 12px; }
.adv-stat b { font-size: 20px; }
.adv-pos { padding: 18px; border-radius: 16px; }
.adv-spec { grid-template-columns: 1fr; }

.adv-table { min-width: 0; font-size: 13px; }
.adv-table th:nth-child(1), .adv-table td:nth-child(1),
.adv-table th:nth-child(3), .adv-table td:nth-child(3) { display: none; }
.adv-table th, .adv-table td { padding: 11px 8px; }
.adv-table th:first-child, .adv-table td:first-child { padding-left: 12px; }
.adv-table th:last-child, .adv-table td:last-child { padding-right: 12px; }
.adv-td-sub { font-size: 11.5px; }
.adv-td-rule.adv-td-sub { display: block; }
.adv-pos-buy .adv-btn { margin-left: 0; width: 100%; }
.adv-final { padding: 26px 18px; border-radius: 16px; }
.adv-final h2 { font-size: 20px; }
}


.brand-page { padding-top: 4px; }
.brand-btn { padding: 11px 22px; font-size: 14.5px; border-radius: 11px; }
.brand-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.brand-btn-ghost { padding: 10px 18px; font-size: 14px; border-radius: 11px; }


.brand-hero {
position: relative;
padding: 30px 32px 32px;
border: 1px solid var(--border);
border-radius: 22px;
background:
radial-gradient(56% 88% at 2% 0%, rgba(var(--tk58-rgb), .09), transparent 72%),
radial-gradient(48% 76% at 100% 6%, rgba(var(--tk64-rgb), .08), transparent 70%),
#fff;
overflow: hidden;
}

.brand-hero.has-cover {
background-image:
linear-gradient(115deg, rgba(20, 22, 34, .82) 0%, rgba(28, 30, 48, .66) 58%, rgba(38, 30, 62, .58) 100%),
var(--brand-cover);
background-size: cover;
background-position: center;
border-color: rgba(255, 255, 255, .1);
color: #fff;
}
.brand-hero.has-cover .brand-tagline,
.brand-hero.has-cover .brand-lead { color: rgba(255, 255, 255, .86); }
.brand-hero.has-cover .brand-lead { border-left-color: rgba(255, 255, 255, .3); }
.brand-hero.has-cover .brand-flag {
background: rgba(255, 255, 255, .92); border-color: transparent; color: #3b3f4f;
}
.brand-hero.has-cover .brand-flag-txt { color: rgba(255, 255, 255, .8); }
.brand-hero.has-cover .brand-btn-ghost {
color: #fff; border-color: rgba(255, 255, 255, .42); background: transparent;
}
.brand-hero.has-cover .brand-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }


.brand-flag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.brand-flag {
display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
color: #4a5065; background: var(--tk94);
border: 1px solid rgba(31, 35, 48, .1); border-radius: 5px;
}

.brand-flag.is-coop { color: #2f6b57; background: #eef7f2; border-color: rgba(47, 107, 87, .18); }
.brand-flag-txt { font-size: 12px; color: var(--muted); }

.brand-hero-main { display: flex; align-items: center; gap: 16px; }
.brand-logo {
flex: 0 0 auto; width: 62px; height: 62px; border-radius: 16px; overflow: hidden;
display: flex; align-items: center; justify-content: center;
background: #fff; border: 1px solid var(--border);
box-shadow: 0 6px 16px rgba(31, 35, 48, .07);
}
.brand-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-logo-txt {
font-size: 26px; font-weight: 700; color: var(--primary);
background: linear-gradient(120deg, rgba(var(--tk58-rgb), .1), rgba(var(--tk64-rgb), .1));
width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.brand-hero-id { min-width: 0; }
.brand-hero h1 { font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.brand-tagline { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #4a5065; }
.brand-lead {
margin-top: 20px; padding-left: 14px; border-left: 2px solid rgba(var(--tk58-rgb), .32);
font-size: 15px; line-height: 1.95; color: #3d4356; max-width: 760px;
}


.brand-story, .brand-who {
margin-top: 18px; padding: 28px 32px;
border: 1px solid var(--border); border-radius: 20px; background: #fff;
}
.brand-story h2, .brand-who h2 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.brand-prose p {
font-size: 15px; line-height: 2; color: #3d4356; max-width: 760px;
margin-bottom: 14px;
}
.brand-prose p:last-child { margin-bottom: 0; }

.brand-points {
display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px; margin-top: 18px;
}
.brand-point {
padding: 20px 22px; background: #fff;
border: 1px solid var(--border); border-radius: 18px;
}
.brand-point h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.brand-point p { font-size: 13.5px; line-height: 1.85; color: #5a6076; }

.brand-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.brand-shot { border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; }
.brand-shot img { display: block; width: 100%; height: auto; }
.brand-shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--tk96); }

.brand-shots .brand-shot:only-child { grid-column: 1 / -1; }

.brand-who ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.brand-who li {
font-size: 13px; color: #4a5065; background: var(--tk96);
border: 1px solid var(--tk94); border-radius: 999px; padding: 7px 14px;
}

.brand-final {
margin: 20px 0 0; padding: 32px 28px; border-radius: 20px; text-align: center;
background: linear-gradient(120deg, var(--tk58) 0%, var(--tk64) 58%, var(--tk64) 100%);
color: #fff; box-shadow: 0 16px 36px rgba(var(--tk58-rgb), .2);
}
.brand-final h2 { font-size: 22px; margin-bottom: 8px; }
.brand-final p { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .86); max-width: 620px; margin: 0 auto; }
.brand-final .brand-cta-row { justify-content: center; }
.brand-final .btn-primary { background: #fff; color: var(--primary-dark); }
.brand-final .btn-primary:hover { background: var(--tk96); }

.brand-disclaimer {
margin: 16px 0 6px; font-size: 12px; line-height: 1.9; color: var(--muted);
}
.brand-disclaimer b { color: #4a5065; }
.brand-disclaimer a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.brand-missing {
padding: 56px 26px; text-align: center; background: #fff;
border: 1px solid var(--border); border-radius: 20px;
}
.brand-missing h1 { font-size: 22px; margin-bottom: 10px; }
.brand-missing p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-bottom: 18px; }

@media (max-width: 980px) {
.brand-hero { padding: 26px 22px 26px; }
.brand-hero h1 { font-size: 26px; }
.brand-points { grid-template-columns: 1fr; }
.brand-shots { grid-template-columns: 1fr; }
.brand-story, .brand-who { padding: 24px 22px; }
}
@media (max-width: 560px) {
.brand-hero { padding: 20px 16px 22px; border-radius: 16px; }
.brand-hero h1 { font-size: 23px; }
.brand-logo { width: 52px; height: 52px; border-radius: 14px; }
.brand-lead { font-size: 14px; line-height: 1.9; padding-left: 11px; }
.brand-prose p { font-size: 14.5px; line-height: 1.95; }
.brand-story, .brand-who { padding: 20px 16px; border-radius: 16px; }
.brand-point { padding: 16px 18px; border-radius: 14px; }
.brand-final { padding: 24px 16px; border-radius: 16px; }
.brand-final h2 { font-size: 19px; }
.brand-cta-row { gap: 10px; }
.brand-hero .brand-cta-row .brand-btn-ghost { padding: 4px 0; border: 0; background: none; color: var(--primary); font-size: 13.5px; }
}


.ent-page { padding-top: 4px; }
.ent-page .breadcrumb { padding-bottom: 14px; }
.ent-btn { padding: 11px 22px; font-size: 14.5px; border-radius: 11px; }
.ent-btn-ghost { padding: 10px 18px; font-size: 14px; border-radius: 11px; }
.ent-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.ent-cta-hint { font-size: 12.5px; color: var(--muted); }


.ent-hero {
padding: 34px 32px 30px;
border: 1px solid var(--border);
border-radius: 22px;
background:
radial-gradient(58% 90% at 4% 0%, rgba(var(--tk58-rgb), .10), transparent 72%),
radial-gradient(46% 76% at 100% 4%, rgba(var(--tk64-rgb), .08), transparent 70%),
#fff;
}
.ent-eyebrow {
display: inline-flex; align-items: center;
padding: 3px 10px; border-radius: 999px;
font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
color: var(--tk46); background: rgba(var(--tk58-rgb), .08);
}
.ent-hero h1 {
font-size: 38px; line-height: 1.28; font-weight: 700; letter-spacing: -.01em;
margin: 16px 0 14px;
}

.ent-hero h1 em {
font-style: normal;
background: linear-gradient(transparent 64%, rgba(var(--tk58-rgb), .16) 0);
padding: 0 2px;
}
.ent-sub { font-size: 15.5px; line-height: 1.95; color: #3d4356; max-width: 740px; }
.ent-sub b { color: var(--text); }
.ent-chips { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.ent-chips span + span::before { content: '·'; margin: 0 9px; color: #c7cad6; }

.ent-fact {
margin-top: 16px; padding: 12px 16px;
border-left: 2px solid rgba(var(--tk58-rgb), .3); border-radius: 0 10px 10px 0;
background: var(--tk98); font-size: 13px; line-height: 1.9; color: var(--muted);
}
.ent-fact b { color: var(--text); }


.ent-sec { margin-top: 36px; }
.ent-sec-head h2 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.ent-sec-head p { font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 740px; }

.ent-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.ent-cards.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ent-card { padding: 20px 22px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.ent-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ent-card p { font-size: 13.5px; line-height: 1.85; color: #5a6076; }
.ent-card p b { color: var(--text); }


.ent-no {
list-style: none; margin-top: 16px;
border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden;
}
.ent-no li {
display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
gap: 8px 18px; padding: 16px 22px;
border-top: 1px solid var(--border);
}
.ent-no li:first-child { border-top: 0; }
.ent-no b { font-size: 14px; font-weight: 600; color: var(--text); }
.ent-no span { font-size: 13px; line-height: 1.8; color: var(--muted); }

.ent-note {
margin-top: 14px; padding: 14px 16px; border-radius: 12px;
background: var(--tk98); font-size: 12.5px; line-height: 1.9; color: #5a6076;
}
.ent-note b { color: var(--text); }


.ent-steps {
list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px; margin-top: 16px;
}
.ent-steps li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.ent-steps b {
flex: none; width: 26px; height: 26px; border-radius: 8px;
display: grid; place-items: center;
background: rgba(var(--tk58-rgb), .09); color: var(--primary-dark); font-size: 13px;
}
.ent-steps h3 { font-size: 14px; margin-bottom: 6px; }
.ent-steps p { font-size: 12.5px; line-height: 1.85; color: var(--muted); }


.ent-faq {
margin-top: 16px; padding: 2px 22px;
border: 1px solid var(--border); border-radius: 18px; background: #fff;
}
.ent-faq details { padding: 15px 0; border-top: 1px solid var(--border); }
.ent-faq details:first-child { border-top: 0; }
.ent-faq summary {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--text);
}
.ent-faq summary::-webkit-details-marker { display: none; }
.ent-faq summary::after { content: '+'; flex: none; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.ent-faq details[open] summary::after { content: '−'; }
.ent-faq p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: #5a6076; max-width: 780px; }
.ent-faq a { color: var(--primary); }


.ent-final {
margin-top: 36px; padding: 34px 32px;
border: 1px solid var(--border); border-radius: 22px;
background:
radial-gradient(70% 100% at 50% 0%, rgba(var(--tk58-rgb), .09), transparent 70%),
#fff;
text-align: center;
}
.ent-final h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.ent-final p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.ent-final .ent-cta-row { justify-content: center; }

.ent-disclaimer { margin: 22px 0 6px; font-size: 12px; line-height: 1.95; color: #8a90a8; max-width: 840px; }
.ent-disclaimer a { color: var(--primary); }

@media (max-width: 980px) {
.ent-hero { padding: 26px 22px 24px; }
.ent-hero h1 { font-size: 30px; }
.ent-cards, .ent-cards.is-three, .ent-steps { grid-template-columns: 1fr; }
.ent-no li { grid-template-columns: 1fr; gap: 4px; }
.ent-final { padding: 26px 22px; }
}
@media (max-width: 560px) {
.ent-hero { padding: 20px 16px 22px; border-radius: 16px; }
.ent-hero h1 { font-size: 24px; }
.ent-sub { font-size: 14px; line-height: 1.9; }
.ent-card { padding: 16px 18px; border-radius: 14px; }
.ent-no { border-radius: 14px; }
.ent-no li { padding: 14px 16px; }
.ent-faq { padding: 2px 16px; border-radius: 14px; }
.ent-final { padding: 22px 16px; border-radius: 16px; }
.ent-final h2 { font-size: 19px; }
.ent-cta-row { gap: 10px; }
}


.site-bot.dm-jar-ready::after {
content: '✦';
position: absolute;
top: -4px;
right: 4px;
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
line-height: 1;
color: #b8860b;
background: #fff7dc;
border: 1px solid #ecd9a0;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(184, 134, 11, .25);
pointer-events: none;
animation: dmJarPulse 1.8s ease-in-out infinite;
}
@keyframes dmJarPulse {
0%, 100% { transform: scale(1); opacity: .85; }
50%      { transform: scale(1.18); opacity: 1; }
}

.jar-fly-star {
position: fixed;
z-index: 99998;
color: #ffd977;
font-size: 15px;
line-height: 1;
pointer-events: none;
text-shadow: 0 1px 4px rgba(184, 134, 11, .35);
animation: jarFlyUp 1.15s ease-out forwards;
}
html.dm-quiet .jar-fly-star { display: none; }
@keyframes jarFlyUp {
0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
18%  { opacity: 1; transform: translate(0, -4px) scale(1); }
100% { transform: translate(var(--jar-dx, 6px), -34px) scale(.75); opacity: 0; }
}



.chat-work-ref {
width: 100%;
margin-top: 6px;
padding: 7px 12px;
font-size: 12.5px;
color: var(--text);
background: var(--tk98);
border: 1px dashed var(--tk88);
border-radius: 9px;
outline: none;
transition: border-color .15s, background .15s;
}
.chat-work-ref::placeholder { color: #b6b2cc; }
.chat-work-ref:focus { border-color: var(--tk84); border-style: solid; background: #fff; }


.ref-suggest {
margin-top: 4px;
border: 1px solid var(--tk92);
border-radius: 10px;
background: #fff;
box-shadow: 0 6px 18px rgba(60, 50, 150, .10);
overflow: hidden;
}
.rs-item {
display: flex; align-items: baseline; gap: 8px; width: 100%;
font: inherit; font-size: 12.5px; text-align: left; padding: 7px 12px;
border: none; background: none; cursor: pointer;
}
.rs-item:hover { background: var(--tk98); }
.rs-item b { font-weight: 600; color: var(--tk50); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-item i { font-style: normal; flex: none; font-size: 11.5px; color: var(--muted); }
.rs-none { padding: 8px 12px; font-size: 12px; color: var(--muted); }


.bh-work {
align-self: flex-start;
display: inline-flex;
align-items: center;
gap: 4px;
max-width: 100%;
margin-top: 2px;
padding: 2px 8px;
font-size: 11px;
font-weight: 500;
color: #4a4680;
background: var(--tk94);
border-radius: 999px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
transition: background .15s, color .15s;
}
.bh-work:hover { background: var(--tk92); color: var(--primary); }


.br-work {
flex: 0 1 auto;
min-width: 0;
max-width: 46%;
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 9px;
font-size: 11.5px;
color: #4a4680;
background: var(--tk94);
border-radius: 999px;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: background .15s, color .15s;
}
.br-work:hover { background: var(--tk92); color: var(--primary); }
.br-work .ico { flex: none; }

.br-work-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.br-meta .wish-status {
flex: 0 1 auto; min-width: 0; max-width: 46%;
padding: 1px 8px; border-radius: 999px; font-size: 11.5px; line-height: 1.6;
background: var(--tk96); color: var(--muted);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.br-meta .wish-status.is-done { background: #eaf7f0; color: #1f8a4c; }
.br-meta .wish-status.is-claimed { background: #fff5e6; color: #a2600a; }

@media (max-width: 640px) {
.br-work { max-width: 46%; font-size: 11px; }
}


.pubok-modal { max-width: 460px; padding: 28px 24px 22px; }
.pubok-modal .close-btn { background: none; box-shadow: none; font-size: 16px; color: var(--muted); }
.pubok-hero { text-align: center; padding: 6px 0 4px; }
.pubok-burst { display: block; margin: 0 auto -34px; }
.pubok-check {
width: 56px; height: 56px; margin: 0 auto 10px;
border-radius: 50%; background: var(--primary);
display: flex; align-items: center; justify-content: center;
}
.pubok-title { margin: 0; font-size: 20px; color: var(--text); }
.pubok-sub { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.pubok-sub b { color: var(--primary); font-size: 15px; }
.pubok-sec { margin-top: 22px; }
.pubok-sec-head { margin: 0 0 10px; font-size: 14px; color: var(--text); }

.pubok-find .pubok-hint { margin: 0 0 12px; }
.pubok-find-btn {
display: inline-flex; align-items: center; gap: 7px;
padding: 9px 18px; border-radius: 999px; border: none; cursor: pointer;
font-size: 14px; font-weight: 600; font-family: inherit;
background: rgba(var(--tk68-rgb), 0.12); color: var(--primary);
transition: background 0.15s ease;
}
.pubok-find-btn:hover { background: rgba(var(--tk68-rgb), 0.2); }
.pubok-find-btn .hf-star { font-size: 13px; }
.pubok-composer {
display: flex; gap: 10px; align-items: flex-start;
padding: 12px; border: 1px solid var(--border); border-radius: 12px;
background: var(--card);
}
.pubok-ava { flex: none; width: 34px; height: 34px; font-size: 15px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.pubok-composer textarea {
flex: 1; min-width: 0; border: none; background: none; resize: none;
padding: 6px 2px; font-size: 14px; line-height: 1.6; color: var(--text);
font-family: inherit;
}
.pubok-composer textarea:focus { outline: none; }
.pubok-composer textarea::placeholder { color: var(--muted); }
.pubok-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pubok-chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 5px 12px; border-radius: 999px;
border: 1px solid var(--border); font-size: 13px; color: var(--text);
background: var(--card);
}
.pubok-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.pubok-send { margin-left: auto; padding: 7px 18px; font-size: 13.5px; }
.pubok-send[disabled] { opacity: .6; cursor: default; }
.pubok-hint { margin: 9px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.pubok-share { display: flex; gap: 26px; }
.pubok-share-item {
border: none; background: none; cursor: pointer; padding: 0;
display: flex; flex-direction: column; align-items: center; gap: 7px;
font-size: 12px; color: var(--text); font-family: inherit;
}
.pubok-share-ico {
width: 44px; height: 44px; border-radius: 50%;
background: #eef1fb; color: var(--primary);
display: flex; align-items: center; justify-content: center;
transition: filter .15s;
}
.pubok-share-item:hover .pubok-share-ico { filter: brightness(.96); }


.chat-ref-chip {
display: inline-flex; align-items: center; gap: 6px;
margin-top: 6px; max-width: 100%;
padding: 4px 6px 4px 10px;
font-size: 12.5px; color: var(--tk50);
background: var(--tk96); border: 1px solid var(--tk92); border-radius: 999px;
}
.chat-ref-chip[hidden] { display: none; }
.chat-ref-chip .ico { flex: none; width: 12px; height: 12px; }
.chat-ref-chip b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-ref-chip-del {
flex: none; border: none; background: none; cursor: pointer;
font-size: 12px; line-height: 1; color: var(--tk68); padding: 2px 3px;
}
.chat-ref-chip-del:hover { color: var(--tk50); }
.chat-tag-btn .ico { width: 12px; height: 12px; margin-right: 2px; vertical-align: -0.12em; }


.br-stat-btn { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.br-stat-btn b { font-weight: 600; }
.br-stat-btn:hover { color: var(--primary); }
.br-stat-like.is-on { color: var(--primary); }


.list-dym { border: 0; background: none; color: var(--primary); font: inherit; font-size: 13px; padding: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.list-dym[hidden] { display: none; }
.list-dym:hover { text-decoration: underline; }



.card:has(.card-actions) { container-type: inline-size; }
.card-actions {

--sz: 19px;                         
--r: 56px;                          

--sz: clamp(18px, 7.7cqw, 19px);    
--r: clamp(48px, 22cqw, 56px);      
--a0: 8deg;              
--da: 24deg;             
position: absolute; right: 10px; bottom: 20px; z-index: 4;
width: var(--sz); height: var(--sz);

pointer-events: none;
}


.card-actions .ca-glow {
position: absolute; left: 50%; top: 50%; z-index: 0;
width: calc(var(--r) * 1.7); height: calc(var(--r) * 1.7);
margin: calc(var(--r) * -0.85) 0 0 calc(var(--r) * -0.85);
border-radius: 50%; pointer-events: none;

background:
radial-gradient(circle at 50% 50%, rgba(22, 16, 58, .11) 0%, rgba(22, 16, 58, .04) 30%, rgba(22, 16, 58, 0) 68%),
radial-gradient(circle at 50% 50%, rgba(var(--tk68-rgb), .15) 0%, rgba(var(--tk68-rgb), .05) 36%, rgba(var(--tk68-rgb), 0) 66%);
opacity: 0; transform: scale(.55);
transition: opacity .34s ease, transform .55s cubic-bezier(.2, 1.05, .35, 1);
}


.card-actions::before {
content: ''; position: absolute; left: 50%; top: 50%; z-index: 1;
width: calc(var(--r) * 2.6); height: calc(var(--r) * 2.6);
margin: calc(var(--r) * -1.3) 0 0 calc(var(--r) * -1.3);
border-radius: 50%; pointer-events: none;
background: radial-gradient(circle at 50% 50%,
rgba(255, 206, 142, .58)   0%,
rgba(255, 216, 162, .30)  20%,
rgba(255, 226, 182, .10)  38%,
rgba(255, 236, 200, 0)    58%);
opacity: 0; transform: scale(.25);
}


.card-actions::after {
content: ''; position: absolute; left: 50%; top: 50%; z-index: 0;
width: calc(var(--r) * 2.4); height: calc(var(--r) * 2.4);
margin: calc(var(--r) * -1.2) 0 0 calc(var(--r) * -1.2);
border-radius: 50%; pointer-events: none;
}


.card-actions .ca-item {
position: absolute; inset: 0; z-index: 2;
width: var(--sz); height: var(--sz);
padding: 0; border: 0; background: none;
display: block; cursor: pointer;
pointer-events: auto;                 
--ang: calc(var(--a0) + var(--i, 0) * var(--da, 0deg));
transform: rotate(calc(var(--ang) * -.5)) translateY(0) scale(.3);
opacity: 0; visibility: hidden;
transition: transform .3s cubic-bezier(.4, 0, .7, .25),
opacity .16s ease,
visibility 0s linear .3s;
}


.card-actions .ca-face {
position: absolute; inset: 0; border-radius: 50%;
display: grid; place-items: center;
background: linear-gradient(150deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .82));
box-shadow: 0 5px 16px rgba(24, 18, 66, .26), 0 0 0 1px rgba(28, 22, 70, .07),
inset 0 1px 0 rgba(255, 255, 255, .95);

transition: transform .26s cubic-bezier(.2, 1.4, .4, 1), background .22s ease,
color .22s ease, box-shadow .26s ease;
}
.card-actions .ca-face svg { width: 13px; height: 13px; display: block; }
.card-actions .ca-item:hover .ca-face { transform: scale(1.14); }

.card-actions .ca-item:hover { z-index: 5; }
.card-actions .ca-item:active .ca-face { transform: scale(.96); }


.card-actions .ca-tip {
position: absolute; top: 50%; right: calc(100% + 8px);
padding: 5px 9px; border-radius: 999px; white-space: nowrap;
font-size: 11.5px; font-weight: 600; line-height: 1; letter-spacing: .02em;
color: #fff; background: rgba(24, 20, 52, .8);
box-shadow: 0 6px 18px rgba(18, 12, 48, .28);
opacity: 0; pointer-events: none;
transform: translateY(-50%) translateX(5px);
transition: opacity .16s ease, transform .24s cubic-bezier(.2, 1.3, .4, 1);
}
.card-actions .ca-item:hover .ca-tip { opacity: 1; transform: translateY(-50%) translateX(0); }


.card-actions .ca-like .ca-face { color: #6f7390; }
.card-actions .ca-fav:not(.active) .ca-face svg { filter: grayscale(1); opacity: .48; }
.card-actions .ca-share .ca-face,
.card-actions .ca-block .ca-face { color: #767b9c; }

.card-actions .ca-like:hover .ca-face {
background: linear-gradient(145deg, #ff97a4, #ef4f66);
color: #fff; box-shadow: 0 8px 22px rgba(229, 72, 77, .45);
}
.card-actions .ca-fav:hover .ca-face {
background: linear-gradient(145deg, #ffe9b0, #f6b73c);
box-shadow: 0 8px 22px rgba(240, 165, 0, .42);
}
.card-actions .ca-share:hover .ca-face {
background: linear-gradient(145deg, var(--tk70), var(--tk52));
color: #fff; box-shadow: 0 8px 22px rgba(var(--tk58-rgb), .45);
}
.card-actions .ca-block:hover .ca-face {
background: linear-gradient(145deg, #8e93b3, #4f5468);
color: #fff; box-shadow: 0 8px 22px rgba(50, 54, 74, .42);
}
.card-actions .ca-lamp:hover .ca-face {
background: linear-gradient(145deg, #ffcf7a, #f0913f);
box-shadow: 0 8px 22px rgba(240, 145, 63, .45);
}


.card-actions .ca-like.active .ca-face {
background: linear-gradient(150deg, #fff, #ffe7ea);
color: var(--danger);
box-shadow: 0 6px 18px rgba(229, 72, 77, .3), inset 0 0 0 1px rgba(229, 72, 77, .22);
}
.card-actions .ca-fav.active .ca-face {
background: linear-gradient(150deg, #fff, #fff3d8);
box-shadow: 0 6px 18px rgba(240, 165, 0, .3), inset 0 0 0 1px rgba(240, 165, 0, .22);
}


.card-actions .ca-trigger {
position: absolute; inset: 0; z-index: 3;
width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%;
display: grid; place-items: center; cursor: pointer;
pointer-events: auto;                 

background: linear-gradient(150deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .30));

box-shadow: 0 4px 12px rgba(24, 18, 66, .16), 0 0 0 1px rgba(255, 255, 255, .58),
inset 0 0 0 1px rgba(var(--tk42-rgb), .13), inset 0 1px 0 rgba(255, 255, 255, .8);

transition: background .3s ease, box-shadow .3s ease, transform .4s cubic-bezier(.2, 1.2, .4, 1);
}
.card-actions .ca-spark { display: block; line-height: 0; opacity: .82; transition: opacity .3s ease; }
.card-actions .ca-trigger svg {
width: 14px; height: 14px; display: block;
transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}

.card-actions .ca-trigger::before {
content: ''; position: absolute; inset: -9px; border-radius: 50%;
}

.card-actions .ca-dot {
position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%;
background: linear-gradient(145deg, #ff8b98, #e5484d); border: 1.5px solid #fff;
opacity: 0; transform: scale(.3);
transition: opacity .2s ease, transform .32s cubic-bezier(.2, 1.4, .4, 1);
}
.card-actions:has(.ca-item.active) .ca-dot { opacity: 1; transform: scale(1); }


.card-actions.is-open .ca-item,
.card-actions:has(:focus-visible) .ca-item {
transform: rotate(calc(var(--ang) * -1)) translateY(calc(var(--r) * -1)) rotate(var(--ang)) scale(1);
opacity: 1; visibility: visible;
transition: transform .46s cubic-bezier(.22, 1.16, .36, 1) calc(30ms + var(--i, 0) * 30ms),
opacity .18s ease calc(30ms + var(--i, 0) * 30ms),
visibility 0s linear calc(30ms + var(--i, 0) * 30ms);
}
.card-actions.is-open .ca-glow,
.card-actions:has(:focus-visible) .ca-glow { opacity: 1; transform: scale(1); }
.card-actions.is-open::before,
.card-actions:has(:focus-visible)::before { animation: caLux .52s cubic-bezier(.25, .7, .3, 1) both; }
.card-actions.is-open .ca-trigger,
.card-actions:has(:focus-visible) .ca-trigger {
background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(var(--tk98-rgb), .9));
box-shadow: 0 0 0 3px rgba(255, 196, 132, .26), 0 8px 20px rgba(240, 168, 92, .26),
inset 0 1px 0 rgba(255, 255, 255, .95);
transform: scale(.87);
}
.card-actions.is-open .ca-spark,
.card-actions:has(:focus-visible) .ca-spark { opacity: 1; }
.card-actions.is-open .ca-trigger svg,
.card-actions:has(:focus-visible) .ca-trigger svg { transform: rotate(-90deg) scale(1.08); }

@media (hover: hover) {
.card-actions:hover .ca-item {
transform: rotate(calc(var(--ang) * -1)) translateY(calc(var(--r) * -1)) rotate(var(--ang)) scale(1);
opacity: 1; visibility: visible;
transition: transform .46s cubic-bezier(.22, 1.16, .36, 1) calc(30ms + var(--i, 0) * 30ms),
opacity .18s ease calc(30ms + var(--i, 0) * 30ms),
visibility 0s linear calc(30ms + var(--i, 0) * 30ms);
}
.card-actions:hover .ca-glow { opacity: 1; transform: scale(1); }
.card-actions:hover::before { animation: caLux .52s cubic-bezier(.25, .7, .3, 1) both; }

.card-actions:hover::after { pointer-events: auto; }
.card-actions:hover .ca-trigger {
background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(var(--tk98-rgb), .9));
box-shadow: 0 0 0 3px rgba(255, 196, 132, .26), 0 8px 20px rgba(240, 168, 92, .26),
inset 0 1px 0 rgba(255, 255, 255, .95);
transform: scale(.87);
}
.card-actions:hover .ca-spark { opacity: 1; }
.card-actions:hover .ca-trigger svg { transform: rotate(-90deg) scale(1.08); }
}


@keyframes caLux {
0%   { transform: scale(.25); opacity: 0; }
20%  { opacity: 1; }
100% { transform: scale(1.15); opacity: 0; }
}


@media (max-width: 640px) {
.card-actions { bottom: 16px; right: 8px; }
.card-actions .ca-face svg { width: 12px; height: 12px; }
.card-actions .ca-trigger svg { width: 13px; height: 13px; }
}


@media (prefers-reduced-motion: reduce) {
.card-actions .ca-item,
.card-actions.is-open .ca-item,
.card-actions:has(:focus-visible) .ca-item,
.card-actions:hover .ca-item {
transition: none;
}
.card-actions .ca-glow,
.card-actions .ca-trigger svg,
.card-actions .ca-tip,
.card-actions .ca-face,
.card-actions .ca-dot { transition: none; }
.card-actions::before { animation: none !important; opacity: 0 !important; }
}




.author-follow-btn,
.detail-follow {
display: inline-flex; align-items: center; gap: 4px;
font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1;
padding: 5px 12px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--primary); background: var(--primary); color: #fff;
-webkit-tap-highlight-color: transparent;
transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.author-follow-btn:hover,
.detail-follow:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.author-follow-btn:active,
.detail-follow:active { transform: scale(.96); }
.author-follow-btn.is-on,
.detail-follow.is-on { background: #fff; color: var(--primary); border-color: var(--tk90); }
.author-follow-btn.is-on:hover,
.detail-follow.is-on:hover { background: #fff5f5; color: var(--danger); border-color: #f0c9cb; }

.author-follow-btn {
background: #fff; color: var(--primary); border-color: rgba(255, 255, 255, .92);
box-shadow: 0 2px 10px rgba(28, 24, 66, .18);
}
.author-follow-btn:hover {
background: #fff; color: var(--primary-dark); border-color: #fff;
box-shadow: 0 3px 13px rgba(28, 24, 66, .24);
}
.author-follow-btn.is-on {
background: rgba(255, 255, 255, .86); color: #5d6180;
border-color: rgba(255, 255, 255, .5); box-shadow: none;
}
.author-follow-btn.is-on:hover { background: #fff; color: var(--danger); border-color: #fff; }
.author-follow-btn .ico,
.detail-follow .ico { font-size: 1.05em; }
.author-follow-btn .fb-num,
.detail-follow .fb-num { font-weight: 500; opacity: .7; }

.author-follow-btn .ico,
.detail-follow .ico { padding: 0; background: none; border-radius: 0; }


.detail-author-card {
display: none;   
background: var(--tk96); border: 1px solid var(--border); border-radius: 14px;
padding: 14px 16px 16px; margin: 0 0 14px;
}
.dac-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dac-ava {
flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
border: none; padding: 0; cursor: pointer; overflow: hidden;
font: inherit; font-size: 20px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
-webkit-tap-highlight-color: transparent;
}

.dac-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dac-ava { position: relative; }
.dac-id { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.dac-name {
border: none; background: none; padding: 0; cursor: pointer;
font: inherit; font-size: 16px; font-weight: 700; color: var(--text);
max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
-webkit-tap-highlight-color: transparent;
}
.dac-name:hover { color: var(--primary); }
.dac-sub { font-size: 12px; color: var(--muted); line-height: 1.3; }

.dac-cert { margin-left: auto; flex: 0 0 auto; }
.dac-cert .author-tag { transform: scale(.92); transform-origin: right center; }

.dac-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; }

.dac-stats {
display: grid; grid-template-columns: repeat(4, 1fr);
margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.dac-stat {
display: flex; flex-direction: column; align-items: center; gap: 3px;
font-size: 12px; color: var(--muted); line-height: 1;
}
.dac-stat b { font-size: 16px; color: var(--text); font-weight: 700; }
.dac-stat + .dac-stat { border-left: 1px solid var(--border); }

.detail-follow.dac-follow {
width: 100%; justify-content: center; margin-top: 12px;
font-size: 14px; padding: 10px 14px; border-radius: 10px;
}

@media (max-width: 560px) {
.detail-author-card { padding: 12px 12px 14px; }
.dac-ava { width: 40px; height: 40px; font-size: 17px; }
.dac-name { font-size: 15px; }
}


.fl-list { display: flex; flex-direction: column; gap: 10px; }
.fl-row {
display: flex; align-items: center; gap: 12px;
padding: 12px 14px; background: var(--card);
border: 1px solid var(--border); border-radius: 14px;
transition: border-color .15s, box-shadow .15s;
}
.fl-row:hover { border-color: var(--tk90); box-shadow: 0 4px 14px rgba(var(--tk58-rgb), .06); }
.fl-ava {
position: relative; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
display: flex; align-items: center; justify-content: center;
font-size: 16px; font-weight: 700; overflow: hidden;
}
.fl-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.fl-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.fl-fans { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.fl-latest { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-follow {
flex: 0 0 auto; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
padding: 6px 14px; border-radius: 999px;
border: 1px solid var(--tk92); background: var(--tk96); color: var(--primary);
transition: background .15s, border-color .15s, color .15s;
}
.fl-follow:hover { background: #fff5f5; border-color: #f0c9cb; color: var(--danger); }

.nc-follow { background: #fff1e6; color: #a4560f; }

@media (max-width: 640px) {
.fl-row { padding: 11px 12px; gap: 10px; }
.fl-ava { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
.fl-latest { font-size: 12px; }
.fl-follow { padding: 6px 12px; }
}


.task-wrap { max-width: 720px; margin: 0 auto; padding: 0 0 44px; }
@media (min-width: 900px) {
.task-wrap { max-width: 980px; }
}
@media (min-width: 1200px) {
.task-wrap { max-width: 1200px; }
}
.task-hero {
position: relative; display: flex; align-items: center; gap: 16px;
padding: 22px 24px; border-radius: 18px; overflow: hidden; color: #fff;
background: linear-gradient(135deg, var(--tk54) 0%, var(--tk64) 52%, var(--tk72) 100%);
box-shadow: 0 10px 26px rgba(var(--tk58-rgb), .22);
}
.task-hero::after {
content: ""; position: absolute; right: -46px; top: -70px; width: 210px; height: 210px;
border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none;
}
.task-hero.is-done { background: linear-gradient(135deg, #2f7a5c 0%, #3f9c74 60%, #62b992 100%); box-shadow: 0 10px 26px rgba(47, 122, 92, .2); }
.task-hero-txt { position: relative; z-index: 1; min-width: 0; }
.task-kicker { display: inline-block; font-size: 12px; letter-spacing: .08em; opacity: .88; margin-bottom: 5px; }
.task-hero-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.task-hero-title em { font-style: normal; font-size: 27px; color: #ffe08a; margin: 0 3px; }
.task-hero-txt p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .87); }
.task-hero-lamp {
position: relative; z-index: 1; margin-left: auto; flex: none; width: 56px; height: 56px;
border-radius: 17px; background: rgba(255, 255, 255, .17);
display: flex; align-items: center; justify-content: center;
}
.task-hero-lamp svg { width: 30px; height: 30px; }
.task-sec { margin-top: 22px; }
.task-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 10px; }
.task-sec-head h3 { font-size: 15px; font-weight: 700; }
.task-sec-head span { font-size: 12px; color: var(--muted); }
.task-list { list-style: none; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 0; }

.task-more { list-style: none; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 0; }
.task-item { position: relative; }
.task-item + .task-item::before {
content: ""; position: absolute; left: 60px; right: 14px; top: 0; border-top: 1px solid var(--tk94);
}

@media (min-width: 900px) {
.task-list,
.task-more {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
align-items: start;
background: transparent;
border: 0;
border-radius: 0;
padding: 0;
}
.task-list > .task-item,
.task-more > li {
background: var(--card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 4px 0;
margin: 0 !important;
}

.task-item + .task-item::before,
.task-more-row + .task-more-row::before { display: none; }
}
@media (min-width: 1200px) {
.task-list,
.task-more {
grid-template-columns: 1fr 1fr 1fr;
}
}
.task-row { display: flex; align-items: center; gap: 12px; padding: 14px; }
.task-ico {
flex: none; width: 34px; height: 34px; border-radius: 11px;
background: var(--tk96); color: var(--primary);
display: flex; align-items: center; justify-content: center;
}
.task-ico svg { width: 18px; height: 18px; }
.task-ico[data-kind="wechat"] { background: #e7f7ec; color: #1aad19; }
.task-ico[data-kind="google"] { background: #f2f4f8; }
.task-ico[data-kind="phone"] { background: var(--tk94); color: var(--tk56); }
.task-item.is-done .task-ico { background: #e9f7ef; color: #188a5c; }
.task-main { flex: 1; min-width: 0; }
.task-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-title b { font-size: 14px; font-weight: 600; }
.task-pill {
font-size: 11.5px; font-weight: 700; color: #b45309;
background: #fff6e6; border: 1px solid #ffe2b0; border-radius: 999px; padding: 1px 8px;
}
.task-main p { margin-top: 3px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.task-btn {
flex: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--primary);
background: var(--primary); color: #fff; font: inherit; font-size: 13px; font-weight: 600;
cursor: pointer; transition: background .15s, border-color .15s;
}
.task-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.task-btn:disabled { opacity: .6; cursor: default; }
.task-btn.ghost { background: #fff; color: var(--primary); }
.task-btn.ghost:hover { background: var(--tk96); color: var(--primary-dark); }
.task-done { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #188a5c; }
.task-done svg { width: 14px; height: 14px; }
.task-done.is-muted { color: var(--muted); }

.task-steps { padding: 0 14px 16px 60px; }
.task-steps[hidden] { display: none; }
.task-steps-inner { background: var(--tk98); border: 1px solid var(--tk94); border-radius: 12px; padding: 12px 14px; }
.task-steps-inner b { font-size: 12.5px; }
.task-steps ol { margin: 6px 0 0 18px; color: var(--muted); font-size: 12.5px; line-height: 1.95; }
.task-qr { display: block; width: 148px; height: 148px; margin: 10px auto 2px; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.task-qr[hidden] { display: none; }

.task-qr-box { min-height: 148px; }
.task-qr-loading {
display: flex; align-items: center; justify-content: center; gap: 6px;
width: 148px; height: 148px; margin: 10px auto 2px;
border: 1px dashed var(--border); border-radius: 10px;
font-size: 11.5px; color: var(--muted);
}
.task-qr-tip { text-align: center; font-size: 11.5px; color: var(--muted); }
.task-more-row {
position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
padding: 12px 14px; border: 0; background: none; color: var(--text); font: inherit;
text-align: left; cursor: pointer; text-decoration: none;
}
.task-more-row + .task-more-row::before {
content: ""; position: absolute; left: 60px; right: 14px; top: 0; border-top: 1px solid var(--tk94);
}
.task-more-row:hover { background: var(--tk98); }
.task-more-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--tk96); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.task-more-ico svg { width: 16px; height: 16px; }
.task-more-main { flex: 1; min-width: 0; }
.task-more-main b { display: block; font-size: 13.5px; font-weight: 600; }
.task-more-main span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.task-more-val { flex: none; font-size: 12.5px; color: #b45309; font-weight: 600; }
.task-more-go { flex: none; font-size: 16px; line-height: 1; color: var(--muted); opacity: .45; }

.task-sec-limited .task-sec-head h3::after {
content: "限时"; display: inline-block; margin-left: 7px; padding: 1px 6px;
border-radius: 999px; background: #fff1e8; color: #b45309;
font-size: 10.5px; font-weight: 700; vertical-align: 2px;
}
.task-done.is-wait { color: #b45309; }
.lt-reject-note { margin-top: 5px !important; color: #b42318 !important; }
.task-empty { padding: 18px 14px; text-align: center; font-size: 12.5px; color: var(--muted); }
.lt-sec-foot { margin: 7px 5px 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.modal-limited-task { max-width: 460px; }
.lt-body { padding: 18px 20px 20px; }
.lt-desc { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--text); }
.lt-go {
display: flex; align-items: center; justify-content: center; gap: 6px;
padding: 11px 14px; border-radius: 12px; background: var(--primary); color: #fff;
font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.lt-go:hover { background: var(--primary-dark); }
.lt-go[hidden] { display: none; }
.lt-proof {
margin: 10px 0 12px; padding: 10px 12px; border-radius: 10px;
background: var(--tk96); color: var(--muted); font-size: 12px; line-height: 1.7;
}
.lt-upload {
display: flex; align-items: center; justify-content: center; min-height: 92px;
border: 1px dashed var(--border); border-radius: 12px; background: var(--tk98);
color: var(--muted); font-size: 12.5px; cursor: pointer; text-align: center; padding: 12px;
}
.lt-upload:hover { border-color: var(--primary); color: var(--primary); }
.lt-upload:focus-visible { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 2px; }
.lt-upload input { display: none; }
.lt-body textarea {
width: 100%; box-sizing: border-box; margin-top: 12px; min-height: 62px; resize: vertical;
border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px;
font: inherit; font-size: 12.5px; background: #fff; color: var(--text);
}
.lt-hint { margin: 9px 2px 14px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.lt-acts { display: flex; gap: 10px; justify-content: flex-end; }
.lt-acts button { padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.lt-acts .btn-ghost { border: 1px solid var(--border); background: #fff; color: var(--text); }
.lt-acts .btn-primary { border: 1px solid var(--primary); background: var(--primary); color: #fff; }
.lt-acts .btn-primary:disabled { opacity: .6; cursor: default; }
.task-foot { margin: 16px 4px 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.task-foot a { color: var(--primary); }
.task-loading { padding: 40px 0; text-align: center; color: var(--muted); font-size: 13px; }
.task-guest-actions { display: flex; gap: 10px; margin-top: 14px; }
.task-hero .task-btn { background: #fff; border-color: #fff; color: var(--primary); }
.task-hero .task-btn:hover { background: var(--tk96); border-color: var(--tk96); color: var(--primary-dark); }
@media (max-width: 640px) {
.task-hero { padding: 18px 18px; border-radius: 16px; }
.task-hero-lamp { width: 44px; height: 44px; border-radius: 13px; }
.task-hero-lamp svg { width: 24px; height: 24px; }
.task-hero-title { font-size: 17px; }
.task-hero-title em { font-size: 23px; }
.task-row { padding: 13px 12px; gap: 10px; }
.task-ico { width: 30px; height: 30px; border-radius: 9px; }
.task-ico svg { width: 16px; height: 16px; }
.task-item + .task-item::before, .task-more-row + .task-more-row::before { left: 52px; right: 12px; }
.task-btn { padding: 6px 12px; font-size: 12.5px; }
.task-main p { font-size: 11.5px; }
.task-steps { padding: 0 12px 14px 52px; }
}


.me-task-bar {
display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 14px;
border: 1px solid var(--tk92); border-radius: 13px; text-decoration: none; color: var(--text);
background: linear-gradient(100deg, var(--tk96), var(--tk98));
}
.me-task-bar:hover { border-color: var(--tk88); }
.me-task-ico {
flex: none; width: 30px; height: 30px; border-radius: 9px;
display: flex; align-items: center; justify-content: center;
background: var(--tk94); color: var(--primary);
}
.me-task-ico svg { width: 16px; height: 16px; }
.me-task-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.me-task-txt b { font-size: 13.5px; }
.me-task-txt i { font-style: normal; font-size: 12px; color: var(--muted); }
.me-task-bar.has-reward .me-task-txt i { color: #b45309; }

button.me-task-bar { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.me-keep-bar .me-task-ico { background: var(--tk94); color: var(--tk56); }
.me-task-go { flex: none; font-size: 16px; line-height: 1; color: var(--muted); opacity: .5; }

a.st-row { text-decoration: none; }


#wishView { padding-top: 0; }   
#wishView .bar-head { margin-bottom: 22px; padding-top: 25px; }   
#wishView .bar-sub { font-size: 14px; line-height: 1.8; color: #7c8094; }   
#wishView .bar-sub b { color: #3a3d52; }


@media (min-width: 1100px) {
#wishView .bar-grid {
max-width: 1100px; margin: 0 auto;
grid-template-columns: minmax(0, 1fr) 306px; gap: 52px;
}
}


#wishView .cmp-wrap { padding: 10px 16px; border-radius: 16px; margin-bottom: 26px; transition: padding .18s ease; }
#wishView .cmp-topics { gap: 7px; margin-bottom: 8px; }
#wishView .cmp-topic { padding: 3px 11px; font-size: 12px; }
#wishView .cmp-topic-label { font-size: 11px; }
#wishView .chat-compose textarea { min-height: 24px; font-size: 14px; line-height: 1.7; transition: min-height .18s ease; }
#wishView .chat-compose-foot { margin-top: 8px; }
#wishView .cmp-wrap.cmp-open { padding: 20px 24px; }
#wishView .cmp-wrap.cmp-open .chat-compose textarea { min-height: 66px; font-size: 15px; }
#wishView .chat-tip, #wishView .chat-count, #wishView .cmp-note { font-size: 12px; }


#wishView .bar-topic-bar { margin: 0 0 20px; gap: 8px; }
#wishView .bt-chip { font-size: 12.5px; padding: 4px 12px; }
#wishView .bar-feed-head {
align-items: center; gap: 12px; margin: 34px 0 6px;
padding-bottom: 14px; border-bottom: 1px solid var(--tk92);
}
#wishView .bar-col-title { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
#wishView .bar-feed-note, #wishView .bar-feed-count { font-size: 12.5px; }
#wishView .bar-privacy { margin: 10px 0 18px; font-size: 12px; }


#wishView .wish-list.bar-feed {
display: flex; flex-direction: column; gap: 16px;
padding: 0; background: transparent; border: 0;
}
#wishView .bar-row {
margin: 0; padding: 0; border: 0; border-radius: 18px;
background: #fff; border: 1px solid var(--tk92);
transition: border-color .18s, box-shadow .18s, transform .18s;
}
#wishView .bar-row:hover {
background: #fff; border-color: var(--tk90);
box-shadow: 0 10px 30px rgba(42, 38, 92, .07); transform: translateY(-1px);
}
#wishView .br-card { padding: 22px 26px 18px; }


#wishView .br-ava {
position: relative; overflow: hidden; flex: none;
display: inline-flex; align-items: center; justify-content: center;
width: 40px; height: 40px; border-radius: 12px;
font-size: 15px; font-weight: 600;
}
#wishView .br-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#wishView .br-del { font-size: 14px; margin-left: 2px; }
#wishView .br-byline { display: none; }


#wishView .br-line { margin: 0; }
#wishView .br-title {
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
white-space: normal; overflow: hidden; word-break: break-word;
font-size: 16px; font-weight: 700; line-height: 1.65; color: #1f2233;
}
#wishView span.br-title { font-size: 15px; font-weight: 400; line-height: 1.75; color: #454860; }


#wishView .br-meta {
display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
margin-top: 12px; font-size: 12px; color: #9699ab;
}
#wishView .br-row:hover .br-title, #wishView .bar-row:hover .br-title { color: var(--primary); }
#wishView .bar-row:hover span.br-title { color: #454860; }
#wishView .bar-row.is-done .br-title { color: var(--muted); text-decoration-color: #bfe3cd; }
#wishView .br-excerpt {
margin: 0 0 14px; font-size: 13px; line-height: 1.8; color: #84879b;
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}


#wishView .br-meta .br-name { font-size: 12px; font-weight: 600; color: #6f7288; }

a.br-name { color: inherit; text-decoration: none; font-weight: inherit; }
a.br-name:hover { color: var(--primary); text-decoration: underline; }
#wishView .br-meta .br-when { font-size: 11.5px; color: #a3a6b8; }
#wishView .br-meta .br-name::before, #wishView .br-meta .br-when::before,
#wishView .br-meta .wish-status::before, #wishView .br-meta .br-work::before {
content: '·'; margin-right: 6px; color: #c9c7d8;
}
#wishView .br-meta .br-kind { margin: 0; padding: 2px 8px; font-size: 10.5px; border-radius: 6px; }
#wishView .br-acts { gap: 6px; margin-left: auto; }
#wishView .br-stat {
display: inline-flex; align-items: center; gap: 4px;
font-variant-numeric: tabular-nums; color: #8b8ea2;
}
#wishView .br-stat-btn {
padding: 4px 10px; border: 1px solid var(--tk92); border-radius: 999px;
background: #fff; font: inherit; font-size: 11.5px; color: #6d7086; cursor: pointer;
transition: border-color .16s, background .16s, color .16s;
}
#wishView .br-stat-btn:hover { border-color: var(--tk90); color: var(--primary); }
#wishView .br-stat-btn.is-on { background: #fff2f4; border-color: #ffd7de; color: #d1495b; }
#wishView .br-watch.is-on { background: var(--tk96); border-color: var(--tk90); color: var(--primary); }
.br-watch-num { margin-left: 3px; font-size: 11px; opacity: .72; }
#wishView .br-stat-btn b { font-weight: 600; }
#wishView .wish-status { font-size: 11.5px; }
#wishView .br-work { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; }


#wishView .bar-rail .bar-hot, #wishView .bar-rail .bar-shelf {
padding: 0; border: 0; border-radius: 0; background: transparent; margin-bottom: 30px;
}
#wishView .bar-rail .bh-head { align-items: baseline; gap: 8px; margin-bottom: 14px; }
#wishView .bar-rail .bh-title { font-size: 15px; font-weight: 700; }
#wishView .bar-rail .bh-week, #wishView .bar-rail .bh-more { font-size: 11.5px; }
#wishView .bar-rail .bh-list { gap: 4px; }
#wishView .bar-rail .bh-card, #wishView .bar-rail .bs-card {
padding: 10px 2px; border: 0; border-bottom: 1px solid var(--tk94);
border-radius: 0; background: transparent; box-shadow: none;
}
#wishView .bar-rail .bh-card:hover, #wishView .bar-rail .bs-card:hover {
border-color: var(--tk92); background: transparent; box-shadow: none;
}
#wishView .bar-rail .bh-no { width: 18px; font-size: 13px; }
#wishView .bar-rail .bh-thumb, #wishView .bar-rail .bs-ico { width: 40px; height: 40px; border-radius: 10px; }
#wishView .bar-rail .bh-name, #wishView .bar-rail .bs-name { font-size: 13.5px; }
#wishView .bar-rail .bh-meta, #wishView .bar-rail .bs-sub { font-size: 11.5px; }
#wishView .bar-rail .bs-list { gap: 0; }
#wishView .bar-rail .ad-slot { margin-bottom: 24px; }


.modal.modal-chat-post { max-width: 760px; }
.modal-chat-post .chat-post-body { max-height: min(80vh, 780px); padding: 4px 6px 0; }
.modal-chat-post .cp-main { padding: 12px 18px 8px; }
.modal-chat-post .cp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal-chat-post .cp-ava { width: 36px; height: 36px; font-size: 14px; }
.modal-chat-post .cp-byline { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.modal-chat-post .cp-head .br-kind { margin-left: auto; }
.modal-chat-post .cp-meta { display: none; }
.modal-chat-post .cp-text {
margin: 0 0 18px; font-size: 17px; font-weight: 500;
line-height: 1.9; color: #26293b;
}
.modal-chat-post .cp-acts { gap: 10px; padding: 0 0 8px; }
.modal-chat-post .cp-acts .cc-act { padding: 7px 14px; font-size: 12.5px; border-radius: 999px; }
.modal-chat-post .cp-replies {
gap: 0; margin: 22px 0 0; padding: 0; border: 0; border-top: 1px solid var(--tk92);
border-radius: 0; background: transparent; max-height: none;
}
.modal-chat-post .cp-replies-head { padding: 18px 0 6px; font-size: 15px; }
.modal-chat-post .comment-item { gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--tk96); }
.modal-chat-post .comment-avatar { width: 38px; height: 38px; border-radius: 50%; font-size: 15px; }
.modal-chat-post .comment-meta b { font-size: 13.5px; }
.modal-chat-post .comment-text { font-size: 14px; line-height: 1.8; }
.modal-chat-post .cp-form { gap: 10px; margin-top: 18px; }
.modal-chat-post .cp-form input {
height: 48px; padding: 0 18px; border: 0; border-radius: 999px;
background: var(--tk96); font-size: 14px;
}
.modal-chat-post .cp-form input:focus { background: var(--tk96); box-shadow: 0 0 0 2px rgba(var(--tk66-rgb), .12); }
.modal-chat-post .cp-form .cc-emoji { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--tk96); }
.modal-chat-post .cp-form .cc-send { padding: 0 24px; border-radius: 999px; font-size: 13.5px; }

.modal-chat-post .cp-edit { margin: 0 0 18px; }
.modal-chat-post .cp-edit textarea {
width: 100%; padding: 12px 16px; border: 1px solid var(--tk90); border-radius: 14px;
background: var(--tk96); font: inherit; font-size: 16px; line-height: 1.8;
color: #26293b; resize: vertical; box-sizing: border-box;
}
.modal-chat-post .cp-edit textarea:focus {
outline: none; border-color: var(--primary); background: #fff;
box-shadow: 0 0 0 2px rgba(var(--tk66-rgb), .12);
}
.modal-chat-post .cp-edit-acts { display: flex; gap: 8px; margin-top: 10px; }
.modal-chat-post .cp-edit-acts .cc-send { padding: 7px 22px; border-radius: 999px; font-size: 13px; }
.modal-chat-post .cp-edit-acts .cc-act { padding: 7px 14px; font-size: 12.5px; border-radius: 999px; }

@media (max-width: 900px) {
#wishView .bar-grid { max-width: 720px; margin: 0 auto; }
#wishView .bar-rail .bar-hot, #wishView .bar-rail .bar-shelf { margin-bottom: 20px; }
}
@media (max-width: 700px) {
#wishView { padding-top: 0; }   
#wishView .cmp-wrap { padding: 8px 12px; }
#wishView .cmp-wrap.cmp-open { padding: 14px 16px; }
#wishView .br-card { padding: 18px 16px 14px; }
#wishView .br-title { font-size: 16px; }
#wishView span.br-title { font-size: 14.5px; }
#wishView .br-acts { gap: 6px; }
#wishView .br-stat-btn { padding: 5px 10px; }
#wishView .bar-rail .bh-thumb, #wishView .bar-rail .bs-ico { width: 36px; height: 36px; }
.modal-chat-post .cp-main { padding: 8px 4px 4px; }
.modal-chat-post .cp-text { font-size: 16px; }
}


.modal-chat-post .br-ava {
position: relative; overflow: hidden; flex: none;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 50%; font-weight: 600;
}
.modal-chat-post .br-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


#wishView .bar-row { border-radius: 14px; }
#wishView .br-card {
display: flex; align-items: flex-start; gap: 12px;
padding: 16px 20px 14px;
}
#wishView .br-card > .br-ava { width: 34px; height: 34px; margin-top: 2px; font-size: 13px; border-radius: 10px; }
#wishView .br-content { flex: 1; min-width: 0; }
#wishView .br-excerpt { display: none; }
#wishView .br-meta { margin-top: 10px; }
#wishView .br-stat-btn { padding: 3px 9px; font-size: 11px; }
#wishView .br-stat { gap: 3px; }
#wishView .br-work, #wishView .wish-status { font-size: 11px; padding: 2px 8px; }
@media (max-width: 700px) {
#wishView .br-card { padding: 13px 14px 12px; gap: 10px; }
#wishView .br-card > .br-ava { width: 30px; height: 30px; font-size: 12px; }
#wishView .br-meta { gap: 6px 8px; }
#wishView .br-acts { width: 100%; margin-left: 0; justify-content: flex-end; }
}


#wishView .bar-rail .bar-hot, #wishView .bar-rail .bar-shelf {
margin: 0 0 14px; padding: 14px 16px 12px;
border: 1px solid var(--tk92); border-radius: 16px; background: var(--card);
}
#wishView .bar-rail .bh-head { margin-bottom: 10px; }
#wishView .bar-rail .bh-list { gap: 6px; }
#wishView .bar-rail .bs-list { gap: 6px; }
#wishView .bar-rail .bh-card, #wishView .bar-rail .bs-card {
padding: 9px 10px; border: 1px solid var(--tk94); border-radius: 12px;
background: #fff; box-shadow: none;
}
#wishView .bar-rail .bh-card:hover, #wishView .bar-rail .bs-card:hover {
border-color: var(--tk92); background: #fff;
box-shadow: 0 6px 16px rgba(var(--tk58-rgb), .08);
}


@media (min-width: 1100px) {
#wishView .bar-grid {
max-width: none; margin: 0;
grid-template-columns: minmax(0, 1fr) 340px; gap: 40px;
}
}

@media (min-width: 1100px) {
#wishView .bar-grid { gap: 24px; }
}




.feat-reason,
.feat-reason.is-pick,
.feat-reason.is-like,
.feat-reason.is-fav,
.feat-reason.is-cmt,
.feat-reason.is-tip,
.feat-reason.is-uv,
.feat-reason.is-new {
color: #63697c; background: var(--tk94); border-color: var(--tk92);
}


.card-cat { color: #63697c; background: var(--tk94); }


.os-badge.open { color: #63697c; background: var(--tk94); }


.stage-badge.is-wip { color: #63697c; background: var(--tk94); }


.pin-badge { background: rgba(31, 35, 48, .82); }


.hh-badge.is-hot,
.hh-badge.is-new { color: #6b7183; background: rgba(99, 105, 124, .10); }


.card-foot .fav-num,
.card-foot .cmt-num { color: var(--muted); }


.guest-notice-bar { background: var(--tk98); border-bottom: 1px dashed var(--tk92); }
.gnb-main b { color: var(--text); }


.dd-more .dd-btn { color: #4a4f63; }
.dd-more-panel { min-width: 236px; padding: 12px 14px 6px; }
.dd-more-group + .dd-more-group { margin-top: 12px; }
.dd-more-title {
display: block; margin-bottom: 8px;
font-size: 11.5px; font-weight: 600; color: #8b90a3; letter-spacing: .3px;
}
.dd-more-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-more-chip {
padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px;
background: #fff; color: #4a4f63; font: inherit; font-size: 12.5px; cursor: pointer;
transition: border-color .15s, background .15s, color .15s;
}
.dd-more-chip:hover { border-color: var(--tk86); }
.dd-more-chip.is-on { border-color: var(--primary); background: var(--tk96); color: var(--primary-dark); font-weight: 600; }


@media (max-width: 640px) {

.hero-hot { display: none; }

.hero-find { margin-top: 9px; padding: 5px 12px 6px; font-size: 11.5px; box-shadow: none; }

.remember-filters-h5 { display: none; }
}


.fbar-foot {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
margin-top: 2px; padding: 10px 0 12px; border-top: 1px dashed #eef0f6;
}
.fbar-foot .remember-filters-main { font-size: 12.5px; color: #5f6577; }
.fbar-foot .remember-hint { font-size: 11.5px; color: var(--muted); }


.bot-panel > button.bot-gen { color: var(--tk52); border-color: var(--tk90); }
.bot-panel > button.bot-gen .ico { background: var(--tk94); color: var(--tk52); }
.bot-panel > button.bot-gen::after { color: var(--tk68); opacity: .7; }

.modal.modal-music { max-width: 420px; }
.modal-music .music-tip { margin: 2px 0 14px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.music-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.music-row > label { flex: 0 0 34px; font-size: 12.5px; color: #5f6577; }
.music-row > select {
flex: 1; min-width: 0; height: 36px; padding: 0 10px;
border: 1px solid var(--border); border-radius: 9px;
background: var(--tk98); color: var(--text); font-size: 13px;
}
.music-row > input[type="range"] { flex: 1; min-width: 0; accent-color: var(--tk58); }
.music-val {
flex: 0 0 62px; text-align: right; font-size: 12px;
color: var(--primary-dark); font-variant-numeric: tabular-nums;
}
.modal-music .btn-block { margin-top: 14px; }
.music-seed {
margin: 12px 0 0; padding: 10px 12px; border-radius: 10px;
background: var(--tk98); border: 1px solid var(--tk92);
font-size: 12.5px; line-height: 1.7; color: var(--tk52); cursor: pointer;
}
.music-seed b { font-size: 13px; letter-spacing: .06em; }
.music-seed i { display: block; font-style: normal; color: var(--muted); font-size: 11.5px; }
.music-replay { display: flex; gap: 8px; margin-top: 10px; }
.music-replay input {
flex: 1; min-width: 0; height: 34px; padding: 0 10px;
border: 1px solid var(--border); border-radius: 9px;
background: var(--tk98); color: var(--text); font-size: 12.5px; letter-spacing: .04em;
}
.music-replay button {
flex: 0 0 auto; height: 34px; padding: 0 14px;
border: 1px solid var(--tk90); border-radius: 9px;
background: var(--tk98); color: var(--primary-dark); font-size: 12.5px; cursor: pointer;
}
.music-replay button:hover { border-color: var(--tk86); background: var(--tk96); }


.music-list {
max-height: 200px; overflow-y: auto; overscroll-behavior: contain;
margin: 0 -2px 2px 0; padding-right: 4px;
}
@media (min-height: 760px) { .music-list { max-height: 238px; } }

@media (max-height: 700px) { .music-list { max-height: 148px; } }

.ml-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 9px; }
.ml-group:last-child { margin-bottom: 0; }
.ml-t { flex: 0 0 100%; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.ml-chip {
display: inline-flex; align-items: baseline; gap: 5px;
padding: 5px 9px; border: 1px solid var(--tk92); border-radius: 8px;
background: var(--tk98); color: var(--text); font-size: 12.5px; line-height: 1.2;
cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.ml-chip:hover { border-color: var(--tk86); background: var(--tk96); }
.ml-chip i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.ml-chip.on { border-color: var(--tk80); background: var(--tk96); color: var(--tk52); }
.ml-chip.on i { color: var(--tk60); }

.music-sep { display: flex; align-items: center; gap: 10px; margin: 13px 0 10px; }
.music-sep::before, .music-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.music-sep span { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }

.music-recent { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mr-t { flex: 0 0 100%; font-size: 11px; color: var(--muted); }
.mr-chip {
padding: 4px 8px; border: 1px dashed var(--tk88); border-radius: 7px;
background: transparent; color: var(--tk44); font-size: 12px; cursor: pointer;
}
.mr-chip:hover { border-style: solid; background: var(--tk98); }
.mr-chip i { font-style: normal; font-size: 10.5px; color: var(--muted); margin-left: 5px; }


@media (max-width: 640px) {
.modal.modal-music { padding: 20px 18px; }
.modal-music .music-tip { margin: 0 0 10px; font-size: 12px; line-height: 1.65; }
.music-row { gap: 8px; margin-bottom: 8px; }
.music-row > label { flex: 0 0 30px; font-size: 12px; }
.music-row > select { height: 34px; font-size: 12.5px; }
.music-val { flex: 0 0 54px; font-size: 11.5px; }
.music-sep { margin: 10px 0 8px; }
.modal-music .btn-block { margin-top: 10px; height: 40px; }
.music-seed { margin-top: 9px; padding: 8px 10px; font-size: 12px; }
.music-replay { margin-top: 8px; }
.ml-chip { padding: 4px 8px; font-size: 12px; }
}


@media (max-width: 640px) {
.music-list {
max-height: 136px;
-webkit-mask-image: linear-gradient(180deg, #000 84%, rgba(0,0,0,.06));
mask-image: linear-gradient(180deg, #000 84%, rgba(0,0,0,.06));
}
}


.cr-hd { padding: 14px 0 18px; }


.cr-bar { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.cr-bar-title { display: flex; align-items: baseline; gap: 10px; flex: 0 0 auto; min-width: 0; }
.cr-hd h2 {
font-size: 17px; font-weight: 700; letter-spacing: .3px; white-space: nowrap;
display: flex; align-items: center; gap: 7px;
}
.cr-hd h2 .ico { width: 18px; height: 18px; color: var(--primary); }
.cr-sub { margin-left: auto; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }


.cr-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-pills {
display: inline-flex; gap: 2px; background: rgba(255,255,255,.9);
border: 1px solid var(--border); border-radius: 999px; padding: 4px;
box-shadow: 0 3px 12px rgba(50, 45, 100, .05);
}
.cr-pill {
display: inline-flex; align-items: center; gap: 5px; font-family: inherit;
font-size: 12.5px; font-weight: 500; color: var(--muted); background: none; border: 0;
border-radius: 999px; padding: 7px 14px; cursor: pointer; white-space: nowrap;
transition: background .15s, color .15s, box-shadow .15s;
}
.cr-pill .ico { width: 14px; height: 14px; }
.cr-pill:hover { color: var(--text); background: rgba(var(--tk58-rgb), .06); }
.cr-pill.active { background: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 3px 10px rgba(var(--tk58-rgb), .25); }
.cr-pill.active:hover { color: #fff; }
.cr-pill-cert { color: #2b7ea8; }
.cr-pill-cert.active { background: linear-gradient(135deg, #2f9bd0, #1477aa); box-shadow: 0 3px 10px rgba(20,119,170,.24); }
.cr-search { position: relative; }
.cr-search > .ico {
position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
width: 15px; height: 15px; color: #a5a9bc; pointer-events: none;
}
.cr-search input {
font-family: inherit; font-size: 13px; color: var(--text); width: 210px;
padding: 9px 14px 9px 35px; border: 1px solid var(--border); border-radius: 999px;
background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s;
}
.cr-search input::placeholder { color: #b0b4c4; }
.cr-search input:focus { border-color: var(--tk86); box-shadow: 0 0 0 3px rgba(var(--tk68-rgb), .08); }


.cr-meta {
display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px;
margin-top: 10px; font-size: 12px; color: #8d92a8;
}
.cr-highlights { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cr-hl { display: inline-flex; align-items: baseline; gap: 4px; }
.cr-hl b { font-size: 13px; color: var(--primary); font-weight: 700; }


.cr-side { display: none; }
.cr-layout { display: block; }
@media (min-width: 1100px) {
.cr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.cr-side { display: block; position: sticky; top: 72px; z-index: 20; }  
}
.cr-side .ad-slot { margin: 0; }


.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cr-card {
background: var(--card); border: 1px solid var(--border); border-radius: 16px;
overflow: hidden; text-decoration: none; color: var(--text); display: block;
transition: transform .18s, border-color .18s, box-shadow .18s;
}
.cr-card:hover { transform: translateY(-4px); border-color: var(--tk86); box-shadow: 0 12px 28px rgba(35, 30, 85, .10); }
.cr-cover { height: 118px; background: #eef0f6; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.cr-cover::after {
content: ""; position: absolute; inset: 0; pointer-events: none;
background: linear-gradient(180deg, rgba(20,20,45,.18), transparent 42%);
}
.cr-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cr-card:hover .cr-cover img { transform: scale(1.045); }
.cr-ph { color: #b6bac8; font-size: 12px; }
.cr-rank {
position: absolute; top: 9px; left: 9px; z-index: 2;
min-width: 24px; height: 24px; padding: 0 6px; border-radius: 20px;
background: rgba(31,35,48,.58); border: 1px solid rgba(255,255,255,.28);
color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cr-rank.top {
background: linear-gradient(135deg, #ffd66b, #f59e0b); color: #5a4300;
font-weight: 700; border-color: rgba(255,255,255,.7); box-shadow: 0 2px 8px rgba(200,140,20,.25);
}

.cr-best { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 2; font-size: 11px; color: #fff; background: rgba(31,35,48,.62); border-radius: 8px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.cr-body { padding: 13px 14px 14px; }
.cr-who { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.cr-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--tk96); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--tk94); }
.cr-av-ph { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; background: var(--tk96); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--tk94); }
.cr-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }

.cr-cert-v {
flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
color: #1687bd; background: #e8f6fd; border: 1px solid #cfeaf8; cursor: help;
}
.cr-cert-v .ico { width: 12px; height: 12px; }

.cr-follow {
flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px;
font-family: inherit; font-size: 11.5px; font-weight: 600; line-height: 1;
padding: 5px 10px; border-radius: 999px; cursor: pointer;
border: 1px solid var(--primary); background: var(--primary); color: #fff;
-webkit-tap-highlight-color: transparent;
transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.cr-follow:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.cr-follow:active { transform: scale(.95); }
.cr-follow.is-on { background: #fff; color: var(--primary); border-color: var(--tk90); }
.cr-follow.is-on:hover { background: #fff5f5; color: var(--danger); border-color: #f0c9cb; }
.cr-follow .ico { font-size: 1em; padding: 0; background: none; border-radius: 0; }
.cr-follow .fb-num { font-weight: 500; opacity: .7; }
.cr-stats { display: flex; align-items: center; font-size: 12px; color: var(--muted); }
.cr-stats > span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--tk90); margin: 0 10px; vertical-align: -1px; }
.cr-stats b { color: var(--text); font-weight: 600; }
.cr-uv b { color: var(--primary); }

.cr-star-num { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 12px; font-weight: 700; color: #7a5300; background: rgba(255, 221, 128, .94); border-radius: 8px; padding: 3px 9px; box-shadow: 0 1px 4px rgba(120, 80, 0, .18); }
.cr-star-card .cr-body { padding-bottom: 15px; }
.cr-star-title { font-size: 13.5px; font-weight: 600; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-star-meta { display: flex; flex-direction: column; gap: 3px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.cr-star-author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cr-star-by { color: var(--text); font-weight: 500; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cr-star-author .cr-follow { flex: 0 0 auto; padding: 3px 8px; font-size: 10.5px; }
.cr-star-repo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9aa0b3; }


.cr-cert-cover {
height: 112px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
background: radial-gradient(circle at 20% 20%, #ddf1fd, transparent 55%),
linear-gradient(135deg, #eef8ff, #e7f1ff 60%, var(--tk96));
}
.cr-cert-cover::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(47,155,208,.14); right: -30px; top: -60px; }

.cr-cert-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cr-cert-card:hover .cr-cert-cover img { transform: scale(1.045); }
.cr-cert-mark {
position: absolute; right: 9px; top: 9px; z-index: 2;
display: inline-flex; align-items: center; gap: 4px;
font-size: 11px; font-weight: 600; color: #136f9d; white-space: nowrap;
background: rgba(255,255,255,.92); border: 1px solid #cbe8f7;
border-radius: 999px; padding: 4px 9px; box-shadow: 0 2px 6px rgba(20,110,160,.10);
}
.cr-cert-mark .ico { width: 13px; height: 13px; }
.cr-cert-logo {
width: 56px; height: 56px; border-radius: 16px;
display: flex; align-items: center; justify-content: center;
font-size: 26px; font-weight: 700; color: #1477aa;
background: linear-gradient(135deg, #fff, #e6f5ff); border: 1px solid rgba(255,255,255,.9);
box-shadow: 0 8px 20px rgba(21,113,160,.16); transition: transform .18s;
}
.cr-cert-card:hover .cr-cert-logo { transform: scale(1.06) rotate(-2deg); }
.cr-cert-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-cert-desc {
margin-top: 6px; font-size: 12px; line-height: 1.55; color: var(--muted); min-height: 2.9em;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cr-cert-foot {
display: flex; justify-content: space-between; gap: 8px;
margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--tk92);
font-size: 11px; color: #8b91a6;
}
.cr-cert-go { color: #1477aa; font-weight: 600; white-space: nowrap; }

.cr-more { display: flex; justify-content: center; margin-top: 26px; padding-bottom: 22px; }
.cr-more button { font-size: 13px; color: var(--primary); background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 9px 22px; cursor: pointer; }
.cr-more button:hover { border-color: var(--tk86); }
.cr-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; padding: 56px 20px; background: rgba(255,255,255,.6); border: 1px dashed var(--border); border-radius: 16px; }
.cr-empty a { color: var(--primary); text-decoration: none; font-weight: 600; }
.cr-empty a:hover { text-decoration: underline; }
@media (max-width: 820px) {
.cr-pill { padding: 7px 11px; font-size: 12px; }
.cr-search input { width: 180px; }
.cr-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {

.cr-hd { padding: 10px 0 14px; }
.cr-bar { gap: 10px; }
.cr-bar-title { flex-direction: column; align-items: flex-start; gap: 2px; flex: 1 1 100%; }
.cr-sub { white-space: normal; margin-left: 0; flex: 1 1 100%; }
.cr-tools { flex: 1 1 100%; gap: 9px; }
.cr-pills { width: 100%; justify-content: space-between; }

.cr-pill { flex: 1 1 0; justify-content: center; padding: 7px 3px; font-size: 11px; gap: 0; }
.cr-pill .ico { display: none; }
.cr-search, .cr-search input { width: 100%; }
.cr-meta { margin-top: 8px; font-size: 11px; gap: 4px 12px; }
.cr-hl b { font-size: 12px; }
.cr-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cr-cover { height: 100px; }
.cr-cert-cover { height: 100px; }
.cr-cert-logo { width: 46px; height: 46px; font-size: 22px; border-radius: 13px; }
.cr-body { padding: 11px 11px 12px; }
.cr-who { gap: 6px; }
.cr-follow { padding: 4px 8px; font-size: 11px; }
.cr-stats { font-size: 11px; }
.cr-stats > span + span::before { margin: 0 6px; }
.cr-cert-desc { font-size: 11.5px; }
.cr-cert-foot { font-size: 10.5px; }
}




.author-hero .author-avatar {
width: 92px; height: 92px; font-size: 34px; font-weight: 600;
border: 3px solid rgba(255, 255, 255, .95);
box-shadow: 0 0 0 5px rgba(255, 255, 255, .22), 0 8px 24px rgba(20, 14, 52, .28);
letter-spacing: .5px;
text-shadow: 0 1px 2px rgba(20, 14, 52, .25);
}
.author-hero .author-avatar img { border-radius: 50%; }

:is(.hs-paper, .hs-mist, .hs-candy, .hs-snow, .hs-sakura, .hs-grid, .hs-window) ~ .author-hero-main .author-avatar {
border-color: #fff;
box-shadow: 0 0 0 4px rgba(35, 42, 54, .08), 0 6px 18px rgba(35, 42, 54, .16);
}


.author-hero .author-info h1,
.author-hero .author-info .author-title {
font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px;
}
.author-hero .author-badges { margin-top: 9px; gap: 7px; }
.author-hero .author-meta { margin-top: 6px; gap: 6px 0; font-size: 13.5px; }

.author-hero .author-bio { font-size: 13.5px; line-height: 1.7; }


.author-hero .author-follow-btn {
font-size: 13px; padding: 7px 15px;
box-shadow: 0 3px 12px rgba(28, 24, 66, .26), inset 0 1px 0 rgba(255, 255, 255, .9);
transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.author-hero .author-follow-btn:hover {
transform: translateY(-1px);
box-shadow: 0 5px 16px rgba(28, 24, 66, .3), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.author-hero .author-follow-btn:active { transform: translateY(0) scale(.97); }


.author-hero .author-stat-grid .as-cell {
padding: 15px 6px 13px; gap: 4px;
transition: background .18s;
}
.author-hero .author-stat-grid .as-cell:hover { background: var(--hero-chip-bg); }
.author-hero .author-stat-grid .as-ico { opacity: .85; }
.author-hero .author-stat-grid .as-val {
font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.15;
}
.author-hero .author-stat-grid .as-label { font-size: 12px; font-weight: 500; opacity: .9; }


.author-hero { border-radius: 18px; margin: 30px 0 26px; }
.author-hero .author-hero-main { padding: 26px 26px 22px; }

@media (max-width: 640px) {
.author-hero .author-avatar { width: 70px; height: 70px; font-size: 27px; box-shadow: 0 0 0 4px rgba(255,255,255,.2), 0 6px 18px rgba(20,14,52,.24); }
.author-hero .author-info h1,
.author-hero .author-info .author-title { font-size: 19px; }
.author-hero .author-hero-main { padding: 18px 14px 16px; gap: 12px; }

.author-hero .author-follow-btn { font-size: 12px; padding: 5px 11px; }
.author-hero .author-name-row { gap: 7px; }
.author-hero .author-stat-grid .as-val { font-size: 18px; }
.author-hero .author-stat-grid .as-cell { padding: 11px 4px 10px; }
}



.author-hero + .gallery,
#authorGallery:not(:empty) { margin-top: 22px; }

.author-join { margin-top: 30px; border-radius: 14px; }


@media (prefers-reduced-motion: reduce) {
.author-hero .author-follow-btn,
.author-hero .author-follow-btn:hover,
.author-hero .author-follow-btn:active { transform: none; transition: none; }
}


.ld246-section { margin-top: 30px; }
.ld246-head { justify-content: space-between; }
.ld246-more { font-size: 13px; color: var(--muted); text-decoration: none; }
.ld246-more:hover { color: var(--primary); }
.ld246-note { font-size: 12.5px; color: var(--muted); margin: -6px 0 12px; line-height: 1.6; }
.ld246-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ld246-card {
display: flex; flex-direction: column; gap: 8px;
padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
background: var(--card); color: var(--text); text-decoration: none;
transition: border-color .15s ease, transform .15s ease;
}
.ld246-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.ld246-title {
font-size: 14px; font-weight: 500; line-height: 1.55;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ld246-meta { font-size: 12px; color: var(--muted); }
.ld246-tags { font-size: 11.5px; color: var(--primary); }
@media (max-width: 900px) { .ld246-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ld246-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
.ld246-card, .ld246-card:hover { transform: none; transition: none; }
}


.author-hero { margin: 22px 0 20px; }
.author-hero .author-hero-main { padding: 20px 24px 16px; }
.author-hero .author-avatar {
width: 78px; height: 78px; font-size: 29px;
box-shadow: 0 0 0 4px rgba(255,255,255,.2), 0 6px 18px rgba(20,14,52,.24);
}
.author-hero .author-info { padding-top: 30px; }
.author-hero .author-info h1,
.author-hero .author-info .author-title { font-size: 22px; }
.author-hero .author-badges { margin-top: 7px; gap: 6px; }
.author-hero .author-badge { white-space: nowrap; }   
.author-hero .author-meta { margin-top: 4px; }
.author-hero .author-bio { margin-top: 6px; font-size: 13px; line-height: 1.6; }
.author-hero .author-edit-btn { margin-top: 30px; padding: 7px 15px; font-size: 12.5px; }


.author-hero .author-stat-grid .as-cell { padding: 10px 6px 9px; gap: 3px; }
.author-hero .author-stat-grid .as-ico svg { width: 14px; height: 14px; }
.author-hero .author-stat-grid .as-val { font-size: 19px; }
.author-hero .author-stat-grid .as-label { font-size: 11.5px; }


.author-acts { padding: 6px 6px 5px; }
.author-acts .au-act { gap: 5px; padding: 5px 4px; font-size: 12px; }
.author-acts .au-act-ico, .author-acts .au-act-ico svg { width: 21px; height: 21px; }
.au-tab { padding: 10px 4px 9px; font-size: 13.5px; }


.author-hero + .gallery,
#authorGallery:not(:empty) { margin-top: 18px; }


.creator-card { padding: 14px; }
.creator-card .cc-ico { width: 38px; height: 38px; }
.creator-card .cc-ico svg { width: 19px; height: 19px; }
.creator-card .cc-title b { font-size: 14px; }
.creator-card .cc-title span { font-size: 11.5px; }
.creator-card .cc-btn { margin-top: 11px; padding: 8px 0; font-size: 13px; }
.author-side { margin-top: 24px; }
.author-medals { padding: 12px 14px 14px; }

@media (max-width: 640px) {
.author-hero .author-avatar { width: 64px; height: 64px; font-size: 25px; }
.author-hero .author-info { padding-top: 24px; }
.author-hero .author-edit-btn { margin-top: 24px; padding: 6px 12px; }
.author-hero .author-stat-grid .as-val { font-size: 17px; }
.au-tab { font-size: 13px; padding: 9px 2px 8px; }
}


.author-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.author-hero-band.band-skin {
position: relative; inset: auto; height: auto; align-self: stretch;
grid-column: 1; grid-row: 1; z-index: 0;
}
.author-hero-main { grid-column: 1; grid-row: 1; z-index: 1; }
.author-stat-grid { grid-column: 1; grid-row: 2; }
.author-acts { grid-column: 1; grid-row: 3; }
.author-tabs { grid-column: 1; grid-row: 4; }

.author-hero .author-stat-grid,
.author-hero .author-acts,
.author-hero .author-tabs {
--hero-ink: #232a36;
--hero-ink-2: rgba(35, 42, 54, .72);
--hero-line: rgba(35, 42, 54, .14);
--hero-chip-bg: rgba(35, 42, 54, .06);
--hero-chip-bd: rgba(35, 42, 54, .14);
background: #fff;
}



.update-note-box {
margin: 0 0 14px; padding: 12px 14px;
border: 1px dashed var(--border); border-radius: 10px; background: var(--tk98);
}
.update-note-box label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.update-note-box .un-optional { font-weight: 400; color: var(--muted); font-size: 12px; }
.update-note-box input {
width: 100%; box-sizing: border-box; padding: 9px 11px;
border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; font-size: 14px;
}
.update-note-box input:focus { outline: 2px solid rgba(var(--tk58-rgb), .25); border-color: var(--primary); }
.update-note-box .form-hint { margin: 7px 0 0; }

.detail-updates { margin: 16px 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft, var(--tk96)); }
.detail-updates .du-head { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.detail-updates .du-head span { color: var(--muted); font-weight: 400; }
.detail-updates .chron-list { margin-top: 6px; }
.detail-updates .chron-item { padding: 7px 0; gap: 9px; }
.detail-updates .chron-dot { width: 12px; height: 12px; box-shadow: none; background: var(--primary); }
.detail-updates .chron-text { font-size: 13px; }

.rank-fresh.recent-update { background: #eef4ff; color: #3b6fd4; }

.seo-updates { margin: 20px 0; padding: 14px 18px; border-radius: 10px; background: var(--bg-soft, var(--tk96)); }
.seo-updates h2 { font-size: 16px; margin: 0; }


.modal-collect { width: min(560px, 100%); }
.cm-form { display: grid; gap: 9px; margin-bottom: 14px; }
.cm-form input[type="text"] {
width: 100%; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 14px;
border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
.cm-form input:focus { outline: 2px solid rgba(var(--tk58-rgb), .2); border-color: var(--primary); }
.cm-public { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.cm-list { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; }
.cm-row {
display: flex; align-items: center; gap: 10px; justify-content: space-between;
padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.cm-row-main { min-width: 0; flex: 1; }
.cm-row-main b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-row-main span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cm-row-acts { display: flex; gap: 6px; flex: none; }
.cm-act {
border: 1px solid var(--border); border-radius: 7px; background: var(--tk98); color: var(--text);
padding: 5px 9px; font-size: 12.5px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.cm-act:hover { border-color: var(--primary); color: var(--primary); }
.cm-act-danger:hover { border-color: #c9302c; color: #c9302c; }
.cm-act:disabled { opacity: .5; cursor: default; }
.cm-empty { color: var(--muted); font-size: 13px; margin: 10px 0; }

.fav-coll-pick {
position: relative; z-index: 3;   
display: inline-flex; align-self: flex-start; align-items: center; gap: 5px;
margin-top: 8px; padding: 4px 9px; min-height: 28px; line-height: 1; white-space: nowrap;
border: 1px solid var(--border); border-radius: 999px; background: #fff;
color: var(--muted); font: inherit; font-size: 12px; cursor: pointer;
}
.fav-coll-pick:hover { border-color: var(--primary); color: var(--primary); }
.fav-coll-pick .ico { font-size: 13px; }
.row-coll-pick {
position: relative; z-index: 3;
width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
background: #fff; color: #b9bdd0; font-size: 15px; cursor: pointer; flex-shrink: 0;
transition: color .15s, border-color .15s, transform .15s;
}
.row-coll-pick:hover { color: var(--primary); border-color: var(--primary); transform: scale(1.08); }
@media (max-width: 640px) {

.work-row .row-coll-pick { width: 24px; height: 24px; font-size: 12px; }
}
@media (max-width: 640px) {
.modal-collect { max-width: none; }
.cm-row { padding: 9px 10px; }
.cm-row-acts { gap: 4px; }
}


.fav-tabs {
display: inline-flex; gap: 4px; padding: 3px; margin: 4px 0 18px;
border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft, var(--tk96));
}
.fav-tab {
border: 0; border-radius: 7px; background: transparent; color: var(--muted);
padding: 7px 14px; font: inherit; font-size: 13.5px; cursor: pointer;
}
.fav-tab:hover { color: var(--text); }
.fav-tab.is-on { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(24,22,52,.09); font-weight: 600; }
#favPaneCollections .spp-tip { margin: 0 0 12px; }
.me-sec-link {
margin-left: auto; border: 0; background: none; color: var(--primary);
font: inherit; font-size: 12.5px; cursor: pointer; padding: 0;
}
.me-sec-link:hover { text-decoration: underline; }


.coll-pop {
position: fixed; z-index: 130; width: 330px; max-width: calc(100vw - 16px);
max-height: min(70vh, 560px); overflow-y: auto; padding: 14px;
border: 1px solid var(--border); border-radius: 14px; background: var(--card, #fff);
box-shadow: 0 18px 50px rgba(24, 22, 52, .22), 0 2px 8px rgba(24, 22, 52, .08);
user-select: text; -webkit-user-select: text;
animation: dmModalIn .18s ease both;
}
.coll-pop[style*="display: none"] { animation: none; }
.cp-head { display: flex; align-items: center; justify-content: space-between; }
.cp-head b { font-size: 15px; }
.cp-close { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; line-height: 1; }
.cp-tip { margin: 5px 0 12px; font-size: 12.5px; color: var(--muted); }
.cp-new { display: grid; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.cp-new input[type="text"] {
width: 100%; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 13.5px;
border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
.cp-new input[type="text"]:focus { outline: 2px solid rgba(var(--tk58-rgb), .2); border-color: var(--primary); }
.cp-new-btn { width: 100%; padding: 8px 10px; font-size: 13px; }
.cp-new-btn:disabled { opacity: .55; cursor: default; }
.coll-pop .cm-list { max-height: 30vh; }
.cp-manage {
display: block; width: 100%; margin-top: 12px; padding: 4px 0 0;
border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px;
text-align: center; cursor: pointer;
}
.cp-manage:hover { color: var(--primary); }
@media (max-width: 720px) {

.coll-pop {
left: 8px !important; right: 8px !important; top: auto !important; bottom: 8px;
width: auto; max-width: none; max-height: 72vh;
}
}


.wish-bounty {
display: flex; align-items: center; gap: 6px; margin-top: 9px;
font-size: 12.5px; color: var(--muted); cursor: pointer;
}
.wish-bounty[hidden] { display: none; }
.wish-bounty b { color: #b26a00; }
.br-bounty {
display: inline-flex; align-items: center; gap: 3px; white-space: nowrap;
padding: 2px 7px; border-radius: 999px; background: #fff4dd; color: #8a5a06; font-size: 12px;
}
.br-bounty.is-paid { background: #eaf3ee; color: #2f7d52; }
.id-bounty {
margin: 10px 0; padding: 9px 12px; border-radius: 9px;
background: #fff4dd; color: #8a5a06; font-size: 13px;
}


.cat-compare-btn {
padding: 5px 11px; border: 1px solid var(--border); border-radius: 8px;
background: #fff; color: var(--muted); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.cat-compare-btn.has-pick { border-color: var(--primary); color: var(--primary); background: var(--tk96); }

.cmp-pick {
position: relative; z-index: 3;
display: flex; align-items: center; justify-content: center; gap: 6px;
margin-top: 8px; min-height: 36px; padding: 6px 10px;
border: 1px solid var(--border); border-radius: 9px; background: var(--tk98);
color: var(--muted); font-size: 12.5px; cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.cmp-pick:hover, .cmp-pick:has(input:checked) { border-color: var(--primary); color: var(--primary); background: var(--tk96); }
.cmp-pick input { margin: 0; width: 15px; height: 15px; accent-color: var(--primary); }

.disc-card .cmp-pick { margin-top: 8px; }
.card-actions { z-index: 7; }
.modal-compare { width: min(920px, 100%); }
.modal-compare .cmp-clear {
margin-left: auto; margin-right: 8px; padding: 5px 9px;
border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--muted);
font-size: 12.5px; cursor: pointer;
}
.cmp-scroll { max-height: 70vh; overflow: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-table th, .cmp-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--tk98); font-size: 13px; }
.cmp-table thead th a { color: var(--text); text-decoration: none; }
.cmp-table thead th a:hover { color: var(--primary); }
.cmp-table thead th span { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; margin-top: 3px; }
.cmp-table tbody th { width: 84px; color: var(--muted); font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) {
.modal-compare { max-width: none; }
.cmp-table { min-width: 520px; }
.disc-m-remember { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
}


.paint-layer {
position: fixed; inset: 0; z-index: 92;
overflow: hidden;                 
visibility: hidden; pointer-events: none;
transition: visibility 0s .45s;   
}
.paint-layer.on {
visibility: visible; pointer-events: auto;
transition: visibility 0s;
}
.paint-sheet {
position: absolute; left: 0; right: 0; top: 60px; bottom: 0;   
background: var(--bg);             
transform: translateY(-104%);
transition: transform .45s cubic-bezier(.32, .72, .35, 1);
box-shadow: 0 -8px 30px rgba(27, 26, 24, .12);
}
.paint-layer.on .paint-sheet { transform: translateY(0); }
.paint-sheet iframe { display: block; width: 100%; height: 100%; border: 0; }

.paint-actions {
position: absolute; top: 12px; right: 16px; z-index: 5;
display: flex; align-items: center; gap: 8px;
}
.paint-wall, .paint-unwall, .paint-close {
border: 0; border-radius: 999px; padding: 7px 16px;
background: rgba(27, 26, 24, .07); color: rgba(27, 26, 24, .6);
font: 13px/1 "Kaiti SC", "STKaiti", "KaiTi", "楷体", serif;
cursor: pointer; transition: background .2s, color .2s;
}
.paint-wall:hover, .paint-unwall:hover, .paint-close:hover { background: rgba(27, 26, 24, .13); color: #1b1a18; }
.paint-close { position: static; }

.paint-entry {
position: fixed; top: 72px; right: 20px; z-index: 85;
display: inline-flex; align-items: center; gap: 6px;
padding: 8px 14px; border: 1px solid rgba(27, 26, 24, .14); border-radius: 999px;
background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px);
color: #4b4237; font-size: 13px; font-weight: 500; cursor: pointer;
box-shadow: 0 4px 14px rgba(27, 26, 24, .1);
transition: transform .15s, background .15s, box-shadow .15s;
}
.paint-entry:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 6px 18px rgba(27, 26, 24, .16); }
.paint-entry .ico { width: 16px; height: 16px; color: #7a6a52; }
.paint-entry .ico svg { width: 16px; height: 16px; stroke-width: 2.2; }
@media (max-width: 640px) {
.paint-entry { display: none; }   
}

#paintWp {
position: fixed; inset: 0; z-index: -1; pointer-events: none;
background-size: cover; background-position: center;

will-change: transform;
animation: wpDrift 48s ease-in-out infinite alternate;
}
#paintWp::after {
content: ''; position: absolute; inset: -20%;   
background:
radial-gradient(circle at 28% 32%, rgba(255, 246, 214, .12), transparent 52%),
radial-gradient(circle at 72% 68%, rgba(150, 190, 255, .10), transparent 52%);
will-change: transform;
animation: wpGlow 62s ease-in-out infinite alternate;
}
@keyframes wpDrift {

from { transform: scale(1.03) translate3d(0, 0, 0); }
to   { transform: scale(1.08) translate3d(-1%, -0.8%, 0); }
}
@keyframes wpGlow {
from { transform: translate3d(-2%, 1.4%, 0); }
to   { transform: translate3d(2%, -1.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
#paintWp, #paintWp::after { animation: none !important; }
}
body.paint-wp .aurora { opacity: 0; transition: opacity .8s; }

body.paint-sheet-open #paintWp,
body.paint-sheet-open #paintWp::after { animation-play-state: paused; }

body.paint-wp .site-header {
background: rgba(247, 247, 251, .62);
background: color-mix(in srgb, var(--bg) 62%, transparent);   
border-bottom-color: rgba(27, 26, 24, .1);
}

body.paint-wp .site-footer {
background: rgba(247, 247, 251, .62);
background: color-mix(in srgb, var(--bg) 62%, transparent);
}

@media (max-width: 640px) {
.paint-sheet { top: 0; }
}


@media (pointer: coarse) {
.close-btn::after {
content: ''; position: absolute; inset: -8px; border-radius: inherit;
}

.dm-list-head .close-btn, .share-modal-head .close-btn { position: relative; }


.tip-close, .fb-x, .cp-close, .bot-panel-close { position: relative; }
.tip-close::after, .fb-x::after, .cp-close::after, .bot-panel-close::after {
content: ''; position: absolute; border-radius: inherit;
}
.tip-close::after { inset: -12px; }   
.fb-x::after { inset: -7px; }         
.cp-close::after { inset: -14px; }    
.bot-panel-close::after { inset: -10px; }


.modal-mask { padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
.modal-mask:has(.modal.detail) { padding-top: env(safe-area-inset-top, 0px); }
.modal.detail { height: calc(100dvh - env(safe-area-inset-top, 0px)); }
.site-header { padding-top: env(safe-area-inset-top, 0px); }
.header-inner.search-open .search-box { top: env(safe-area-inset-top, 0px); }
.findbot { padding-top: env(safe-area-inset-top, 0px); }
}


@media (max-width: 640px) {
.hero-search-row { display: flex; align-items: center; gap: 8px; }
.hero-search-row .hero-search {
flex: 1 1 auto; width: auto; min-width: 0; margin: 0 0 10px;
}
.hero-search-row .hero-search > span {
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-search-row .hero-find#heroFindBtn {
flex: 0 0 auto; margin: 0 0 10px; padding: 6px 13px 7px;
font-size: 12px; white-space: nowrap;
}
}



html[data-theme="ink"] {
--glow-rgb: 128, 168, 216;
--grad-end: #4f8ec9;
--primary: #5b8ed6;
--primary-dark: #477ac2;
--brand-strong: #477ac2;
--bg: #f7f9fb;
--border: #e6eaf0;
--tk42: #3f679e;
--tk42-rgb: 63, 103, 158;
--tk44: #3f6ba8;
--tk44-rgb: 63, 107, 168;
--tk46: #4a72aa;
--tk48: #4575b8;
--tk50: #4179c8;
--tk52: #457bc6;
--tk52-rgb: 69, 123, 198;
--tk54: #5284c9;
--tk54-rgb: 82, 132, 201;
--tk56: #4f85d0;
--tk56-rgb: 79, 133, 208;
--tk58: #5b8ed6;
--tk58-rgb: 91, 142, 214;
--tk60: #6d93c9;
--tk62: #5c96e7;
--tk62-rgb: 92, 150, 231;
--tk64: #5598f7;
--tk64-rgb: 85, 152, 247;
--tk66: #639ef1;
--tk66-rgb: 99, 158, 241;
--tk68: #5ca0ff;
--tk68-rgb: 92, 160, 255;
--tk70: #77aaf2;
--tk70-rgb: 119, 170, 242;
--tk72: #9ab4d8;
--tk74: #b3bfcf;
--tk76: #8cbcff;
--tk76-rgb: 140, 188, 255;
--tk78: #96c2ff;
--tk78-rgb: 150, 194, 255;
--tk80: #b3caea;
--tk82: #c9d3e0;
--tk84: #c3d5ee;
--tk84-rgb: 195, 213, 238;
--tk86: #c6daf5;
--tk86-rgb: 198, 218, 245;
--tk88: #cbdffa;
--tk90: #d2e5ff;
--tk92: #d9e9ff;
--tk94: #f1f4f8;
--tk96: #eef4fc;
--tk98: #fafcfe;
--tk98-rgb: 250, 252, 254;
}
html[data-theme="amber"] {
--glow-rgb: 216, 168, 128;
--grad-end: #e8a96b;
--primary: #d6985b;
--primary-dark: #c28447;
--brand-strong: #c28447;
--bg: #fbf9f7;
--border: #f0ebe6;
--tk42: #9e6e3f;
--tk42-rgb: 158, 110, 63;
--tk44: #a8743f;
--tk44-rgb: 168, 116, 63;
--tk46: #aa7a4a;
--tk48: #b87e45;
--tk50: #c88441;
--tk52: #c68645;
--tk52-rgb: 198, 134, 69;
--tk54: #c98e52;
--tk54-rgb: 201, 142, 82;
--tk56: #d0904f;
--tk56-rgb: 208, 144, 79;
--tk58: #d6985b;
--tk58-rgb: 214, 152, 91;
--tk60: #c99b6d;
--tk62: #e7a25c;
--tk62-rgb: 231, 162, 92;
--tk64: #f7a655;
--tk64-rgb: 247, 166, 85;
--tk66: #f1aa63;
--tk66-rgb: 241, 170, 99;
--tk68: #ffae5c;
--tk68-rgb: 255, 174, 92;
--tk70: #f2b477;
--tk70-rgb: 242, 180, 119;
--tk72: #d8b99a;
--tk74: #cfc1b3;
--tk76: #ffc68c;
--tk76-rgb: 255, 198, 140;
--tk78: #ffcb96;
--tk78-rgb: 255, 203, 150;
--tk80: #eaceb3;
--tk82: #e0d4c9;
--tk84: #eed8c3;
--tk84-rgb: 238, 216, 195;
--tk86: #f5dec6;
--tk86-rgb: 245, 222, 198;
--tk88: #fae2cb;
--tk90: #ffe8d2;
--tk92: #ffecd9;
--tk94: #f8f4f1;
--tk96: #fcf5ee;
--tk98: #fefcfa;
--tk98-rgb: 254, 252, 250;
}
html[data-theme="jade"] {
--glow-rgb: 128, 216, 180;
--grad-end: #6ee0a8;
--primary: #5bd6b7;
--primary-dark: #47c2a3;
--brand-strong: #47c2a3;
--bg: #f7fbfa;
--border: #e6f0ee;
--tk42: #3f9e86;
--tk42-rgb: 63, 158, 134;
--tk44: #3fa88e;
--tk44-rgb: 63, 168, 142;
--tk46: #4aaa92;
--tk48: #45b89b;
--tk50: #41c8a6;
--tk52: #45c6a6;
--tk52-rgb: 69, 198, 166;
--tk54: #52c9ab;
--tk54-rgb: 82, 201, 171;
--tk56: #4fd0b0;
--tk56-rgb: 79, 208, 176;
--tk58: #5bd6b7;
--tk58-rgb: 91, 214, 183;
--tk60: #6dc9b2;
--tk62: #5ce7c4;
--tk62-rgb: 92, 231, 196;
--tk64: #55f7ce;
--tk64-rgb: 85, 247, 206;
--tk66: #63f1ce;
--tk66-rgb: 99, 241, 206;
--tk68: #5cffd6;
--tk68-rgb: 92, 255, 214;
--tk70: #77f2d3;
--tk70-rgb: 119, 242, 211;
--tk72: #9ad8c8;
--tk74: #b3cfc8;
--tk76: #8cffe2;
--tk76-rgb: 140, 255, 226;
--tk78: #96ffe5;
--tk78-rgb: 150, 255, 229;
--tk80: #b3eadc;
--tk82: #c9e0da;
--tk84: #c3eee3;
--tk84-rgb: 195, 238, 227;
--tk86: #c6f5e9;
--tk86-rgb: 198, 245, 233;
--tk88: #cbfaee;
--tk90: #d2fff4;
--tk92: #d9fff6;
--tk94: #f1f8f6;
--tk96: #eefcf8;
--tk98: #fafefd;
--tk98-rgb: 250, 254, 253;
}


.theme-modal { width: min(430px, calc(100vw - 32px)); }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.theme-item {
display: flex; flex-direction: column; align-items: center; gap: 5px;
padding: 12px 10px 11px; border: 1px solid var(--border); border-radius: 14px;
background: var(--card); color: var(--text); cursor: pointer; text-align: center;
transition: border-color .18s, background .18s, transform .18s;
}
.theme-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.theme-item.is-on { border-color: var(--primary); background: rgba(var(--tk58-rgb), .06); }
.theme-swatch {
position: relative; display: block; width: 100%; height: 44px;
border-radius: 9px; overflow: hidden;
background: linear-gradient(135deg, var(--sw-b), #fff);
}
.theme-swatch i { position: absolute; border-radius: 50%; background: var(--sw-a); }
.theme-swatch i:nth-child(1) { width: 26px; height: 26px; left: 12px; top: 9px; opacity: .9; }
.theme-swatch i:nth-child(2) { width: 16px; height: 16px; right: 18px; top: 17px; opacity: .45; }
.theme-swatch i:nth-child(3) { width: 8px; height: 8px; right: 44px; top: 7px; opacity: .7; }
.th-name { font-size: 13px; font-weight: 600; }
.th-note { font-size: 11px; color: var(--muted); }



.hero { padding: 30px 0 8px; }
.hero-sub { font-size: 13px; line-height: 1.6; color: var(--muted); }

.hero-sub-extra { display: none; }

@media (min-width: 721px) {
.hero { padding: 30px 0 8px; }
.hero h1, .hero .hero-title {
font-size: clamp(30px, 1.1vw + 14px, 34px);
line-height: 1.35; letter-spacing: .01em;
margin-bottom: 10px;
}
.hero .hero-sub { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.hero > .hero-search-combo { margin-top: 14px; }
.hero-search-combo .hero-search-slot { flex-basis: 400px; max-width: 480px; }

}

.hero-links { display: none; }
@media (min-width: 641px) {
.hero-links {
display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
margin-top: 10px;
}
.hero-links .hero-link-go {
display: inline-flex; align-items: center; gap: 3px;
font-size: 13px; font-weight: 600;
}
.hero-links .hl-arrow { font-size: 15px; line-height: 1; opacity: .65; }
}
.hero-find.hero-find-go {
background: #fff; color: var(--tk58);
box-shadow: 0 1px 3px rgba(var(--tk58-rgb), .08);
}
.hero-hot { margin-top: 12px; min-height: calc(1.7em + 5px); font-size: 12px; color: #6f6b85; }
.hero-hot-word { color: #5f5a78; background: rgba(var(--tk68-rgb), .12); }
.hh-badge { font-size: 10px; }

.featured-section { margin-top: 20px; }
.section-head { margin-bottom: 12px; }
.featured-row { gap: 16px; padding: 4px 2px 10px; }
.featured-card, .feat-sk {

flex-basis: clamp(300px, calc((100% - 32px) * 0.3125), 392px);
gap: 14px; min-height: 156px; padding: 16px;
background: #fff; border-color: #e4e6f0;
}
.featured-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(60, 60, 120, .10); }
.featured-card img, .feat-sk-img { width: 68px; height: 68px; border-radius: 12px; }
.featured-title {
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
white-space: normal; overflow: hidden; min-height: 40px;
font-size: 15px; line-height: 1.35;
}
.featured-intro {
-webkit-line-clamp: 2; min-height: 36px; margin-bottom: 6px;
font-size: 12.5px; line-height: 1.45;
}
.feat-sub { margin: 2px 0 6px; }
.featured-meta { gap: 6px; font-size: 12px; color: #6f7488; }
.feat-no { left: 8px; top: 8px; width: 22px; height: 22px; line-height: 22px; }
.feat-bar { max-width: 280px; margin-top: 4px; }

.filter-bar { gap: 10px; padding: 16px 0 18px; }

.filter-row .dd-btn {
padding: 6px 12px; font-size: 13px; border-radius: 999px;
background: rgba(255, 255, 255, .92); border-color: rgba(var(--tk58-rgb), .14);
}
.filter-row .dd-btn.has-value {
background: var(--primary-soft, var(--tk96)); border-color: var(--tk90);
}
.filter-row .dd-btn .dd-label { color: #6f7488; }
.sort-toggle, .view-toggle, .cols-toggle { border: 1px solid rgba(var(--tk58-rgb), .08); }
.sort-toggle .st-btn, .view-toggle .vt-btn, .cols-toggle .ct-btn { color: #6f7488; }
.remember-filters { padding: 3px 9px; font-size: 12px; }

.selected-filters {
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
padding: 10px 0 2px; font-size: 12.5px; color: var(--muted);
}
.selected-filters[hidden] { display: none; }
.sf-label { flex: none; }
.sf-chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 5px 9px; border-radius: 999px; cursor: pointer;
background: var(--primary-soft, var(--tk96)); color: var(--primary);
border: 1px solid rgba(var(--tk58-rgb), .16); font-size: 12px; line-height: 1.2;
transition: background .15s, border-color .15s;
}
.sf-chip:hover { background: var(--tk92); border-color: var(--tk90); }
.sf-x { font-size: 13px; line-height: 1; opacity: .7; }
.sf-clear {
border: 0; background: none; padding: 4px 2px; cursor: pointer;
color: var(--primary); font-size: 12.5px; font-weight: 600;
}
.sf-clear:hover { text-decoration: underline; }



.hero-search-combo { gap: 10px; }
.hero-search-field {
display: flex; align-items: center; flex: 1 1 520px; max-width: 560px; min-width: 0;
padding: 4px; border: 1px solid #e5e3f2; border-radius: 15px;
background: #fff;
box-shadow: 0 4px 18px rgba(var(--tk58-rgb), .08);
transition: border-color .15s, box-shadow .15s;
}
.hero-search-field:focus-within {
border-color: rgba(var(--tk58-rgb), .55);
box-shadow: 0 0 0 3px rgba(var(--tk68-rgb), .12), 0 6px 20px rgba(var(--tk58-rgb), .12);
}
.hero-search-combo .hero-search-slot {
flex: 1 1 auto; max-width: none; min-width: 0; margin-right: 0;
}
.hero-search-combo .search-box input {
height: 42px; padding-left: 46px;
border: 0; border-radius: 11px; background: transparent;
box-shadow: none; font-size: 14px;
}
.hero-search-combo .search-box input:focus {
border-color: transparent; background: transparent; box-shadow: none;
}

.hero-search-combo .search-box input::placeholder { color: #857f96; opacity: 1; }

.hero-search-combo .search-icon {
left: 11px; top: 50%; transform: translateY(-50%);
width: 27px; height: 27px; border-radius: 50%;
background: rgba(var(--tk58-rgb), .10); color: var(--primary);
display: flex; align-items: center; justify-content: center;
font-size: 13px; opacity: 1;
}

.hero-search-combo #heroSearchGo {
flex: none; height: 42px; margin-left: 6px; padding: 0 14px;
border-radius: 11px; background: var(--primary-soft, var(--tk96)); color: var(--primary);
box-shadow: none; font-size: 13px; font-weight: 600;
}
.hero-search-combo #heroSearchGo:hover { background: var(--tk92); }
.hero-find.hero-find-go {
flex: none; height: 42px; margin-left: 6px; padding: 0 15px; border-radius: 11px;
border: 0; background: var(--primary); color: #fff;
box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .2);
font-size: 13px; font-weight: 600;
}
.hero-find.hero-find-go b { font-weight: 700; }
.hero-find.hero-find-go .hf-star { margin-right: 3px; opacity: .9; }
.hero-find.hero-find-go:hover { filter: brightness(1.06); }


@media (min-width: 641px) and (max-height: 760px) {
.hero { padding: 18px 0 4px; }
.hero-sub { font-size: 12.5px; line-height: 1.55; }
.hero > .hero-search-combo { margin-top: 10px; }
.hero-hot { margin-top: 8px; }
.featured-section { margin-top: 12px; }
.section-head { margin-bottom: 8px; }
.featured-row { padding: 4px 2px 6px; }
.featured-card, .feat-sk { min-height: 140px; padding: 12px; gap: 10px; }
.featured-card img, .feat-sk-img { width: 60px; height: 60px; border-radius: 10px; }
.filter-bar { padding: 10px 0 12px; }
}


@media (min-width: 641px) {
.featured-card, .feat-sk { min-height: 104px; padding: 12px; gap: 12px; }
.featured-card img, .feat-sk-img { width: 60px; height: 60px; border-radius: 11px; }
.featured-title {
display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
min-height: 0; font-size: 15px; line-height: 1.4;
}
.featured-intro {
display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
-webkit-line-clamp: unset; min-height: 0; margin-bottom: 4px;
font-size: 12.5px; line-height: 1.45;
}
.feat-sub { display: none; }
.featured-meta { margin-top: 2px; }
}
@media (min-width: 641px) and (max-height: 760px) {
.featured-card, .feat-sk { min-height: 96px; padding: 10px; gap: 10px; }
.featured-card img, .feat-sk-img { width: 54px; height: 54px; border-radius: 10px; }
}


@media (min-width: 641px) {
.featured-row { gap: 16px; }
.featured-card, .feat-sk {
flex: 0 0 calc((100% - 64px) / 4.5);
min-height: 0; padding: 12px 16px; gap: 10px;
}
.featured-card img, .feat-sk-img { width: 56px; height: 56px; border-radius: 11px; }
.featured-title {
display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
min-height: 0; font-size: 14px; line-height: 1.4;
}
.featured-intro {
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
white-space: normal; overflow: hidden; min-height: 0; margin-bottom: 4px;
font-size: 12px; line-height: 1.4;
}
}
@media (min-width: 641px) and (max-height: 760px) {
.featured-card, .feat-sk { padding: 10px 14px; gap: 8px; }
.featured-card img, .feat-sk-img { width: 52px; height: 52px; border-radius: 10px; }
}


@media (min-width: 641px) {
.featured-card, .feat-sk { min-height: 134px; }
.featured-card .featured-meta { margin-top: auto; }
.featured-card .feat-sub {
position: absolute; left: 16px; bottom: 12px; z-index: 2;
display: block; max-width: 64px; margin: 0;
}
.featured-card .feat-reason {
display: block; max-width: 100%;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
font-size: 10px; line-height: 13px; padding: 1px 7px; border-radius: 4px;

margin-bottom: 5px;
}

.featured-card .feat-author { max-width: 100%; }
.featured-card .fa-name { min-width: 0; }
}
@media (min-width: 641px) and (max-height: 760px) {

.featured-card, .feat-sk { min-height: 124px; }
.featured-card .feat-sub { left: 14px; bottom: 10px; max-width: 60px; }
.featured-card .feat-reason { font-size: 9px; line-height: 12px; }
}


.featured-row.feat-fade-r {
-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
}


.hero-showcase { display: none; }
@media (min-width: 1024px) {
.hero {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
grid-template-areas:
"title visual"
"sub   visual"
"search visual"
"links visual"
"hot   visual";
align-items: center;
column-gap: 36px;
text-align: left;
padding: 48px 0 18px;
}
.hero h1 {
grid-area: title;
font-size: clamp(36px, 3vw, 44px);
line-height: 1.2; margin-bottom: 14px;
}

#homeView .hero h1 .grad { display: block; }
.hero .hero-sub { grid-area: sub; max-width: 560px; line-height: 1.75; }
.hero .hero-links { grid-area: links; margin-top: 10px; }
.hero > .hero-search-combo { grid-area: search; justify-content: flex-start; margin-top: 22px; }

.hero-search-combo .hero-search-slot { flex: 1 1 auto; max-width: none; }
.hero-search-field { flex: 1 1 380px; }
.hero .hero-hot { grid-area: hot; justify-content: flex-start; max-width: 620px; margin-top: 14px; }
.hero-search-row { display: none; }   

.hero-showcase {
grid-area: visual; display: block; position: relative;

width: 100%; max-width: 440px; height: 388px; margin: 0 auto;
}
}

.hs-halo {
position: absolute; inset: 40px 24px 16px; z-index: 0;
border-radius: 44px; pointer-events: none;
background: var(--primary-soft, var(--tk96)); opacity: .75;
filter: blur(26px);
}
.hs-deck { position: absolute; inset: 0; z-index: 1; }
.hs-card {
position: absolute; left: 0; right: 0; top: 0;
padding: 8px; border-radius: 14px; cursor: pointer;
background: #fff; border: 1px solid var(--border);
box-shadow: 0 12px 30px rgba(60, 60, 120, .14);
will-change: transform;
transition: transform 520ms cubic-bezier(.22, 1, .36, 1), opacity 520ms ease;
}
.hs-card:not(.is-front) { pointer-events: none; }
.hs-card.is-front { box-shadow: 0 20px 44px rgba(60, 60, 120, .2); }

.hs-media {
position: relative; aspect-ratio: 16 / 10;
border-radius: 9px; overflow: hidden; background: var(--tk94);
}
.hs-media img {
width: 100%; height: 100%; object-fit: cover; display: block;
}

.hs-foot {
display: flex; flex-direction: column; gap: 4px; padding: 10px 4px 4px;
opacity: 0; pointer-events: none;
transition: opacity 520ms ease;
}
.hs-card.is-front .hs-foot { opacity: 1; }
.hs-foot-top { display: flex; align-items: center; gap: 8px; }
.hs-title {
flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hs-views { flex: none; font-size: 12px; color: var(--muted); white-space: nowrap; }

.hs-desc {
font-size: 12px; line-height: 1.45; color: var(--muted);
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
overflow: hidden;
}



#hsDots {
position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
z-index: 41; display: flex; align-items: center; justify-content: center; gap: 8px;
padding: 4px 6px; border-radius: 999px;

background: none; box-shadow: none;
}
#hsDots[hidden] { display: none; }
#hsDots::before, #hsDots::after { content: none; }   
.hs-dot {
width: 36px; height: 6px; padding: 0; border: 0; border-radius: 999px;
background: #d5d1e4; overflow: hidden; cursor: pointer;
box-shadow: inset 0 0 0 1px rgba(80, 70, 120, .07);
transition: background-color .2s;
}
.hs-dot:hover { background: #c5bee0; }
.hs-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.hs-dot-fill {
display: block; width: 100%; height: 100%; border-radius: inherit;
background: linear-gradient(90deg, #4b3fd6, #7a5cf0);
transform: scaleX(0); transform-origin: left center;
}
.hs-dot.is-active .hs-dot-fill { transform: scaleX(1); }
@keyframes hsDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hs-dot.is-running .hs-dot-fill { animation: hsDotFill var(--hs-cycle, 20000ms) linear both; }
.hs-dot.is-paused .hs-dot-fill { animation-play-state: paused; }
#hsDots { transition: opacity .12s; }

.hs-spin {
position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%);
z-index: 42; width: 28px; height: 28px; border-radius: 50%;
border: 3px solid rgba(70, 65, 95, .2); border-top-color: #222; border-right-color: #222;
animation: hsSpin .8s linear infinite;
}
.hs-spin[hidden] { display: none; }
@keyframes hsSpin { to { transform: translateX(-50%) rotate(360deg); } }
.hero-showcase.is-switching #hsDots { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
.hs-dot.is-active .hs-dot-fill { transform: scaleX(1); }
}

@keyframes hsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
.hs-card.is-front .hs-inner { animation: hsFloat 7s ease-in-out infinite; }
}


@media (min-width: 641px) {
.site-header {
background: linear-gradient(100deg, var(--tk98), var(--primary-soft, var(--tk96)) 52%, var(--tk98));
border-bottom-color: rgba(var(--tk58-rgb), .12);
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.main-nav .nav-tabs {
height: auto; gap: 2px; padding: 3px;
background: rgba(255, 255, 255, .62);
border: 1px solid rgba(var(--tk58-rgb), .10);
border-radius: 999px;
}
.main-nav .nav-tabs .nav-btn {
padding: 6px 13px; border-radius: 999px; font-size: 13.5px;
}
.main-nav .nav-tabs .nav-btn:hover {
color: var(--primary); background: rgba(255, 255, 255, .92);
}
.main-nav .nav-tabs .nav-btn.active {
color: var(--primary); background: #fff; box-shadow: 0 1px 4px rgba(60, 60, 120, .12);
}
.pub-btn {
background: var(--primary-soft, var(--tk96)); color: var(--primary);
border: 1px solid rgba(var(--tk58-rgb), .14); box-shadow: none;
}
.pub-btn:hover, .pub-btn.is-open { background: var(--tk92); box-shadow: 0 2px 8px rgba(var(--tk58-rgb), .14); }
.plus-ico::before, .plus-ico::after { background: var(--primary); }
.checkin-entry, .notice-entry, .user-chip {
background: rgba(255, 255, 255, .72);
border: 1px solid rgba(var(--tk58-rgb), .10);
}
.checkin-entry .ck-pts { border-left-color: rgba(var(--tk58-rgb), .16); }
}
@media (min-width: 821px) and (max-width: 1360px) {
.main-nav .nav-tabs .nav-btn { padding: 6px 10px; font-size: 13.5px; }
}
@media (min-width: 641px) and (max-width: 820px) {
.main-nav .nav-tabs { height: auto; gap: 0; }
.main-nav .nav-tabs .nav-btn { padding: 5px 8px; }
}


@media (min-width: 641px) {
.site-header {
background-color: var(--tk98);
background-image:
radial-gradient(rgba(var(--tk58-rgb), .07) .7px, transparent .8px),
linear-gradient(100deg, var(--tk98) 0%, var(--tk96) 32%, var(--tk98) 62%, var(--tk94) 100%);
background-size: 18px 18px, 100% 100%;
border-bottom-color: rgba(var(--tk58-rgb), .08);
}
.header-inner { gap: 18px; }
.logo { gap: 9px; font-size: 17px; color: #211d33; }

.logo-mark {
position: relative; width: 26px; height: 26px; border-radius: 8px;
background: var(--brand-strong); -webkit-mask: none; mask: none;
}
.logo-mark::before {
content: ""; position: absolute; inset: 4px; background: #fff;
-webkit-mask: url('/logo.svg') center / contain no-repeat;
mask: url('/logo.svg') center / contain no-repeat;
}
.main-nav .nav-tabs {
height: auto; gap: 3px; padding: 0; background: none; border: 0;
}
.main-nav .nav-tabs .nav-btn {
padding: 7px 13px; border-radius: 10px; font-size: 13.5px; color: #666579;
}
.main-nav .nav-tabs .nav-btn:hover {
color: var(--brand-strong); background: rgba(var(--tk58-rgb), .07);
}
.main-nav .nav-tabs .nav-btn.active {
color: var(--brand-strong); background: var(--tk96); font-weight: 600; box-shadow: none;
}

.main-nav .nav-tabs > .nav-btn > .ico { display: none; }

.nav-more { position: relative; display: inline-flex; }
.nav-more-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nm-caret { width: 14px; height: 14px; flex: none; transition: transform .16s; }
.nav-more.is-open .nm-caret { transform: rotate(180deg); }
.nav-more-menu {
position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
min-width: 150px; padding: 6px;
background: #fff; border: 1px solid rgba(var(--tk58-rgb), .12); border-radius: 12px;
box-shadow: 0 12px 30px rgba(40, 34, 90, .14);
}
.nav-more-menu[hidden] { display: none; }
.nav-menu-item {
display: flex; align-items: center; gap: 9px; width: 100%;
padding: 9px 11px; border: 0; border-radius: 9px; background: none;
color: #4a475c; font-size: 13px; font-weight: 500; text-align: left;
text-decoration: none; cursor: pointer;
}
.nav-menu-item:hover, .nav-menu-item:focus-visible {
color: var(--brand-strong); background: var(--tk96); outline: none;
}
.nav-menu-item .ico { display: inline-flex; width: 15px; height: 15px; }
.nav-menu-item .ico svg { width: 15px; height: 15px; }

.pub-btn {
width: 30px; height: 30px; background: transparent;
border-color: transparent; box-shadow: none; color: var(--brand-strong);
}
.pub-btn:hover, .pub-btn.is-open {
background: rgba(var(--tk58-rgb), .08); box-shadow: none;
}
.plus-ico::before, .plus-ico::after { background: var(--brand-strong); }
.checkin-entry, .notice-entry, .user-chip {
background: rgba(255, 255, 255, .56);
border-color: rgba(var(--tk58-rgb), .07);
}
.checkin-entry.is-todo { background: rgba(255, 255, 255, .56); }
.notice-entry.has-new { background: var(--tk96); }
}


@media (min-width: 641px) {
.site-header .pub-btn {
background: var(--tk96); border-color: transparent; box-shadow: none;
}
.site-header .pub-btn:hover, .site-header .pub-btn.is-open {
background: var(--tk92); box-shadow: none;
}
.auth-box .checkin-entry,
.auth-box .checkin-entry.is-todo,
.auth-box .user-chip {
background: #ebecf2; border-color: rgba(var(--tk58-rgb), .06);
}
.auth-box .checkin-entry,
.auth-box .checkin-entry.is-todo { color: #52558b; font-weight: 500; }

.auth-box .checkin-entry .lb-ico,
.auth-box .checkin-entry .ck-pts .ico { display: none; }

.auth-box .checkin-entry .ck-label { display: inline; color: #75768b; font-weight: 500; }
.auth-box .checkin-entry:hover { background: #e3e1ed; }
.auth-box .checkin-entry .ck-pts {
color: #26273c; border-left-color: rgba(82, 85, 139, .22); font-weight: 600;
}
.auth-box .checkin-entry.is-done .ck-pts { background: none; color: #26273c; }
.auth-box .notice-entry,
.auth-box .notice-entry.has-new {
background: none; border-color: transparent; color: #7e8196;
}

.auth-box .notice-entry:hover,
.auth-box .notice-entry.has-new:hover {
background: #ebecf2; border-color: rgba(var(--tk58-rgb), .06); color: var(--brand-strong);
}
.auth-box .user-chip {
color: #2f3046; font-size: 13px; font-weight: 500;
height: 34px; padding: 3px 12px 3px 3px; gap: 7px;
}
.auth-box .user-chip:hover { background: #e3e1ed; }
.auth-box .user-chip .uc-ava {
width: 28px; height: 28px; background: var(--tk90); color: var(--brand-strong);
}
.auth-box .user-chip .um-caret { color: #9a9cb2; }
}


@media (min-width: 641px) {
.auth-box .checkin-entry {
height: 32px; padding: 0 12px;
color: var(--ink-600); font-weight: 400;
}
.auth-box .checkin-entry .ck-label {
display: inline; color: var(--ink-400); font-weight: 400; font-family: var(--font-body);
}
.auth-box .checkin-entry .ck-plus {
font-weight: 600; color: var(--ink-600); margin-left: 3px;
}
.auth-box .checkin-entry .ck-pts {
position: relative; margin-left: 8px; padding-left: 11px;
border-left: 0; background: none;
font-weight: 600; color: var(--ink-600); font-family: var(--font-body);
}

.auth-box .checkin-entry .ck-pts::before {
content: ""; position: absolute; left: 0; top: 50%;
width: 1px; height: 14px; transform: translateY(-50%);
background: rgba(var(--tk58-rgb), .20);
}

.auth-box .checkin-entry.is-done { color: var(--ink-600); }
.auth-box .checkin-entry.is-done .ck-label { color: var(--ink-400); }
.auth-box .checkin-entry.is-done .ck-pts { background: none; color: var(--ink-600); }
.auth-box .user-chip {

height: 32px; padding: 2px 10px 2px 6px; gap: 10px;
background: #fff; border-color: rgba(var(--tk58-rgb), .10);
box-shadow: 0 1px 2px rgba(40, 34, 90, .10);
color: var(--ink-600); font-size: 13px; font-weight: 400; font-family: var(--font-body);
}
.auth-box .user-chip:hover {
background: #fff; box-shadow: 0 2px 6px rgba(40, 34, 90, .14);
}
.auth-box .user-chip .uc-name { color: var(--ink-600); font-weight: 400; }
.auth-box .user-chip .uc-ava {
width: 28px; height: 28px;
background: rgba(var(--tk58-rgb), .12); color: var(--brand-strong);
font-family: var(--font-display);
}
.auth-box .user-chip svg.um-caret {
width: 14px; height: 14px; flex: none; color: var(--ink-300);
}

@media (max-width: 820px) {
.auth-box .user-chip { gap: 7px; }
}
}


.hero::before {
content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
background-image: radial-gradient(rgba(var(--tk58-rgb), .15) 1px, transparent 1px);
background-size: 26px 26px;
-webkit-mask-image: linear-gradient(to bottom, #000 8%, transparent 62%);
mask-image: linear-gradient(to bottom, #000 8%, transparent 62%);
}



#hsDots { width: min(100%, 300px); }
.hs-dot { flex: 0 1 36px; width: 36px; min-width: 6px; max-width: 36px; }
.hs-kind {
position: absolute; top: 14px; left: 14px; z-index: 2;
display: inline-flex; align-items: center; gap: 3px;
padding: 4px 9px; border-radius: 999px;
font-size: 11px; font-weight: 600; line-height: 1;
letter-spacing: .02em; white-space: nowrap;
box-shadow: 0 2px 8px rgba(30, 30, 70, .14);
}
.hs-kind-self { background: var(--brand-strong); color: #fff; }
.hs-kind-cert { background: #0f8a86; color: #fff; }
.hs-kind-peak { background: #f5b323; color: #4a3200; }
.hs-kind-rec { background: #e8597a; color: #fff; }
@media (max-width: 1023px) {
.hs-kind { top: 10px; left: 10px; font-size: 10px; padding: 3px 7px; }
}


.filter-bar .filter-row {
display: inline-flex; align-items: center; flex-wrap: wrap;
gap: 2px 0; padding: 4px;
background: #fff;
border: 1px solid rgba(30, 34, 70, .07);
border-radius: 999px;
box-shadow: 0 1px 2px rgba(30, 34, 70, .04), 0 8px 22px rgba(30, 34, 70, .06);
}

.filter-row .dd-filter + .dd-filter::before {
content: ''; position: absolute; left: -1px; top: 50%;
width: 1px; height: 16px; margin-top: -8px;
background: rgba(30, 34, 70, .10);
transition: opacity .12s;
}
.filter-row .dd-filter:hover::before,
.filter-row .dd-filter:hover + .dd-filter::before,
.filter-row .dd-filter.open::before,
.filter-row .dd-filter.open + .dd-filter::before { opacity: 0; }

.filter-row .dd-btn {
padding: 7px 12px; gap: 6px;
border: 0; border-radius: 999px; background: transparent;
font-size: 13px; color: #2b2f45; box-shadow: none;
}
.filter-row .dd-btn:hover { background: #f4f5f7; }
.filter-row .dd-filter.open .dd-btn { background: #f4f5f7; box-shadow: none; }
.filter-row .dd-btn .dd-ico { font-size: 14px; color: #5f6478; }
.filter-row .dd-btn .dd-label { color: #2b2f45; font-weight: 500; }
.filter-row .dd-btn .dd-caret { display: inline-flex; align-items: center; color: #a3a8ba; }
.filter-row .dd-btn .dd-caret .ico { width: 13px; height: 13px; }

.filter-row .dd-btn:not(.has-value) .dd-value { display: none; }
.filter-row .dd-btn.has-value { background: #eef0f3; border-color: transparent; }
.filter-row .dd-btn.has-value .dd-label { color: #8a8fa3; font-weight: 400; }
.filter-row .dd-btn.has-value .dd-value { color: var(--text); }

@media (max-width: 1120px) {
.filter-row .dd-filter + .dd-filter::before { display: none; }
}

.sort-toggle .st-btn { display: inline-flex; align-items: center; gap: 5px; }
.sort-toggle .st-btn .ico { font-size: 13px; }

.sort-toggle { padding: 4px; }
.sort-toggle .st-btn { height: 30px; }
.remember-filters-main .ico { font-size: 13px; }
.author-logs { margin-bottom: 20px; }
.alog-head {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 12px;
}
.alog-title {
display: inline-flex; align-items: center; gap: 6px;
font-size: 16px; font-weight: 700; color: var(--text);
}
.alog-title .ico { color: var(--primary); }
.alog-write {
font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
padding: 7px 16px; border-radius: 999px; border: none;
background: linear-gradient(135deg, var(--tk68), var(--tk58)); color: #fff;
transition: filter .15s;
}
.alog-write:hover { filter: brightness(1.08); }
.alog-card {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 16px 18px; margin-bottom: 12px;
}
.alog-card-head { display: flex; align-items: center; gap: 8px; }
.alog-date { font-size: 12.5px; color: var(--muted); font-family: var(--font-num); }
.alog-edited { font-style: normal; font-size: 11.5px; color: var(--muted); background: var(--tk96); border-radius: 999px; padding: 1px 8px; }
.alog-ops { margin-left: auto; display: inline-flex; gap: 4px; }
.alog-op {
font-family: inherit; font-size: 12px; color: var(--muted); cursor: pointer;
background: transparent; border: none; border-radius: 8px; padding: 3px 8px;
transition: background .15s, color .15s;
}
.alog-op:hover { background: var(--tk96); color: var(--primary-dark); }
.alog-card-title { margin: 8px 0 0; font-size: 15.5px; font-weight: 700; color: var(--text); }
.alog-body { margin-top: 8px; }
.alog-body p { margin: 0 0 8px; font-size: 14px; line-height: 1.75; color: var(--text); }
.alog-body p:last-child { margin-bottom: 0; }
.alog-img {
display: block; max-width: 100%; max-height: 460px;
border-radius: 10px; margin: 8px 0; border: 1px solid var(--border);
}
.alog-card.alog-empty p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.alog-empty-act { margin-top: 12px !important; }
@media (max-width: 640px) {
.alog-card { padding: 13px 14px; }
}
.alog-composer { width: min(560px, 94vw); padding: 22px; }
.alog-cp-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.alog-cp-hint { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.alog-cp-input {
width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14.5px;
padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
background: var(--bg); color: var(--text); margin-bottom: 10px;
}
.alog-cp-input:focus, .alog-cp-text:focus { outline: none; border-color: var(--primary); }
.alog-cp-text {
width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14px; line-height: 1.7;
padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
background: var(--bg); color: var(--text);
min-height: 180px; resize: vertical;
}
.alog-cp-bar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.alog-cp-img {
font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
padding: 7px 14px; border-radius: 999px; border: 1px dashed var(--tk86);
background: var(--tk98); color: var(--primary);
transition: filter .15s;
}
.alog-cp-img:hover { filter: brightness(0.97); }
.alog-cp-img:disabled { opacity: .6; cursor: default; }
.alog-cp-count { flex: 1; font-size: 12px; color: var(--muted); }
.alog-confirm { width: min(360px, 90vw); padding: 22px; }
.alog-cf-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.alog-cf-sub { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted); word-break: break-all; }
.alog-cf-row { display: flex; gap: 10px; justify-content: flex-end; }
.alog-cf-no {
font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border);
background: transparent; color: var(--text);
}
.alog-cf-yes {
font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
padding: 8px 18px; border-radius: 999px; border: none;
background: var(--danger); color: #fff;
}
.alog-cf-yes:disabled { opacity: .6; }