@font-face {
  font-family: "ZCOOL KuaiLe";
  src: url(../fonts/zcool-kuaile.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  /* 实验记录本：浅灰绿方格纸、藏青墨水、荧光笔黄做强调；单栏手机布局 */
  color-scheme: light;
  --paper: #e9f0ec;
  --card: #ffffff;
  --ink: #1d2b3a;
  --muted: #5f6d79;
  --line: #c5d1cc;
  --hl: #ffd84d;
  --red: #cf4038;
  --green: #2a8a66;
  --blue: #2c68c9;
  --display: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body:
    -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}
#app {
  max-width: 460px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: 40px;
  line-height: 1.1;
}
.hero {
  display: block;
  margin: 0 auto;
  width: 250px;
  max-width: 72%;
  height: auto;
}
.welcome {
  min-height: calc(100vh - 28px);
  min-height: calc(100dvh - 28px);
}
.welcome .wbtns {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 17px;
}
p {
  margin: 0;
}
.card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.hl {
  background: linear-gradient(transparent 55%, var(--hl) 55%);
}
button {
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
button:hover:not(:disabled) {
  background: #f4f7f5;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
button.primary {
  background: var(--hl);
  font-family: var(--display);
  font-size: 19px;
  text-align: center;
  align-items: center;
  padding: 13px;
}
button.primary:hover:not(:disabled) {
  background: #ffcf24;
}
button.ghost {
  border-style: dashed;
  text-align: center;
  align-items: center;
}
button small {
  color: var(--muted);
  font-size: 12px;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.row > * {
  flex: 1 1 0;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
input[type="text"] {
  font: inherit;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  width: 100%;
  background: var(--card);
  color: var(--ink);
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.top b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
}
.money {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.attr {
  display: grid;
  grid-template-columns: 4.3em 1fr 2em;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.attr i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #dfe6e2;
  overflow: hidden;
}
.attr i u {
  display: block;
  height: 100%;
  background: var(--ink);
}
.attr.low i u,
.attr.bad i u {
  background: var(--red);
}
.attr.sci i u {
  background: var(--blue);
}
.attr span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dice {
  font-size: 54px;
  line-height: 1;
  text-align: center;
  animation: pop 0.35s ease-out;
}
@keyframes pop {
  from {
    transform: rotate(-140deg) scale(0.4);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dice {
    animation: none;
  }
}
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 99px;
  border: 1.5px solid var(--ink);
}
.tag.good {
  background: #d6efe4;
  border-color: var(--green);
  color: #17573f;
}
.tag.bad {
  background: #f8dcd9;
  border-color: var(--red);
  color: #8a231d;
}
.tag.mid {
  background: #eef1f4;
}
.result {
  border-left: 4px solid var(--hl);
  padding-left: 10px;
  font-size: 14px;
}
.ygrid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3px 12px;
  font-size: 14px;
  margin: 8px 0;
}
.ygrid em {
  font-style: normal;
  text-align: right;
  color: var(--muted, #667);
}
.ygrid em.up {
  color: #1a7f4b;
}
.ygrid em.dn {
  color: var(--red);
}
.log {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.log b {
  color: var(--ink);
  font-weight: 600;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 43, 58, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  overflow: auto;
  z-index: 5;
}
.overlay .card {
  width: 100%;
  max-width: 440px;
  max-height: 92%;
  overflow: auto;
  margin: auto 0;
}
.overlay.pin {
  align-items: flex-start;
}
.overlay.pin .card {
  margin: max(24px, 6vh) 0 0;
  max-height: calc(100% - max(24px, 6vh) - 12px);
}
.stages {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.stages span {
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.stages span.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.stages span.now {
  background: var(--hl);
  border-color: var(--ink);
  color: var(--ink);
}
.paper {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul {
  margin: 0;
  padding-left: 1.2em;
}
.end h2 {
  font-size: 30px;
}
.sub {
  font-size: 14px;
  border-top: 1.5px dashed var(--line);
  padding-top: 8px;
}
button.go {
  background: var(--hl);
}
button.sel,
button.sel:hover:not(:disabled) {
  background: #fff3b0;
  box-shadow: inset 0 0 0 2px var(--ink);
  opacity: 1;
}
.gobar {
  position: sticky;
  bottom: -14px;
  background: var(--card);
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1.5px dashed var(--line);
}
button.go:hover:not(:disabled) {
  background: #ffcf24;
}
.board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 3px;
  aspect-ratio: 1;
  padding: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-sizing: border-box;
}
.tile {
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  position: relative;
  background: var(--card);
}
.t-mentor {
  background: #f8dcd9;
}
.t-peer {
  background: #dbe6fb;
}
.t-research {
  background: #d6efe4;
}
.t-life {
  background: #fff1b8;
}
.tile.here {
  color: transparent;
}
.pawn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  animation: hop 0.18s ease-out;
}
@keyframes hop {
  from {
    transform: translateY(-9px);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pawn {
    animation: none;
  }
}
.me {
  position: absolute;
  top: -9px;
  right: -7px;
  background: var(--ink);
  color: #fff;
  border-radius: 99px;
  font: 600 11px var(--body);
  padding: 1px 5px;
  animation: pop 0.35s ease-out;
}
.mid {
  grid-row: 2/10;
  grid-column: 2/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 4px 8px;
}
.mid .primary {
  width: 100%;
}
.mid .dice {
  font-size: 44px;
}
.bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #dfe6e2;
  overflow: hidden;
}
.bar u {
  display: block;
  height: 100%;
  background: var(--ink);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.legend .tile {
  width: 22px;
  height: 22px;
  font-size: 13px;
  margin-right: 3px;
  display: inline-flex;
}
.attrs.one {
  grid-template-columns: 1fr;
}
.bar {
  display: block;
}
.strip {
  padding: 0 2px;
}
.card.slim {
  padding: 10px 14px;
}
.nm {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
}
button.mini {
  padding: 4px 12px;
  font-size: 13px;
  flex: none;
  border-radius: 99px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12.5px;
  background: var(--card);
}
.chip b {
  font-variant-numeric: tabular-nums;
}
.chip.up {
  border-color: var(--green);
  background: #d6efe4;
  color: #17573f;
}
.chip.down {
  border-color: var(--red);
  background: #f8dcd9;
  color: #8a231d;
}
.tiles3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat span {
  font-size: 12.5px;
  color: var(--muted);
}
.stat b {
  font-size: 21px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat .bar u {
  background: var(--blue);
}
.stat.bad .bar u {
  background: var(--red);
}
button.opt {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
button.opt > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 16px;
}
button small.cost {
  color: var(--red);
}
.story {
  border-left: 4px solid var(--red);
  background: #f1f5f3;
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
button.big {
  font-family: var(--display);
  font-size: 19px;
  align-items: center;
  text-align: center;
  padding: 14px 8px;
  border-radius: 99px;
}
button.big.roll,
button.big.roll:hover:not(:disabled) {
  background: var(--hl);
}
button.big.day,
button.big.day:hover:not(:disabled) {
  background: var(--green);
  color: #fff;
}
.dicebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px;
}
.dicebar .dice {
  font-size: 46px;
  flex: none;
}
.overlay .top h2 {
  flex: 1;
}
.clamp1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mid {
  gap: 6px;
}
.mdate {
  font-size: 12.5px;
  color: var(--muted);
}
.mdate b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
}
button.dicebtn {
  align-items: center;
  text-align: center;
  background: var(--hl);
  border-radius: 16px;
  padding: 8px 18px;
  gap: 0;
}
button.dicebtn:hover:not(:disabled) {
  background: #ffcf24;
}
button.dicebtn span {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 2px;
}
button.dicebtn small {
  font-size: 12px;
  color: var(--ink);
}
.res {
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
button.daybtn {
  align-self: flex-end;
  flex-direction: row;
  background: var(--green);
  color: #fff;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 14px;
  margin-top: auto;
}
button.daybtn:hover:not(:disabled) {
  background: var(--green);
}
.board > .mid {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: center;
  align-items: stretch;
  justify-content: stretch;
}
.mid .mtop {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 4px 7px;
}
.board.s-winter {
  background: #dfe6ee url(../images/map_winter.jpg) center/cover no-repeat;
}
.board.s-fall {
  background: #dfe6ee url(../images/map_fall.jpg) center/cover no-repeat;
}
.board.s-summer {
  background: #dfe6ee url(../images/map_summer.jpg) center/cover no-repeat;
}
.board.s-spring {
  background: #dfe6ee url(../images/map_spring.jpg) center/cover no-repeat;
}
.board > .mid .mtop {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  padding: 4px 6px 7px;
  margin: 2px 2px 0;
}
.board > .mid .res {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 3px 6px;
  margin: 0 2px 2px;
}
.board > .mid .mbot {
  padding: 6px 2px 0;
}
.mid .mbot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 2px 0;
}
.mid .mbtns {
  display: flex;
  gap: 8px;
}
.mid .mbtns button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  align-self: auto;
  margin: 0;
  border-radius: 14px;
  padding: 6px 4px;
  font-size: 16px;
  line-height: 1.2;
}
.mid .mbtns button small {
  font-size: 11px;
  color: inherit;
  opacity: 0.85;
}
.mid button.rollbtn {
  background: var(--hl);
  color: var(--ink);
}
.mid button.rollbtn:hover:not(:disabled) {
  background: #ffcf24;
}
.mid button.rollbtn:disabled,
.mid button.daybtn:disabled {
  background: rgba(255, 255, 255, 0.9);
  color: #6b7885;
  opacity: 1;
}
.mid .res {
  font-size: 11.5px;
  line-height: 1.35;
  margin: 0;
  min-height: 2.7em;
}

#app {
  gap: 8px;
  padding-top: 10px;
}
.card {
  padding: 10px 12px;
  gap: 8px;
}
.nav button {
  font-size: 13px;
}
/* 立体按钮：能点的都有厚度，按下去会沉 */
button {
  box-shadow: 0 4px 0 var(--ink);
  position: relative;
  top: 0;
  transition:
    top 0.06s,
    box-shadow 0.06s;
}
button:active:not(:disabled) {
  top: 3px;
  box-shadow: 0 1px 0 var(--ink);
}
button:disabled {
  box-shadow: none;
  top: 3px;
  border-style: dashed;
}
button.sel,
button.sel:hover:not(:disabled) {
  top: 3px;
  box-shadow: inset 0 0 0 2px var(--ink);
  border-style: solid;
}
button.chip,
button.mini {
  box-shadow: 0 3px 0 var(--ink);
}
button.chip:active,
button.mini:active {
  top: 2px;
  box-shadow: 0 1px 0 var(--ink);
}
button.chip.on {
  top: 2px;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.col,
.grid2,
.actions,
.row,
.nav {
  row-gap: 11px;
}
.dock {
  padding-bottom: 10px;
}
.card > button,
.card > .col,
.card > .grid2,
.card > .actions {
  margin-bottom: 3px;
}
#app {
  gap: 6px;
}
.chips {
  gap: 4px;
}
.chip {
  padding: 1px 8px;
  font-size: 12px;
}
.stat {
  padding: 5px 10px;
  gap: 2px;
}
.stat b {
  font-size: 18px;
}
.card.slim {
  padding: 7px 12px;
}
.top b {
  font-size: 18px;
}
.namebar {
  display: flex;
  gap: 8px;
  align-items: center;
}
.namebar input {
  flex: 1;
}
.dock {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  padding: 8px 0 6px;
  border-top: 1.5px solid var(--ink);
}
.nav {
  display: flex;
  gap: 6px;
}
.nav button {
  flex: 1 1 0;
  align-items: center;
  text-align: center;
  padding: 7px 2px;
  font-size: 14px;
  min-width: 0;
}
.nav button small {
  font-size: 10.5px;
  white-space: nowrap;
}
.chip.lock {
  color: var(--muted);
  border-style: dashed;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
button.achb {
  background: #fff8d6;
  font-size: 13px;
  padding: 7px 10px;
}
button.achb.has {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.athumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}
.at {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.at b {
  font-weight: inherit;
}
.evimgs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 6px;
}
.evimgs img {
  max-height: 130px;
  max-width: 46%;
  object-fit: contain;
}
.evimgs img:only-child {
  max-width: 70%;
}
.endimgs {
  margin: 8px 0 10px;
}
.endimgs img {
  max-height: 170px;
}
.endimgs img:only-child {
  max-width: 80%;
}
.achimgs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 8px;
}
.achimg {
  max-height: 170px;
  max-width: 48%;
  object-fit: contain;
}
.grid2 > .ach {
  min-height: 100%;
}
button.chip {
  display: inline-flex;
  flex-direction: row;
  padding: 2px 10px;
  font-size: 12.5px;
  border-radius: 99px;
  border-width: 1.5px;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
button.chip.on {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.imgph {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  background: #f1f5f3;
  object-fit: cover;
}
.ach {
  display: flex;
  flex-direction: column;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}
.ach.got {
  border: 1.5px solid var(--ink);
  background: #fff8d6;
}
.who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.tag {
  white-space: nowrap;
}

/* ================================================================
 * 事件类型主题色：随机事件和地图格子一致，固定事件用紫色
 * ================================================================ */
:root {
  --c-mentor: #f8dcd9;
  --b-mentor: #cf4038;
  --k-mentor: #8a231d;
  --c-peer: #dbe6fb;
  --b-peer: #2c68c9;
  --k-peer: #1d4688;
  --c-research: #d6efe4;
  --b-research: #2a8a66;
  --k-research: #17573f;
  --c-life: #fff1b8;
  --b-life: #b8900a;
  --k-life: #6b5200;
  --c-fixed: #ebe1fb;
  --b-fixed: #7a4fc4;
  --k-fixed: #4b2c85;
}
.t-mentor {
  background: var(--c-mentor);
}
.t-peer {
  background: var(--c-peer);
}
.t-research {
  background: var(--c-research);
}
.t-life {
  background: var(--c-life);
}
.tags {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tag.cat-mentor,
.chip.cat-mentor {
  background: var(--c-mentor);
  border-color: var(--b-mentor);
  color: var(--k-mentor);
}
.tag.cat-peer,
.chip.cat-peer {
  background: var(--c-peer);
  border-color: var(--b-peer);
  color: var(--k-peer);
}
.tag.cat-research,
.chip.cat-research {
  background: var(--c-research);
  border-color: var(--b-research);
  color: var(--k-research);
}
.tag.cat-life,
.chip.cat-life {
  background: var(--c-life);
  border-color: var(--b-life);
  color: var(--k-life);
}
.tag.cat-fixed,
.chip.cat-fixed {
  background: var(--c-fixed);
  border-color: var(--b-fixed);
  color: var(--k-fixed);
}
.evgrp {
  margin-bottom: 10px;
}
.evhead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.story.st-mentor {
  border-left-color: var(--b-mentor);
}
.story.st-peer {
  border-left-color: var(--b-peer);
}
.story.st-research {
  border-left-color: var(--b-research);
}
.story.st-life {
  border-left-color: var(--b-life);
}
.story.st-fixed {
  border-left-color: var(--b-fixed);
}
/* 设置页的分组 */
.setbox {
  margin-top: 4px;
}
.setbox > button {
  width: 100%;
}
.setbox .sub {
  margin: 0 0 4px;
}
.setbox .actions {
  margin-top: 8px;
}
/* 主角头像：白色纸边加一点投影，看起来像贴纸 */
.ava {
  display: inline-block;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fffdf7;
  padding: 2px;
  box-shadow:
    0 0 0 1px rgba(31, 42, 55, 0.18),
    0 2px 3px rgba(31, 42, 55, 0.28);
  object-fit: contain;
  vertical-align: middle;
}
.ava-lg {
  width: 52px;
  height: 52px;
  padding: 3px;
}
.ava-sm {
  width: 30px;
  height: 30px;
}
.ava-pawn {
  position: relative;
  z-index: 2;
  width: 118%;
  height: 118%;
  max-width: 40px;
  max-height: 40px;
}
/* 抽学生页的换头像按钮 */
.namebar .avatar {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  line-height: 0;
  flex: none;
}
.namebar .avatar:active .ava {
  transform: translateY(1px);
}
.namebar .avatar .swap {
  position: absolute;
  right: -4px;
  bottom: -2px;
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
