/* N2 — 用户确认的品牌橙。正式 Logo 保持不变；仅门户主题。 */
:root{
 --orange:#E87732;--brand-orange:#E87732;--brand:#B84B12;--brand-hover:#9D3B0D;--brand-active:#82300B;
 --forest:#B84B12;--forest-deep:#943A0D;--brand-soft:#FFF0DB;--brand-soft-hover:#FFE4BC;--brand-border:#EAB98D;
 --accent:#E87732;--accent-strong:#A8430E;--accent-deep:#A8430E;--accent-soft:#FFE5C9;--accent-soft-hover:#FFDCB7;
 --accent-border:#E9B78D;--sage:#FFF0DB;--baked:#A8430E;--paper:#FBF8F3;--bg:#FBF8F3;--ink:#33261B;
}
#topbar{background:#fffaf2;border-bottom:3px solid #E87732;padding:0 24px;box-shadow:0 3px 12px #8f4c1810;overflow:visible}
#topbar .header-inner{min-height:88px;max-width:1320px;gap:24px;flex-wrap:wrap;justify-content:space-between;position:relative}
#topbar .header-brand{position:relative;isolation:isolate;flex:0 0 auto;min-height:88px;gap:12px;padding:12px 28px 12px 0;color:#fff8ed}
#topbar .header-brand:before{content:'';position:absolute;z-index:-1;inset:0 -18px 0 -100vw;background:linear-gradient(115deg,#db601c,#ec7b2d);clip-path:polygon(0 0,100% 0,calc(100% - 23px) 100%,0 100%)}
#topbar .brand-mark{width:54px!important;height:54px!important;flex-basis:54px!important;background:#fffdf7;border-radius:13px;padding:5px;box-shadow:0 3px 0 #913a1830}
#topbar .brand-mark img,#topbar .brand-mark svg{width:100%!important;height:100%!important}
#topbar .brand-text{font-size:24px;letter-spacing:.4px;font-weight:900;color:#fff8ed;line-height:1.35}
#topbar .brand-subtitle{color:#3c2619;font-size:12px;letter-spacing:1px;font-weight:600;margin-top:3px}
#topbar .header-nav{gap:4px;border:1px solid #f1d9bd!important;background:#fff9ef!important;border-radius:14px!important;padding:5px!important;box-shadow:0 5px 12px #8e4d1916!important}
#topbar .header-nav .header-link{border-radius:10px;min-height:48px;padding:10px 18px;gap:9px;font-weight:700;font-size:16px;color:#49301f!important;display:flex!important;opacity:1!important;visibility:visible!important}
#topbar .header-nav .header-link.is-current{background:linear-gradient(120deg,#ffdc6b,#f6b63d)!important;color:#33261b!important;box-shadow:0 4px 0 #b9712230;position:relative}
#topbar .header-nav .header-link.is-current:after{content:'';position:absolute;height:5px;left:7px;right:7px;bottom:-4px;background:radial-gradient(circle at 50% 100%,transparent 3px,#f6b63d 3.5px) 0 0/12px 5px repeat-x}
#topbar .header-link .primary-nav-icon{width:22px;height:22px;flex:0 0 22px}
#topbar .header-nav .nav-pill,#topbar .floating-nav-toggle,#topbar .nav-dock-toggle{display:none!important}
#topbar .header-nav.is-right-collapsed{width:auto!important;max-width:none!important;overflow:visible!important}
#topbar .header-account{gap:14px;flex:0 0 auto;white-space:nowrap;border-left:1px solid #e2bea0;padding-left:18px}
#topbar .header-bell{color:#5d351d;min-width:42px;min-height:44px;border:0;background:none;box-shadow:none}
.header-user-menu{position:relative;color:#33261b}
.header-user-menu summary{display:flex;align-items:center;gap:9px;cursor:pointer;min-height:48px;list-style:none;font-weight:800;font-size:16px;border-radius:12px;padding:2px 0}
.header-user-menu summary::-webkit-details-marker{display:none}
.header-user-menu summary:focus-visible{outline:3px solid #A8430E;outline-offset:4px}
.header-user-menu .my-avatar{width:40px;height:40px;flex:0 0 40px;padding:0;border:2px solid #e4bb8d;box-shadow:none;background:#ffdfb3}
.header-user-menu .user-menu-caret{width:18px;height:18px;transition:transform .15s ease}
.header-user-menu[open] .user-menu-caret{transform:rotate(180deg)}
.header-user-name{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-user-dropdown{position:absolute;right:0;top:calc(100% + 13px);width:180px;padding:9px;background:#fffbf4;border:1px solid #e7c9a7;border-radius:14px;box-shadow:0 10px 28px #57301b26;z-index:95;display:grid;gap:4px}
#topbar .header-user-dropdown .account-chip,#topbar .header-user-dropdown .btn-login-link{width:100%;display:block;text-align:left;min-height:44px;margin:0;padding:11px 14px;border:0;border-radius:8px;background:none;color:#51311d;font:inherit;box-shadow:none;cursor:pointer;white-space:nowrap;text-decoration:none}
#topbar .header-user-dropdown .account-chip:hover,#topbar .header-user-dropdown .btn-login-link:hover{background:#ffe7c8;color:#90370c}
#topbar .header-user-dropdown .btn-login-link{border-top:1px solid #ecd7bd;border-radius:0 0 8px 8px}
.btn-primary,.btn-pill-dark,.btn-dark{background:var(--brand);border-color:var(--brand-active);color:#fff}.btn-primary:hover,.btn-pill-dark:hover,.btn-dark:hover{background:var(--brand-hover)}
.grade-option.is-current,.module-option.is-current,.gallery-view-btn.is-current{background:#ffd368;color:#33261b;border-color:#cd741e}
@media(min-width:1001px){#topbar .header-nav{position:static!important;transform:none!important;margin:0 auto!important;inset:auto!important}body{padding-bottom:0}}
@media(min-width:1001px) and (max-width:1180px){#topbar .header-inner{gap:12px}#topbar .header-brand{gap:8px;padding-right:15px}#topbar .brand-text{font-size:21px}#topbar .brand-mark{width:46px!important;height:46px!important;flex-basis:46px!important}#topbar .header-nav .header-link{padding:10px 12px;font-size:15px}#topbar .header-account{gap:7px;padding-left:10px}}
@media(max-width:1000px){body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}#topbar{padding:0 16px}#topbar .header-inner{min-height:74px;gap:12px}#topbar .header-brand{min-height:74px;padding-right:20px;gap:9px}#topbar .brand-text{font-size:21px}#topbar .brand-mark{width:44px!important;height:44px!important;flex-basis:44px!important}#topbar .header-account{border:0;padding-left:0;gap:8px;margin-left:auto}#topbar .header-nav{position:fixed!important;inset:auto auto calc(12px + env(safe-area-inset-bottom,0px)) 50%!important;transform:translateX(-50%)!important;width:min(390px,calc(100vw - 28px))!important;margin:0!important;padding:6px!important;border:1.5px solid #e7b280!important;border-radius:20px!important;z-index:80;display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}#topbar .header-nav .header-link{flex:1;flex-direction:column;gap:4px;min-height:56px;padding:6px 9px;font-size:13px}#topbar .header-nav .header-link.is-current{background:linear-gradient(120deg,#f48a30,#e16b1f)!important;color:#33261b!important;box-shadow:none}#topbar .header-nav .header-link.is-current:after{display:none}#topbar .header-nav.is-right-collapsed .header-link{display:flex!important}}
@media(max-width:480px){#topbar{padding:0 12px}#topbar .header-inner{gap:7px;min-height:68px}#topbar .header-brand{gap:7px;padding:8px 12px 8px 0;min-height:68px}#topbar .brand-text{font-size:18px;letter-spacing:0}#topbar .brand-subtitle{font-size:9px;letter-spacing:0}#topbar .brand-mark{width:38px!important;height:38px!important;flex-basis:38px!important;padding:3px}#topbar .header-bell{min-width:32px;width:32px;padding:4px}#topbar .header-user-name{display:none}#topbar .header-account{gap:3px}#topbar .header-user-menu summary{gap:3px}#topbar .header-user-menu .my-avatar{width:32px;height:32px;flex-basis:32px}#topbar .user-menu-caret{width:13px;height:13px}#topbar .btn-login-link,#topbar .btn-pill-dark{padding:7px 9px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.header-user-menu .user-menu-caret{transition:none}}
/* Deep brand orange carries white text at >=4.9:1; vivid orange remains the visual accent. */
#topbar .header-brand:before{background:linear-gradient(115deg,#B84B12,#A8430E)}
#topbar .brand-subtitle{color:#FFF8ED}
/* N2 original-board calibration: bright orange, generous brand panel, paper tabs. */
#topbar{background:#fff9ef;border-bottom:4px solid #ef7a21;padding:0 28px;box-shadow:0 4px 15px #8546131a}
#topbar .header-inner{max-width:1380px;min-height:106px;gap:26px}
#topbar .header-brand{min-height:106px;flex:0 0 32%;padding-right:36px;gap:17px}
#topbar .header-brand:before{background:linear-gradient(110deg,#ef791e,#df6310);inset:0 -12px 0 -100vw;clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%)}
#topbar .header-brand:after{content:'';position:absolute;right:-2px;bottom:0;width:88px;height:63px;border:2px solid #ffe3a3;border-radius:90px 90px 0 0;transform:rotate(-20deg);pointer-events:none;background:linear-gradient(90deg,transparent 48%,#ffe3a3 49%,#ffe3a3 51%,transparent 52%);z-index:-1}
#topbar .brand-mark{width:64px!important;height:64px!important;flex-basis:64px!important;border-radius:12px;padding:4px;box-shadow:none}
#topbar .brand-text{font-size:29px;letter-spacing:.5px;color:#fffaf0;font-weight:900}
#topbar .brand-subtitle{font-size:13px;color:#fff7e7;letter-spacing:1.4px;font-weight:700}
#topbar .header-nav{flex:1;min-width:0;border:0!important;border-radius:14px!important;gap:0;background:#fff9ed!important;padding:0!important;box-shadow:0 7px 14px #a2632922!important}
#topbar .header-nav .header-link{flex:1;min-height:65px;padding:15px 18px;border-radius:12px;gap:11px;font-size:21px;font-weight:800;line-height:1.2}
#topbar .header-nav .header-link+.header-link:before{content:'';position:absolute;left:0;height:26px;width:1px;background:#ddbc98}
#topbar .header-nav .header-link.is-current{background:linear-gradient(130deg,#ffdc6c,#f6b83e)!important;box-shadow:0 5px 10px #a66c2433;isolation:isolate}
#topbar .header-nav .header-link.is-current:after{height:9px;left:0;right:0;bottom:-6px;background:radial-gradient(circle at 50% 100%,transparent 5px,#f6b83e 5.5px) 0 0/20px 9px repeat-x}
#topbar .header-nav .header-link.is-current:before,#topbar .header-nav .header-link.is-current+.header-link:before{display:none}
#topbar .header-link .primary-nav-icon{width:28px;height:28px;flex-basis:28px;stroke-width:1.8}
#topbar .header-account{gap:15px;padding-left:20px;border-left:1.5px solid #d98442;flex:none}
#topbar .header-bell{width:42px;min-width:42px}#topbar .header-bell svg{width:28px;height:28px}
#topbar .header-user-menu summary{font-size:20px;gap:10px}#topbar .header-user-menu .my-avatar{width:48px;height:48px;flex-basis:48px;border:2px solid #e0b488}#topbar .header-user-name{max-width:100px}#topbar .user-menu-caret{width:20px;height:20px}
.hero{position:relative!important;isolation:isolate;overflow:hidden;display:flex!important;align-items:center;min-height:310px;height:clamp(280px,25vw,360px);padding:38px 65px!important;border-radius:0 0 12px 12px;margin-top:-28px;margin-bottom:26px;background:#f5e0bf;box-shadow:0 6px 15px #81582a18}
.hero .hero-art{position:absolute!important;inset:0;z-index:-1;display:block!important;flex:none!important;width:100%!important;max-width:none!important;height:100%!important;aspect-ratio:auto;min-width:0;pointer-events:none}
.hero .hero-art img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center 56%;mask-image:none!important;border-radius:0;animation:none!important}
.hero .hero-copy{flex:none!important;width:54%;max-width:620px;min-width:0!important}.hero .hero-title{font-size:clamp(34px,3.5vw,54px);line-height:1.4;letter-spacing:-1px;color:#33261b;font-weight:900;position:relative;margin:0;padding:0}
.hero .hero-hl{background:none!important;color:inherit!important;padding:0;border:0;border-radius:0;box-shadow:none;white-space:normal}.hero .hero-title:after{content:'';display:block;width:46%;height:9px;border-top:5px solid #e89526;border-radius:60%;margin:9px auto 0;transform:rotate(-4deg)}
.hero .hero-sub{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:1001px) and (max-width:1200px){#topbar{padding:0 20px}#topbar .header-inner{gap:20px;min-height:94px}#topbar .header-brand{min-height:94px;gap:11px;padding-right:23px;flex-basis:31%}#topbar .brand-mark{width:53px!important;height:53px!important;flex-basis:53px!important}#topbar .brand-text{font-size:24px}#topbar .brand-subtitle{font-size:11px;letter-spacing:.5px}#topbar .header-nav .header-link{font-size:17px;padding:13px 12px;gap:8px;min-height:58px}#topbar .header-link .primary-nav-icon{width:25px;height:25px;flex-basis:25px}#topbar .header-account{gap:10px;padding-left:12px}#topbar .header-user-menu summary{font-size:16px;gap:7px}#topbar .header-user-menu .my-avatar{width:40px;height:40px;flex-basis:40px}#topbar .header-user-name{max-width:70px}}
@media(max-width:1000px){#topbar{padding:0 18px;background:#fffaf2;border-bottom:5px solid #e97822}#topbar .header-inner{min-height:80px;gap:10px}#topbar .header-brand{min-height:80px;flex:0 1 auto;padding:9px 0;gap:10px}#topbar .header-brand:before,#topbar .header-brand:after{display:none}#topbar .brand-mark{width:52px!important;height:52px!important;flex-basis:52px!important;padding:0;background:none}#topbar .brand-text{font-size:23px;color:#33261b}#topbar .brand-subtitle{color:#49301e;font-size:11px;letter-spacing:0}#topbar .header-account{border-left:1px solid #d88e51;padding-left:11px;gap:10px}#topbar .header-bell{width:36px;min-width:36px}#topbar .header-user-menu summary{font-size:16px;gap:7px}#topbar .header-user-menu .my-avatar{width:38px;height:38px;flex-basis:38px}#topbar .header-user-name{display:inline;max-width:70px}#topbar .header-nav{border-radius:15px!important;max-width:440px!important;width:calc(100vw - 28px)!important;padding:7px!important;background:#fff8ee!important;box-shadow:0 7px 18px #5e341b26!important}#topbar .header-nav .header-link{min-height:65px;padding:7px 10px;gap:5px;font-size:16px;border-radius:11px}#topbar .header-nav .header-link:before{display:none!important}#topbar .header-nav .header-link.is-current{background:linear-gradient(125deg,#ed8329,#dc6315)!important;color:#fffaf0!important}#topbar .header-link .primary-nav-icon{width:27px;height:27px;flex-basis:27px}.hero{height:270px;min-height:270px;padding:30px!important}.hero .hero-copy{width:59%}.hero .hero-title{font-size:34px;line-height:1.45}}
@media(max-width:480px){#topbar{padding:0 11px}#topbar .header-inner{min-height:73px;gap:5px}#topbar .header-brand{min-height:73px;gap:6px}#topbar .brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important}#topbar .brand-text{font-size:18px}#topbar .brand-subtitle{font-size:9px;letter-spacing:0}#topbar .header-account{gap:4px;padding-left:6px}#topbar .header-bell{width:27px;min-width:27px;padding:3px}#topbar .header-bell svg{width:22px;height:22px}#topbar .header-user-menu summary{gap:4px;font-size:12px}#topbar .header-user-menu .my-avatar{width:29px;height:29px;flex-basis:29px}#topbar .header-user-name{display:inline;font-size:12px;max-width:45px}#topbar .user-menu-caret{width:12px;height:12px}.hero{height:230px;min-height:230px;padding:24px 18px!important}.hero .hero-copy{width:69%}.hero .hero-title{font-size:27px;line-height:1.45;letter-spacing:-.8px;text-shadow:0 1px 8px #fff8e9}.hero .hero-art img{object-position:57% 50%}.hero .hero-title:after{height:6px;border-width:3px;width:65%;margin-top:7px}}
/* Match the N2 orange action family and keep the mobile dock inset like the board. */
.exp-card__cta{background:linear-gradient(120deg,#e87732,#cf5919)!important;color:#fffaf0!important}
@media(max-width:1000px){#topbar .header-nav,#topbar .header-nav.is-right-collapsed{width:min(440px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;min-width:0!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;box-sizing:border-box!important}}

/* Smaller desktop navigation, preserving the mobile dock. */
@media(min-width:1001px){#topbar .header-nav{flex:0 1 480px;margin-inline:auto}#topbar .header-nav .header-link{min-height:48px;padding:10px 14px;font-size:18px;gap:8px}#topbar .header-link .primary-nav-icon{width:23px;height:23px;flex-basis:23px}}
.cwm2-records-more summary{cursor:pointer;color:#a84c12;font-weight:700;padding:12px 0;list-style-position:inside}
.cwm2-records-more[open] summary{border-bottom:1px solid #ddc6a5}
/* Header typography uses the selected artwork; semantic heading stays available. */
.hero .hero-title{width:100%;max-width:470px;line-height:1;margin:0 0 8px}.hero .hero-title-words{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.hero .hero-title-art{width:100%;height:auto;display:block}.hero .hero-title:after{display:none}.hero .hero-copy{width:51%;max-width:560px}.hero .hero-sub{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;font-size:15px;line-height:1.85;max-width:470px;color:#4c3320;margin:0;padding:0 12px;text-shadow:0 1px 7px #fff9eb}.hero{height:clamp(320px,28vw,390px)}
.gallery-search-group{display:flex;align-items:stretch;gap:9px;flex:0 1 610px;min-width:0}.gallery-search-group label.gallery-search{flex:1;min-width:0;width:auto!important;max-width:none;grid-column:auto!important}.gallery-search-group input#gallery-query{display:block!important;min-width:0;width:100%}.gallery-search-submit,.gallery-search-reset{flex:none;min-width:64px;min-height:44px;border:1.5px solid #9e4918;border-radius:12px;font-family:inherit;font-weight:700;font-size:15px;line-height:1.4;padding:9px 14px;cursor:pointer;box-shadow:0 3px 0 #6e371b22}.gallery-search-submit{background:#e87732;color:#33261b}.gallery-search-reset{background:#fff8ec;color:#663711}.gallery-search-submit:hover{background:#f79649}.gallery-search-reset:hover{background:#ffe3bc}.gallery-search-submit:focus-visible,.gallery-search-reset:focus-visible{outline:3px solid #9d430d;outline-offset:3px}
@media(max-width:1000px){.hero .hero-title{max-width:380px}.hero .hero-sub{font-size:13px;line-height:1.7;padding:0 7px}.hero .hero-copy{width:57%}.hero{height:320px;min-height:320px}}
@media(max-width:720px){#gallery-filters,#gallery-filters.is-search-open{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important}.gallery-search-group{grid-column:1/-1;width:100%;gap:6px}.gallery-search-group label.gallery-search{padding:4px 7px;justify-content:flex-start}.gallery-search-group .gallery-search-mark{width:26px;height:29px;flex:0 0 26px}.gallery-search-group input#gallery-query{font-size:13px}.gallery-search-submit,.gallery-search-reset{min-width:48px;font-size:13px;padding:8px 9px}#gallery-filters .gallery-view-toggle{grid-column:3;grid-row:2;margin:0}#gallery-filters .grade-filter{grid-row:2}.hero .hero-copy{width:67%}.hero .hero-title{max-width:310px}.hero .hero-sub{background:#fff8e6ba;border-radius:8px;padding:7px 9px;font-size:12px;line-height:1.65}.hero{padding:20px!important;height:300px;min-height:300px}}
@media(max-width:480px){.hero .hero-copy{width:77%}.hero .hero-title{max-width:270px}.hero .hero-sub{font-size:12px}.hero{height:300px;min-height:300px}.gallery-search-group{gap:5px}.gallery-search-submit,.gallery-search-reset{padding:7px 8px;min-width:44px}.gallery-search-group input#gallery-query{font-size:12px}}
@media(min-width:1001px){.hero{height:390px;min-height:390px}.hero .hero-title{max-width:440px}.hero .hero-sub{font-size:14px;line-height:1.8}}

/* Q1 WeChat waiting screen */
/* ==========================================================================
   2026-11-05 导航按钮微动效（配套 reference.css 同日轮次）。
   原则：快反馈（≤0.2s）、动效只落在实际变化处、reduced-motion 全关。
   —— 主导航：悬停暖色洗底（选中态保持金底不变）；按压下沉 1px；
      图标小弹跳在 reference.css（.primary-nav-icon）。
   —— 账户菜单：summary 悬停洗底；下拉入场 0.18s（details[open] 播一次；
      关闭仍是 UA 原生瞬时收起，不加离场动画）。
   —— 注册键：悬停微抬 1px（:not(:active) 是为了不抢基础层的贴纸按压 :active）。
   ========================================================================== */
#topbar .header-nav .header-link{transition:color .16s ease,background-color .16s ease,transform .16s cubic-bezier(.3,1.2,.4,1)}
#topbar .header-nav .header-link:hover:not(.is-current){background:#ffedd2}
#topbar .header-nav .header-link:active{transform:translateY(1px)}
#topbar .header-user-menu summary{transition:background-color .16s ease}
#topbar .header-user-menu summary:hover{background:#ffedd2}
#topbar .header-user-dropdown .account-chip,#topbar .header-user-dropdown .btn-login-link{transition:background-color .15s ease,color .15s ease,transform .1s ease}
@keyframes user-menu-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.header-user-menu[open] .header-user-dropdown{animation:user-menu-in .18s cubic-bezier(.25,.8,.25,1);transform-origin:top right}
#topbar .btn-pill-dark:hover:not(:active){transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){
  #topbar .header-nav .header-link,#topbar .header-user-menu summary,
  #topbar .header-user-dropdown .account-chip,#topbar .header-user-dropdown .btn-login-link{transition:none}
  #topbar .header-nav .header-link:active{transform:none}
  #topbar .btn-pill-dark:hover:not(:active){transform:none}
  .header-user-menu[open] .header-user-dropdown{animation:none}
}

/* ==========================================================================
   2026-11-05 首页筛选/搜索按钮微动效（配套 published-gallery.js 同日轮次）。
   —— 搜索 提交/复位：贴纸按压（下压 2px、3px 硬投影收到 1px），悬停微抬 1px
      （:not(:active) 避免抢走按压态）；选中弹跳/宫格列表切换弹跳在 reference.css。
   —— 筛选头部 chip（窄屏弹层开关）：按压下沉 1px。
   ========================================================================== */
.gallery-search-submit,.gallery-search-reset{transition:transform .1s ease,box-shadow .1s ease,background .15s ease,filter .15s ease}
.gallery-search-submit:hover:not(:active),.gallery-search-reset:hover:not(:active){transform:translateY(-1px);box-shadow:0 4px 0 #6e371b22}
.gallery-search-submit:active,.gallery-search-reset:active{transform:translateY(2px);box-shadow:0 1px 0 #6e371b22}
#gallery-filters .grade-filter-head{transition:transform .12s ease}
#gallery-filters .grade-filter-head:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){
  .gallery-search-submit,.gallery-search-reset,#gallery-filters .grade-filter-head{transition:none}
  .gallery-search-submit:hover:not(:active),.gallery-search-reset:hover:not(:active),
  .gallery-search-submit:active,.gallery-search-reset:active,#gallery-filters .grade-filter-head:active{transform:none}
}
/* Original orange paper card: real fibrous paper, torn division, single identity strip. */
.cwm2 .cwm2-welcome{background:#fff3dd!important;border-radius:24px!important;filter:drop-shadow(0 7px 10px #6c3c1820);box-shadow:none!important}
.cwm2 .cwm2-welcome__body{background-color:#ff7b24;background-image:url('/assets/account-paper-plate.webp');background-size:100% 130%;background-position:center top;position:relative}
.cwm2 .cwm2-child-card{background-color:#fff3dd;background-image:url('/assets/account-paper-plate.webp');background-size:100% 455%;background-position:center bottom;border:0!important;padding-top:16px!important;position:relative}
.account-torn-edge{position:absolute;z-index:2;top:-13px;left:0;width:100%;height:26px;pointer-events:none}
.cwm2 .cwm2-welcome .cwm2-identity{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:12px;width:max-content;max-width:100%;padding:9px 15px 9px 9px;background-color:#fff4de;background-image:url('/assets/account-paper-plate.webp');background-size:100% 455%;background-position:center bottom;border:0;border-radius:18px;filter:drop-shadow(0 4px 4px #733d2328);clip-path:polygon(2% 0,9% 2%,15% 0,21% 2%,29% 0,37% 2%,45% 0,53% 2%,61% 0,69% 2%,77% 0,85% 2%,94% 0,99% 8%,98% 21%,100% 35%,98% 50%,100% 67%,98% 83%,99% 95%,91% 100%,84% 98%,76% 100%,68% 98%,60% 100%,52% 98%,44% 100%,36% 98%,28% 100%,20% 98%,12% 100%,3% 98%,0 88%,2% 72%,0 56%,2% 41%,0 24%)}
.cwm2 .cwm2-welcome .cwm2-identity__text,.cwm2 .cwm2-welcome .cwm2-identity__meta{display:contents}
.cwm2 .cwm2-welcome .cwm2-identity__meta>span:first-child{display:none}
.cwm2 .cwm2-welcome .cwm2-identity__name{margin:0;padding:0 0 0 12px;border-left:1px solid #d7bb92;background:none;clip-path:none;font-size:22px!important;line-height:1.3;font-weight:900;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cwm2 .cwm2-welcome .cwm2-identity .my-avatar{width:45px;height:45px;flex-basis:45px;border:2px solid #fff4d9;box-shadow:0 2px 4px #8b59292b;background:#f8bb58}
.cwm2 .cwm2-welcome .my-vip-pill{display:inline-flex;flex:none;align-items:center;white-space:nowrap;background:#ffd15b;border:0;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:900;line-height:1.4;color:#6a390f;box-shadow:0 2px 4px #98601815;margin:0}
.cwm2 .cwm2-welcome .my-vip-pill:not(.is-none){background:#ffdf88;color:#633210}
.cwm2 .cwm2-welcome .cwm2-identity,
.cwm2 .cwm2-welcome .cwm2-identity__text { flex-wrap: wrap; min-width: 0; }
.cwm2-identity__membership { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; min-width: 0; }
.cwm2-identity__expiry { color: #633210; font-size: 12px; font-weight: 700; line-height: 1.4; }
.cwm2-identity__expiry time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cwm2 .cwm2-welcome .welcome-fox-art{position:absolute;bottom:-1px;right:-4px;width:44%;height:auto;max-height:78%;max-width:285px;object-fit:contain;object-position:bottom;z-index:0;pointer-events:none}
.cwm2 .cwm2-welcome .cwm2-welcome__title{margin-top:20px!important;font-weight:900;letter-spacing:-.7px;color:#33261b!important}
.cwm2 .cwm2-welcome .cwm2-welcome__caption{color:#4c2a13!important}
.cwm2 .cwm2-welcome .my-actions [data-act='me-profile-toggle']{background:linear-gradient(120deg,#ff8c27,#f46d14)!important;color:#fff6de!important;border:2px solid #ffe5ac!important;border-radius:24px!important;box-shadow:0 3px 0 #b95b1c33,0 3px 7px #8c481c25!important}
.cwm2 .cwm2-welcome .my-actions .family-member-link{background:#fff2d9!important;color:#543215!important;border:2px solid #fff8e7!important;border-radius:24px!important;box-shadow:0 3px 0 #b98a4b25}
.cwm2 .cwm2-child-card .cwm2-pref{background:none;color:#6f492d;padding-left:7px;border-left:1px solid #d9bd93;border-radius:0}
@media(max-width:600px){.cwm2 .cwm2-welcome .cwm2-identity{gap:8px;padding:7px 10px 7px 7px}.cwm2 .cwm2-welcome .cwm2-identity__name{font-size:19px!important;max-width:125px;padding-left:8px}.cwm2 .cwm2-welcome .my-vip-pill{font-size:12px;padding:4px 8px}.cwm2 .cwm2-welcome .cwm2-identity .my-avatar{width:37px;height:37px;flex-basis:37px}.cwm2 .cwm2-welcome .welcome-fox-art{width:43%;max-height:72%}}
/* Readable introduction on solid paper; remove the redundant visual page heading. */
.hero{height:auto!important;min-height:390px;padding:34px 65px!important}.hero .hero-copy{padding:0}.hero .hero-title{max-width:400px;margin:0 0 14px}.hero .hero-sub{background:#FFF9EC!important;color:#33261B!important;border:1px solid #ebcc9f;border-left:4px solid #df791f;border-radius:12px;padding:12px 16px!important;font-size:15px!important;font-weight:500;line-height:1.85!important;max-width:470px;margin:0;text-shadow:none!important;box-shadow:0 4px 12px #6d421612;overflow:visible;overflow-wrap:anywhere}.cwm2>.cwm2-head{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}.cwm2>.cwm2-top{margin-top:0}
@media(max-width:1000px){.hero{padding:28px!important;min-height:340px}.hero .hero-title{max-width:350px}.hero .hero-sub{font-size:14px!important;padding:11px 13px!important}}
@media(max-width:600px){.hero{padding:23px 18px!important;min-height:320px}.hero .hero-copy{width:86%;max-width:340px}.hero .hero-title{max-width:260px;margin-bottom:10px}.hero .hero-sub{font-size:13px!important;line-height:1.8!important;padding:10px 12px!important;max-width:310px}}

/* Keep only the D1 illustration, without the source board navigation/prices. */
.member-dialog-art{height:auto;min-height:0;aspect-ratio:470/554;flex:none}
.member-dialog-hero{background:#ff791b;align-self:stretch}


.member-dialog-hero{background:none;align-self:start}
@media(min-width:801px){.member-dialog-content{padding:22px 20px 16px 12px}.member-dialog-title{font-size:36px}.member-dialog-content .member-promise{font-size:20px;margin-bottom:16px}.member-dialog-content .member-perks{gap:12px}.member-dialog-content .member-perks li{min-height:80px;padding:8px 12px;gap:12px}.member-dialog-content .member-perks b{font-size:23px}.member-dialog-content .member-perks span{font-size:15px}.member-dialog-content .member-perk-art{width:85px;flex-basis:85px;height:65px;padding-right:12px}}

/* P2 cashier: paper ticket + payment selection. */
.modal:has(.cashier-p2){width:min(880px,calc(100vw - 32px));max-width:880px;padding:0;border:0;border-radius:20px;background:#fff8ec;box-shadow:0 22px 70px #33261b50;max-height:calc(100dvh - 32px);overflow:auto}
.modal:has(.cashier-p2) .modal-head{position:absolute;right:18px;top:17px;z-index:2;padding:0;margin:0;border:0;background:none;width:auto}
.modal:has(.cashier-p2) .modal-title{display:none}
.modal:has(.cashier-p2) .modal-x{width:32px;height:32px;padding:5px;border:0;background:transparent;box-shadow:none;color:#493223}
.modal:has(.cashier-p2) .modal-body{padding:0}
.cashier-p2{display:grid;grid-template-columns:34% 66%;font-family:'Microsoft YaHei','PingFang SC',sans-serif;color:#33261b}
.cashier-ticket{position:relative;display:flex;flex-direction:column;min-width:0;padding:30px 25px 0;background:#ef7519;color:#fff8e9;isolation:isolate;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='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath opacity='.17' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.cashier-ticket:after{content:'';position:absolute;top:0;bottom:0;right:-7px;width:14px;background:radial-gradient(circle at 0 7px,#ef7519 7px,transparent 7.5px) 0 0/14px 22px repeat-y;z-index:1}
.cashier-brand{display:flex;gap:8px;align-items:center;font-size:18px;font-weight:800;white-space:nowrap}.cashier-brand img{width:38px;height:42px;object-fit:contain;background:#fff8e9;border-radius:8px;padding:3px}.cashier-brand small{display:block;font-size:10px;letter-spacing:1px;margin-top:3px}
.cashier-ticket .pay-summary{padding:0;margin:28px 0 24px;display:block;background:none;border:0;color:inherit}.cashier-ticket .pay-summary h3{font-size:38px;line-height:1.2;margin:0 0 12px}.cashier-duration{display:inline-block;background:#ffda77;color:#422a16;padding:2px 17px;font-size:21px;font-weight:800;clip-path:polygon(0 8%,96% 0,100% 22%,97% 40%,100% 64%,96% 100%,0 94%,3% 65%,0 40%,3% 20%)}
.cashier-ticket .pay-amount{display:block;margin-top:20px;font-size:clamp(32px,4vw,49px);font-weight:850;color:#fff8e9;line-height:1.3;overflow-wrap:anywhere}.cashier-ticket .pay-amount:after{content:'';display:block;width:78%;height:5px;margin-top:7px;background:#ffce59;border-radius:60% 20% 60% 40%;transform:rotate(-3deg)}
.cashier-benefits{list-style:none;margin:0;padding:0;font-size:12px;line-height:1.7}.cashier-benefits li{margin:7px 0}.cashier-benefits li:before{content:'✓';display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#ffdc78;color:#a44e16;margin-right:5px;font-weight:900}
.cashier-fox{display:block;width:calc(100% + 50px);height:auto;aspect-ratio:299/226;margin:26px -25px 0;overflow:hidden!important;margin-top:auto}
.cashier-main{min-width:0;padding:26px 34px 32px;background:radial-gradient(ellipse at 80% 95%,#f5e4ca66,transparent 65%)}
.cashier-back{border:0;background:transparent;color:#6a4b32;font:inherit;font-size:13px;cursor:pointer;padding:0}.cashier-title{font-size:32px;line-height:1.3;margin:5px 0 23px;text-align:center}.cashier-channel-step h4{font-size:21px;margin:0 0 17px}
.cashier-p2 .cashier-channel-btns{display:flex;flex-direction:column;gap:14px;margin:0}
.cashier-method{display:flex;align-items:center;gap:13px;padding:17px 16px;min-height:78px;width:100%;border:2px solid #ecddc9;border-radius:13px;background:#fffaf1;text-align:left;font:inherit;color:#33261b;cursor:pointer;box-shadow:none}
.cashier-method[aria-pressed=true]{border-color:#f87913;background:#fff4df}.cashier-method b{font-size:21px;white-space:nowrap}.cashier-method-caption{border-left:1px solid #d8bda1;padding-left:14px;color:#816c5b;font-size:15px;white-space:nowrap}.cashier-method i{margin-left:auto;width:19px;height:19px;border:2px solid #b9a895;border-radius:50%;flex-shrink:0}.cashier-method[aria-pressed=true] i{border-color:#f87913;background:#f87913;box-shadow:inset 0 0 0 3px #fff4df}
.cashier-method-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center}.cashier-method-icon svg{width:40px;height:36px}.cashier-method-icon.is-wechat{color:#26ac39}.cashier-method-icon.is-alipay{background:#168cf0;color:white;font-size:32px;line-height:1;border-radius:8px}
.cashier-fine{font-size:12px;color:#796757;line-height:1.7;margin:21px 0}.cashier-p2 .purchase-details{border:0;border-radius:12px;background:#f4e7d5;padding:0;margin:0 0 24px;font-size:12px}.cashier-p2 .purchase-details summary{display:flex;justify-content:space-between;cursor:pointer;font-size:14px;font-weight:800;padding:13px 16px;list-style:none}.cashier-p2 .purchase-details summary:after{content:'⌄';font-size:18px}.cashier-p2 .purchase-details[open] summary:after{content:'⌃'}.cashier-p2 .purchase-details .tick-list{padding:0 18px 14px;margin:0;line-height:1.8}
.cashier-continue{border:1px solid #eb650e;border-radius:14px;background:linear-gradient(105deg,#ff881e,#f16c0c);color:#fff9ef;min-height:54px;width:100%;font:inherit;font-size:23px;font-weight:800;cursor:pointer;box-shadow:none}.cashier-method:disabled,.cashier-continue:disabled{opacity:.48;cursor:not-allowed}.cashier-method:focus-visible,.cashier-continue:focus-visible,.cashier-back:focus-visible{outline:3px solid #b94c0e;outline-offset:3px}.cashier-p2 [hidden]{display:none!important}.cashier-p2 .pay-qr-step{padding-top:15px}.cashier-p2 .pay-actions{display:flex;gap:8px}
@media(max-width:650px){.modal:has(.cashier-p2){width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.cashier-p2{display:flex;flex-direction:column}.modal:has(.cashier-p2) .modal-head{right:12px;top:12px}.cashier-ticket{padding:20px 20px 19px;min-height:230px}.cashier-ticket:after{top:auto;bottom:-7px;left:0;right:0;width:auto;height:14px;background:radial-gradient(circle at 7px 0,#ef7519 7px,transparent 7.5px) 0 0/22px 14px repeat-x}.cashier-brand{font-size:16px}.cashier-brand img{width:31px;height:34px}.cashier-brand small{font-size:9px}.cashier-ticket .pay-summary{margin:15px 0 13px;position:relative;z-index:1;max-width:65%}.cashier-ticket .pay-summary h3{display:inline;font-size:28px;margin:0 12px 0 0}.cashier-duration{font-size:16px;padding:2px 10px;vertical-align:4px}.cashier-ticket .pay-amount{font-size:36px;margin-top:5px}.cashier-ticket .pay-amount:after{height:3px;margin-top:0;width:120px}.cashier-benefits{position:relative;z-index:1;font-size:11px;max-width:80%}.cashier-benefits li{margin:3px 0}.cashier-fox{position:absolute;right:0;bottom:0;width:145px;height:110px;margin:0;opacity:.98}.cashier-main{padding:22px 18px}.cashier-back{font-size:12px}.cashier-title{font-size:23px;margin:-22px 30px 24px}.cashier-channel-step h4{font-size:18px;margin:0 0 12px}.cashier-method{padding:12px 10px;min-height:62px;gap:9px}.cashier-method b{font-size:17px}.cashier-method-caption{font-size:12px;padding-left:9px}.cashier-method-icon{width:31px;height:31px;flex-basis:31px}.cashier-method-icon svg{width:31px;height:30px}.cashier-method-icon.is-alipay{font-size:26px}.cashier-method i{width:16px;height:16px}.cashier-fine{font-size:11px;margin:17px 0}.cashier-p2 .purchase-details{margin-bottom:18px}.cashier-continue{font-size:20px;min-height:48px}}

/* ==========================================================================
   2026-11-05 用户实测反馈：顶栏与首屏 hero 空白偏高，压缩竖向留白。
   原则：只动高度，不动排版结构；窄屏断点同比例收，避免比例失衡。
   ========================================================================== */
#topbar .header-inner{min-height:80px}
#topbar .header-brand{min-height:80px}
#topbar .header-nav .header-link{min-height:54px}
@media(min-width:1001px) and (max-width:1200px){#topbar .header-inner{min-height:84px}#topbar .header-brand{min-height:84px}}
@media(max-width:1000px){#topbar .header-inner{min-height:70px}#topbar .header-brand{min-height:70px}}
@media(max-width:480px){#topbar .header-inner{min-height:64px}#topbar .header-brand{min-height:64px}}
.hero{padding:24px 65px!important;margin-bottom:16px;min-height:300px;height:clamp(260px,22vw,320px)}
@media(min-width:1001px){.hero{height:320px;min-height:320px}.hero .hero-title{max-width:340px}.hero .hero-sub{max-width:430px;font-size:13.5px!important;line-height:1.7!important;padding:10px 13px!important}}
@media(max-width:1000px){.hero{min-height:280px;padding:24px 28px!important;height:260px}.hero .hero-title{max-width:320px}}
@media(max-width:720px){.hero{min-height:250px;height:250px;padding:18px 20px!important}}
@media(max-width:600px){.hero{min-height:270px;padding:18px 18px!important}}
@media(max-width:480px){.hero{min-height:250px;height:250px}}

.child-avatar-groups{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 12px}.child-avatar-groups button{font:inherit;font-size:13px;padding:8px 12px;border:1px solid #dfc8aa;border-radius:999px;color:#6b482b;background:#fff8ed;cursor:pointer}.child-avatar-groups button[aria-pressed=true]{background:#f87916;color:white;border-color:#cf580a;box-shadow:0 2px 0 #b94e13}.childnew-grid[hidden]{display:none!important}.childnew-grid svg{display:block;width:100%;height:100%}.childnew-grid .avatar-option[aria-pressed=true]{border-color:#ef771d;box-shadow:0 0 0 2px #ef771d;background:#fff0d4}.modal:has([data-child-form]){max-height:calc(100dvh - 32px);overflow:auto}.modal:has([data-child-form]) .cwm2-childform{margin:0;padding:0;border:0;box-shadow:none;background:none}


/* Approved VIP card: live prices and controls, original paper hero. */
.cwm2-ticket:has(.member-card-hero){container-type:inline-size;container-name:vip-ticket;width:100%;max-width:600px;padding:0 18px 16px;border:2px solid #f87916;border-radius:23px;background:#fff8ed;overflow:hidden;box-shadow:0 5px 9px #b975202a}
.cwm2-ticket .member-card-hero{margin:0 -18px 10px;padding:13px 0 0;background:#ff7617;border-radius:0;min-height:0}
.cwm2-ticket .member-brand{display:inline-block;margin-left:14px;background:#fff4d7;font-size:clamp(10px,2.7cqw,17px);padding:4px 8px;line-height:1.5;color:#33261b}
.cwm2-ticket .member-card-hero .member-art{display:block;width:100%;height:auto;aspect-ratio:1050/349;max-width:none;max-height:none;margin:6px 0 0}
.cwm2-ticket:has(.member-card-hero) .cwm2-ticket__statusline{right:12px;top:14px;max-width:49%;font-size:clamp(8px,2.1cqw,12px);padding:4px 7px;border-radius:30px;background:#ffebc4;color:#9e420d;line-height:1.4}
.cwm2-ticket .cwm2-ticket__badge{white-space:nowrap;font-size:inherit;color:#33261b;background:none;padding:0}
.cwm2-ticket .member-promise{font-size:clamp(15px,3.5cqw,22px);font-weight:900;line-height:1.5;margin:8px 0 9px}
.cwm2-ticket .member-perks{gap:7px;margin:0 0 10px}.cwm2-ticket .member-perks li{font-size:clamp(13px,3.25cqw,20px);line-height:1.4;gap:7px}.cwm2-ticket .member-perks b{font-size:inherit}.cwm2-ticket .member-tier-note{display:flex;align-items:center;gap:9px;margin:12px 0 13px;text-align:center;font-size:clamp(9px,2.35cqw,14px);font-weight:700;color:#714625;white-space:nowrap}.member-tier-note:before,.member-tier-note:after{content:"";height:1px;background:#dba65e;flex:1}
.cwm2-ticket .member-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.cwm2-ticket .member-option{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:11px 12px 13px;min-width:0;min-height:128px;background:#fbf5eb;border:2px solid #cfb99b;border-radius:15px;box-shadow:none;position:relative;overflow:hidden}
.cwm2-ticket .member-option[aria-pressed=true]{background:linear-gradient(125deg,#ffdf67,#ffd547);border:2px solid #e9690a;outline:2px solid #ef771d;outline-offset:2px;box-shadow:inset 0 0 0 2px #fff2b6}
.cwm2-ticket .member-option .member-option-title{display:flex;align-items:center;gap:7px;position:static;font-size:clamp(13px,4.2cqw,24px);font-weight:850;line-height:1.4;white-space:nowrap;grid-column:auto}
.cwm2-ticket .member-option-title b{font:inherit}.cwm2-ticket .member-option-title i{flex:0 0 16px;width:16px;height:16px;border:2px solid #795a41;border-radius:50%;margin:0}.cwm2-ticket .member-option[aria-pressed=true] .member-option-title i{background:#e9690a;border-color:#e9690a;position:relative}.cwm2-ticket .member-option[aria-pressed=true] .member-option-title i:after{content:"✓";position:absolute;color:white;font-size:14px;inset:-4px;text-align:center}
.cwm2-ticket .member-option .member-duration{font-size:clamp(9px,2.8cqw,15px);font-weight:600;position:static;margin:0;line-height:inherit}
.cwm2-ticket .member-option-title small{display:block;position:absolute;right:0;top:0;padding:2px 7px;border-radius:0 11px 0 9px;background:#e96107;color:white;font-size:clamp(8px,1.8cqw,11px);line-height:1.3;transform:none}
.cwm2-ticket .member-option del{text-decoration:none;font-size:clamp(11px,2.7cqw,16px);color:#7b6550;margin:4px 0 0 20px;line-height:1.5}.member-option del span{position:relative}.member-option del span:after{content:"";height:1.5px;background:#e35d0f;position:absolute;left:-4px;right:-4px;top:50%;transform:rotate(-16deg)}
.cwm2-ticket .member-option .member-price-row{position:static;display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto;transform:none;flex-wrap:nowrap}
.cwm2-ticket .member-option .member-price-row em{position:static;transform:none;background:#ed6408;color:white;padding:4px 7px;clip-path:polygon(5% 0,90% 0,100% 50%,90% 100%,0 100%);font-style:normal;font-size:clamp(9px,2.1cqw,13px);white-space:nowrap;border-radius:0;line-height:1.2}
.cwm2-ticket .member-option .plan-price{font-size:clamp(28px,8cqw,51px);color:#cc240b;font-weight:900;line-height:1.15;letter-spacing:-1px;grid-row:auto;grid-column:auto;margin-left:auto}
.cwm2-ticket .member-deadline{transform:none;background:none;font-size:clamp(12px,2.7cqw,17px);font-weight:700;margin:16px auto 8px;padding:0;color:#714625}
.cwm2-ticket .member-buy{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;border:2px solid #b84a0d;border-radius:15px;background:linear-gradient(115deg,#ff8b21,#f46a08);box-shadow:inset 0 1px 0 #ffcb7a,0 3px 0 #b44c14;color:#fff8e9;font-size:clamp(18px,5.2cqw,31px);font-weight:900;margin-top:12px;padding:9px 12px;letter-spacing:0}
.cwm2-ticket .member-reassurance{font-size:clamp(10px,2.6cqw,15px);margin:14px 0;text-align:center;color:#33261b}
.cwm2-ticket .cwm2-ticket__stub{border:0!important;margin-top:5px!important;padding-top:7px!important}.cwm2-ticket .cwm2-ticket__note,.cwm2-ticket .cwm2-ticket__stub .cwm2-link{font-size:clamp(10px,2.5cqw,15px)!important}
/* Same purchase markup also works in the existing VIP benefit dialog. */
.member-dialog-purchase .member-option-title .member-duration{font-size:14px;font-weight:500}.member-dialog-purchase .member-option-title{display:flex;gap:8px;align-items:center}.member-dialog-purchase .member-price-row{position:static!important;display:flex;align-items:center;gap:8px}.member-dialog-purchase .member-option .member-price-row em{position:static;transform:none;font-size:12px}.member-dialog-purchase .member-option .member-price-row .plan-price{font-size:40px}.member-dialog-purchase .member-option{display:flex!important;flex-direction:column;align-items:stretch}.member-dialog-purchase .member-option-title b{font:inherit}
@container vip-ticket (max-width:360px){.cwm2-ticket .member-options{gap:8px}.cwm2-ticket .member-option{padding:10px 7px;gap:5px;min-height:111px}.cwm2-ticket .member-option .member-option-title{gap:4px;font-size:12px}.cwm2-ticket .member-option-title i{width:13px;height:13px;flex-basis:13px}.cwm2-ticket .member-option .member-duration{font-size:9px}.cwm2-ticket .member-option .member-price-row{gap:2px}.cwm2-ticket .member-option .member-price-row em{font-size:8px;padding:3px 4px}.cwm2-ticket .member-option .plan-price{font-size:26px}}


/* Override the older layout-B fixed heights that clipped VIP prices. */
#view-my .cwm2.cwm2-layout-b .cwm2-ticket{border:2px solid #f87916;max-width:600px;min-height:0;height:auto;padding:0 18px 16px}
#view-my .cwm2.cwm2-layout-b .member-card-hero .member-art{width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:1050/349;margin:6px 0 0!important}
#view-my .cwm2.cwm2-layout-b .member-card-hero .member-brand{font-size:clamp(10px,2.7cqw,17px)!important}
#view-my .cwm2.cwm2-layout-b .member-options .member-option{display:flex!important;flex-direction:column;align-items:stretch;min-height:140px!important;height:auto!important;padding:12px!important;grid-template-columns:none;grid-template-rows:none;gap:8px;overflow:visible}
#view-my .cwm2.cwm2-layout-b .member-option .member-option-title{font-size:clamp(13px,4.2cqw,24px)!important;position:static;grid-column:auto;grid-row:auto}
#view-my .cwm2.cwm2-layout-b .member-option del{width:auto;min-width:0;grid-column:auto;grid-row:auto;white-space:nowrap;margin-left:20px}
#view-my .cwm2.cwm2-layout-b .member-option .member-price-row{grid-column:auto;grid-row:auto;width:100%;margin-top:auto}
#view-my .cwm2.cwm2-layout-b .member-option .plan-price{font-size:clamp(28px,8cqw,51px)!important}
#view-my .cwm2.cwm2-layout-b .member-option-title small{display:block}
#view-my .cwm2.cwm2-layout-b .member-buy{height:auto!important;min-height:52px!important;font-size:clamp(18px,5.2cqw,31px)!important;padding:9px 12px!important}
#view-my .cwm2.cwm2-layout-b .member-perks b{font-size:clamp(13px,3.25cqw,20px)!important}
@container vip-ticket (max-width:360px){#view-my .cwm2.cwm2-layout-b .member-options .member-option{padding:10px 6px!important;min-height:118px!important;gap:5px}#view-my .cwm2.cwm2-layout-b .member-option .member-option-title{font-size:12px!important;gap:3px}#view-my .cwm2.cwm2-layout-b .member-option .plan-price{font-size:26px!important}}


#view-my .cwm2.cwm2-layout-b .member-option[aria-pressed=true]{outline:2px solid #ed710e!important;outline-offset:2px!important;border-color:#ed710e!important;box-shadow:inset 0 0 0 2px #fff5b6!important}


/* 2026-11-06: restore the approved continuous paper header and badge scale. */
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-card-hero{padding:0!important;margin:0 0 8px!important;background:#ff7617;position:relative}
#view-my .cwm2.cwm2-layout-b .member-card-hero .member-art{display:block;aspect-ratio:1050/422;width:100%!important;height:auto!important;max-height:none!important;margin:0!important}
#view-my .cwm2.cwm2-layout-b .member-card-hero .member-brand{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;clip-path:inset(50%)!important;overflow:hidden!important}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .cwm2-ticket__statusline{display:flex;justify-content:center;align-items:center;gap:5px;position:absolute;right:2.1%;top:1.5cqw;z-index:2;width:36.5%;max-width:none;min-height:5.3cqw;padding:3px 4px;margin:0;background:#ffebc4;border:1px solid #fff4dc;border-radius:999px;line-height:1.3;color:#7a3210;font-weight:750;box-sizing:border-box}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .cwm2-ticket__statusline .cwm2-ticket__badge{font-size:clamp(9px,2.25cqw,14px);font-weight:850;line-height:1.3;white-space:nowrap;color:#33261b}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .cwm2-ticket__date{font-family:inherit;font-size:clamp(8px,2.2cqw,13px);font-weight:750;color:#7c3213;white-space:nowrap;line-height:1.3;letter-spacing:0}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-perks{margin:0 18px 5px!important;padding:0;gap:5px!important}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-tier-note{margin:7px 0 9px!important;padding:0;min-height:0;line-height:1.5;font-size:clamp(9px,2.35cqw,14px)}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .cwm2-ticket__buy{margin:0!important;padding:0 18px!important;flex:0 0 auto}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .cwm2-plans,#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-purchase,#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-options{margin-top:0!important;padding-top:0!important}
#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-option .member-price-row em{display:inline-block;flex:0 0 auto;font-size:clamp(10px,3.1cqw,17px)!important;font-weight:850;line-height:1.25;padding:5px 9px;min-height:0;background:linear-gradient(110deg,#f47708,#e95e00);clip-path:polygon(6% 0,90% 0,100% 50%,90% 100%,0 100%);border:0;border-radius:0;white-space:nowrap}
@container vip-ticket (max-width:360px){#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-option .member-price-row em{font-size:10px!important;padding:4px 5px}#view-my .cwm2.cwm2-layout-b .cwm2-ticket .member-tier-note{white-space:normal;margin:6px 0 8px!important}}


/* 2026-11-06 用户批注：/me 会员入场券选项卡中间空白偏多（min-height:140px 但内容只 90px，
   margin-top:auto 把价格行推到底、中间留 55px 空白）。压到内容自然高度。 */
#view-my .cwm2.cwm2-layout-b .member-options .member-option{min-height:96px!important}
#view-my .cwm2.cwm2-layout-b .member-option .member-option-title{margin-bottom:2px}

/* Approved toolbar I: folded paper count, fine brown search and honey view tabs. */
#gallery-filters .gallery-filter-row {
  display:grid;
  grid-template-columns:154px minmax(0,1fr) 178px;
  align-items:center;
  gap:20px;
  margin:18px 0 16px;
  padding-bottom:18px;
  border-bottom:1px dashed #dca36f;
}
#gallery-filters .gallery-match {
  position:relative;
  margin:0;
  min-height:58px;
  padding:7px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  background:#fff8eb;
  border:1px solid #d99358;
  border-radius:10px;
  clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,0 100%);
  color:#49301f;
  font-size:14px;
  line-height:1.4;
  white-space:normal;
}
#gallery-filters .gallery-match:after {
  content:'';
  position:absolute;
  top:0;right:0;
  width:15px;height:15px;
  background:linear-gradient(45deg,#f0d9bb 46%,#d99358 49%,#d99358 54%,transparent 57%);
}
.gallery-match-total { display:block; white-space:nowrap; }
.gallery-match-total strong { color:#b84b12; font-size:20px; font-weight:800; }
.gallery-match-shown { display:block; color:#71533b; font-size:13px; white-space:nowrap; }
#gallery-filters .gallery-search-group { width:100%;gap:10px;align-items:center; }
#gallery-filters label.gallery-search {
  min-height:46px;
  padding:5px 10px;
  gap:10px;
  border:1.5px solid #674b38;
  border-radius:15px;
  background:#fffcf7;
  box-shadow:0 2px 0 #c9ac8e66;
  align-self:center;
  transition:box-shadow .12s ease;
}
#gallery-filters .gallery-search:hover,#gallery-filters .gallery-search:focus-within { transform:none; }
#gallery-filters .gallery-search:focus-within { outline:2px solid #b84b12;outline-offset:3px; }
#gallery-filters .gallery-search-mark {
  width:30px;height:30px;flex:0 0 30px;
  background:#ffd368;
  border:0;border-radius:9px;
  box-shadow:0 2px 0 #e7b85c66;
  transform:none;
}
#gallery-filters .gallery-search-mark svg { width:18px;height:18px; }
#gallery-filters .gallery-search input[type="search"] {
  min-height:32px;
  padding:0;
  font-size:15px;
  color:#49301f;
}
#gallery-filters .gallery-search-submit,#gallery-filters .gallery-search-reset {
  min-height:46px;
  min-width:70px;
  padding:10px 15px;
  border:1px solid #cf803e;
  border-radius:13px;
  box-shadow:0 2px 0 #c9ac8e66;
  font-size:15px;
}
#gallery-filters .gallery-search-submit { background:#e87732;color:#fff;font-weight:800; }
#gallery-filters .gallery-search-submit:hover { background:#cb5d1d; }
#gallery-filters .gallery-search-reset { background:#fff8eb;color:#49301f; }
#gallery-filters .gallery-search-reset:hover { background:#ffe9c9; }
#gallery-filters .gallery-view-toggle {
  display:flex;
  margin:0;padding:4px;
  min-height:46px;
  gap:6px;
  border:1px solid #d99358;
  border-radius:999px;
  background:#fff8eb;
  box-shadow:0 2px 0 #c9ac8e44;
}
#gallery-filters .gallery-view-btn { flex:1;justify-content:center;min-height:36px;padding:5px 8px;color:#49301f;font-size:14px; }
#gallery-filters .gallery-view-btn+.gallery-view-btn { position:relative; }
#gallery-filters .gallery-view-btn+.gallery-view-btn:before { content:'';position:absolute;left:-4px;top:9px;bottom:9px;border-left:1px solid #dab188; }
#gallery-filters .gallery-view-btn.is-current { background:#ffd368;box-shadow:0 2px 0 #e7b85c66;color:#33261b; }
@media(max-width:1100px) and (min-width:721px) {
  #gallery-filters .gallery-filter-row { grid-template-columns:142px minmax(0,1fr) 154px;gap:14px; }
  #gallery-filters .gallery-search-group { gap:8px; }
  #gallery-filters .gallery-search-submit,#gallery-filters .gallery-search-reset { min-width:60px;padding:10px; }
}
@media(max-width:720px) {
  #gallery-filters,#gallery-filters.is-search-open { grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; }
  #gallery-filters .grade-filter { grid-row:auto; }
  #gallery-filters .gallery-filter-row { grid-column:1/-1;order:2;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:8px 0;padding-bottom:14px; }
  #gallery-filters .gallery-match { width:max-content;max-width:100%;padding:6px 12px;min-height:54px; }
  #gallery-filters .gallery-filter-row .gallery-view-toggle { grid-column:2;grid-row:1;min-width:154px; }
  #gallery-filters .gallery-filter-row .gallery-search-group { grid-column:1/-1;grid-row:2;gap:7px; }
  #gallery-filters .gallery-search-submit,#gallery-filters .gallery-search-reset { min-width:48px;padding:10px 9px;font-size:13px; }
  #gallery-filters label.gallery-search { padding:5px 8px;gap:7px; }
  #gallery-filters .gallery-search input[type="search"] { font-size:13px; }
  #gallery-filters .gallery-view-btn span { display:inline; }
}
@media(prefers-reduced-motion:reduce) { #gallery-filters label.gallery-search { transition:none; } }

/* 微信支付进度票和消息提醒 */
.modal:is(.is-progress-ticket, [data-testid="modal-notifications"]) {
  --ticket-paper: #fffaf4;
  --ticket-ink: #33261b;
  --ticket-muted: #675544;
  --ticket-line: #e8dacb;
  --ticket-green: #2f5d50;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid #dfccba;
  border-radius: 16px;
  background: var(--ticket-paper);
  color: var(--ticket-ink);
  box-shadow: 0 16px 48px #33261b40;
}

.modal:is(.is-progress-ticket, [data-testid="modal-notifications"]) .modal-head {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 7px 12px 7px 18px;
  border-bottom: 1px solid var(--ticket-line);
}

.modal:is(.is-progress-ticket, [data-testid="modal-notifications"]) .modal-title {
  display: block;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.modal:is(.is-progress-ticket, [data-testid="modal-notifications"]) .modal-x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--ticket-ink);
}

.modal:is(.is-progress-ticket, [data-testid="modal-notifications"]) .modal-x:hover {
  background: #f6eade;
}

[data-testid="modal-notifications"] .modal-body { padding: 16px 18px 12px; }
.notify-list .notify-item--order { display: block; padding: 0 0 9px; }
.notify-list .notify-item--order:last-child { padding-bottom: 0; }
.notify-ticket {
  position: relative;
  border: 1px solid #ebd3b2;
  border-radius: 8px;
  background: #f9ebd6;
}
.notify-ticket.has-amount {
  --stub-width: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub-width);
}
.notify-ticket.has-amount::before,
.notify-ticket.has-amount::after {
  content: '';
  position: absolute;
  right: calc(var(--stub-width) - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ticket-paper);
}
.notify-ticket.has-amount::before { top: -7px; }
.notify-ticket.has-amount::after { bottom: -7px; }
.notify-ticket__copy { display: grid; gap: 3px; padding: 12px; font-size: 14px; overflow-wrap: anywhere; }
.notify-ticket__copy strong { display: flex; align-items: baseline; gap: 7px; }
.notify-ticket__copy .notify-item__dot { margin-top: 0; }
.notify-ticket__amount {
  display: grid;
  place-items: center;
  padding: 8px 4px;
  border-left: 1px dashed #ccae88;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.notify-ticket__actions { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap; padding-top: 9px; }

.notify-ticket__actions .btn-ghost,
[data-testid="modal-notifications"] .notify-foot .btn-ghost,
.pay-progress-result-actions .btn-ghost,
.is-progress-ticket .cashier-p2 .pay-actions .btn-ghost {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #674d37;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.notify-ticket__actions .notify-ticket__view { border-color: #e99a5d; background: #ffb26f; color: #432612; }
.notify-ticket__actions .notify-ticket__view:hover { background: #ffc28c; }
.notify-ticket__view span { margin-left: 4px; }

.pay-progress-wechat,
.pay-progress-hint,
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-default { display: none; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-wechat { display: block; }
.pay-progress-scan { text-align: center; }

.is-progress-ticket .cashier-p2 { display: block; }
.is-progress-ticket .cashier-p2 > .cashier-ticket,
.is-progress-ticket .cashier-p2 :is(.cashier-back, .cashier-title) { display: none; }
.is-progress-ticket .cashier-p2 > .cashier-main { padding: 0; background: none; }
.cashier-p2 .pay-qr-step[data-channel="WECHAT_NATIVE"] { gap: 0; justify-items: stretch; padding: 0; }
.cashier-p2 [data-pay-error]:not([hidden]) {
  margin: 10px 16px;
  color: #8d381a;
  font-size: 13px;
}
.pay-progress-banner {
  --ticket-shape: conic-gradient(from 45deg, #fff2cc 0deg 90deg, #d68046 90deg 180deg, #ffd68d 180deg 270deg, #bd5b29 270deg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 18px;
  background: #eca461;
  color: #3c230f;
}
.pay-progress-banner::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(29%, 132px);
  background: var(--ticket-shape);
  opacity: .58;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%);
}
.pay-progress-banner p { margin: 0; font-size: 14px; font-weight: 750; }
.pay-progress-banner strong { display: block; font-size: 34px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pay-progress-banner--success {
  --ticket-shape: conic-gradient(from 45deg, #dcf0cf 0deg 90deg, #4e8067 90deg 180deg, #a2bd91 180deg 270deg, #204438 270deg);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ticket-green);
  color: #fffdf6;
}
.pay-progress-banner--success strong { margin-bottom: 4px; font-size: 25px; }
.pay-progress-check {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: #dce9dc;
  color: var(--ticket-green);
  font-size: 22px;
}
.pay-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 13px 12px 6px;
  list-style: none;
}
.pay-progress-steps li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ticket-muted);
}
.pay-progress-steps li + li::before { content: ''; width: 28px; height: 1px; margin-right: 3px; background: #d4c3ae; }
.pay-progress-steps li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ede3d6;
  font-size: 12px;
}
.pay-progress-steps li[aria-current="step"] { color: #833c13; }
.pay-progress-steps li[aria-current="step"] span { background: #f8d6b4; }
.pay-progress-result .pay-progress-steps li { color: var(--ticket-green); }
.pay-progress-result .pay-progress-steps li span { background: #dce9dc; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-scan {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 10px 16px 14px;
  color: var(--ticket-muted);
  font-size: 14px;
}
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-scan:has(svg[data-qr-version]) {
  grid-template-columns: clamp(144px, 39%, 172px) minmax(0, 1fr);
  text-align: left;
}
.pay-progress-scan .pay-qr:empty { display: none; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-qr:has(svg[data-qr-version]) {
  padding: 3px;
  border: 1px solid #e5ddcf;
  border-radius: 12px;
  background: #fff;
}
.pay-qr-step[data-channel="WECHAT_NATIVE"] svg[data-qr-version] { display: block; width: 100%; height: auto; shape-rendering: crispEdges; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-scan:has(svg[data-qr-version]) .pay-progress-hint { display: block; }
.pay-progress-hint strong { color: var(--ticket-green); font-size: 15px; }
.pay-progress-hint p { margin: 3px 0 8px; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-notice { margin: 0; color: #76421d; font-size: 13px; font-weight: 700; }
.pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-progress-scan:has(svg[data-qr-version]) .pay-notice::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 5px 2px 0;
  border-radius: 50%;
  background: #b9541e;
}

.cashier-p2 .pay-qr-step[data-channel="WECHAT_NATIVE"] .pay-actions,
.pay-progress-result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 15px;
  border-top: 1px dashed #cfb99e;
}
.pay-qr-step[data-channel="WECHAT_NATIVE"] [data-act="pay-cancel"] { order: -1; }
.is-progress-ticket .cashier-p2 .pay-actions [data-act="pay-refresh"] {
  border-color: #9cb3a3;
  background: #fffdf8;
  color: var(--ticket-green);
}
.is-progress-ticket .cashier-p2 .pay-actions [data-act="pay-refresh"]:hover { background: #ecf3e8; }
.pay-progress-result-actions { justify-content: center; flex-wrap: wrap; }
.pay-progress-result-actions [data-act="pay-return-space"] { background: var(--ticket-green); color: #fff; }
.pay-progress-result-actions [data-act="pay-return-space"]:hover { background: #244e42; }
.pay-progress-receipt { margin: 0; padding: 4px 18px 11px; }
.pay-progress-receipt > div { display: flex; justify-content: space-between; align-items: baseline; gap: 9px; padding: 8px 0; font-size: 14px; }
.pay-progress-receipt > div + div { border-top: 1px solid var(--ticket-line); }
.pay-progress-receipt dt { color: var(--ticket-muted); }
.pay-progress-receipt dd { margin: 0; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }

/* ── 2026-11-15 批注：cwm2-top 收缩 + 会员卡 stub 放大贴底 ────────────
   ② 用户批注「高度在缩小」：welcome 卡由 min-height 265/270px 撑高,
      实测内容自然 251px。收缩 identity 头像 56→44、标题大留白 28/18→14/8、
      说明边距 26→10,自然高度降到 ~200px;min-height 去掉(随内容)。
      actionrow(签到按钮+规则)在窄卡里换行成 126px,把按钮 min-width 168→132、
      规则字号 12px,一行放下,126→~50px。cwm2-top 行高随之 382→~310。
   ④ 用户批注「这个太小了,下面留空有点大」:stub 字号 12→14、内边距加大、
      min-height 54;margin-top:auto 把它推到卡片底部,消掉下面 41px 空段。
   ──────────────────────────────────────────────────────────── */
.cwm2 .cwm2-welcome__body { min-height: 0 !important; }
.cwm2 .cwm2-welcome__body .cwm2-identity .my-avatar { width: 44px !important; height: 44px !important; flex-basis: 44px !important; border-width: 3px !important; }
.cwm2 .cwm2-welcome .cwm2-identity__name { font-size: 18px !important; padding: 3px 8px !important; }
.cwm2 .cwm2-welcome .cwm2-identity__meta { font-size: 11px !important; margin-top: 4px !important; }
.cwm2 .cwm2-welcome__title { margin: 14px 0 8px !important; }
.cwm2 .cwm2-welcome__caption { margin: 0 0 10px !important; }
.cwm2 .cwm2-checkin__card { padding: 12px 18px !important; }
.cwm2 .checkin-cum { margin-bottom: 12px !important; }
.cwm2 .cwm2-checkin__actionrow .checkin-btn { width: auto !important; min-width: 132px !important; min-height: 42px !important; padding: 6px 18px !important; font-size: 20px !important; }
.cwm2 .cwm2-checkin__actionrow .stamp-rules-summary { font-size: 12px !important; }
/* 特异性对齐 Layout B(.cwm2-layout-b .cwm2-ticket__stub 为 0,3,0,不带 !important 会被压) */
.cwm2.cwm2-layout-b .cwm2-ticket__stub { font-size: 14px !important; padding: 12px 20px 16px !important; min-height: 54px !important; margin-top: auto !important; }
.cwm2.cwm2-layout-b .cwm2-ticket__stub .cwm2-ticket__note { font-size: 14px !important; }
.cwm2.cwm2-layout-b .cwm2-ticket__stub .cwm2-link { font-size: 14px !important; min-height: 34px !important; }

/* ── 2026-11-15 批注②③：孩子下拉不被裁 + 偏好摘要可点进编辑弹窗 ──────────
   ② 用户批注「被挡住了」：welcome 卡 overflow:hidden 裁掉下拉下半段(实测列表底
      超出 welcome 底 49px,第二个孩子项被切掉),且 isolation:isolate 让下拉画在
      后续内容下面。放开 welcome 的裁剪(改由 welcome__body 承担，fox 图本来就
      在 body 内),抬高 welcome 堆叠层级让下拉浮在后续内容之上。
   ③ 用户批注「设置偏好在哪设置」:偏好摘要(还没设置学习偏好/已设内容)做成按钮,
      点开「编辑我的资料」弹窗——弹窗里就有孩子年级/学期/教材表单。
   ──────────────────────────────────────────────────────────── */
.cwm2 .cwm2-welcome { overflow: visible !important; z-index: 10 !important; }
.cwm2 .cwm2-welcome__body { overflow: hidden !important; }
.cwm2 .cwm2-pref-link {
  background: none; border: 0; padding: 0; font: inherit; text-align: left;
  cursor: pointer; color: var(--ink-faint);
}
.cwm2 .cwm2-pref-link:hover { color: var(--accent-strong); text-decoration: underline; }
