/* ============================================================
   成绩查询系统 · 样式表（零外部依赖）
   ============================================================ */
:root {
  --g1: #667eea;
  --g2: #764ba2;
  --brand: #5a67d8;
  --brand-soft: #eef2ff;
  --bg: #f4f6fb;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #1a202c;
  --text-2: #4a5568;
  --text-3: #8a94a6;
  --line: #e8ecf3;
  --line-2: #f1f4f9;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --shadow-lg: 0 18px 40px -18px rgba(80, 92, 160, .35);
  --radius: 16px;
  --nav-h: 56px;
  --tab-h: 62px;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
}
html.dark {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --card: #16203a;
  --text: #e6edf7;
  --text-2: #a9b6cc;
  --text-3: #7c8aa3;
  --line: #253253;
  --line-2: #1d2946;
  --brand-soft: #1e2a4a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .28s, color .28s;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font-family: inherit; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.125em; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------------- layout ---------------- */
.wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; }
header.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner { max-width: 900px; margin: 0 auto; padding: 0 16px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand .logo { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--g1), var(--g2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex: 0 0 auto; }
.brand b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grad-text { background: linear-gradient(135deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html.dark .grad-text { background: linear-gradient(135deg, #a5b4fc, #d8b4fe); -webkit-background-clip: text; background-clip: text; }
.topbar .tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--text-2); transition: background .2s; }
.icon-btn:hover { background: var(--line-2); }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand);
  max-width: 46vw; white-space: nowrap;
}
.chip .ic { font-size: 13px; }
.chip.plain { background: transparent; }
main { padding-top: var(--nav-h); }
.page { display: none; }
.page.active { display: block; animation: pageIn .3s cubic-bezier(.22,1,.36,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- bottom tabs ---------------- */
nav.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--text-3); transition: color .2s; }
.tabbar button .ic { font-size: 21px; }
.tabbar button.on { color: var(--brand); font-weight: 600; }
@media (min-width: 780px) {
  nav.tabbar { display: none; }
  body { padding-bottom: 40px; }
}

/* ---------------- cards ---------------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.pad { padding: 16px; }
.sec { margin: 16px 0; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.sec-title .ic { color: var(--brand); font-size: 17px; }
.sec-title .more { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; }
.muted { color: var(--text-3); }
.tiny { font-size: 11px; }
.sm { font-size: 12.5px; }
.mono { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrapflex { display: flex; flex-wrap: wrap; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
@media (max-width: 560px) { .grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.click { cursor: pointer; transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s; }
.click:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.click:active { transform: scale(.985); }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%); color: #fff; padding: 22px 0 54px; }
.hero::before { content: ''; position: absolute; top: -60%; right: -18%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 68%); }
.hero::after { content: ''; position: absolute; bottom: -46%; left: -12%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.11) 0%, transparent 68%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h2 { font-size: 25px; margin: 10px 0 6px; letter-spacing: .5px; }
.hero p.sub { margin: 0 0 18px; font-size: 13px; color: rgba(255,255,255,.86); }
.hero .chip { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(4px); }
.searchbar { position: relative; }
.searchbar .ic.lens { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 19px; color: #9aa4b8; }
.searchbar input {
  width: 100%; padding: 14px 104px 14px 44px; border-radius: 16px; border: 0;
  background: #fff; color: #1a202c; font-size: 15px; box-shadow: 0 12px 26px -14px rgba(20, 24, 60, .55);
  outline: none;
}
.searchbar input::placeholder { color: #a8b0c2; }
.searchbar .go {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff;
  padding: 9px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px;
}
.hero-cards { position: relative; z-index: 3; margin-top: -38px; }
.exam-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
.exam-card .badge-ic { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: 0 0 auto; }
.exam-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.exam-meta span { display: inline-flex; align-items: center; gap: 3px; }

/* ---------------- stat tiles ---------------- */
.tile { background: var(--card); border-radius: 14px; padding: 12px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.tile .ic-box { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; margin-bottom: 8px; }
.tile .v { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.tile .v small { font-size: 11px; font-weight: 600; color: var(--text-3); margin-left: 2px; }
.tile .k { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }

/* ---------------- podium ---------------- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; align-items: end; }
.pod { text-align: center; padding: 10px 6px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; }
.pod .medal { width: 34px; height: 34px; object-fit: contain; }
.pod .rank { font-size: 11px; font-weight: 700; color: var(--text-3); }
.pod .nm { font-size: 13px; font-weight: 700; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .sch { font-size: 10.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .sc { font-size: 16px; font-weight: 800; margin-top: 4px; }
.pod.p1 { background: linear-gradient(160deg, #fff8e6, var(--card)); border-color: #f6d98a; }
html.dark .pod.p1 { background: linear-gradient(160deg, #2a2415, var(--card)); border-color: #6b5a20; }
.pod.p2 { background: linear-gradient(160deg, #f5f7fb, var(--card)); }
html.dark .pod.p2 { background: linear-gradient(160deg, #1c2438, var(--card)); }
.pod.p3 { background: linear-gradient(160deg, #fdf3ec, var(--card)); }
html.dark .pod.p3 { background: linear-gradient(160deg, #2a1f18, var(--card)); }

/* ---------------- nav tiles (功能导航) ---------------- */
.navtile { background: var(--card); border-radius: 14px; padding: 14px 10px; text-align: center; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.navtile .ic-box { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.navtile .t { font-size: 13px; font-weight: 700; }
.navtile .d { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }

/* ---------------- tabs / segmented ---------------- */
.tabs { display: flex; gap: 7px; overflow-x: auto; padding: 3px 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: 7px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--line-2); color: var(--text-2); white-space: nowrap; transition: all .2s; }
.tab.on { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; box-shadow: 0 6px 16px -8px rgba(102,126,234,.9); }
.seg { display: flex; background: var(--line-2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; padding: 7px 6px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--text-2); transition: all .2s; white-space: nowrap; }
.seg button.on { background: var(--card); color: var(--brand); box-shadow: 0 2px 8px rgba(76,81,191,.16); }
html.dark .seg button.on { background: #26314f; color: #a5b4fc; }

/* ---------------- selects / filters ---------------- */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.field { position: relative; }
.field select, .field input {
  width: 100%; padding: 10px 30px 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-size: 13px; appearance: none; outline: none;
}
.field input { padding-right: 12px; }
.field select:focus, .field input:focus { border-color: var(--brand); }
.field .caret { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); font-size: 15px; }
.field .lbl { font-size: 11px; color: var(--text-3); margin-bottom: 4px; }

/* ---------------- list rows ---------------- */
.rows { display: flex; flex-direction: column; gap: 8px; }
.rrow { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: var(--card); border: 1px solid var(--line-2); border-radius: 13px; box-shadow: var(--shadow); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.rrow .nm { font-weight: 700; font-size: 14px; }
.rrow .meta { font-size: 11.5px; color: var(--text-3); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 3px 9px; }
.rrow .right { margin-left: auto; text-align: right; flex: 0 0 auto; }
.rrow .score { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.rrow .rank { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.rankno { width: 26px; text-align: center; font-weight: 800; font-size: 13px; color: var(--text-3); flex: 0 0 auto; }
.rankno.top { color: #fff; }
.rankno img { width: 26px; height: 26px; object-fit: contain; }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.badge.soft { background: var(--line-2); color: var(--text-2); }
.tag { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 600; }

/* ---------------- progress ---------------- */
.bar { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; transition: width .9s cubic-bezier(.22,1,.36,1); }

/* ---------------- detail ---------------- */
.detail-hero { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; padding: 20px 0 58px; position: relative; overflow: hidden; }
.detail-hero::before { content: ''; position: absolute; top: -55%; right: -14%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%); }
.detail-hero .wrap { position: relative; z-index: 2; }
.big-score { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; }
.kv .it { background: rgba(255,255,255,.16); border-radius: 12px; padding: 8px 10px; backdrop-filter: blur(4px); }
.kv .it .k { font-size: 10.5px; opacity: .86; }
.kv .it .v { font-size: 15px; font-weight: 700; margin-top: 2px; }
.subj-card { padding: 12px 13px; }
.subj-card .top { display: flex; align-items: baseline; gap: 8px; }
.subj-card .sname { font-size: 13.5px; font-weight: 700; }
.subj-card .sv { margin-left: auto; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.subj-card .sv small { font-size: 11px; color: var(--text-3); font-weight: 600; }
.subj-card .ranks { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--text-3); margin-top: 7px; }
.subj-card .ranks b { color: var(--text-2); font-weight: 700; }

/* ---------------- ring ---------------- */
.ring { position: relative; width: 96px; height: 96px; flex: 0 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .val b { font-size: 21px; font-weight: 800; line-height: 1; }
.ring .val span { font-size: 10px; color: var(--text-3); margin-top: 2px; }

/* ---------------- charts ---------------- */
.chart { width: 100%; overflow: visible; }
.chart text { font-size: 10px; fill: var(--text-3); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .lbl { fill: var(--text-2); font-size: 10.5px; font-weight: 600; }
.chart .val { fill: var(--text); font-size: 10.5px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 11.5px; color: var(--text-2); }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 5px; }

/* ---------------- table ---------------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th, .tbl td { padding: 8px 9px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl th { font-size: 11px; color: var(--text-3); font-weight: 600; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.scrollx { overflow-x: auto; }

/* ---------------- pagination ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 4px; }
.pager button { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.pager button.on { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .4; }

/* ---------------- sheet / modal ---------------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: none; }
.sheet.open { display: block; }
.sheet .mask { position: absolute; inset: 0; background: rgba(10, 16, 30, .5); backdrop-filter: blur(3px); animation: fadeIn .2s; }
.sheet .panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 84vh; overflow-y: auto;
  background: var(--bg-soft); border-radius: 20px 20px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom));
  animation: sheetUp .3s cubic-bezier(.22,1,.36,1);
}
@media (min-width: 780px) {
  .sheet .panel { left: 50%; right: auto; transform: translateX(-50%); width: 560px; bottom: 6vh; border-radius: 20px; }
}
.sheet .panel .head { position: sticky; top: 0; background: var(--bg-soft); padding: 15px 16px 11px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; z-index: 2; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- toast / loading ---------------- */
#toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px); transform: translateX(-50%) translateY(14px); background: rgba(20,26,44,.94); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 13px; z-index: 200; opacity: 0; pointer-events: none; transition: all .26s; max-width: 84vw; text-align: center; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#boot { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
#boot.hide { display: none; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--line-2) 25%, var(--line) 50%, var(--line-2) 75%); background-size: 200% 100%; animation: skel 1.3s infinite; }
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty { text-align: center; padding: 34px 16px; }
.empty img { width: 150px; max-width: 62vw; border-radius: 14px; opacity: .96; margin-bottom: 12px; }
.empty .t { font-size: 14px; font-weight: 700; }
.empty .s { font-size: 12px; color: var(--text-3); margin-top: 5px; }

/* ---------------- confetti ---------------- */
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.confetti i { position: absolute; width: 8px; height: 8px; border-radius: 2px; animation: fall 2.4s ease-out forwards; }
@keyframes fall { 0% { transform: translateY(-16px) rotate(0); opacity: 1; } 100% { transform: translateY(230px) rotate(700deg); opacity: 0; } }

.stagger { opacity: 0; animation: staggerIn .4s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes staggerIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.to-top { position: fixed; right: 14px; bottom: calc(var(--tab-h) + 16px); width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; display: none; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 8px 20px -8px rgba(102,126,234,.9); z-index: 40; }
.to-top.show { display: flex; }
@media (min-width: 780px) { .to-top { bottom: 20px; } }

/* ---------------- dark-mode tweaks ---------------- */
html.dark .searchbar input { background: #1b2540; color: #e6edf7; }
html.dark .searchbar input::placeholder { color: #6b7893; }
html.dark .tab { background: #1b2540; }
html.dark .tile, html.dark .card, html.dark .rrow, html.dark .pod, html.dark .navtile { border-color: var(--line-2); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: #c3ccdd; border-radius: 4px; }
html.dark ::-webkit-scrollbar-thumb { background: #33415f; }
.noscroll::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  header.topbar, nav.tabbar, .to-top, .no-print { display: none !important; }
  body { background: #fff; padding: 0; }
  main { padding-top: 0; }
  .card, .rrow, .tile { box-shadow: none; border-color: #ddd; }
}