/* ===== 2026-11 改版：与小程序统一的设计变量（只作用于师生端 .site，不影响后台） ===== */
.site {
  --primary: #0F4C9C; --primary-2: #2A78D6; --primary-soft: #E6F0FC; --primary-line: #C6DAF3; --primary-ink: #0B3F86;
  --ink: #10264A; --ink-2: #4A5B78; --ink-3: #8593AB; --line: #E4EDF8; --line-2: #D6E5F7; --bg-soft: #EEF4FB; --page: #EFF6FF;
  --sun: #FFC21A; --ok: #22A060; --warn: #F08A24; --danger: #E2443F;
  --card: rgba(255, 255, 255, .9); --card-shadow: 0 5px 15px rgba(36, 98, 178, .10);
  --grad: linear-gradient(180deg, #2D7DDC 0%, #0F4C9C 62%, #0B3F86 100%);
  --grad-2: linear-gradient(180deg, #2D7DDC, #0F4C9C);
}
/*
 * 结构：.site > .s-top（电脑顶栏）/ .s-main（.s-page 页面 + .s-map 地图）/ .s-tabbar（手机底栏）
 * 通用组件的改版样式都挂在 .ux 下（.s-page、弹层 .site-modal），不碰地图 .cm 和后台。
 *//* ---------- 启动 / 加载失败 ---------- */



.boot { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; color: #4A5B78; font-size: 13px; background: linear-gradient(180deg, #D8EBFF 0, #E8F3FF 180px, #EFF6FF 360px); }
.boot .ill { width: 190px; height: 152px; object-fit: contain; animation: floatY 4s ease-in-out infinite; }
.boot b { font-size: 19px; font-weight: 800; color: #10264A; margin-top: 8px; }
.boot p { margin: 2px 0 14px; }
.boot-btn { height: 46px; min-width: 180px; padding: 0 24px; border: 0; border-radius: 23px; background: linear-gradient(180deg, #2D7DDC 0%, #0F4C9C 62%, #0B3F86 100%); color: #fff; font-weight: 700; font-size: 15px; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .28), 0 5px 11px rgba(15, 76, 156, .3); }
/* ---------- 骨架 ---------- */


.site { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--page); color: var(--ink); }
.s-top { position: relative; height: 64px; flex: none; display: flex; align-items: center; gap: 24px; padding: 0 24px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 18px rgba(36, 98, 178, .08); z-index: 20; overflow: hidden; }
.s-sky { position: absolute; right: 0; bottom: -6px; height: 70px; width: auto; opacity: .45; pointer-events: none; animation: uhDrift 9s ease-in-out infinite; }
.s-brand { position: relative; display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.s-logo { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, #F2F8FF, #D6E9FF); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(36, 98, 178, .18); display: grid; place-items: center; overflow: hidden; flex: none; }
.s-logo img { width: 100%; height: 100%; object-fit: cover; }
.s-mark { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #4A9BF0, #0F4C9C); color: #fff; font-style: normal; }
.s-mark .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.s-bt b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; letter-spacing: .5px; }
.s-bt small { display: block; font-size: 11px; color: #3F587E; font-weight: 600; white-space: nowrap; }
.s-nav { position: relative; display: flex; gap: 4px; margin-left: auto; }
.s-nav a { height: 36px; padding: 0 14px; border-radius: 18px; display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.s-nav a .ic { width: 17px; height: 17px; }
.s-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.s-nav a:active { transform: scale(.96); }
.s-nav a.on { background: var(--grad-2); color: #fff; font-weight: 700; box-shadow: 0 3px 8px rgba(15, 76, 156, .3); }
.s-main { position: relative; flex: 1; min-height: 0; }
.s-page { position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: linear-gradient(180deg, #D8EBFF 0, #E8F3FF 180px, #EFF6FF 360px) local, #EFF6FF; }
.s-map { position: absolute; inset: 0; }
.s-map-empty { position: absolute; inset: 0; overflow: auto; background: linear-gradient(180deg, #D8EBFF 0, #E8F3FF 180px, #EFF6FF 360px); }
.s-tabbar { display: none; }
/* 手机底栏：白色圆角，选中图标深蓝 + 淡蓝圆斑 + 回弹（同小程序 custom-tab-bar） */


@media (max-width: 720px) {
  .s-top { display: none; }
  .s-tabbar { display: flex; flex: none; position: relative; height: calc(62px + env(safe-area-inset-bottom)); margin-top: -18px; padding: 0 4px env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); border-radius: 18px 18px 0 0; box-shadow: 0 -4px 15px rgba(36, 98, 178, .10); z-index: 20; }
  .site[data-page="nav"] .s-tabbar { margin-top: 0; }
  .s-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 10.5px; color: #7F8DA6; font-weight: 600; -webkit-tap-highlight-color: transparent; }
  .s-tabbar a.on { color: #0F4C9C; font-weight: 800; }
  .tb-pill { position: relative; z-index: 0; width: 42px; height: 30px; display: flex; align-items: center; justify-content: center; }
  .tb-blob { position: absolute; left: 7px; right: 7px; top: 3px; bottom: 3px; border-radius: 50%; background: #DCEBFD; z-index: -1; transform: scale(0); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
  .s-tabbar .ic { width: 23px; height: 23px; stroke-width: 1.9; color: #7F8DA6; transition: color .2s; }
  .s-tabbar a.on .ic { color: #0F4C9C; stroke-width: 2.6; }
  .s-tabbar a.on .tb-blob { transform: scale(1); }
  .s-tabbar a.on .tb-pill { animation: tabBounce .5s cubic-bezier(.2, .9, .3, 1.3); }
  .s-page, .s-map-empty { padding-bottom: 18px; }
}
@media (min-width: 721px) and (max-width: 1080px) { .s-nav a .ic { display: none; } .s-top { gap: 12px; padding: 0 16px; } .s-nav a { padding: 0 11px; } }
@keyframes tabBounce { 0% { transform: scale(1); } 40% { transform: scale(1.25) translateY(-3px); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }
/* ---------- 页面抬头：左标题 + 右侧淡蓝天际线（同小程序 components/head） ---------- */


.ux .uh { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-top: max(10px, env(safe-area-inset-top)); overflow: hidden; }
.ux .uh-sky { position: absolute; right: 0; bottom: -5px; width: 260px; max-width: 70%; opacity: .95; pointer-events: none; animation: uhDrift 9s ease-in-out infinite; }
.ux .uh-bar { position: relative; display: flex; align-items: center; gap: 2px; min-height: 48px; padding: 0 16px 6px 10px; }
.ux .uh-back { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: #10264A; transition: transform .15s, background .15s; }
.ux .uh-back .ic { width: 22px; height: 22px; stroke-width: 2.8; }
.ux .uh-back:hover { background: rgba(255, 255, 255, .6); }
.ux .uh-back:active { transform: scale(.88); background: rgba(255, 255, 255, .6); }
.ux .uh-tt { flex: 1; min-width: 0; padding-left: 4px; }
.ux .uh-t { font-size: 18px; font-weight: 800; color: #10264A; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .5px; }
.ux .uh-s { font-size: 11px; color: #3F587E; font-weight: 600; margin-top: 1px; }
.ux .uh.big .uh-t { font-size: 21px; }
.ux .uh.big .uh-bar { padding-left: 16px; }
.ux .uh.big .uh-tt { padding-left: 0; }
@keyframes uhDrift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@media (min-width: 721px) {
  .ux .uh { padding-top: 14px; }
  .ux .uh.tabp { display: none; }
/* 电脑上品牌已在顶栏 */ 
  .ux .uh-sky { width: 320px; }
}
/* ---------- 布局 ---------- */


.ux .wrap { max-width: 760px; margin: 0 auto; padding: 4px 16px 28px; }
.ux .wrap.wide { max-width: 1040px; }
.ux .uh + .wrap { padding-top: 6px; }
@media (min-width: 721px) { .ux .wrap { padding: 26px 20px 40px; } .ux .uh + .wrap { padding-top: 10px; } }
.ux .grow { flex: 1; min-width: 0; }
.ux .between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ux .muted { color: var(--ink-3); }
.ux .small { font-size: 12px; }
.ux .ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .pre { white-space: pre-line; margin: 6px 0 0; line-height: 1.8; color: var(--ink-2); font-size: 13.5px; }
.s-foot { margin-top: 18px; text-align: center; color: var(--ink-3); font-size: 11.5px; line-height: 1.7; }
.s-foot:empty { display: none; }
.ux .foot-note { text-align: center; color: var(--ink-3); font-size: 11px; margin: 10px 0 0; }
.ux .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.ux .duo > .card { margin-bottom: 0; }
.ux .sec { margin-top: 6px; }
/* ---------- 通用组件（同 app.wxss） ---------- */


.ux .card { position: relative; display: block; background: var(--card); border-radius: 15px; padding: 14px; margin: 0 0 12px; border: 1px solid #fff; box-shadow: var(--card-shadow); color: var(--ink); }
.ux .card.flat { padding: 0; overflow: hidden; }
.ux a.card, .ux button.card, .ux [role="button"].card { transition: transform .15s, box-shadow .2s; }
.ux a.card:active, .ux button.card:active, .ux [role="button"].card:active { transform: scale(.98); }
.ux button.card { width: 100%; text-align: left; font: inherit; }
.ux .ct { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--ink); }
.ux .ct .ic { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.2; }
.ux .hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
/* 区块标题：深蓝粗体 + 可选图标 */


.ux .sec-title { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 10px 2px 9px; }
.ux .sec-title .t { position: relative; display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: var(--ink); }
.ux .sec-title .t .ic { width: 19px; height: 19px; color: var(--primary); stroke-width: 2.2; }
.ux .more { border: 0; background: none; padding: 0; font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 2px; font-weight: 500; }
.ux .more .ic { width: 13px; height: 13px; }
.ux .big-title { position: relative; display: inline-block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .5px; z-index: 0; }
.ux .big-title .swoosh { position: absolute; left: -3px; right: -5px; bottom: -2px; width: calc(100% + 8px); height: 10px; z-index: -1; }
.ux .spark { position: absolute; width: 20px; height: 20px; animation: twinkle 2.4s ease-in-out infinite; pointer-events: none; z-index: 1; }
/* 按钮：主按钮深蓝渐变胶囊（光泽扫过），次按钮白色胶囊 */


.ux .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 40px; padding: 0 18px; border-radius: 20px; background: #fff; border: 1px solid #D6E5F7; font-size: 14px; font-weight: 700; color: var(--primary); box-shadow: 0 3px 8px rgba(36, 98, 178, .08); overflow: hidden; transition: transform .15s, opacity .15s; white-space: nowrap; }
.ux .btn:hover { background: #F6FAFF; }
.ux .btn:active { transform: scale(.96); opacity: .92; }
.ux .btn .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ux .btn.primary, .ux .btn.primary:hover { background: var(--grad); border: 0; color: #fff; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .28), 0 5px 11px rgba(15, 76, 156, .3); }
.ux .btn.primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); transform: skewX(-18deg); animation: shine 3.6s ease-in-out infinite; pointer-events: none; }
.ux .btn.danger, .ux .btn.danger:hover { background: #FFF0EF; border-color: #FBD0CD; color: var(--danger); }
.ux .btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 15px; }
.ux .btn.lg { height: 48px; font-size: 16px; border-radius: 24px; padding: 0 26px; }
.ux .btn.block { display: flex; width: 100%; }
.ux .btn.disabled { opacity: .55; pointer-events: none; }
.ux .btn.primary.disabled::after { display: none; }
.ux .btn.done, .ux .btn.done:hover { background: #EAF3FE; color: var(--primary); border: 1px solid #CFE1F7; box-shadow: none; }
.ux .btn.done::after { display: none; }
.ux .btn.soft, .ux .btn.soft:hover { background: var(--primary-soft); border-color: transparent; color: var(--primary); box-shadow: none; }
.ux .btn.off { opacity: .55; }
.ux .btn.primary.off::after { display: none; }
.ux .icon-btn { color: var(--ink-2); }
/* 标签、胶囊筛选、分段 */


.ux .tag { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--c, var(--primary)) 12%, #fff); color: var(--c, var(--primary)); white-space: nowrap; }
.ux .tag .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.ux .tag.ok { --c: var(--ok); }
.ux .tag.gray { background: var(--bg-soft); color: var(--ink-3); }
.ux .tag.warn { --c: #D9700F; }
.ux .tag.red { background: #FF5A4E; color: #fff; }
.ux .tag.sun { background: linear-gradient(180deg, #FFE38A, #FFC94A); color: #6B4500; }
.ux .chips { display: flex; gap: 7px; flex-wrap: wrap; }
.ux .chips.hchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; }
.ux .chips.hchips::-webkit-scrollbar { display: none; }
.ux .chip { display: inline-flex; align-items: center; gap: 4px; height: 31px; padding: 0 13px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: var(--ink-2); font-size: 13px; font-weight: 600; border: 1px solid #fff; box-shadow: 0 2px 6px rgba(36, 98, 178, .08); transition: all .2s; flex: none; white-space: nowrap; }
.ux .chip:hover { border-color: #fff; color: var(--primary); }
.ux .chip:active { transform: scale(.95); }
.ux .chip.on, .ux .chip.on:hover { background: var(--grad-2); border-color: transparent; color: #fff; box-shadow: 0 3px 8px rgba(15, 76, 156, .3); }
/* 搜索框 */


.ux .search { position: relative; display: flex; align-items: center; height: 42px; padding: 0 5px 0 40px; background: rgba(255, 255, 255, .95); border-radius: 21px; border: 1px solid #fff; box-shadow: var(--card-shadow); transition: border-color .2s, box-shadow .2s; }
.ux .search:focus-within { background: #fff; border-color: var(--primary-line); box-shadow: 0 0 0 3px rgba(42, 120, 214, .12), var(--card-shadow); }
.ux .search .search-ic { left: 14px; color: var(--ink-3); }
.ux .search input { font-size: 14px; color: var(--ink); }
.ux .search input::placeholder { color: var(--ink-3); }
.ux .s-act { height: 32px; padding: 0 15px; border-radius: 16px; background: var(--grad-2); color: #fff; font-weight: 700; font-size: 13.5px; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s; }
.ux .s-act:active { transform: scale(.94); }
/* 空状态 / 异常：插画 + 文案 + 按钮（同小程序 .state .ill，轻微浮动） */


.ux .state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 20px 10px; }
.ux .state .ill { width: 190px; height: 152px; object-fit: contain; animation: floatY 4s ease-in-out infinite; }
.ux .state .st { position: relative; font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 9px; }
.ux .state .sd { font-size: 13px; color: var(--ink-2); margin: 5px 0 16px; line-height: 1.6; max-width: 420px; }
.ux .state > .btn { min-width: 180px; }
.ux .state > .btn + .btn { margin-top: 10px; }
/* 进度条 */


.ux .progress { display: block; height: 8px; border-radius: 4px; background: #E1ECF9; overflow: hidden; }
.ux .progress > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4A9BF0, #0F4C9C); transition: width .8s cubic-bezier(.2, .8, .2, 1); animation: grow .9s cubic-bezier(.2, .8, .2, 1); }
/* 列表 */


.ux .list-item { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.ux .list-item:first-child { border-top: 0; }
.ux .list-item:hover { background: rgba(230, 240, 252, .5); }
.ux .list-item > .ic { width: 15px; height: 15px; color: var(--ink-3); }
.ux .ic-tile { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.ux .ic-tile .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.ux .ic-tile.sun { color: #F5A623; background: #FFF6DE; }
.ux .li-ic { width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--c, var(--primary)) 13%, #fff); color: var(--c, var(--primary)); }
.ux .status { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; white-space: nowrap; flex: none; }
.ux .status.open { color: var(--ok); background: #E3F6EA; }
.ux .status.closed { color: #8A8F98; background: var(--bg-soft); }
.ux .thumb { width: 75px; height: 56px; border-radius: 10px; flex: none; background: #DCEBFB; box-shadow: 0 2px 5px rgba(36, 98, 178, .12); object-fit: cover; display: block; }
/* 表单（弹层里的输入框统一成白色圆角胶囊） */


.ux .fld > span { font-size: 13px; color: var(--ink); font-weight: 700; }
.ux .fld input:not([type="checkbox"]):not([type="color"]):not([type="file"]), .ux .fld select, .ux .fld textarea { height: 40px; border: 1px solid #D6E5F7; border-radius: 20px; padding: 0 14px; background: #fff; box-shadow: inset 0 1px 3px rgba(36, 98, 178, .05), 0 2px 5px rgba(36, 98, 178, .06); }
.ux .fld textarea { height: auto; border-radius: 12px; padding: 10px 12px; }
.ux .fld input:focus, .ux .fld select:focus, .ux .fld textarea:focus { border-color: #3C82D8; box-shadow: 0 0 0 3px rgba(60, 130, 216, .12); }
.ux .chk input { accent-color: var(--primary); }
.ux .form-err { display: flex; align-items: flex-start; gap: 5px; color: #B42318; font-size: 12px; margin: 4px 0 0; }
.ux .form-err .ic { width: 14px; height: 14px; flex: none; margin-top: 1px; }
/* ---------- 弹层：手机底部弹出，电脑居中 ---------- */


.site-modal { background: rgba(16, 38, 74, .42); animation: fadeIn .25s ease; }
.site-modal .modal-card { position: relative; background: linear-gradient(180deg, #F7FBFF, #fff 160px); border-radius: 20px; box-shadow: 0 10px 30px rgba(16, 38, 74, .2); padding: 22px 18px 20px; color: var(--ink); }
.site-modal .modal-card.sheet { width: min(520px, 100%); animation: popIn .32s cubic-bezier(.2, .9, .3, 1.2); }
.site-modal .grip { display: none; }
/* 顶部拖动区（往下拖关闭，见 site.js dragToClose）：只在手机底部弹层时显示 */
.site-modal .sheet-drag { display: none; }
.site-modal .sheet-x { position: absolute; right: 13px; top: 13px; width: 32px; height: 32px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; background: #EEF4FB; color: var(--ink); z-index: 3; transition: transform .15s; }
.site-modal .sheet-x .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.site-modal .sheet-x:active { transform: scale(.88); }
.site-modal .modal-card h3 { position: relative; display: inline-block; margin: 0 40px 10px 0; font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.site-modal .modal-card.dialog { width: min(340px, calc(100% - 56px)); padding: 24px 20px 18px; text-align: center; background: #fff; animation: popIn .32s cubic-bezier(.2, .9, .3, 1.3); }
.site-modal .dialog h3 { margin: 0 0 6px; }
.site-modal .dialog .pre { margin: 4px 0 0; text-align: center; font-size: 14px; }
.site-modal .dialog .pre.left { text-align: left; }
.site-modal .d-actions { display: flex; gap: 10px; margin-top: 18px; }
.site-modal .d-actions .btn { flex: 1; }
@media (max-width: 720px) {
  .site-modal:not(.is-dialog) { place-items: end center; padding: 0; }
  .site-modal .modal-card.sheet { width: 100%; border-radius: 20px 20px 0 0; max-height: 88vh; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); animation: sheetUp .38s cubic-bezier(.2, .9, .3, 1.05); box-shadow: 0 -5px 20px rgba(16, 38, 74, .12); }
  .site-modal .sheet-drag { display: block; flex: none; margin: -10px -16px 0; padding: 10px 16px 0; touch-action: none; cursor: grab; }
  .site-modal .grip { display: block; width: 36px; height: 4px; border-radius: 2px; background: #D3DEEC; margin: 0 auto 12px; }
  .site-modal [data-drag] { touch-action: none; }
  .site-modal .sheet-x { top: 14px; }
}
/* 电话 */


.ux .call-sheet { text-align: center; padding-top: 6px; }
.ux .call-sheet h3 { margin: 12px 0 2px !important; }
.ux .call-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-grid; place-items: center; box-shadow: 0 0 0 6px rgba(230, 240, 252, .6); }
.ux .call-ic .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.ux .call-num { font-size: 26px; font-weight: 800; letter-spacing: 1px; margin: 6px 0 8px; font-variant-numeric: tabular-nums; color: var(--ink); }
/* ================= 首页（同小程序 pages/home：以校园导航为主） =================
   结构：头部 → 导航主卡（地图 + 主操作 + 快速找地点）→ 公告条 → 今天 → 常去地点 → 校园生活 → 常用服务 → 页尾
   统一规则（同小程序 rpx ÷ 2）：区块间距 12px；圆角 主卡 18 / 卡片 15 / 图标底块 ≈ 边长 0.3；字号 17（标题）/ 14（条目）/ 12（说明）/ 10.5（最小） */

/* ① 头部：头像 + 按时段问候 + Lv + 校区胶囊，下面是搜索 */
.ux .home .hd { position: relative; z-index: 5; margin: 3px 0 12px; }
.ux .hd-row { display: flex; align-items: center; gap: 9px; margin: 0 2px 10px; }
.ux .g-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(160deg, #4A9BF0, #0F4C9C); color: #fff; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(36, 98, 178, .22); flex: none; transition: transform .15s; }
.ux .g-av:active { transform: scale(.94); }
.ux .hd-tx { flex: 1; min-width: 0; display: block; color: var(--ink); }
.ux .hd-hi { display: block; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .hd-lv { display: flex; margin-top: 3px; }
.ux .campus-pill { display: inline-flex; align-items: center; gap: 3px; height: 30px; max-width: 150px; padding: 0 10px 0 8px; border: 0; border-radius: 15px; background: linear-gradient(180deg, #2D7DDC, #0F4C9C); color: #fff; font-size: 12.5px; font-weight: 800; box-shadow: 0 3px 7px rgba(15, 76, 156, .26); flex: none; transition: transform .15s; }
.ux .campus-pill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .campus-pill .ic { width: 13px; height: 13px; stroke-width: 2.4; flex: none; }
.ux .campus-pill .ic:last-child:not(:first-child) { width: 11px; height: 11px; stroke-width: 2.8; }
.ux .campus-pill:active { transform: scale(.95); }
.ux .campus-pill.static { cursor: default; }
.ux .campus-pill.static:active { transform: none; }
/* 首页搜索（地点 / 生活配套 / 校园信息） */
.ux .gs { position: relative; z-index: 5; }
.ux .gs-drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: rgba(255, 255, 255, .98); border-radius: 18px; border: 1px solid #fff; box-shadow: 0 10px 30px rgba(36, 98, 178, .18); max-height: min(60vh, 440px); overflow: auto; z-index: 5; padding: 6px; color: var(--ink); animation: rise .3s cubic-bezier(.2, .8, .2, 1); }
.ux .gs-group { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); padding: 8px 10px 4px; }
.ux .gs-group .ic { width: 13px; height: 13px; }
.ux .gs-drop .li { color: var(--ink); border-radius: 12px; padding: 7px 8px; }
.ux .gs-drop .li:hover { background: var(--primary-soft); }
.ux .gs-drop .li > .ic { width: 14px; height: 14px; color: var(--ink-3); }
.ux .gs-th { width: 44px; height: 34px; border-radius: 8px; object-fit: cover; background: #DCEBFB; flex: none; }
.ux .gs-drop .li-ic { width: 44px; height: 34px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); }
.ux .gs-drop .list-empty { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px 16px; text-align: center; }
.ux .gs-drop .list-empty .ill { width: 120px; height: 96px; object-fit: contain; }
.ux .gs-drop .list-empty b { font-size: 14px; font-weight: 800; color: var(--ink); }
.ux .gs-drop .list-empty span { font-size: 12px; color: var(--ink-3); }

/* ② 导航主卡：地图区（定位点脉冲 + 图钉落下）+ 两个主操作 + 卡内「快速找地点」 */
.ux .mapcard { position: relative; margin: 0 0 12px; border-radius: 18px; background: var(--card); border: 2px solid #fff; box-shadow: 0 7px 17px rgba(36, 98, 178, .16); overflow: hidden; }
/* 首屏轮播（同小程序 .hbs）：今天（插画 + 日期和一句话，晚上换夜景）/ 后台轮播图 / 内置功能介绍；可滑动、可拖、5 秒自动换 */
.ux .hbs { position: relative; height: 150px; overflow: hidden; border-radius: 16px 16px 0 0; background: #E4F1FF; }
.ux .hb-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-user-select: none; user-select: none; }
.ux .hb-track::-webkit-scrollbar { display: none; }
.ux .hb-track.drag { scroll-snap-type: none; cursor: grabbing; }
.ux .hb-track.drag .hb { pointer-events: none; }
.ux .hb { position: relative; display: block; flex: 0 0 100%; height: 100%; overflow: hidden; background: #E4F1FF; color: inherit; scroll-snap-align: start; scroll-snap-stop: always; }
.ux .hb img { -webkit-user-drag: none; }
.ux .hb-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; animation: hbIn 1.2s ease-out both; }
@keyframes hbIn { from { opacity: .4; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.ux .hb-txt { position: absolute; left: 15px; top: 13px; width: 52%; }
.ux .hb-date { font-size: 11px; font-weight: 700; color: var(--ink-2); letter-spacing: .5px; }
.ux .hb-t { display: -webkit-box; margin-top: 5px; font-size: 17px; font-weight: 900; line-height: 1.38; color: var(--ink); -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ux .hb-chips { position: absolute; left: 10px; bottom: 9px; right: 46%; display: flex; flex-wrap: wrap; gap: 5px; }
.ux .hb-chip { display: inline-flex; align-items: center; gap: 3px; height: 23px; padding: 0 8px 0 6px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 10.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 6px rgba(36, 98, 178, .14); }
.ux .hb-chip .ic { width: 12px; height: 12px; color: var(--primary); stroke-width: 2.4; flex: none; }
.ux .hb-chip.seed { color: #2F7A2A; transition: transform .15s; }
.ux .hb-chip.seed:active { transform: scale(.95); }
.ux .hb-chip.seed .ic { color: #3E9A3A; }
.ux .hb-chip[hidden] { display: none; }
.ux .hb.night { background: #1B2F5E; }
.ux .hb.night .hb-date { color: rgba(255, 255, 255, .72); }
.ux .hb.night .hb-t { color: #fff; text-shadow: 0 2px 7px rgba(8, 20, 48, .35); }
/* 换到这一张时文字从右侧淡入（不在当前页的文字先藏起来，滑动时不会闪） */
.ux .sl-in { opacity: 0; transform: translateX(18px); transition: opacity .45s ease-out .08s, transform .55s cubic-bezier(.2, .8, .3, 1) .08s; }
.ux .hb.on .sl-in { opacity: 1; transform: none; }
/* 后台轮播图：有标题时底部加暗角，白字 */
.ux .sl-photo { background: #DCE6F3; }
.ux .sl-photo .hb-img { object-position: 50% 50%; }
.ux .sl-photo.has-t::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; background: linear-gradient(to top, rgba(8, 22, 52, .66), rgba(8, 22, 52, 0)); }
.ux .sp-txt { position: absolute; left: 15px; right: 85px; bottom: 13px; z-index: 1; }
.ux .sp-t { display: block; font-size: 17px; font-weight: 900; color: #fff; text-shadow: 0 1px 5px rgba(0, 0, 0, .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .sp-s { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(255, 255, 255, .86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 内置功能介绍：浅色底 + 右侧插画（promo）/ 宽幅插画铺满（scene） */
.ux .sl-promo::before { content: ''; position: absolute; right: -35px; top: -45px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .42); }
.ux .sl-promo.t-blue { background: linear-gradient(118deg, #EEF5FF 0%, #D2E5FF 100%); --ac: #0F4C9C; }
.ux .sl-promo.t-sun { background: linear-gradient(118deg, #FFF9E6 0%, #FFE6A6 100%); --ac: #B07000; }
.ux .sl-promo.t-peach { background: linear-gradient(118deg, #FFF3EB 0%, #FFD6BE 100%); --ac: #CF5A22; }
.ux .sl-scene { background: #CFE6FF; --ac: #2F8A2A; }
.ux .sl-scene .hb-img { animation: none; object-position: 60% 100%; }
.ux .pm-ill { position: absolute; right: 3px; bottom: 6px; width: 165px; height: 132px; max-width: none; object-fit: contain; }
.ux .pm-txt { position: absolute; left: 15px; top: 14px; width: 58%; display: block; }
.ux .pm-k { display: inline-flex; align-items: center; height: 19px; padding: 0 8px; border-radius: 10px; background: rgba(255, 255, 255, .78); color: var(--ac); font-size: 10.5px; font-weight: 800; }
.ux .pm-t { display: block; margin-top: 7px; font-size: 17px; font-weight: 900; line-height: 1.3; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .pm-s { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .pm-bar { display: block; width: 120px; height: 5px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .8); overflow: hidden; }
.ux .pm-bar i { display: block; height: 100%; min-width: 5px; border-radius: 3px; background: var(--ac); }
.ux .pm-cta { position: absolute; left: 15px; bottom: 13px; display: inline-flex; align-items: center; gap: 2px; height: 27px; padding: 0 8px 0 12px; border-radius: 14px; background: var(--ac); color: #fff; font-size: 11.5px; font-weight: 800; box-shadow: 0 3px 8px rgba(20, 40, 80, .18); transition: transform .15s; }
.ux .pm-cta .ic { width: 12px; height: 12px; stroke-width: 3; }
.ux a.hb:active .pm-cta { transform: scale(.94); }
.ux .sl-scene .pm-k { background: rgba(255, 255, 255, .86); }
.ux .sl-scene .pm-txt { width: 56%; }
.ux .sl-scene .pm-s { color: #3D5172; }
/* 指示点：浅色图上用深色点，深色图（夜景 / 照片）上用白点；电脑上悬停出现左右箭头 */
.ux .hb-dots { position: absolute; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 4px; }
.ux .hb-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(15, 46, 96, .24); transition: width .3s ease, background-color .3s; cursor: pointer; }
.ux .hb-dot.on { width: 15px; background: var(--primary); }
.ux .hb-dots.lt .hb-dot { background: rgba(255, 255, 255, .5); }
.ux .hb-dots.lt .hb-dot.on { background: #fff; }
.ux .hb-arr { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ux .hb-arr { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 4px; padding: 0; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 2px 6px rgba(20, 40, 80, .18); cursor: pointer; opacity: 0; transition: opacity .2s, transform .15s; }
  .ux .hb-arr .ic { width: 14px; height: 14px; stroke-width: 2.6; }
  .ux .hbs:hover .hb-arr, .ux .hb-arr:focus-visible { opacity: 1; }
  .ux .hb-arr:active { transform: scale(.9); }
  .ux .hb-track { cursor: grab; }
}
/* 此刻营业 */
.ux .oc { flex: none; width: 122px; scroll-snap-align: start; padding: 10px 10px 11px; border-radius: 15px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow, 0 5px 15px rgba(36, 98, 178, .1)); color: inherit; text-decoration: none; transition: transform .15s; }
.ux .oc:active { transform: scale(.97); }
.ux .oc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ux .oc-ic { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.ux .oc-ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ux .oc-rec { height: 18px; line-height: 18px; padding: 0 6px; border-radius: 9px; background: #FFF4CC; color: #A86E00; font-size: 10px; font-weight: 800; }
.ux .oc-n { display: block; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .oc-s { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; font-weight: 700; color: #1E8E52; white-space: nowrap; overflow: hidden; }
.ux .oc-s.soon { color: #D9822B; }
.ux .oc-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2.5px rgba(30, 142, 82, .14); }
.ux .oc-l { display: block; margin-top: 3px; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .mc-acts { display: flex; gap: 8px; padding: 10px; }
.ux .mc-b { flex: 1; min-width: 0; height: 42px; padding: 0 6px; }
.ux .nv-sub { display: flex; align-items: center; justify-content: space-between; margin: 0 12px; padding: 10px 0 2px; border-top: 1px solid var(--line); }
.ux .nv-sub-t { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--ink); }
.ux .nv-sub-t .ic { width: 15px; height: 15px; color: var(--primary); stroke-width: 2.2; }
.ux .nv-more { display: inline-flex; align-items: center; gap: 1px; height: 24px; font-size: 12px; color: var(--ink-2); transition: transform .15s; }
.ux .nv-more .ic { width: 12px; height: 12px; }
.ux .nv-more:active { transform: scale(.95); }
.ux .nv-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2px 4px 6px; }
.ux .nv-cat { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 6px 2px 5px; border-radius: 12px; color: var(--ink); transition: transform .15s, background .15s; }
.ux .nv-cat:hover { background: rgba(230, 240, 252, .6); }
.ux .nv-cat:active { transform: scale(.94); }
.ux .nv-ci { width: 36px; height: 36px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.ux .nv-ci .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.ux .nv-cn { max-width: 100%; margin-top: 4px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .nv-cc { font-size: 10.5px; line-height: 1.3; color: var(--ink-3); }
@media (min-width: 721px) {
  .ux .hbs { height: 230px; }
  .ux .hb-txt { left: 22px; top: 20px; width: 46%; }
  .ux .hb-date { font-size: 13px; }
  .ux .hb-t { font-size: 24px; }
  .ux .hb-chips { left: 16px; bottom: 14px; }
  .ux .pm-txt { left: 22px; top: 22px; width: 50%; }
  .ux .pm-k { height: 24px; padding: 0 11px; border-radius: 12px; font-size: 12.5px; }
  .ux .pm-t { margin-top: 10px; font-size: 24px; }
  .ux .pm-s { margin-top: 6px; font-size: 13.5px; }
  .ux .pm-bar { width: 180px; height: 6px; margin-top: 12px; }
  .ux .pm-cta { left: 22px; bottom: 20px; height: 34px; padding: 0 12px 0 16px; border-radius: 17px; font-size: 13.5px; }
  .ux .pm-ill { right: 24px; bottom: 10px; width: 262px; height: 210px; }
  .ux .sl-promo::before { right: -20px; top: -70px; width: 320px; height: 320px; }
  .ux .sp-txt { left: 22px; bottom: 20px; right: 140px; }
  .ux .sp-t { font-size: 24px; }
  .ux .sp-s { font-size: 13.5px; }
  .ux .hb-dots { right: 18px; bottom: 18px; gap: 5px; }
  .ux .hb-dot { width: 7px; height: 7px; border-radius: 4px; }
  .ux .hb-dot.on { width: 20px; }
  .ux .oc-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ux .oc { width: auto; }
  .ux .nv-cats { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* ③ 公告条：一行轮播，点标题看详情，点「全部」看列表 */
.ux .hnb { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 4px 0 7px; margin-bottom: 12px; border-radius: 21px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow); }
.ux .hnb-ic { width: 28px; height: 28px; border-radius: 50%; background: #FFF3C9; color: #C98A00; display: flex; align-items: center; justify-content: center; flex: none; }
.ux .hnb-ic .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.ux .hnb-box { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden; color: var(--ink); transition: transform .15s; }
.ux .hnb-box:active { transform: scale(.98); }
.ux .hnb-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; animation: ntIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.ux .hnb-pin { flex: none; height: 17px; line-height: 17px; padding: 0 5px; border-radius: 4px; background: #FF5A4E; color: #fff; font-size: 10.5px; font-weight: 800; }
.ux .hnb-tt { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ntIn { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
.ux .hnb-more { flex: none; display: flex; align-items: center; gap: 1px; height: 28px; padding: 0 7px 0 9px; border-left: 1px solid var(--line); font-size: 12px; color: var(--ink-2); transition: transform .15s; }
.ux .hnb-more .ic { width: 12px; height: 12px; }
.ux .hnb-more:active { transform: scale(.95); }

/* ④ 今天：下一节课 + 新生任务进度 + 每日签到（7 天圆点） */
.ux .tdy { padding: 13px 13px 12px; }
.ux .next { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; font: inherit; transition: transform .15s; }
.ux .next:active { transform: scale(.98); }
.ux .next-l { flex: 1; min-width: 0; display: block; }
.ux .next-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 800; }
.ux .next-tag .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.ux .next-name { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; margin: 6px 0 2px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .next-room { display: flex; align-items: center; gap: 3px; min-width: 0; font-size: 12px; color: var(--ink-2); }
.ux .next-room .ic { width: 12px; height: 12px; flex: none; }
.ux .next-room span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .go-class { flex: none; width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(180deg, #2D7DDC, #0F4C9C); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 800; box-shadow: 0 5px 10px rgba(15, 76, 156, .28); transition: transform .15s; }
.ux .go-class .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.ux .go-class.plain { background: var(--primary-soft); color: var(--primary); box-shadow: none; }
.ux .tcs { margin-top: 5px; }
.ux .tc { display: flex; align-items: center; gap: 7px; padding-top: 7px; font-size: 13px; color: var(--ink); }
.ux .tc.done { opacity: .45; }
.ux .tc-bar { width: 4px; height: 15px; border-radius: 2px; flex: none; }
.ux .tc-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .tc-m { flex: none; max-width: 52%; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .nocls { position: relative; display: flex; align-items: center; gap: 7px; min-height: 32px; color: var(--ink-2); font-size: 13px; font-weight: 600; margin: 0; }
.ux .nocls .ic { width: 19px; height: 19px; color: var(--primary); flex: none; }
.ux .nocls .ic.ok { color: var(--ok); }
.ux .nocls-ill { width: 55px; height: 44px; object-fit: contain; flex: none; }
.ux .nocls.col .ct { display: block; font-size: 14px; }
.ux .nocls.col small { display: block; font-weight: 400; margin-top: 1px; line-height: 1.4; font-size: 11px; }
.ux .td-hr { display: block; height: 1px; margin: 11px 0; background: var(--line); }
.ux .td-row { display: flex; align-items: center; gap: 9px; color: var(--ink); transition: transform .15s; }
.ux a.td-row:active { transform: scale(.98); }
.ux a.td-row > .ic { width: 14px; height: 14px; color: var(--ink-3); flex: none; }
.ux .td-ic { width: 32px; height: 32px; border-radius: 10px; }
.ux .td-ic .ic { width: 17px; height: 17px; }
.ux .td-top { display: flex; align-items: center; gap: 6px; }
.ux .td-tt { flex: 0 1 auto; min-width: 0; font-size: 14px; font-weight: 800; line-height: 1.35; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .td-n { flex: none; margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.ux .td-bar { height: 6px; margin-top: 6px; }
.ux .td-s { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .tdy .pts { flex: none; height: 17px; line-height: 17px; padding: 0 6px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 10.5px; font-weight: 700; }
.ux .sign-btn { flex: none; min-width: 68px; }
.ux .dots { display: flex; justify-content: space-between; margin: 10px 2px 0; }
.ux .dots .d { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.ux .dots .dd { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #C9DCF3; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s; }
.ux .dots .dd .ic { width: 11px; height: 11px; stroke-width: 3.2; }
.ux .dots .d.today .dd { border-color: var(--primary); }
.ux .dots .d.today > span { color: var(--primary); font-weight: 800; }
.ux .dots .d.on .dd { background: linear-gradient(180deg, #3B8BE6, #0F4C9C); border-color: transparent; box-shadow: 0 2px 5px rgba(15, 76, 156, .28); animation: popIn .4s cubic-bezier(.2, .9, .3, 1.4) both; }

/* ⑤ 常去地点：横滑卡片（电脑上 4 列） */
.ux .places { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px 2px; padding: 1px 16px 12px; scrollbar-width: none; }
.ux .places::-webkit-scrollbar { display: none; }
.ux .pcard { position: relative; flex: none; width: 122px; scroll-snap-align: start; background: var(--card); border-radius: 15px; overflow: hidden; border: 1px solid #fff; box-shadow: var(--card-shadow); cursor: pointer; outline: 0; transition: transform .15s, box-shadow .2s; }
.ux .pcard:hover { box-shadow: 0 7px 18px rgba(36, 98, 178, .16); }
.ux .pcard:active { transform: scale(.97); }
.ux .pcard:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.ux .pc-img { display: block; width: 100%; height: 72px; object-fit: cover; background: #DCEBFB; }
.ux .pc-lit { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 2px; height: 18px; padding: 0 6px; border-radius: 9px; background: rgba(34, 160, 96, .92); color: #fff; font-size: 10.5px; font-weight: 800; }
.ux .pc-lit .ic { width: 9px; height: 9px; stroke-width: 3.2; }
.ux .pc-b { display: block; padding: 6px 8px 8px; }
.ux .pc-n { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.35; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .pc-c { display: block; margin: 1px 0 6px; font-size: 11px; line-height: 1.35; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .pc-go { display: flex; align-items: center; justify-content: center; gap: 3px; height: 27px; border-radius: 14px; background: linear-gradient(180deg, #2D7DDC, #0F4C9C); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 3px 6px rgba(15, 76, 156, .22); transition: transform .15s; }
.ux .pc-go .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.ux .pc-go:active { transform: scale(.94); }
@media (min-width: 721px) {
  .ux .places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0 0 12px; padding: 0; }
  .ux .pcard { width: auto; }
  .ux .pc-img { height: 92px; }
}

/* ⑥ 校园生活：一排三张小卡（农场关闭时两张平分） */
.ux .hlife { display: flex; gap: 8px; margin-bottom: 12px; }
.ux .hlf { position: relative; flex: 1; min-width: 0; height: 118px; padding: 11px 10px; border-radius: 15px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow); overflow: hidden; color: var(--ink); transition: transform .15s, box-shadow .2s; }
.ux .hlf:hover { box-shadow: 0 7px 18px rgba(36, 98, 178, .16); }
.ux .hlf:active { transform: scale(.97); }
.ux .hlf-t { position: relative; z-index: 1; display: block; font-size: 13.5px; font-weight: 800; line-height: 1.35; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .hlf-s { position: relative; z-index: 1; display: block; margin-top: 2px; font-size: 11px; line-height: 1.4; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .hlf-s.go { color: #2F7A2A; font-weight: 700; }
.ux .hlf-bar { position: relative; z-index: 1; width: 72%; height: 5px; margin-top: 6px; }
.ux .hlf-ill { position: absolute; right: -7px; bottom: -6px; width: 85px; height: 68px; object-fit: contain; pointer-events: none; transition: transform .3s; }
.ux .hlf:hover .hlf-ill { transform: translateY(-3px); }
@media (min-width: 721px) {
  .ux .hlife { gap: 12px; }
  .ux .hlf { height: 140px; padding: 14px 15px; }
  .ux .hlf-t { font-size: 15px; }
  .ux .hlf-s { font-size: 12px; }
  .ux .hlf-ill { width: 120px; height: 96px; }
}

/* ⑦ 常用服务：两列小条，和上面的地点宫格区分开 */
.ux .svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.ux .sv { display: flex; align-items: center; gap: 7px; min-width: 0; height: 48px; padding: 0 9px 0 9px; border-radius: 15px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow); color: var(--ink); transition: transform .15s, box-shadow .2s; }
.ux .sv:hover { box-shadow: 0 7px 18px rgba(36, 98, 178, .16); }
.ux .sv:active { transform: scale(.97); }
.ux .sv-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.ux .sv-ic .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.ux .sv-n { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .sv > .ic:last-child { width: 12px; height: 12px; color: var(--ink-3); }
@media (min-width: 721px) { .ux .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }

/* 页尾：细线 + 指南针，轻轻收住 */
.ux .hfoot { display: flex; flex-direction: column; align-items: center; padding: 14px 20px 0; }
.ux .hf-mk { display: flex; align-items: center; gap: 7px; color: #A9B6CB; }
.ux .hf-mk i { width: 32px; height: 1px; background: #C9D6E8; }
.ux .hf-mk .ic { width: 13px; height: 13px; stroke-width: 2; }
.ux .hf-t { margin-top: 5px; font-size: 11px; line-height: 1.6; color: var(--ink-3); text-align: center; }
/* 切换校区弹层 */
.ux .cs-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ux .cs-row { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 13px; border-radius: 14px; background: #fff; border: 1px solid #E3EDF9; box-shadow: 0 3px 8px rgba(36, 98, 178, .08); color: var(--ink); font-size: 15px; font-weight: 700; text-align: left; transition: transform .15s, border-color .2s; }
.ux .cs-row > .ic:first-child { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.4; }
.ux .cs-row > .ic:last-child:not(:first-child) { width: 15px; height: 15px; color: var(--ink-2); }
.ux .cs-row:hover { border-color: var(--primary-line); }
.ux .cs-row.on { border-color: var(--primary-line); background: #F4F9FF; }
.ux .cs-row:active { transform: scale(.98); }
/* 校园小农场（界面由 farm.js / farm.css 提供） */
.ux .farm-host { position: relative; height: 100%; min-height: 420px; }
.s-page.farm-on { overflow: hidden; padding-bottom: 0; }
.site[data-page="farm"] .s-tabbar { display: none; }
/* ================= 通知公告（同小程序 pages/notice） ================= */


.ux .nc { display: flex; align-items: center; gap: 11px; padding: 13px 11px 13px 12px; margin-bottom: 10px; background: #fff; border-radius: 15px; border: 1px solid #E3EDF9; box-shadow: 0 3px 8px rgba(36, 98, 178, .08); cursor: pointer; transition: transform .15s; }
.ux .nc:active { transform: scale(.98); }
.ux .nc > .ic { width: 15px; height: 15px; color: var(--ink-2); }
.ux .nc-ic { align-self: flex-start; width: 42px !important; height: 42px !important; border-radius: 12px !important; background: linear-gradient(180deg, #F2F8FF, #E1EEFD) !important; }
.ux .nc-tag { margin-bottom: 3px; }
.ux .nc-t { display: block; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.ux .nc-s { margin-top: 3px; font-size: 12px; color: var(--ink-2); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.ux .nc-d { display: flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ux .nc-d .ic { width: 12px; height: 12px; }
.ux .nl .nc { color: var(--ink); }
.ux .n-detail { padding: 18px 16px 0; overflow: hidden; }
.ux .nd-t { margin: 6px 0 9px; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.4; letter-spacing: .3px; }
.ux .n-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.ux .n-meta .pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 12px; background: #F1F6FD; border: 1px solid #E1EBF8; font-size: 11.5px; color: var(--ink-2); }
.ux .n-meta .pill .ic { width: 12px; height: 12px; }
.ux .n-meta .from { font-size: 11.5px; color: var(--ink-3); }
.ux .n-img { width: 100%; border-radius: 11px; margin-top: 12px; display: block; }
.ux .n-body { margin-top: 13px; line-height: 1.9; color: var(--ink); white-space: pre-line; font-size: 14.5px; text-align: justify; }
.ux .d-art { position: relative; display: flex; justify-content: flex-end; margin: 10px 0 0; }
.ux .d-ill { display: block; width: 110px; height: 88px; margin-bottom: 8px; object-fit: contain; animation: floatY 4s ease-in-out infinite; }
.ux .nd > .btn.block { margin-top: 2px; }
/* ================= 生活配套（同小程序 pages/life） =================
   搜索（右侧切换校区）→ 工具卡 → 便利点 + 只看营业中 → 分类胶囊（带数量）→ 列表卡片 → 空状态 → 说明 */
.ux .lw .lsearch { margin: 5px 0 12px; padding-right: 13px; }
.ux .lw .lsearch.has-camp { padding-right: 5px; }
.ux .s-x { width: 18px; height: 18px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; margin: 0 6px 0 4px; padding: 0; border: 0; background: #B9C6D8; color: #fff; transition: transform .15s; }
.ux .s-x .ic { width: 10px; height: 10px; stroke-width: 3.2; }
.ux .s-x:active { transform: scale(.88); }
.ux .camp { flex: none; max-width: 105px; display: flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px 0 11px; border: 0; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; transition: transform .15s; }
.ux .camp span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .camp .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.ux .camp:active { transform: scale(.95); }
/* 实用工具：左边校车大卡，右边两张小卡（没有校车时两张小卡并排） */
.ux .tools { display: flex; align-items: stretch; gap: 9px; margin-bottom: 15px; }
.ux .tool { position: relative; display: block; border-radius: 15px; color: var(--ink); transition: transform .15s, box-shadow .2s; }
.ux .tool:active { transform: scale(.97); }
.ux .tool.bus { flex: 1.1; min-width: 0; min-height: 134px; overflow: hidden; display: flex; flex-direction: column; padding: 12px 13px 13px; color: #fff; background: linear-gradient(150deg, #3A8CEB 0%, #1C64C2 50%, #0F4C9C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 7px 15px rgba(15, 76, 156, .26); }
.ux .b-wm { position: absolute; right: -18px; bottom: -17px; display: flex; opacity: .12; pointer-events: none; }
.ux .b-wm .ic { width: 84px; height: 84px; stroke-width: 1.6; }
.ux .b-top { position: relative; display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .88); }
.ux .b-top .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.ux .b-time { position: relative; display: block; margin-top: 7px; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.ux .b-route { position: relative; display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .b-foot { position: relative; display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 7px; min-width: 0; }
.ux .b-in { height: 21px; line-height: 21px; padding: 0 8px; border-radius: 11px; background: rgba(255, 255, 255, .2); font-size: 11px; font-weight: 800; white-space: nowrap; }
.ux .b-in.soon { background: var(--sun); color: #5A3B00; }
.ux .b-left { font-size: 10.5px; color: rgba(255, 255, 255, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .b-none { position: relative; display: block; margin-top: auto; padding-top: 12px; font-size: 20px; font-weight: 800; line-height: 1.25; }
.ux .b-more { position: relative; display: flex; align-items: center; gap: 1px; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.ux .b-more .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.ux .tool-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ux .tools.nobus .tool-col { flex-direction: row; }
.ux .tool.sm { flex: 1; min-width: 0; min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: var(--card); border: 1px solid #fff; border-radius: 14px; box-shadow: var(--card-shadow); }
.ux .tool.sm:hover { box-shadow: 0 7px 18px rgba(36, 98, 178, .16); }
.ux .tl-ic { width: 34px; height: 34px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.ux .tl-ic .ic { width: 17px; height: 17px; stroke-width: 2.3; }
.ux .tl-ic.sun { background: #FFF3C9; color: #C98200; }
.ux .tl-n { display: block; font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .tl-s { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 721px) { .ux .tool.bus { min-height: 150px; padding: 15px 18px 16px; } .ux .b-time { font-size: 38px; } .ux .tool.sm { padding: 10px 14px; } }
/* 便利点标题 + 只看营业中开关 */
.ux .list-h { margin: 0 2px 8px; }
.ux .oo { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 0 0 8px; border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: color .2s, transform .15s; }
.ux .oo:active { transform: scale(.96); }
.ux .oo-sw { position: relative; display: block; width: 32px; height: 18px; border-radius: 9px; background: #D3DEEC; transition: background .2s; flex: none; }
.ux .oo-kn { position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 38, 74, .2); transition: transform .22s cubic-bezier(.3, .9, .4, 1.2); }
.ux .oo.on { color: var(--primary); }
.ux .oo.on .oo-sw { background: var(--primary); }
.ux .oo.on .oo-kn { transform: translateX(14px); }
/* 分类胶囊（带数量；手机横滑，电脑换行） */
.ux .lcats { margin-bottom: 4px; }
.ux .lcats .chip { height: 30px; padding: 0 12px; gap: 4px; }
.ux .chip .n { font-size: 11px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ux .chip.on .n { color: rgba(255, 255, 255, .8); }
.ux .chip.zero { opacity: .55; }
@media (min-width: 721px) { .ux .chips.lcats { flex-wrap: wrap; overflow: visible; margin: 0 0 4px; padding: 2px 0 8px; } }
/* 列表卡片：分类色图标块 + 名称（推荐）+ 营业状态与动态文字 + 校区·位置·价格 + 圆形导航按钮 */
.ux .items { display: flex; flex-direction: column; }
.ux .lc { display: flex; align-items: center; gap: 10px; padding: 11px; margin-bottom: 8px; border-radius: 14px; cursor: pointer; outline: 0; }
.ux .lc:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.ux .lc-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ux .lc-ic .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.ux .lc-ic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ux .lc-m { display: flex; flex-direction: column; gap: 3px; }
.ux .lc-n { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ux .lc-nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.ux .lc-rec { flex: none; height: 17px; line-height: 17px; padding: 0 5px; border-radius: 5px; background: #FFF3C9; color: #8A5A00; font-size: 10px; font-weight: 800; font-style: normal; }
.ux .lc-s { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11.5px; }
.ux .lc-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ux .lc-t.soon { color: #D9700F; font-weight: 700; }
.ux .lc-d { font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .lc-go { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); transition: transform .15s, background .15s; }
.ux .lc-go .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ux .lc-go:hover { background: #D8E7FA; }
.ux .lc-go:active { transform: scale(.9); }
.ux .fav-on { color: var(--danger); display: inline-flex; flex: none; }
.ux .fav-on .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.ux .li-chev { display: flex; color: var(--ink-3); flex: none; }
.ux .li-chev .ic { width: 15px; height: 15px; }
.ux .item-meta { font-size: 12px; color: var(--ink-2); display: flex; gap: 4px; align-items: center; min-width: 0; }
.ux .item-meta.hours { font-size: 11px; color: var(--ink-3); gap: 5px; }
.ux .state.none { padding-top: 10px; }
.ux .state.none .ill { width: 150px; height: 120px; }
.ux .item-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.ux .item-tags span { font-size: 11px; color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: 10px; font-weight: 600; }
/* 服务详情弹层：头部固定，中间滚动，底部操作固定 */
.site-modal .modal-card.sheet.ls { display: flex; flex-direction: column; overflow: hidden; }
.ux .ls-head { display: flex; align-items: center; gap: 10px; margin: 3px 40px 11px 0; flex: none; }
.ux .lc-ic.big { width: 50px; height: 50px; border-radius: 14px; }
.ux .lc-ic.big .ic { width: 26px; height: 26px; }
.site-modal .modal-card h3.ls-name { display: block; margin: 0; font-size: 18px; line-height: 1.3; word-break: break-all; }
.ux .ls-cat { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ux .ls-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin: 0 -18px; padding: 0 18px 2px; }
.ux .ls-img { display: block; width: 100%; height: 150px; object-fit: cover; margin-bottom: 9px; border-radius: 12px; background: #DCEBFB; }
.ux .ls-hours { padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ux .dh-top { display: flex; align-items: center; gap: 6px; }
.ux .dh-top > .ic { width: 15px; height: 15px; color: var(--primary); stroke-width: 2.4; }
.ux .dh-k { flex: none; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ux .dh-v { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 12px; }
.ux .segs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ux .hs { height: 26px; line-height: 26px; padding: 0 9px; border-radius: 7px; background: var(--bg-soft); color: var(--ink-2); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ux .hs.on { background: #E3F6EA; color: var(--ok); font-weight: 800; }
.ux .hs.next { background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.ux .hs.past { color: var(--ink-3); }
.ux .d-box { margin-top: 9px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ux .d-row { display: flex; align-items: center; gap: 7px; padding: 11px 0; color: var(--ink); font-size: 13.5px; border-top: 1px solid var(--line); }
.ux .d-row:first-child { border-top: 0; }
.ux .d-row > .ic { width: 15px; height: 15px; color: var(--primary); stroke-width: 2.4; }
.ux .d-row > .ic:last-child:not(:first-child) { width: 13px; height: 13px; color: var(--ink-3); }
.ux .d-row .k { flex: none; font-weight: 600; color: var(--ink-2); }
.ux .d-row .link { color: var(--primary); font-weight: 700; }
.ux .d-row.tap { cursor: pointer; transition: opacity .15s; }
.ux .d-row.tap:active { opacity: .6; }
.ux .d-desc { margin: 9px 0 0; padding: 0 2px; color: var(--ink-2); line-height: 1.75; white-space: pre-line; font-size: 13px; }
.ux .ls-act { flex: none; display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.ux .ls-act .btn { flex: 1; min-width: 0; height: 44px; padding: 0 10px; border-radius: 22px; }
.ux .ls-fav { flex: none; width: 46px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; border: 0; background: none; font-size: 10px; font-weight: 700; color: var(--ink-2); transition: transform .15s; }
.ux .ls-fav .ic { width: 19px; height: 19px; stroke-width: 2.4; }
.ux .ls-fav:active { transform: scale(.9); }
.ux .ls-fav.on { color: var(--danger); animation: bounceIn .45s ease; }
.ux .ls-fav.on .ic { fill: currentColor; }
@media (max-width: 720px) { .ux .ls-body { margin: 0 -16px; padding: 0 16px 2px; } }
/* ================= 地点详情（同小程序 pages/place） ================= */


.ux .pl { padding-bottom: 0 !important; }
.ux .pl-hero { position: relative; height: 190px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #E4F1FF, #F4FAFF); border: 2px solid #fff; box-shadow: 0 7px 17px rgba(36, 98, 178, .18); }
.ux .pl-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroIn 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.ux .pl-hero-img.illu { object-fit: contain; padding: 14px; }
@keyframes heroIn { from { transform: scale(1.08); } to { transform: none; } }
.ux .pl-hero em, .ux .pl-prev em { position: absolute; left: 9px; bottom: 9px; font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .88); color: var(--ink-2); font-weight: 600; }
.ux .pl-title { display: flex; align-items: flex-start; gap: 10px; padding: 14px 3px 0; }
.ux .pl-title h1 { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: .5px; line-height: 1.25; }
.ux .pl-title p { display: flex; align-items: center; gap: 3px; margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.ux .pl-title p .ic { width: 13px; height: 13px; }
.ux .pl-bm { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(255, 255, 255, .9); border: 1px solid #fff; box-shadow: var(--card-shadow); color: var(--primary); transition: transform .15s; }
.ux .pl-bm .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.ux .pl-bm:active { transform: scale(.9); }
.ux .pl-bm.on { animation: bounceIn .5s ease; background: var(--grad-2); border-color: transparent; color: #fff; box-shadow: 0 4px 9px rgba(15, 76, 156, .3); }
.ux .pl-bm.on .ic { fill: currentColor; }
.ux .pl-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 3px 0; }
.ux .pl-info { margin-top: 13px; padding: 0 14px; }
.ux .pl-row { display: flex; align-items: center; gap: 10px; min-height: 50px; color: var(--ink); transition: opacity .15s; }
.ux .pl-row + .pl-row { border-top: 1px solid var(--line); }
.ux a.pl-row:active { opacity: .65; }
.ux .pl-row > .ic:first-child { width: 19px; height: 19px; color: var(--primary); stroke-width: 2.2; }
.ux .pl-row > .ic:last-child:not(:first-child) { width: 14px; height: 14px; color: var(--ink-2); }
.ux .pl-row > span { font-size: 14px; font-weight: 700; flex: none; }
.ux .pl-row b { flex: 1; min-width: 0; text-align: right; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux .pl-row b.muted { color: var(--ink-3); font-size: 12.5px; }
.ux .pl-row b.strong { color: var(--ink); font-weight: 800; }
.ux .pl-row b small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.ux button.pl-row { width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.ux button.pl-row:active { opacity: .65; }
.ux .pl-hero.zoomable { cursor: zoom-in; }
.ux .pl-zoom { position: absolute; right: 9px; bottom: 9px; width: 30px; height: 30px; border-radius: 50%; background: rgba(16, 38, 74, .45); color: #fff; display: grid; place-items: center; }
.ux .pl-zoom .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.ux .ph-full { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #DCEBFB; }
.ux .pl-row .ck { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.ux .pl-row .ck .ic { width: 11px; height: 11px; stroke-width: 3; }
.ux .pl-row .ck.done { height: 24px; padding: 0 9px; border-radius: 12px; background: #EAF3FE; border: 1px solid #CFE1F7; color: var(--primary); font-weight: 700; }
.ux .pl-desc { color: var(--ink-2) !important; line-height: 1.8; font-size: 13.5px; white-space: pre-line; }
.ux .pl .sec-title { margin-top: 17px; }
.ux .pl-prev { position: relative; display: block; border-radius: 15px; overflow: hidden; background: #DCEBDF no-repeat; border: 1px solid #fff; box-shadow: var(--card-shadow); margin-bottom: 10px; }
.ux .pl-mkw { position: absolute; width: 0; height: 0; z-index: 2; }
.ux .pl-mk { position: absolute; left: -17px; top: -42px; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #2D7DDC, #0F4C9C); border: 2.5px solid #fff; display: grid; place-items: center; box-shadow: 0 4px 9px rgba(15, 76, 156, .35); animation: pvDrop .7s cubic-bezier(.2, .9, .3, 1.4) .3s both; }
.ux .pl-mk > span { transform: rotate(45deg); display: flex; color: #fff; }
.ux .pl-mk .ic { width: 15px; height: 15px; stroke-width: 2.4; }
@keyframes pvDrop { from { opacity: 0; margin-top: -30px; } to { opacity: 1; margin-top: 0; } }
.ux .pl-ml { position: absolute; left: 0; top: 3px; transform: translateX(-50%); white-space: nowrap; padding: 2px 9px; border-radius: 9px; background: rgba(255, 255, 255, .97); font-size: 11.5px; font-weight: 800; color: var(--ink); box-shadow: 0 2px 5px rgba(15, 76, 156, .16); }
.ux .mini-acts { display: flex; gap: 9px; }
.ux .mini-acts .btn { flex: 1; height: 42px; }
.ux .pl-bar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; margin: 18px -16px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-radius: 18px 18px 0 0; box-shadow: 0 -4px 15px rgba(36, 98, 178, .10); animation: sheetUp .45s cubic-bezier(.2, .9, .3, 1.05) both; }
.ux .pl-fav { width: 115px; height: 46px; border-radius: 23px; flex: none; }
.ux .pl-go { flex: 1; height: 46px; border-radius: 23px; font-size: 16px; }
@media (min-width: 721px) { .ux .pl-bar { margin: 18px -20px 0; border-radius: 18px 18px 0 0; } .ux .pl-hero { height: 260px; } }
@media (max-width: 720px) { .ux .pl-bar { bottom: 18px; margin: 18px -4px 0; padding: 10px; border-radius: 26px; box-shadow: 0 6px 20px rgba(36, 98, 178, .16); } }
/* ================= 课表（同小程序 pages/schedule） ================= */


.s-title { position: relative; margin: 9px 3px 13px; }
.ux .sch-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.ux .wk { display: flex; align-items: center; height: 36px; padding: 0 3px; border-radius: 18px; background: rgba(255, 255, 255, .95); border: 1px solid #fff; box-shadow: var(--card-shadow); }
.ux .wk .arrow { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: transform .15s, background .15s; }
.ux .wk .arrow .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.ux .wk .arrow:hover { background: var(--primary-soft); }
.ux .wk .arrow:active { transform: scale(.88); }
.ux .wk-t { min-width: 56px; text-align: center; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.ux .now-btn { height: 32px; padding: 0 12px; border-radius: 16px; background: #fff; border: 1px solid #D6E5F7; color: var(--primary); font-size: 12px; font-weight: 700; box-shadow: 0 3px 7px rgba(36, 98, 178, .08); transition: all .2s; }
.ux .now-btn.cur { background: #EAF3FE; border-color: #CFE1F7; box-shadow: none; color: var(--ink-2); cursor: default; }
.ux .now-btn:active { transform: scale(.95); }
.ux .hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 36px; height: 36px; padding: 0; border-radius: 18px; background: #fff; border: 1px solid #fff; box-shadow: var(--card-shadow); color: var(--primary); font-size: 13px; font-weight: 700; transition: transform .15s; }
.ux .hbtn .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.ux .hbtn span { display: none; }
.ux .hbtn:active { transform: scale(.9); }
@media (min-width: 721px) { .ux .hbtn span { display: inline; } .ux .hbtn:has(span) { padding: 0 14px; } }
.ux .intro { padding: 5px 5px 17px; }
.ux .intro .state { padding: 10px 12px 0; }
.ux .intro .state .ill { width: 160px; height: 128px; }
.ux .intro .state .sd { font-size: 12px; }
.ux .e-row { justify-content: center; gap: 10px; }
.ux .grid-card { overflow-x: auto; padding-bottom: 4px !important; }
.ux .tt { display: grid; grid-template-columns: 46px repeat(var(--cols), minmax(78px, 1fr)); grid-template-rows: 48px repeat(var(--rows), 58px); min-width: calc(46px + var(--cols) * 78px); position: relative; }
.ux .tt-corner { grid-row: 1; grid-column: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--ink-2); background: linear-gradient(180deg, #F2F8FF, #E8F2FD); border-right: 1px solid #DCE9F8; border-bottom: 1px solid #D5E5F7; }
.ux .tt-day { grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 12.5px; color: var(--ink); line-height: 1.35; background: linear-gradient(180deg, #F2F8FF, #E8F2FD); border-bottom: 1px solid #D5E5F7; position: relative; z-index: 0; }
.ux .tt-day small { color: var(--ink-3); font-weight: 500; font-size: 10px; }
.ux .tt-day.today { color: #fff; }
.ux .tt-day.today::before { content: ''; position: absolute; inset: 6px 3px; border-radius: 8px; background: var(--grad-2); box-shadow: 0 3px 7px rgba(15, 76, 156, .28); z-index: -1; animation: popIn .4s cubic-bezier(.2, .9, .3, 1.4) both; }
.ux .tt-day.today small { color: rgba(255, 255, 255, .85); }
.ux .tt-p { grid-column: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(242, 248, 255, .7); border-right: 1px solid #DCE9F8; border-bottom: 1px solid #E3EEFA; }
.ux .tt-p b { font-size: 10.5px; font-weight: 800; color: var(--ink); }
.ux .tt-p small { font-size: 9px; color: var(--ink-3); line-height: 1.25; }
.ux .tt-cell { border-bottom: 1px solid #E3EEFA; border-right: 1px solid #E3EEFA; cursor: pointer; transition: background .2s; }
.ux .tt-cell:hover { background: var(--primary-soft); }
.ux .tt-blk { position: relative; margin: 2px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); color: #fff; padding: 5px 3px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; overflow: hidden; z-index: 1; box-shadow: 0 3px 7px rgba(36, 98, 178, .18); animation: popIn .45s cubic-bezier(.2, .9, .3, 1.4) both; transition: transform .15s; }
.ux .tt-blk:hover { transform: translateY(-1px); }
.ux .tt-blk:active { transform: scale(.95); }
.ux .tt-blk b { font-size: 11.5px; font-weight: 800; line-height: 1.3; word-break: break-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; text-shadow: 0 .5px 1.5px rgba(0, 0, 0, .18); }
.ux .tt-blk small { font-size: 9.5px; line-height: 1.3; opacity: .92; word-break: break-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ux .blk-ic { margin-top: auto; opacity: .9; display: flex; }
.ux .blk-ic .ic { width: 13px; height: 13px; stroke-width: 2.4; }
@media (max-width: 720px) {
  .ux .wrap.wide { padding-left: 12px; padding-right: 12px; }
  .ux .tt { grid-template-columns: 34px repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: 44px repeat(var(--rows), 60px); min-width: 0; }
  .ux .tt-p small { display: none; }
  .ux .tt-p b { font-size: 9.5px; text-align: center; padding: 0 2px; }
  .ux .tt-blk { margin: 2px 1px; }
  .ux .tt-blk b { font-size: 10.5px; }
  .ux .tt-blk small { font-size: 9px; }
}
/* 课程详情弹层 */

.ux .cd-pic { position: absolute; right: 16px; top: 54px; width: 110px; height: 81px; object-fit: contain; opacity: .9; pointer-events: none; }
.ux .cd-head { display: flex; align-items: center; gap: 8px; margin: 4px 50px 8px 0; }
.ux .cd-head i { width: 5px; height: 22px; border-radius: 3px; background: var(--c); flex: none; }
.site-modal .cd-head h3 { margin: 0; }
.ux .cd-rows { position: relative; }
.ux .cd-row { display: flex; align-items: center; gap: 9px; padding: 9px 2px; color: var(--ink); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.ux .cd-row:last-child { border-bottom: 0; }
.ux .cd-row:first-child { padding-right: 115px; }
.ux .cd-row > .ic { width: 17px; height: 17px; color: var(--primary); stroke-width: 2.2; }
.ux .cd-row .muted { font-weight: 500; }
.ux .cd-go { margin-top: 15px; }
/* 添加 / 编辑课程表单 */

.ux .cform { padding: 2px 0 0; }
.ux .fr { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.ux .fl { display: flex; align-items: center; gap: 6px; min-width: 95px; flex: none; font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ux .fl .ic { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.2; }
.ux .fl .opt { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.ux .fv { flex: 1; min-width: 0; display: flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 19px; background: #fff; border: 1px solid #D6E5F7; box-shadow: inset 0 1px 3px rgba(36, 98, 178, .05), 0 2px 5px rgba(36, 98, 178, .06); transition: border-color .2s, box-shadow .2s; }
.ux .fv:focus-within { border-color: #3C82D8; box-shadow: 0 0 0 3px rgba(60, 130, 216, .12); }
.ux .fv input, .ux .fv select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); padding: 0; }
.ux .fv input::placeholder { color: #A3AFC2; }
.ux .fv.sm { height: 34px; padding: 0 11px; margin-top: 5px; }
.ux .fh { margin: -2px 0 2px 103px !important; }
.ux .fr.two { align-items: stretch; gap: 13px; }
.ux .half { flex: 1; min-width: 0; display: block; }
.ux .vline { width: 1px; background: var(--line); margin: 5px 0; }
.ux .fr.col { flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 10px; }
.ux .colors { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 2px; }
.ux .cdot { width: 29px; height: 29px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; background: var(--c); color: #fff; padding: 0; box-shadow: 0 2px 5px rgba(36, 98, 178, .18); transition: transform .2s; opacity: .78; }
.ux .cdot .ic { width: 15px; height: 15px; stroke-width: 3.2; opacity: 0; }
.ux .cdot.on { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 2px #0F4C9C, 0 3px 7px rgba(15, 76, 156, .3); animation: bounceIn .4s ease; }
.ux .cdot.on .ic { opacity: 1; }
@media (max-width: 380px) { .ux .fl { min-width: 84px; } .ux .fh { margin-left: 92px !important; } }
/* 课表设置 */

.ux .set-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 6px 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; font-weight: 700; font-size: 14px !important; }
.ux .set-row input { margin: 0 !important; width: 18px !important; height: 18px !important; }
.ux .set-ic { color: var(--primary); display: flex; }
/* 批量导入 */

.ux .paste .hint { margin: 0; }
.ux .im-art { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 4px; }
.ux .im-art .ill { width: 150px; height: 120px; object-fit: contain; animation: floatY 4s ease-in-out infinite; }
.ux .im-art .hint { margin: 6px 0 0; max-width: 300px; }
.ux .ta-box { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid #3C82D8; box-shadow: 0 0 0 3px rgba(60, 130, 216, .1); }
.ux .ta-box textarea { width: 100%; min-height: 140px; border: 0; outline: 0; resize: vertical; background: transparent; font-size: 13px; line-height: 1.8; color: var(--ink); }
.ux .paste .d-actions { margin-top: 12px; }
.ux .paste .tip { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 10px 0 0; font-size: 11.5px; color: var(--ink-3); }
.ux .paste .tip .ic { width: 13px; height: 13px; }
.ux .ok-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 17px auto 12px; font-size: 18px; font-weight: 800; color: var(--ink); }
.ux .ok-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-2); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 7px rgba(15, 76, 156, .3); }
.ux .ok-ic .ic { width: 16px; height: 16px; stroke-width: 3.2; }
.ux .pv { padding: 12px 14px 8px; margin-bottom: 10px; border-radius: 15px; background: #fff; border: 1px solid #E3EDF9; box-shadow: 0 3px 8px rgba(36, 98, 178, .08); }
.ux .pv-n { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; color: var(--ink); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ux .pv-n .ic { width: 18px; height: 18px; color: var(--primary); }
.ux .pv-r { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 13px; color: var(--ink); }
.ux .pv-r .ic { width: 14px; height: 14px; color: var(--primary); }
.ux .pv-r .k { color: var(--ink-2); width: 75px; flex: none; }
.ux .errs { padding: 8px 12px; border-radius: 12px; background: #FFF6F5; border: 1px solid #FBD0CD; margin-bottom: 8px; }
/* ================= 我的（同小程序 pages/mine） ================= */


.ux .prof { display: flex; align-items: center; gap: 12px; margin: 3px 2px 13px; }
.ux .ava { width: 64px; height: 64px; border-radius: 50%; padding: 0; background: linear-gradient(160deg, #4A9BF0, #0F4C9C); color: #fff; font-size: 27px; font-weight: 800; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(36, 98, 178, .25); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; transition: transform .15s; }
.ux .ava:active { transform: scale(.94); }
.ux .card.farm { display: flex; align-items: center; gap: 11px; padding: 10px 13px 10px 10px; color: var(--ink); }
.ux .card.farm .thumb { width: 70px; height: 52px; }
.ux .fm-t { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 800; color: var(--ink); }
.ux .fm-t .ic { width: 18px; height: 18px; color: #3E9A3A; stroke-width: 2.6; }
.ux .fm-s { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.ux .card.farm > .ic { width: 16px; height: 16px; color: var(--ink-2); flex: none; }
.ux .nick { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 0; background: none; padding: 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.ux .nick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .nick .ic { width: 16px; height: 16px; color: var(--primary); stroke-width: 2.4; flex: none; }
.ux .p-sub { font-size: 12px; color: var(--ink-2); margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .lvcard { padding: 14px 14px 12px; }
.ux .lv-pill { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px 0 3px; border-radius: 16px; background: linear-gradient(180deg, #2D7DDC, #0F4C9C 70%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 9px rgba(15, 76, 156, .28); }
.ux .lv-star { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE580, #FFB800); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(160, 100, 0, .35); animation: twinkle 2.8s ease-in-out infinite; color: #fff; }
.ux .lv-star .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.ux .lv-n { font-size: 16px; font-weight: 900; font-style: italic; }
.ux .lv-name { font-size: 12px; font-weight: 700; opacity: .95; }
.ux .lvcard .pts { display: flex; align-items: baseline; gap: 3px; }
.ux .pts-v { font-size: 26px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.ux .pts-u { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-left: 3px; }
.ux .lvcard .progress { margin-top: 11px; }
.ux .lv-next { font-size: 11px; color: var(--ink-3); margin-top: 5px; }
.ux .stats { display: flex; margin: 10px 0 3px; padding: 9px 0; border-radius: 11px; background: #F1F7FE; }
.ux .stats > div { flex: 1; display: flex; flex-direction: column; align-items: center; border-left: 1px solid rgba(15, 76, 156, .1); }
.ux .stats > div:first-child { border-left: 0; }
.ux .stats b { font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ux .stats b em { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.ux .stats small { font-size: 10.5px; color: var(--ink-3); }
.ux .lv-hint { display: block; width: 100%; margin-top: 7px; border: 0; background: none; padding: 0; text-align: left; font-size: 11.5px; color: var(--ink-2); }
.ux .lv-hint b { color: var(--primary); font-weight: 800; }
/* 徽章：只展示一排（窄屏 4 个 / 其余 5 个），标题行进入「我的徽章」看全部 */
.ux .bd-head { color: var(--ink); transition: opacity .15s; }
.ux .bd-head:active { opacity: .7; }
.ux .bd-all { display: inline-flex; align-items: center; gap: 2px; height: 25px; padding: 0 6px 0 10px; border-radius: 13px; background: rgba(255, 255, 255, .88); border: 1px solid #fff; color: var(--primary); font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgba(36, 98, 178, .08); }
.ux .bd-all b { margin-left: 2px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ux .bd-all .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.ux .badges { display: flex; padding: 12px 4px 10px; }
.ux .bd { width: 20%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; transition: transform .15s; }
.ux .bd:active { transform: scale(.92); }
.ux .bd-ic { position: relative; width: 54px; height: 54px; display: block; flex: none; transition: transform .2s; }
.ux .bd-medal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ux .bd-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.ux .bd-icon .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.ux .bd.on .bd-ic { filter: drop-shadow(0 3px 4px rgba(214, 150, 20, .25)); }
.ux .bd:hover .bd-ic { transform: translateY(-2px); }
.ux .bd-pg { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); height: 16px; line-height: 14px; padding: 0 5px; border-radius: 8px; background: #fff; border: 1px solid #DCE8F7; color: var(--primary); font-size: 10px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 1px 3px rgba(36, 98, 178, .12); }
.ux .bd-n { max-width: 100%; padding: 0 2px; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .bd.on .bd-n { color: var(--ink); font-weight: 700; }
@media (max-width: 359px) {
  .ux .badges .bd { width: 25%; }
  .ux .badges .bd:nth-child(n+5) { display: none; }
  .ux .badges .bd-ic { width: 62px; height: 62px; }
  .ux .badges .bd-icon .ic { width: 23px; height: 23px; }
}
@media (min-width: 721px) { .ux .bd-ic { width: 64px; height: 64px; } .ux .bd-icon .ic { width: 24px; height: 24px; } }
.ux .mlist { display: flex; flex-direction: column; }
.ux .mi { display: block; margin-bottom: 8px; background: var(--card); border-radius: 13px; border: 1px solid #fff; box-shadow: 0 3px 9px rgba(36, 98, 178, .08); overflow: hidden; color: var(--ink); }
.ux .mi-row { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 13px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; transition: background .15s; }
.ux button.mi-row { width: 100%; text-align: left; border: 1px solid #fff; font: inherit; font-size: 14.5px; font-weight: 700; }
.ux .mi-row::-webkit-details-marker { display: none; }
.ux .mi-row:hover { background: rgba(230, 240, 252, .5); }
.ux .mi-row:active { opacity: .7; }
.ux .mi-row > .ic:first-child { width: 20px; height: 20px; color: var(--primary); stroke-width: 2.2; }
.ux .mi-row > .ic:last-child:not(:first-child), .ux .chev .ic { width: 15px; height: 15px; color: var(--ink-2); }
.ux .mi-t { line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .mi-v { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.ux .mi-row.danger, .ux .mi-row.danger .ic { color: var(--danger) !important; }
.ux .chev { display: flex; transition: transform .25s; }
.ux details[open] > summary .chev { transform: rotate(90deg); }
.ux .mi-body { padding: 2px 11px 9px; border-top: 1px solid var(--line); animation: fadeIn .3s ease; }
.ux .mi-empty { padding: 10px 3px 3px; margin: 0; font-size: 12px; color: var(--ink-3); }
.ux .fav { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 3px; border: 0; background: none; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--ink); border-radius: 10px; }
.ux .fav:hover { background: rgba(230, 240, 252, .5); }
.ux .fav > .ic { width: 13px; height: 13px; color: var(--ink-3); }
.ux .fav .li-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.ux .fav .li-ic .ic { width: 15px; height: 15px; }
.ux .lg { display: flex; align-items: center; gap: 9px; margin-top: 7px; padding: 9px 10px; border-radius: 11px; background: #fff; border: 1px solid #E6EFFA; box-shadow: 0 2px 6px rgba(36, 98, 178, .06); animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.ux .lg-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.ux .lg-ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ux .lg-t { display: block; font-size: 14px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .lg-d { display: block; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ux .lg-n { font-size: 17px; font-weight: 900; color: var(--primary); flex: none; }
.ux .lg-n small { font-size: 11px; font-weight: 700; }
/* ================= 我的徽章（同小程序 pages/badges） ================= */
.ux .bdg .pg { padding: 13px 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(230, 241, 255, .95)); }
.ux .pg-top { display: flex; align-items: center; gap: 12px; }
.ux .pg-medal { position: relative; width: 74px; height: 74px; flex: none; filter: drop-shadow(0 5px 7px rgba(214, 150, 20, .25)); }
.ux .pg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ux .pg-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; color: #E7892B; }
.ux .pg-ic .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.ux .pg-in { flex: 1; min-width: 0; }
.ux .pg-t { display: flex; align-items: baseline; font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ux .pg-v { margin-left: 5px; font-size: 29px; font-weight: 900; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.ux .pg-vn { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ux .bdg .pg .progress { margin-top: 6px; height: 9px; border-radius: 5px; }
.ux .pg-s { margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.ux .pg-next { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 11px; padding: 8px 9px 8px 8px; border-radius: 11px; background: rgba(255, 255, 255, .88); border: 1px solid #E1ECF9; text-align: left; font: inherit; color: var(--ink); transition: transform .15s; }
.ux .pg-next:active { transform: scale(.98); }
.ux .pg-next > .ic { width: 14px; height: 14px; color: var(--ink-3); }
.ux .nx-ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.ux .nx-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ux .nx-t { display: block; font-size: 13px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .nx-s { display: block; margin-top: 1px; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .nx-v { flex: none; font-size: 13px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.ux .bdg-tip { display: flex; align-items: center; gap: 4px; margin: -2px 4px 4px; }
.ux .bdg-tip .ic { width: 12px; height: 12px; flex: none; }
/* 徽章格子：手机一行 3 个，电脑 5 个 */
.ux .btiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
@media (min-width: 721px) { .ux .btiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ux .bt { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 10px 6px 9px; border-radius: 13px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow); text-align: center; font: inherit; color: var(--ink); transition: transform .15s; }
.ux .bt:active { transform: scale(.96); }
.ux .bt-ic { position: relative; width: 58px; height: 58px; flex: none; }
.ux .bt-medal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ux .bt-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.ux .bt-icon .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.ux .bt.on .bt-ic { filter: drop-shadow(0 3px 4px rgba(214, 150, 20, .25)); }
.ux .bt-n { max-width: 100%; margin-top: 4px; font-size: 13px; font-weight: 800; line-height: 1.35; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .bt-d { margin-top: 2px; font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* 未解锁：灰色 + 解锁条件 + 进度 */
.ux .bt.off { background: rgba(255, 255, 255, .72); box-shadow: 0 3px 9px rgba(36, 98, 178, .06); }
.ux .bt.off .bt-n { color: var(--ink-2); font-weight: 700; }
.ux .bt-c { margin-top: 2px; min-height: 30px; font-size: 10.5px; line-height: 15px; color: var(--ink-3); word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ux .bt-pg { display: flex; align-items: center; gap: 4px; width: 100%; margin-top: auto; padding-top: 6px; }
.ux .bt-bar { flex: 1; height: 5px; border-radius: 3px; background: #E1ECF9; overflow: hidden; }
.ux .bt-bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #4A9BF0, #0F4C9C); }
.ux .bt-pg-n { flex: none; font-size: 10px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.ux .bt-na { width: 100%; font-size: 10px; font-weight: 600; color: var(--ink-3); }
/* 空状态 / 全部集齐 */
.ux .bnone { display: flex; align-items: center; gap: 10px; padding: 13px 14px; }
.ux .bnone-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.ux .bnone-ic .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.ux .bnone-t { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.ux .bnone-s { display: block; margin-top: 1px; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.ux .alldone { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 8px 0 4px; font-size: 12.5px; font-weight: 700; color: #9A6B12; }
.ux .alldone .ic { width: 15px; height: 15px; color: #C98A0B; stroke-width: 2.4; }
/* 徽章详情底部弹层（「我的」页和「我的徽章」页共用） */
.ux .bs-hero { display: flex; flex-direction: column; align-items: center; padding: 2px 0 3px; text-align: center; }
.ux .bs-medal { position: relative; width: 116px; height: 116px; flex: none; }
.ux .bs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ux .bs-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 6px; }
.ux .bs-icon .ic { width: 46px; height: 46px; stroke-width: 2.2; }
.ux .bs-medal.on { filter: drop-shadow(0 7px 9px rgba(214, 150, 20, .28)); }
.ux .bs-medal.off .bs-img { filter: grayscale(1); opacity: .42; }
.ux .bs-lock { position: absolute; right: 13px; bottom: 15px; width: 28px; height: 28px; border-radius: 50%; background: #8E9DB4; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 2px 5px rgba(16, 38, 74, .16); }
.ux .bs-lock .ic { width: 13px; height: 13px; stroke-width: 2.8; }
.site-modal .modal-card h3.bs-name { display: block; margin: 5px 0 6px; max-width: 100%; padding: 0 30px; text-align: center; line-height: 1.3; }
.ux .bs-hero .tag { height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; }
.ux .bs-box { margin-top: 15px; padding: 0 13px; border-radius: 13px; background: #F3F8FE; border: 1px solid #E4EDF8; }
.ux .bs-row { display: flex; align-items: flex-start; gap: 7px; padding: 11px 0; border-top: 1px solid #E4EDF8; font-size: 13.5px; line-height: 1.45; }
.ux .bs-row:first-child { border-top: 0; }
.ux .bs-row.mid { align-items: center; }
.ux .bs-ic { flex: none; height: 20px; display: flex; align-items: center; color: var(--primary); }
.ux .bs-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ux .bs-k { flex: none; width: 62px; color: var(--ink-3); font-weight: 600; }
.ux .bs-v { flex: 1; min-width: 0; color: var(--ink); font-weight: 700; }
.ux .bs-v.muted { color: var(--ink-3); font-weight: 600; }
.ux .bs-pg { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ux .bs-pg .progress { flex: 1; }
.ux .bs-pg-n { flex: none; font-size: 13px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.ux .bs-act { margin-top: 16px; }
.ux .bs-act .btn .ic { width: 15px; height: 15px; stroke-width: 2.6; }
/* ================= 校园图鉴（同小程序 pages/explore） ================= */


.ux .cp-row { display: flex; justify-content: center; margin: 0 0 10px; min-height: 32px; }
.ux .cp-row .hchips { margin: 0; padding: 2px 2px 6px; max-width: 100%; }
.ux .cp { display: inline-flex; align-items: center; gap: 3px; height: 32px; max-width: 200px; padding: 0 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid #fff; color: var(--ink); font-size: 13.5px; font-weight: 800; box-shadow: var(--card-shadow); }
.ux .cp .ic { width: 13px; height: 13px; color: var(--primary); stroke-width: 2.4; }
.ux .prog { display: flex; align-items: center; gap: 5px; padding: 10px 15px 13px 5px; overflow: visible; background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(230, 241, 255, .95)); margin-top: 18px; }
.ux .prog-ill { width: 110px; height: 88px; object-fit: contain; flex: none; margin: -16px 0 -4px; }
.ux .prog-in { flex: 1; min-width: 0; }
.ux .pv-t { font-size: 17px; font-weight: 800; color: var(--ink); }
.ux .pv-t .pv { font-size: 29px; font-weight: 900; color: var(--primary); margin-left: 3px; }
.ux .pv-t .pv-n { font-size: 19px; font-weight: 800; color: var(--ink); }
.ux .prog .progress { margin-top: 5px; height: 9px; border-radius: 5px; }
.ux .pv-s { font-size: 12px; color: var(--ink-2); margin-top: 7px; font-weight: 600; }
.ux .ex .tip { display: flex; align-items: center; gap: 4px; margin: -2px 4px 4px; }
.ux .ex .tip .ic { width: 12px; height: 12px; flex: none; }
.ux .grp { margin-top: 9px; }
.ux .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
@media (min-width: 721px) { .ux .tiles { grid-template-columns: repeat(5, 1fr); } }
.ux .tile { position: relative; display: block; padding: 6px 6px 8px; border-radius: 13px; background: var(--card); border: 1px solid #fff; box-shadow: var(--card-shadow); text-align: center; color: var(--ink); min-width: 0; transition: transform .15s; }
.ux .tile:hover { transform: translateY(-2px); }
.ux .tile:active { transform: scale(.95); }
.ux .t-img { position: relative; display: block; height: 64px; border-radius: 9px; overflow: hidden; background: #DCEBFB; }
.ux .t-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ux .tile.off .t-img img { filter: grayscale(.85) brightness(1.08); opacity: .55; }
.ux .t-lock { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(74, 106, 150, .78); border: 1.5px solid rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; color: #fff; }
.ux .t-lock .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.ux .t-n { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .tile.off .t-n { color: var(--ink-2); }
.ux .t-s { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.ux .t-dot { width: 14px; height: 14px; border-radius: 50%; background: #A9B6C8; display: flex; align-items: center; justify-content: center; color: #fff; }
.ux .t-dot .ic { width: 9px; height: 9px; stroke-width: 3; }
.ux .t-s.ok { color: var(--ink-2); }
.ux .t-s.ok .t-dot { background: var(--grad-2); }
/* ================= 今天吃什么（同小程序 pages/wheel） ================= */


.ux .wh .wheel-f { margin-top: 2px; }
.ux .w-stage { position: relative; width: min(300px, 80vw); aspect-ratio: 1; margin: 17px auto 20px; }
.ux .w-halo { position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9) 60%, rgba(255, 255, 255, 0) 72%); }
.ux .w-rotor { position: relative; width: 100%; height: 100%; transition: transform 4.1s cubic-bezier(.12, .7, .1, 1); border-radius: 50%; box-shadow: 0 8px 20px rgba(15, 76, 156, .25), 0 0 0 3px rgba(255, 255, 255, .9); }
.ux .w-rotor canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.ux .w-pointer { position: absolute; left: 50%; top: -13px; width: 28px; margin-left: -14px; z-index: 4; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 2px 3px rgba(150, 100, 0, .35)); transform-origin: 50% 0; }
.ux .pt-cap { position: absolute; top: -3px; width: 28px; height: 11px; border-radius: 6px; background: linear-gradient(180deg, #FFE88A, #FFC21A); border: 1.5px solid #fff; }
.ux .pt-tri { margin-top: 4px; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 25px solid #FFC21A; }
.ux .w-stage.spinning .w-pointer { animation: tick .18s ease-in-out infinite; }
.ux .w-hub { position: absolute; left: 50%; top: 50%; width: 75px; height: 75px; margin: -37.5px 0 0 -37.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3C8BE6, #0F4C9C 70%); color: #fff; font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; box-shadow: 0 0 0 3px rgba(15, 76, 156, .18), 0 5px 12px rgba(15, 76, 156, .4); z-index: 3; transition: transform .15s; padding: 0; }
.ux .w-hub:hover { transform: scale(1.05); }
.ux .w-hub:active { transform: scale(.94); }
.ux .w-hub.busy { font-size: 25px; letter-spacing: 1px; animation: hubPulse 1s ease-in-out infinite; }
.ux .whoosh { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 3px solid transparent; border-top-color: rgba(42, 120, 214, .5); pointer-events: none; display: none; }
.ux .w-stage.spinning .whoosh { display: block; }
.ux .w-stage.spinning .w-sp { display: none; }
.ux .whoosh.w1 { left: -20px; top: 15px; transform: rotate(-40deg); animation: twinkle .6s ease-in-out infinite; }
.ux .whoosh.w2 { right: -20px; bottom: 15px; transform: rotate(140deg); animation: twinkle .6s ease-in-out infinite .3s; }
@keyframes tick { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes hubPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(15, 76, 156, .18), 0 5px 12px rgba(15, 76, 156, .4); } 50% { box-shadow: 0 0 0 9px rgba(15, 76, 156, .08), 0 5px 12px rgba(15, 76, 156, .4); } }
.ux .w-acts { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ux .w-acts .btn { width: 220px; max-width: 100%; }
.ux .w-res { display: flex; align-items: center; gap: 10px; padding: 10px 15px 10px 5px; overflow: visible; margin-top: 18px; }
.ux .res-ill { width: 95px; height: 76px; object-fit: contain; margin: -12px 0 -4px; flex: none; animation: floatY 4s ease-in-out infinite; }
.ux .res-line { width: 2px; height: 55px; border-radius: 1px; background: linear-gradient(180deg, #FFE38A, #FFC21A); flex: none; }
.ux .res-k { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.ux .rn { display: block; font-size: 21px; font-weight: 900; color: var(--ink); margin: 1px 0; letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .res-l { display: block; font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .w-res .item-meta { margin-top: 3px; }
.ux .res-h { color: var(--primary); }
.ux .res-acts { gap: 10px; margin-bottom: 14px; flex-wrap: nowrap; }
.ux .res-acts .btn { flex: 1; }
/* ================= 迎新服务（同小程序 pages/welcome） ================= */


.ux .w-hero { position: relative; min-height: 165px; margin: 0 0 12px; border-radius: 17px; overflow: hidden; background: linear-gradient(180deg, #E4F1FF 0%, #F4FAFF 100%) center / cover no-repeat; border: 2px solid #fff; box-shadow: 0 6px 15px rgba(36, 98, 178, .14); }
.ux .w-hero.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 250, 255, .95) 0%, rgba(244, 250, 255, .8) 55%, rgba(244, 250, 255, .2) 100%); z-index: 1; }
.ux .w-hero .hero-in { position: relative; z-index: 2; padding: 13px 140px 15px 15px; }
.ux .yr { display: inline-block; background: #fff; color: var(--primary); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; box-shadow: 0 2px 5px rgba(36, 98, 178, .1); }
.ux .hero-tw { margin-top: 9px; }
.ux .w-hero .big-title { font-size: 28px; font-weight: 900; }
.ux .hero-s { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ux .hero-d { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; font-size: 11px; color: var(--primary); font-weight: 700; background: rgba(255, 255, 255, .85); padding: 2px 7px; border-radius: 7px; }
.ux .hero-d .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.ux .w-hero .hero-ill { position: absolute; right: 4px; top: 50%; margin-top: -54px; width: 135px; height: 108px; object-fit: contain; z-index: 2; animation: floatY 4s ease-in-out infinite; }
.ux .quest { padding: 13px 13px 5px; }
.ux .q-head { display: flex; align-items: center; gap: 7px; }
.ux .q-head > .ic { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.2; }
.ux .q-n { font-size: 15px; font-weight: 800; color: var(--ink); flex: none; margin-left: 6px; }
.ux .q-t { font-size: 16px; font-weight: 800; color: var(--ink); }
.ux .wl .q-n { font-size: 16px; color: var(--primary); margin: 0 5px 0 0; font-variant-numeric: tabular-nums; }
.ux .q-hint { margin: 5px 0 4px; }
.ux .task { display: flex; align-items: flex-start; gap: 10px; padding: 11px 2px; border-top: 1px solid var(--line); cursor: pointer; transition: opacity .2s; }
.ux .q-head + .task { margin-top: 6px; }
.ux .task.sm { padding: 10px 2px; }
.ux .cb { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #B9CBE3; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; color: #fff; transition: all .25s; }
.ux .cb .ic { width: 14px; height: 14px; stroke-width: 3.2; }
.ux .task.done .cb { background: var(--grad-2); border-color: #0F4C9C; box-shadow: 0 2px 5px rgba(15, 76, 156, .3); animation: bounceIn .4s ease; }
.ux .task:active .cb { transform: scale(.9); }
.ux .tk-t { display: flex; align-items: center; flex-wrap: wrap; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ux .task.done .tk-t { color: var(--ink-3); }
.ux .task.sm.done .tk-t { text-decoration: line-through; }
.ux .tk-ok { margin-left: 6px; height: 17px; font-size: 10px; }
.ux .tk-m { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.ux .tk-d { font-size: 12px; color: var(--ink-2); margin: 4px 0 0; line-height: 1.6; }
.ux .nav-ic { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); border: 1px solid #D6E5F7; color: var(--primary); flex: none; transition: transform .15s; }
.ux .nav-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ux .nav-ic:active { transform: scale(.9); }
.ux .row-card { display: flex; align-items: center; gap: 9px; width: 100%; height: 48px; padding: 0 13px; margin-bottom: 8px; background: var(--card); border-radius: 13px; border: 1px solid #fff; box-shadow: 0 3px 9px rgba(36, 98, 178, .08); color: var(--ink); text-align: left; font: inherit; transition: transform .15s; }
.ux .row-card:active { transform: scale(.98); }
.ux .row-card > .ic:first-child { width: 19px; height: 19px; color: var(--primary); stroke-width: 2.2; }
.ux .row-card > .ic:last-child { width: 15px; height: 15px; color: var(--ink-2); }
.ux .rc-t { font-size: 14.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .rc-v { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.ux .row-card + .card { margin-top: 12px; }
.ux .contacts { padding: 13px 13px 6px; }
.ux .ctc { display: flex; align-items: center; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--line); cursor: pointer; transition: opacity .15s; }
.ux .ct + .ctc { margin-top: 5px; }
.ux .ctc:active { opacity: .65; }
.ux .ctc > .ic { width: 17px; height: 17px; color: var(--primary); stroke-width: 2.2; }
.ux .ctc-n b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux .ctc-p { display: flex; align-items: center; gap: 4px; flex: none; font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ux .ctc-p .ic { width: 14px; height: 14px; color: var(--primary); stroke-width: 2.4; }
/* 新生百问弹层 */

.ux .faq-head { display: flex; align-items: flex-end; justify-content: space-between; padding-right: 30px; margin-bottom: 6px; }
.site-modal .faq-head h3 { margin-bottom: 2px; }
.ux .faq-ill { width: 90px; height: 72px; object-fit: contain; margin-bottom: -6px; flex: none; }
.ux .faq details { margin-bottom: 9px; padding: 12px; background: #fff; border-radius: 13px; border: 1px solid #E3EDF9; box-shadow: 0 3px 8px rgba(36, 98, 178, .08); transition: border-color .2s; }
.ux .faq details[open] { border-color: #C6DAF3; }
.ux .faq summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; font-weight: 800; font-size: 14.5px; color: var(--ink); }
.ux .faq summary::-webkit-details-marker { display: none; }
.ux .faq summary > .ic { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.2; flex: none; }
.ux .faq .chev { color: var(--ink-2); }
.ux .faq .chev .ic { width: 15px; height: 15px; }
.ux .faq details[open] .chev { transform: rotate(180deg); }
.ux .faq details p { margin: 8px 0 0; padding: 9px 11px; border-radius: 10px; background: #EEF5FE; color: var(--ink-2); line-height: 1.75; font-size: 13px; animation: rise .3s cubic-bezier(.2, .8, .2, 1) both; }
/* ================= 校园信息（同小程序 pages/info） ================= */


.ux .info .search { margin: 2px 0 10px; }
.ux .chip-wrap { position: relative; margin-bottom: 4px; }
.ux .g-h { display: flex; align-items: center; gap: 7px; margin: 8px 2px 7px; font-size: 16px; font-weight: 800; color: var(--ink); }
.ux .g-ic { width: 28px; height: 28px; border-radius: 9px; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(36, 98, 178, .12); }
.ux .g-ic .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.ux .g-n { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.ux .grp { scroll-margin-top: 12px; border-radius: 15px; transition: box-shadow .3s; }
.ux .grp.flash { box-shadow: 0 0 0 3px var(--primary-line); }
.ux .it { display: flex; align-items: center; gap: 10px; padding: 12px 11px 12px 13px; margin-bottom: 8px; background: var(--card); border-radius: 14px; border: 1px solid #fff; box-shadow: var(--card-shadow); color: var(--ink); cursor: pointer; transition: transform .15s, opacity .15s; }
.ux .it.static { cursor: default; }
.ux .it:not(.static):active { transform: scale(.98); }
.ux .it-ic { width: 32px; display: flex; justify-content: center; flex: none; color: var(--primary); }
.ux .it-ic .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.ux .it-t { display: block; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.ux .it-v { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; word-break: break-all; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ux .it-v.link { color: var(--primary); }
.ux .it-n { display: block; font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.ux .acts { display: flex; gap: 7px; flex: none; }
.ux .rb { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid #D6E5F7; display: flex; align-items: center; justify-content: center; color: var(--primary); box-shadow: 0 3px 7px rgba(36, 98, 178, .12); padding: 0; transition: transform .15s, background .15s; }
.ux .rb .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.ux .rb:hover { background: var(--primary-soft); }
.ux .rb:active { transform: scale(.9); }
/* ---------- toast：深色圆角胶囊 ---------- */


.site .toast { background: rgba(16, 38, 74, .9); border-radius: 20px; padding: 10px 18px; font-weight: 600; box-shadow: 0 6px 18px rgba(16, 38, 74, .25); }
@media (max-width: 720px) { .site .toast { top: calc(14px + env(safe-area-inset-top)); } }
/* ---------- 手机宽度微调 ---------- */


@media (max-width: 720px) {
  .ux .duo { grid-template-columns: 1fr; gap: 0; }
  .ux .duo > .card { margin-bottom: 12px; }
}
@media (max-width: 360px) {
  .ux .qc-n { font-size: 11.5px; }
  .ux .campus-pill { max-width: 40%; }
  .ux .w-hero .hero-ill { width: 110px; height: 88px; }
}
/* ================= 动效（同 app.wxss） ================= */


.ux .rise { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.ux .d1 { animation-delay: .04s; } .ux .d2 { animation-delay: .1s; } .ux .d3 { animation-delay: .16s; } .ux .d4 { animation-delay: .22s; }
.ux .d5 { animation-delay: .28s; } .ux .d6 { animation-delay: .34s; } .ux .d7 { animation-delay: .4s; } .ux .d8 { animation-delay: .46s; }
.ux .pop { animation: popIn .45s cubic-bezier(.2, .9, .3, 1.4) both; }
.ux .bob { animation: bob 3s ease-in-out infinite; }
.ux .wave-hand { animation: waveHand 2.2s ease-in-out infinite; transform-origin: 40% 95%; }
.ux .twinkle { animation: twinkle 2.4s ease-in-out infinite; }
.ux .float-y { animation: floatY 4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes waveHand { 0%, 60%, 100% { transform: rotate(0); } 15% { transform: rotate(-8deg); } 30% { transform: rotate(6deg); } 45% { transform: rotate(-4deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes grow { from { width: 0; } }
.boot .bob { animation: bob 3s ease-in-out infinite; }
@keyframes bounceIn { 0% { transform: scale(1); } 40% { transform: scale(1.22) translateY(-3px); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ux *, .s-tabbar *, .s-sky, .boot * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.ux .card.grid-card { overflow-x: auto; }
@media (min-width: 721px) { .ux .uh.tabp + .wrap { padding-top: 26px; } }
