/* =====================================================================
   uix.css —— 启动动画 · 进入世界过场 · 记住账号 · 键位设置 · 物品说明 · 签到日历
              · 手机端适配修复 · 通用自适应工具类（新面板可直接复用）
   断点约定（与其他样式表一致）：
     手机        @media (max-width: 760px), (pointer: coarse)
     手机竖屏    @media (orientation: portrait) and (max-width: 760px)
     矮横屏      @media (orientation: landscape) and (max-height: 500px)
   ===================================================================== */

/* ---------- 通用自适应工具类 ----------
   .u-row-wrap      横排、空间不够时自动换行（按钮组 / 工具栏）
   .u-grid          自适应网格：style="--min: 140px" 设定最小列宽
   .u-stack-m       手机上改为纵向排列（电脑仍横排）
   .u-scroll-x      横向滚动条带（页签 / 筛选条），隐藏滚动条
   .u-ellipsis      单行省略号（需要有宽度约束）
   .u-break         长文本 / 邮箱 / 链接强制断行
   .u-tap           手机上把按钮 / 链接的点击区域放大到 ≥ 40px
   .u-sticky-foot   在可滚动容器底部吸附的操作栏（结算 / 确认按钮）
   .u-hide-m / .u-only-m  只在电脑 / 只在手机显示
   .u-fit-h         矮横屏时限制高度并可滚动（弹窗内容） */
.u-row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.u-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 140px), 100%), 1fr)); gap: 8px; }
.u-scroll-x { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.u-scroll-x::-webkit-scrollbar { display: none; }
.u-scroll-x > * { flex: none; }
.u-ellipsis { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-break { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.u-sticky-foot { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; padding: 10px 0 calc(6px + var(--safe-b)); background: linear-gradient(180deg, transparent, rgba(10,6,22,.92) 40%); }
.u-only-m { display: none !important; }
@media (max-width: 760px), (pointer: coarse) {
  .u-stack-m { flex-direction: column !important; align-items: stretch !important; }
  .u-hide-m { display: none !important; }
  .u-only-m { display: revert !important; }
  .u-tap { min-height: 40px; min-width: 40px; }
}
@media (orientation: landscape) and (max-height: 500px) { .u-fit-h { max-height: calc(100vh - 24px); overflow-y: auto; } }

/* ================= 启动动画 ================= */
#splash { position: fixed; inset: 0; z-index: 200; overflow: hidden; background: #04020a; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: none; transition: opacity .45s ease; }
#splash.out { opacity: 0; pointer-events: none; }
#sp-cv { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.sp-logo { position: absolute; left: 0; right: 0; top: 54%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px; text-align: center; pointer-events: none; font-family: var(--px); }
.sp-t { position: relative; display: flex; gap: .16em; font-size: clamp(40px, 10vw, 86px); line-height: 1; color: #fff3ff; text-shadow: 0 3px 0 #5a2a9a, 0 6px 0 #2a1450, 0 0 30px rgba(200,150,255,.7); }
.sp-t i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(-.55em) scale(1.5); filter: brightness(3); animation: spChar .52s steps(6) forwards; }
.sp-t i:nth-child(1) { animation-delay: .95s; } .sp-t i:nth-child(2) { animation-delay: 1.05s; } .sp-t i:nth-child(3) { animation-delay: 1.15s; } .sp-t i:nth-child(4) { animation-delay: 1.25s; }
.sp-t::after { content: ''; position: absolute; inset: -6px -10px; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 49%, transparent 60%) -120% 0 / 220% 100% no-repeat; mix-blend-mode: overlay; animation: spShine .8s 1.7s ease-out forwards; opacity: 0; }
.sp-sub { display: flex; align-items: center; gap: .7em; font-size: 12px; letter-spacing: .5em; padding-left: .5em; color: #c8b8ff; text-shadow: 0 1px 0 #000; opacity: 0; animation: spSub .7s 1.5s ease-out forwards; }
.sp-sub b { font-weight: normal; color: #ffd84a; }
.sp-tag { font-size: 13px; letter-spacing: .24em; color: #a99fd0; text-shadow: 0 1px 0 #000; opacity: 0; animation: spFade .6s 1.85s ease-out forwards; }
.sp-skip { position: absolute; left: 0; right: 0; bottom: calc(22px + var(--safe-b)); text-align: center; font-size: 12px; letter-spacing: .3em; color: rgba(210,198,255,.6); text-shadow: 0 1px 0 #000; opacity: 0; animation: spHint 1.4s .7s ease-in-out infinite alternate; }
#splash.skipping .sp-skip { display: none; }
#splash.reduce .sp-t i, #splash.reduce .sp-sub, #splash.reduce .sp-tag { animation-duration: .2s; animation-delay: .3s !important; }
@keyframes spChar { 55% { opacity: 1; transform: translateY(.08em) scale(.94); filter: brightness(1.8); } to { opacity: 1; transform: none; filter: none; } }
@keyframes spShine { 0% { opacity: 1; background-position: -120% 0; } 100% { opacity: 1; background-position: 220% 0; } }
@keyframes spSub { from { opacity: 0; letter-spacing: 1.3em; } to { opacity: 1; letter-spacing: .5em; } }
@keyframes spFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes spHint { from { opacity: .25; } to { opacity: .85; } }
@media (orientation: portrait) { .sp-logo { top: 50%; } .sp-sub { font-size: 11px; letter-spacing: .36em; } .sp-tag { font-size: 12px; letter-spacing: .12em; } }
@media (orientation: landscape) and (max-height: 500px) { .sp-logo { top: 58%; gap: 8px; } .sp-t { font-size: 48px; } .sp-tag { display: none; } }

/* ---------- 进入世界：像素光圈展开（加载画面淡出时在其下方打开） ---------- */
.world-iris { position: fixed; left: 50%; top: 52%; z-index: 99; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  box-shadow: 0 0 0 300vmax #05030c, inset 0 0 0 3px rgba(255,216,74,.9), 0 0 0 7px rgba(180,140,255,.55); animation: irisOpen 1s steps(14) .15s forwards; }
@keyframes irisOpen { to { width: 260vmax; height: 260vmax; } }

/* ================= 登录：记住的账号 ================= */
.sv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.sv-head small { font-size: 11px; letter-spacing: 0; }
.sv-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; max-height: min(46vh, 340px); overflow-y: auto; padding: 6px 6px 2px 2px; overscroll-behavior: contain; }
.sv-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px; cursor: pointer; animation: fieldIn .38s cubic-bezier(.2,1,.3,1) backwards;
  background: linear-gradient(90deg, rgba(180,140,255,.16), rgba(10,7,22,.45)); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #3a2d63; transition: box-shadow .2s, transform .2s; }
.sv-card:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #ffd84a, 0 0 18px rgba(255,216,74,.18); }
.sv-card.out { animation: cardOut .22s ease-in forwards; pointer-events: none; }
.sv-card.solo { padding: 14px 12px; }
.sv-av { flex: none; width: 46px; height: 46px; background: #120c24; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px #5a45a0; }
.sv-card.solo .sv-av { width: 58px; height: 58px; }
.sv-av img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.sv-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sv-tx b { font-weight: normal; font-size: 16px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 2px 0 var(--ink); }
.sv-tx small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-vip { display: inline-block; margin-left: 6px; padding: 0 4px; font-size: 10px; line-height: 15px; color: #1a1030; background: #ffd84a; vertical-align: 2px; }
.sv-go { flex: none; min-width: 96px; height: 40px; letter-spacing: .1em; }
.sv-del { position: absolute; top: -7px; right: -7px; z-index: 2; width: 24px; height: 24px; padding: 0; border: 0; cursor: pointer; font-size: 11px; color: var(--muted); background: #2a2050; box-shadow: 0 0 0 2px var(--ink); opacity: .85; }
.sv-del:hover { color: #fff; background: var(--red); opacity: 1; }
.rem-hint { margin-left: 2px; font-size: 11px; color: var(--dim); }
.auth-foot .sep { display: inline-block; width: 1px; height: 12px; margin: 0 8px; background: rgba(180,140,255,.35); }
.auth-card[data-mode=saved] .auth-body { min-height: 0; }

/* ================= 设置 → 按键（电脑）/ 操作（手机） ================= */
.kb-tip { margin: -2px 0 6px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.kb-tip .kbd { margin: 0 2px; }
.kb-gt { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; font-size: 12px; letter-spacing: .2em; color: var(--violet); }
.kb-gt::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(180,140,255,.4), transparent); }
.kb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; align-items: center; gap: 8px; margin-bottom: 4px; padding: 5px 4px 5px 10px; background: rgba(26,20,48,.45); box-shadow: inset 0 0 0 1px rgba(84,66,140,.35); }
.kb-row.changed { box-shadow: inset 3px 0 0 var(--gold), inset 0 0 0 1px rgba(255,216,74,.28); }
.kb-row.fixed { grid-template-columns: minmax(0, 1fr) auto; padding-right: 10px; opacity: .85; }
.kb-n { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-keys { display: flex; gap: 6px; }
.kb-key { min-width: 74px; height: 32px; padding: 0 10px; border: 0; cursor: pointer; font: inherit; font-size: 14px; color: #fff; text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, #3a2d63, #241a44); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #5a45a0, 0 3px 0 #120c24; transition: transform .1s, box-shadow .15s; }
.kb-key:hover { box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #9a7ae8, 0 3px 0 #120c24; }
.kb-key:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #9a7ae8, 0 1px 0 #120c24; }
.kb-key.empty { color: var(--dim); background: rgba(26,20,48,.7); font-size: 12px; }
.kb-key.cap { color: #1a1030; text-shadow: none; background: linear-gradient(180deg, #fff2a0, #ffd84a); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 2px rgba(255,216,74,.4), 0 0 16px rgba(255,216,74,.5); animation: kbPulse .8s ease-in-out infinite alternate; }
.kb-key.fixed { display: inline-flex; align-items: center; justify-content: center; cursor: default; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #3a2d63; }
.kb-reset { width: 30px; height: 30px; padding: 0; border: 0; cursor: pointer; font-size: 17px; color: var(--muted); background: none; }
.kb-reset:hover:not(:disabled) { color: var(--gold); }
.kb-reset:disabled { opacity: .2; cursor: default; }
@keyframes kbPulse { from { filter: brightness(1); } to { filter: brightness(1.25); } }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg2 button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border: 0; cursor: pointer; font: inherit; color: var(--muted); background: rgba(26,20,48,.6); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #3a2d63; }
.seg2 button b { font-weight: normal; font-size: 15px; color: var(--text); }
.seg2 button small { font-size: 11px; }
.seg2 button.on { color: #e8deff; background: linear-gradient(180deg, rgba(255,216,74,.2), rgba(26,20,48,.6)); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px var(--gold); }
.seg2 button.on b { color: var(--gold); }
.set-jump .btn { width: 100%; }
@media (max-width: 520px) {
  .kb-row { grid-template-columns: minmax(0, 1fr) 30px; row-gap: 6px; }
  .kb-row .kb-keys { grid-column: 1 / -1; grid-row: 2; }
  .kb-row .kb-reset { grid-column: 2; grid-row: 1; }
  .kb-key { flex: 1; min-width: 0; }
}

/* ================= 物品说明（悬浮提示 / 物品弹窗） ================= */
.tip:has(.it-tip) { max-width: min(340px, calc(100vw - 16px)); }
.it-tip .it-desc { margin: 6px 0 4px; font-size: 13px; line-height: 1.7; color: #e6dcff; }
.it-sec { margin-top: 6px; padding-top: 5px; box-shadow: 0 -1px 0 rgba(255,255,255,.07); font-size: 12px; line-height: 1.65; }
.it-sec > b { display: inline-block; margin-bottom: 2px; padding: 0 6px; font-weight: normal; font-size: 11px; letter-spacing: .1em; color: #1a1030; background: #b48cff; }
.it-sec.from > b { background: #5ad1ff; }
.it-sec ul { margin: 0; padding: 0 0 0 2px; list-style: none; }
.it-sec li { position: relative; padding-left: 12px; color: #d4caf0; }
.it-sec li::before { content: ''; position: absolute; left: 1px; top: .72em; width: 5px; height: 5px; transform: rotate(45deg); background: currentColor; opacity: .6; }
.it-sec li.more { color: var(--dim); padding-left: 0; } .it-sec li.more::before { display: none; }
.it-tip.full .it-desc { font-size: 14px; }
.it-tip.full .it-sec { font-size: 13px; }
.modal .item-head .grow { min-width: 0; max-height: min(58vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }

/* ================= 每日签到：每天的具体奖励 ================= */
.sign-day { position: relative; justify-content: flex-start; min-width: 0; }
.sign-day .sd-items { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 100%; }
.sign-day .sd-it { display: inline-flex; align-items: center; justify-content: center; gap: 2px; max-width: 100%; font-size: 11px; line-height: 16px; white-space: nowrap; color: #e6dcff; }
.sign-day .sd-it img { width: 14px !important; height: 14px !important; flex: none; animation: none !important; filter: none !important; }
.sign-day .sd-it b { font-weight: normal; overflow: hidden; text-overflow: ellipsis; }
.sign-day.big .sd-it:last-child b { color: var(--gold); }
.sign-day.today { box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px var(--gold), 0 0 14px rgba(255,216,74,.3); }
.sign-day .sd-now { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); padding: 0 5px; font-style: normal; font-size: 10px; line-height: 14px; color: #1a1030; background: var(--gold); box-shadow: 0 0 0 1px var(--ink); white-space: nowrap; }
.sign-row { padding-top: 6px; }

/* ================= 奖励弹层：数量徽标 ================= */
.reward-list .rw .cell .n { font-size: 12px; }

/* =====================================================================
   手机端适配修复（竖屏 390×844 / 横屏 844×390 逐屏检查后的修正）
   ===================================================================== */
@media (max-width: 760px), (pointer: coarse) {
  /* 小点击目标放大 */
  .alink { padding: 9px 2px; }
  .auth-row .check { min-height: 36px; }
  .nav-coach .nc-skip { padding: 8px 4px; margin: -6px -4px; font-size: 12px; }
  .hud-fold { min-width: 32px; height: 30px; }
  .hud-menu > .hud-fold { height: 26px; }
  .sv-del { width: 30px; height: 30px; top: -9px; right: -9px; font-size: 12px; }
  .win-head .btn.x { min-width: 40px; min-height: 40px; }
  .dlg .opts .btn { min-height: 36px; }
  .btn.sm { min-height: 32px; }
  .tip { max-width: calc(100vw - 16px); }
  /* 设置 · 账号卡：长邮箱不再撑出卡片 */
  .acc-card .col.grow { min-width: 0; }
  .acc-card .muted { overflow-wrap: anywhere; word-break: break-all; }
  .acc-nm { overflow-wrap: anywhere; }
  /* 商城 · 兑换：一行放不下时拆成两行（钻石数量 / 兑换结果 + 按钮） */
  .exch-row { display: grid !important; grid-template-columns: 26px auto minmax(0, 1fr) auto; align-items: center; gap: 8px 8px; padding: 10px; }
  .exch-row > :nth-child(1) { grid-area: 1 / 1; }
  .exch-row > :nth-child(2) { grid-area: 1 / 2; white-space: nowrap; }
  .exch-row > :nth-child(3) { grid-area: 1 / 3; width: 100% !important; min-width: 0; }
  .exch-row > :nth-child(4) { grid-area: 2 / 1; justify-self: center; }
  .exch-row > :nth-child(5) { grid-area: 2 / 2; }
  .exch-row > :nth-child(6) { grid-area: 2 / 3; min-width: 0; overflow-wrap: anywhere; }
  .exch-row > :nth-child(7) { display: none; }
  .exch-row > :nth-child(8) { grid-area: 1 / 4; justify-self: end; white-space: nowrap; }
  .exch-row > :nth-child(9) { grid-area: 2 / 4; }
  /* 签到日历：手机 4 列 */
  .sign-day { padding: 9px 2px 6px; }
  /* 奖励 / 结算弹层：标题不再被挤成两行 */
  .fx-title { letter-spacing: .12em; font-size: clamp(22px, 6.4vw, 40px); }
  .reward-list { gap: 8px; padding: 12px 10px; }
  .reward-list .rw { width: 72px; }
  /* 物品弹窗：手机上内容与按钮不再挤在一起 */
  .modal .item-head { gap: 10px; padding: 10px; }
  .modal .item-head .ih-cell .cell { width: 56px; height: 56px; }
  .modal .modal-acts { gap: 6px; }
  .modal .modal-acts .btn { flex: 1 1 calc(50% - 6px); min-height: 38px; }
  /* 大地图标题 */
  .bm-head { flex-wrap: wrap; row-gap: 2px; }
  .bm-head b { white-space: nowrap; }
  .bm-head .dim { flex: 1 1 100%; order: 2; }
  /* 角色天赋 + 按钮 */
  .tnode > .btn.sm { min-width: 36px; min-height: 36px; font-size: 16px; }
}
/* 竖屏 */
@media (orientation: portrait) and (max-width: 760px) {
  /* 剧情标题不再与「跳过」按钮重叠 */
  .story .stitle { top: calc(9vh + 58px); font-size: clamp(20px, 6vw, 30px); letter-spacing: .2em; padding: 0 16px; }
  .story .skip { top: calc(9vh + 10px); }
  /* 新手引导卡：让出右侧菜单列 */
  .nav-coach { left: 10px; right: 66px; width: auto; transform: translate(0, 12px); }
  .nav-coach.on { transform: none; }
  .reward-list { max-width: calc(100vw - 24px); }
}
/* 矮横屏（手机横握） */
@media (orientation: landscape) and (max-height: 500px) {
  /* 开箱 / 奖励 / 结算 / 核心：内容压缩，按钮始终在屏幕内 */
  .fxlayer .fx-ui { gap: 8px; padding: 10px 16px calc(8px + var(--safe-b)); max-height: 100vh; }
  .fxlayer .fx-title { font-size: 26px; letter-spacing: .14em; }
  .fxlayer .fx-title::after { height: 10px; margin-top: 4px; }
  .fxlayer .fx-pedestal { padding: 0 20px 8px; }
  .fxlayer .fx-pedestal > img { width: 88px !important; height: 88px !important; }
  .fxlayer .fx-pedestal::before { width: 160px; height: 160px; }
  .fxlayer .fx-sub { font-size: 13px; }
  .fxlayer .reward-list { padding: 8px 10px; gap: 6px; max-width: 92vw; }
  .fxlayer .reward-list .rw { width: 66px; font-size: 10px; }
  .fxlayer .reward-list .rw .cell { width: 46px; height: 46px; } .fxlayer .reward-list .rw .cell img { width: 34px; height: 34px; }
  .fxlayer .result-stats .pstat { min-width: 120px; padding: 4px 8px; }
  .fxlayer .fx-ui > .btn.lg { position: sticky; bottom: 0; min-height: 38px; padding: 6px 22px; }
  .fxlayer .core-dots i { width: 9px; height: 9px; }
  /* 创建角色：英雄、介绍与按钮在一屏内 */
  .auth-stage.create { padding-top: calc(4px + var(--safe-t)); }
  .auth-stage.create .auth-hero.compact { display: none; }
  .auth-card.create { width: min(760px, 96vw); }
  .auth-card.create .auth-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 14px; padding: 10px 14px; }
  .auth-card.create .cc-head { grid-column: 1 / -1; margin-bottom: 4px; }
  .auth-card.create .cc-head h2 { font-size: 20px; margin: 0; }
  .auth-card.create .hero-pick { grid-column: 1; grid-row: 2 / 4; margin: 4px 0 0; }
  .auth-card.create .hp-stage { height: 72px; } .auth-card.create .hp-stage img { width: 60px; height: 60px; }
  .auth-card.create .cc-detail { grid-column: 2; grid-row: 2; margin: 4px 0 8px; min-height: 0; }
  .auth-card.create .submit { grid-column: 2; grid-row: 3; height: 42px; align-self: end; }
  .auth-stage.create + .auth-legal { display: none; }
  /* 新手引导卡 */
  .nav-coach .nc-d { font-size: 12px; line-height: 1.55; }
}

/* ---------- 新手教程「菜单按钮」步骤（手机）：教程卡让出右侧 / 顶部的菜单按钮 ---------- */
@media (orientation: portrait) and (max-width: 760px) { body.tut-menu .tut-card.on { left: 10px; width: calc(100vw - 78px); transform: none; } }
@media (orientation: landscape) and (max-height: 500px) { body.tut-menu .tut-card.on { top: calc(62px + var(--safe-t)); } }

/* ---------- 设置 · 帮助 / 操作：说明行的标题不再被挤成竖排 ---------- */
.help-row > span:first-child { flex: none; white-space: nowrap; }
.help-row > .help-k { min-width: 0; }
@media (max-width: 760px), (pointer: coarse) { .help-row { align-items: flex-start; } .help-k { line-height: 1.55; } }
@media (orientation: landscape) and (max-height: 500px) { .sign-row { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- 导航面板：网格列最小宽度不超过可用宽度（竖屏「导航」按钮被裁掉） ---------- */
.nav-group.grid .nav-list { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
