html[data-ui-theme="meme"] .meme-welcome-stop{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:1000;min-height:44px;padding:8px 14px;border:1px solid #9eb5ba;border-radius:24px;background:#f5f8f6;color:#416975;font:inherit;font-size:14px;cursor:pointer}
/* FC optional skin. Loaded only after an explicit FC selection or authorized preview.
   Original page DOM, strings, form handlers and security widgets remain authoritative. */
html[data-ui-theme="meme"]{--fc-paper:#f2f1ed;--fc-bg:#e7e7e3;--fc-ink:#292a36;--fc-red:#9f4641;--fc-gold:#d9bd76;--fc-blue:#315f8a;--accent:#9f4641;--muted:#64635e;--page:#e7e7e3;color-scheme:light;font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:var(--fc-ink)}
html[data-ui-theme="meme"] body{background:var(--fc-bg)!important;color:var(--fc-ink)!important;line-height:1.75}
html[data-ui-theme="meme"] :is(.panel,.card,.entry,.auth-card,.modal,.subscription-sheet,.shared-use-notice,.dashboard-announcement){border:2px solid var(--fc-ink)!important;border-radius:0!important;box-shadow:4px 4px 0 var(--fc-ink)!important;background:var(--fc-paper)!important;color:var(--fc-ink)!important}
html[data-ui-theme="meme"] :is(h1,h2,h3,strong,.brand){color:var(--fc-ink);letter-spacing:0;font-weight:800}
html[data-ui-theme="meme"] :is(.muted,.note,small,.subscription p){color:#64635e}
html[data-ui-theme="meme"] :is(input,select,textarea){border:2px solid var(--fc-ink)!important;border-radius:0!important;background:#f7f6f2!important;color:var(--fc-ink)!important;font:inherit;min-height:44px}
html[data-ui-theme="meme"] :is(button,.btn,.primary,.secondary){border-radius:0!important;font:inherit}
html[data-ui-theme="meme"] :is(.primary,.secondary,.btn,.entry button,.shared-account-card button,.shared-use-notice button){border:2px solid var(--fc-ink)!important;box-shadow:3px 3px 0 var(--fc-ink);min-height:44px;padding:10px 16px;background:var(--fc-paper);color:var(--fc-ink);font-weight:700}
html[data-ui-theme="meme"] :is(.primary,.auth-card form>button,.shared-account-card form>button){background:var(--fc-red)!important;color:var(--fc-paper)!important}
html[data-ui-theme="meme"] :is(.primary,.secondary,.btn):active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--fc-ink)}
html[data-ui-theme="meme"] :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--fc-blue);outline-offset:4px}
html[data-ui-theme="meme"] :is(.sidebar,.topbar,#productHeader){background:var(--fc-bg)!important;border-color:var(--fc-ink)!important;color:var(--fc-ink)!important}
html[data-ui-theme="meme"] #productHeader{border-bottom:2px solid var(--fc-ink);max-width:1200px;margin:auto;min-height:76px}
html[data-ui-theme="meme"] #productHeader .brand{color:var(--fc-red);font-weight:900;text-shadow:2px 2px 0 #d5d3ca}
html[data-ui-theme="meme"] .public{max-width:1200px;margin-inline:auto;padding:32px 26px}
html[data-ui-theme="meme"] .home>.hero{background:transparent;box-shadow:none;border:0;padding:10px 0 32px;display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}
html[data-ui-theme="meme"] .home>.hero::after{content:"";display:block;width:100%;aspect-ratio:480/290;background:url('/static/ui-theme-fc-sky.svg') center/cover no-repeat;image-rendering:pixelated;border:2px solid var(--fc-ink);box-shadow:5px 5px 0 var(--fc-ink);grid-column:2;grid-row:1/3;align-self:center}
html[data-ui-theme="meme"] .home>.hero>h1{font-size:32px!important;line-height:1.65!important;grid-column:1;align-self:end;margin:0!important;padding:0!important}
html[data-ui-theme="meme"] .home>.hero>p{font-size:16px!important;line-height:1.9!important;grid-column:1;align-self:start;margin:0!important}
html[data-ui-theme="meme"] .home-entries{gap:22px;grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-ui-theme="meme"] .entry{padding:24px;min-height:185px;overflow-wrap:anywhere}
html[data-ui-theme="meme"] .entry .icon{border-radius:0;color:var(--fc-red);font-weight:bold}
html[data-ui-theme="meme"] .entry b{font-size:21px;line-height:1.6}
html[data-ui-theme="meme"] .entry small{font-size:13px;line-height:1.9}
html[data-ui-theme="meme"] :is(.card-title,.card-body,.plan-bottom){background:transparent;border-color:#c1b69d}
html[data-ui-theme="meme"] .sidebar{border-right:2px solid var(--fc-ink)}
html[data-ui-theme="meme"] .sidebar .brand{color:var(--fc-red);font-weight:900}
html[data-ui-theme="meme"] .nav-link.active{background:var(--fc-red)!important;color:var(--fc-paper)!important;border:2px solid var(--fc-ink);box-shadow:3px 3px 0 var(--fc-ink);margin:4px 12px;padding-left:10px}
html[data-ui-theme="meme"] .nav-link:not(.active){color:var(--fc-ink)}
html[data-ui-theme="meme"] .page{max-width:1250px;margin-inline:auto;padding:28px 30px}
html[data-ui-theme="meme"] .dashboard-announcement{background:#e8e2d3!important}
html[data-ui-theme="meme"] .meter{border:2px solid var(--fc-ink);border-radius:0;height:12px}
html[data-ui-theme="meme"] .tabs button{border:2px solid var(--fc-ink);background:var(--fc-paper);color:var(--fc-ink);margin-right:8px}
html[data-ui-theme="meme"] .tabs button.selected{background:#e5eff1;color:#386e87}
html[data-ui-theme="meme"] :is(th,.plan-bottom){background:#e8e5dc}
html[data-ui-theme="meme"] :is(td,.list-row,.shortcut){border-color:#c1b69d}
html[data-ui-theme="meme"] .auth{background:var(--fc-bg)}
html[data-ui-theme="meme"] .auth-card{border-radius:0;overflow:visible;max-width:960px}
html[data-ui-theme="meme"] .auth-decoration{background:#9f4641!important}
html[data-ui-theme="meme"] .auth-decoration::after{content:"";display:block;background:url('/static/ui-theme-fc-sky.svg') center/contain no-repeat;image-rendering:pixelated;width:100%;aspect-ratio:480/290}
html[data-ui-theme="meme"] .subscription-sheet :is(header,.subscription-entry){background:var(--fc-paper);color:var(--fc-ink);border-color:#c1b69d;border-radius:0}
html[data-ui-theme="meme"] .shared-use-notice{padding:26px;max-width:650px;margin:24px auto}
html[data-ui-theme="meme"] .shared-use-notice::before{content:"";display:block;width:100%;max-width:320px;aspect-ratio:480/290;margin:0 auto 24px;background:url('/static/ui-theme-fc-supply.svg') center/contain no-repeat;image-rendering:pixelated}
html[data-ui-theme="meme"] .shared-use-warning{background:#eee2d8;color:#a52b28;border:2px solid var(--fc-red);border-radius:0}
html[data-ui-theme="meme"] .shared-use-challenge{background:var(--fc-paper);border-radius:0;box-shadow:none}
html[data-ui-theme="meme"] .shared-use-footnote{color:var(--fc-ink)}
html[data-ui-theme="meme"] .shared-account-card{padding:24px}
html[data-ui-theme="meme"] .shared-account-usable{color:#376343}
html[data-ui-theme="meme"] .shared-guide-warning{color:#a52b28;background:#eee2d8;border-color:var(--fc-red)}
html[data-ui-theme="meme"] footer{color:#64635e;border-top:2px solid var(--fc-ink);margin:24px auto 0;max-width:1148px}
html[data-ui-theme="meme"] [hidden]{display:none!important}
@media(max-width:760px){html[data-ui-theme="meme"] .public{padding:24px 20px}html[data-ui-theme="meme"] .home>.hero{grid-template-columns:1fr;gap:20px}html[data-ui-theme="meme"] .home>.hero::after{grid-column:1;grid-row:auto;margin-top:4px}html[data-ui-theme="meme"] .home>.hero>h1{font-size:28px!important}html[data-ui-theme="meme"] .home>.hero>p{font-size:15px!important}html[data-ui-theme="meme"] .home-entries{grid-template-columns:1fr;gap:20px}html[data-ui-theme="meme"] .entry{min-height:100px;padding:20px}html[data-ui-theme="meme"] .entry b{font-size:19px}html[data-ui-theme="meme"] .page{padding:22px 18px}html[data-ui-theme="meme"] .shared-use-notice{padding:20px;margin:12px 4px}html[data-ui-theme="meme"] .shared-account-card{padding:20px}html[data-ui-theme="meme"] :is(input,select,textarea){font-size:16px!important}html[data-ui-theme="meme"] .auth-card{max-width:100%;margin:0 5px}html[data-ui-theme="meme"] footer{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){html[data-ui-theme="meme"] *{animation:none!important;transition:none!important}}

html[data-ui-theme="meme"] :is(p,small,.note,.muted,.auth-forgot,.auth-links){color:#64635e!important}html[data-ui-theme="meme"] .entry::after{color:var(--fc-ink)!important;background:var(--fc-gold)!important;border-radius:0!important}html[data-ui-theme="meme"] .home>.hero::after{opacity:1!important;position:static!important;inset:auto!important}html[data-ui-theme="meme"] input::placeholder{color:#786f63!important}html[data-ui-theme="meme"] .shared-use-warning{color:#a52b28!important}

html[data-ui-theme="meme"] :is(.auth-links a,.captcha-loading){color:#64635e!important}

/* Preview only: user-supplied animation, original hero dimensions retained. */
html[data-ui-theme="meme"] .home>.hero::after{background-image:url("/static/ui-meme-pig.webp");background-size:cover;background-position:center 40%;background-color:#deded8;image-rendering:auto}

/* Preview correction: keep the original image footprint, remove black frame/shadow. */
html[data-ui-theme="meme"] .home>.hero::after{border-color:transparent;box-shadow:none;background-size:calc(100% + 8px) auto}

/* New meme theme visual draft. Original routing/content remains separate. */
html[data-ui-theme="meme"]{--fc-bg:#f0f2ef;--fc-paper:#fffefa;--fc-ink:#28343b;--fc-red:#386e87;--fc-gold:#e7cd76;--fc-blue:#386e87;--muted:#617178;--page:#f0f2ef;color:#28343b}
html[data-ui-theme="meme"] :is(.panel,.card,.entry,.auth-card,.modal,.subscription-sheet,.shared-use-notice,.dashboard-announcement){border:1px solid #d6dedc!important;border-radius:20px!important;box-shadow:0 5px 20px #2c4d5910!important;background:#fffefa!important}
html[data-ui-theme="meme"] #productHeader{border-bottom:1px solid #d5ddda;background:transparent!important}
html[data-ui-theme="meme"] #productHeader .brand{color:#386e87;text-shadow:none;letter-spacing:1px}
html[data-ui-theme="meme"] .home>.hero::after{border-color:transparent;box-shadow:none;border-radius:18px;background-color:transparent}
html[data-ui-theme="meme"] .entry::after{background:#e7eddf!important;color:#386e87!important;border-radius:50%!important}
html[data-ui-theme="meme"] .entry:hover{border-color:#88a8ac!important;box-shadow:0 9px 25px #2c4d591a!important}
html[data-ui-theme="meme"] .entry b{font-size:21px;font-weight:750}
html[data-ui-theme="meme"] footer{border-top:1px solid #d5ddda;color:#617178}
html[data-ui-theme="meme"] :is(input,select,textarea){border:1px solid #b7c8cc!important;border-radius:12px!important;background:#fff!important;color:#28343b!important;min-height:46px}
html[data-ui-theme="meme"] :is(button,.primary,.secondary,.btn){border:1px solid #bfd0d2!important;border-radius:12px!important;box-shadow:none!important;font-weight:650}
html[data-ui-theme="meme"] .primary{background:#386e87!important;color:#fff!important;border-color:#386e87!important}
html[data-ui-theme="meme"] .secondary{background:#f3f6ef!important;color:#386e87!important}
html[data-ui-theme="meme"] .home-entries .entry-animation{display:flex;align-items:center;justify-content:center;width:100%;height:140px}
html[data-ui-theme="meme"] .home-entries .entry-animation img{display:block;width:140px;height:140px;max-width:100%;object-fit:contain;pointer-events:none;border-radius:12px}
@media(max-width:760px){html[data-ui-theme="meme"] .home-entries .entry{grid-template-columns:96px minmax(0,1fr);column-gap:16px;min-height:140px}html[data-ui-theme="meme"] .home-entries .entry-animation{width:96px;height:96px;grid-row:1/3}html[data-ui-theme="meme"] .home-entries .entry-animation img{width:96px;height:96px}}

@media(max-width:760px){html[data-ui-theme="meme"] .home-entries .entry b{font-size:19px;padding-right:32px}}

html[data-ui-theme="meme"] .home-entries .entry small{font-size:15px;line-height:1.75;font-weight:700;color:#444!important}

html[data-ui-theme="meme"] .sidebar{border-right:1px solid #d5ddda!important;background:#fffefa!important}html[data-ui-theme="meme"] .topbar{border-bottom:1px solid #d5ddda;background:#fffefa!important}html[data-ui-theme="meme"] .nav-link.active{border:0!important;border-radius:12px;box-shadow:none!important;background:#e5eff1!important;color:#386e87!important}html[data-ui-theme="meme"] .meter{border:0!important;border-radius:8px}html[data-ui-theme="meme"] .tabs button{border:1px solid #bfd0d2;border-radius:10px}html[data-ui-theme="meme"] .dashboard-announcement{position:relative;padding-left:76px}html[data-ui-theme="meme"] .dashboard-announcement::before{content:"";position:absolute;left:18px;top:18px;width:42px;height:48px;background:url('/static/ui-meme-meme-success.webp') center/contain no-repeat}html[data-ui-theme="meme"] .empty::before{content:"";display:block;width:90px;height:90px;margin:0 auto 14px;background:url('/static/ui-meme-meme-empty.webp') center/contain no-repeat}html[data-ui-theme="meme"] .interior-preview-note{padding:9px 12px!important;border:1px solid #d4e0df;border-radius:10px;background:#e7efec;color:#4a646c!important;font-size:12px!important;line-height:1.6}#preview-feedback{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#28343b;color:white;border-radius:12px;padding:12px 18px;z-index:1000;max-width:90%;font-size:14px}html[data-ui-theme="meme"] .profile-grid{min-width:0}@media(max-width:760px){html[data-ui-theme="meme"] .dashboard-announcement{padding-left:65px}html[data-ui-theme="meme"] .dashboard-announcement::before{left:12px;width:36px;height:42px}}

html[data-ui-theme="meme"] .sidebar .nav-link.active::before{background:#e5eff1!important}html[data-ui-theme="meme"] .sidebar .nav-link.active::after{background:#386e87!important}html[data-ui-theme="meme"] :is(.tool,.tool .icon,.nav-link .icon,.account-email){color:#526d79!important}html[data-ui-theme="meme"] .nav-link.active .icon{color:#386e87!important}html[data-ui-theme="meme"] :is(.card-title,.shortcut){border-color:#d6dedc!important}

/* Match pointer, touch and keyboard states to the light preview palette. */
html[data-ui-theme="meme"] .sidebar .nav-link{color:#385765!important;border-radius:12px;-webkit-tap-highlight-color:transparent}
html[data-ui-theme="meme"] .sidebar .nav-link::before{border-radius:12px}
html[data-ui-theme="meme"] .sidebar .nav-link:is(:hover,:focus-visible,:active){background:transparent!important;color:#285a70!important;box-shadow:none!important}
html[data-ui-theme="meme"] .sidebar .nav-link:is(:hover,:focus-visible)::before{background:#edf3f2!important}
html[data-ui-theme="meme"] .sidebar .nav-link:active::before{background:#dce9ec!important}
html[data-ui-theme="meme"] .sidebar .nav-link.active:is(:hover,:focus-visible,:active)::before{background:#dce9ec!important}
html[data-ui-theme="meme"] .sidebar .nav-link:focus-visible{outline:2px solid #386e87;outline-offset:-2px}

/* User-provided cat sticker sheet; CSS windows preserve the supplied artwork. */
html[data-ui-theme="meme"] .dashboard-content .shortcut-cat{display:block;width:64px;height:64px;flex:0 0 64px;background-image:url('/static/ui-meme-user-cat-stickers.png');background-size:132px 480px;background-repeat:no-repeat;mix-blend-mode:multiply;pointer-events:none}
html[data-ui-theme="meme"] .shortcut-cat-question{background-position:-45px -290px}
html[data-ui-theme="meme"] .shortcut-cat-phone{background-position:-45px 0}
html[data-ui-theme="meme"] .shortcut-cat-door{background-position:-45px -395px}
html[data-ui-theme="meme"] .shortcut-cat-cry{background-position:-45px -198px}

/* Production presentation adapters; real controls, links and facts remain intact. */
html[data-ui-theme="meme"] .shared-use-notice::before{display:none}
html[data-ui-theme="meme"] .auth{background:#f0f2ef!important;color:#28343b!important}
html[data-ui-theme="meme"] .auth-card{width:460px;max-width:100%;padding:30px!important}
html[data-ui-theme="meme"] .auth-main{min-width:0}
html[data-ui-theme="meme"] .auth-main>h1{text-align:center;color:#28343b!important}
html[data-ui-theme="meme"] .auth-links{border-color:#d6dedc!important;color:#46545b!important}
html[data-ui-theme="meme"] :is(.auth-forgot,.auth-links a){color:#386e87!important}
html[data-ui-theme="meme"] .meme-peek{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 0 24px}
html[data-ui-theme="meme"] .meme-peek img{width:104px;height:104px;object-fit:contain;border-radius:14px;mix-blend-mode:multiply;transform-origin:center 72%;transform:rotate(12deg) translateY(4px);transition:transform .24s ease-out;pointer-events:none}
html[data-ui-theme="meme"] .meme-peek p{font-size:19px;font-weight:850;text-align:center;color:#28343b!important;min-height:31px;line-height:1.6;margin:0;transform:rotate(-2deg)}
html[data-ui-theme="meme"] .meme-peek[data-look-away="true"] img{transform:translateY(-6px) rotate(-30deg)}
html[data-ui-theme="meme"] .meme-first-use{text-align:center;display:flex;flex-direction:column;align-items:center;margin:0 0 24px;gap:8px}
html[data-ui-theme="meme"] .meme-first-use img{width:112px;height:auto;mix-blend-mode:multiply}
html[data-ui-theme="meme"] .meme-first-use p{font-size:18px;font-weight:750;color:#385765!important;margin:0;line-height:1.6}
html[data-ui-theme="meme"] #shared-notice-title{text-align:center}
html[data-ui-theme="meme"] .shared-use-warning{border:0!important;background:#f7eae4!important;color:#8b4b3c!important;border-radius:12px!important}
html[data-ui-theme="meme"] .shared-guide-warning{border:0!important;background:#f7eae4!important;color:#8b4b3c!important;border-radius:12px!important}
html[data-ui-theme="meme"] .shared-guide :is(p,h2,h3){color:#28343b!important}
html[data-ui-theme="meme"] .shared-guide-caption{opacity:1}
html[data-ui-theme="meme"] .meme-teacher{display:flex;align-items:center;gap:22px;margin-bottom:20px}
html[data-ui-theme="meme"] .meme-teacher img{width:160px;height:auto;border-radius:12px;flex:none}
html[data-ui-theme="meme"] .meme-teacher p{margin:0 0 4px;font-weight:850;font-size:23px;color:#385765!important}
html[data-ui-theme="meme"] .meme-teacher small{font-size:15px;color:#46545b!important}
html[data-ui-theme="meme"] .meme-teacher h2{margin:12px 0 0}
html[data-ui-theme="meme"] .shared-account-card>h2::before{content:"";display:inline-block;width:44px;height:50px;vertical-align:middle;margin-right:10px;background:url('/static/ui-meme-meme-success.webp') center/contain no-repeat}
html[data-ui-theme="meme"] .meme-blocked{display:block;width:210px;max-width:75%;margin:0 auto 20px;border-radius:18px}
html[data-ui-theme="meme"] .meme-blocked-caption{text-align:center;font-size:24px;font-weight:800;color:#28343b!important}
@media(max-width:760px){html[data-ui-theme="meme"] .auth-card{padding:22px!important}html[data-ui-theme="meme"] .meme-teacher{gap:14px}html[data-ui-theme="meme"] .meme-teacher img{width:112px}html[data-ui-theme="meme"] .meme-teacher p{font-size:20px}html[data-ui-theme="meme"] .meme-teacher h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){html[data-ui-theme="meme"] .meme-peek img{transition:none}}

html[data-ui-theme="meme"] .auth-card{margin:auto!important;align-self:center}html[data-ui-theme="meme"] .auth-main{padding:0!important}html[data-ui-theme="meme"] input[type="checkbox"]{min-height:0!important;height:17px!important;width:17px!important}html[data-ui-theme="meme"] .auth-card button.primary{border-color:#386e87!important}
/* User-accepted mobile homepage lift; all font, media and card sizes stay intact.
   Offset only the hero, so shared-ID pages using the same public shell do not move. */
@media(max-width:760px){
 html[data-ui-theme="meme"] .home>.hero{margin-top:-24px!important;padding-top:0}
}

html[data-ui-theme="meme"] .auth .captcha-area>[data-action="captcha-retry"]{border:1px solid #b7c8cc!important;background:#f3f6ef!important;color:#386e87!important;box-shadow:none!important;border-radius:12px!important;min-height:44px;padding:10px 16px;font-weight:650}
html[data-ui-theme="meme"] .auth .captcha-loading{color:#526d79!important}html[data-ui-theme="meme"] .auth .captcha-loading-icon{border-color:#bfd0d2;border-top-color:#386e87}

/* Preserve the accepted light menu while keeping its hover and group labels readable. */
html[data-ui-theme="meme"] .sidebar .nav-link:not(.active):hover::before{background:#e2ecec}
html[data-ui-theme="meme"] .sidebar .nav-group{color:#526d79}
