/* Campus: a satchel of tabs on the left, one stationery view at a time on the right. */
.local-ribbon { margin: 0; padding: 6px 14px; text-align: center; background: var(--gold-soft); color: var(--red-deep); font-size: 12.5px; font-weight: 700; border-bottom: 1px dashed var(--red); }
.campus { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; align-items: start; }
.satchel { position: sticky; top: 84px; display: grid; gap: 8px; }
.satchel a { display: grid; gap: 1px; padding: 10px 14px 9px; background: rgba(251,244,230,.86); color: var(--green-deep); text-decoration: none; font-family: var(--zh); font-weight: 900; font-size: 16px;
  border-left: 5px solid transparent; box-shadow: 2px 3px 0 rgba(0,0,0,.2); transition: transform var(--dur-fast) var(--ease); }
.satchel a:nth-child(odd) { transform: rotate(-.6deg); } .satchel a:nth-child(even) { transform: rotate(.5deg); }
.satchel a:hover { transform: translateX(4px); }
.satchel a.on { background: var(--paper); border-left-color: var(--red); color: var(--red-deep); transform: translateX(6px); }
.s-en { font-family: var(--label); font-weight: 400; font-size: 9px; letter-spacing: .2em; color: var(--red); }
.campus-view { min-width: 0; outline: none; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; color: var(--cream); }
.view-head h2 { margin: 0; font-family: var(--zh); font-size: 24px; color: var(--paper); text-shadow: 2px 2px 0 rgba(0,0,0,.3); }
.view-head p { margin: 2px 0 0; color: var(--gold-soft); font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 12px; font-size: 13px; background: rgba(251,244,230,.85); color: var(--green-deep); border: 0; box-shadow: none; border-radius: 14px; font-weight: 700; }
.chip:hover:not(:disabled) { background: var(--paper); }
.chip.on { background: var(--red); color: var(--cream); }
.stack { display: grid; gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }

/* overview */
.today { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.report-mini table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.report-mini th, .report-mini td { border: 1px solid rgba(74,48,42,.25); padding: 5px 8px; text-align: center; }
.report-mini th { background: var(--cream); font-family: var(--label); font-weight: 400; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.report-mini td:first-child, .report-mini th:first-child { text-align: left; }
.grade { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px; border: 1.5px solid currentColor; border-radius: 50%; font-family: var(--display); font-weight: 700; color: var(--red); }
.grade.g-A { color: var(--green); } .grade.g-B { color: var(--navy); } .grade.g-C { color: var(--brown); } .grade.g-D { color: var(--red); border-style: dashed; }
.status-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.missing-list { margin: 8px 0 0; padding-left: 18px; color: var(--brown); font-size: 13px; }
.mini-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.mini-list li:first-child { border-top: 0; }
.mini-list a { color: var(--ink); text-decoration: none; font-weight: 700; }
.mini-list a:hover { color: var(--red); }
.mini-list small { color: var(--muted); white-space: nowrap; }
.counter { display: flex; gap: 18px; margin-top: 6px; }
.counter b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--red-deep); }
.counter span { font-size: 12px; color: var(--muted); }

/* board */
.slip { position: relative; }
.slip .slip-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.slip h3 { margin: 8px 0 4px; font-size: 19px; color: var(--green-deep); }
.slip .meta { color: var(--muted); font-size: 12.5px; }
.slip.k-news { border-top-color: var(--navy); } .slip.k-notice { border-top-color: var(--red); } .slip.k-post { border-top-color: var(--gold); background: #FBF0C9; } .slip.k-homework { border-top-color: var(--green); }
.submit-box { margin-top: 14px; padding: 14px 16px; background: var(--paper-2); border-left: 4px solid var(--green); }
.submit-box label { margin-top: 10px; }
.submit-box label:first-child { margin-top: 0; }

/* notes (posts) */
.note-card { cursor: pointer; display: grid; gap: 6px; text-align: left; font: inherit; color: var(--ink); width: 100%; border: 0; }
.note-card:nth-child(4n+1) { transform: rotate(-.5deg); } .note-card:nth-child(4n+3) { transform: rotate(.4deg); }
.note-card:hover, .note-card:focus-visible { transform: translateY(-3px); }
.note-card h3 { margin: 0; font-size: 18px; color: var(--green-deep); }
.note-card p { margin: 0; font-size: 13.5px; color: var(--brown); line-height: 1.7; white-space: pre-line; }
.note-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding-top: 8px; border-top: 1px dashed var(--line); }
.stars { display: inline-flex; gap: 2px; }
.stars button { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--cream); color: var(--gold); box-shadow: none; font-size: 18px; line-height: 1; }
.stars button.on { background: var(--gold); color: var(--red-deep); }
.comment { padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.comment:first-child { border-top: 0; }
.comment .who { font-weight: 700; color: var(--green-deep); margin-right: 8px; }
.comment time { color: var(--muted); font-size: 12px; }
.composer textarea { min-height: 160px; }
.back-link { display: inline-block; margin-bottom: 14px; padding: 6px 12px; background: var(--gold-soft); color: var(--brown); text-decoration: none; font-weight: 700; font-size: 13px; box-shadow: 2px 3px 0 rgba(0,0,0,.25); transform: rotate(-1deg); }
.notice-bar { padding: 10px 14px; background: var(--gold-soft); color: var(--brown); font-size: 13px; margin: 10px 0; }
.notice-bar.red { background: var(--red-soft); color: var(--red-deep); }

/* activities */
.ticket { position: relative; display: grid; gap: 6px; padding: 20px 24px; background: var(--gold-soft); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-paper);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket:hover { filter: brightness(1.03); }
.ticket h3 { margin: 0; font-size: 19px; color: var(--green-deep); }
.ticket .meta { font-size: 12.5px; color: var(--brown); }
.ticket .kind { font-family: var(--label); font-size: 10px; letter-spacing: .18em; color: var(--red); }
.ticket.t-volunteer { background: #DCE8D8; } .ticket.t-university { background: #DCE1EE; } .ticket.t-festival { background: #F6D9C9; } .ticket.t-course { background: #F3E7D2; }

/* transcript */
.transcript-sheet { background: var(--paper-2); border-top: 0; box-shadow: inset 0 0 0 6px var(--paper-2), inset 0 0 0 7.5px rgba(156,36,52,.55), var(--shadow-paper); padding: 26px 28px; }
.transcript-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--red); padding-bottom: 8px; margin-bottom: 14px; }
.transcript-head .eyebrow { color: var(--red); }
.ttable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ttable th, .ttable td { border: 1px solid rgba(74,48,42,.25); padding: 6px 8px; text-align: center; }
.ttable th { background: var(--cream); font-family: var(--label); font-weight: 400; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.ttable td:first-child { text-align: left; font-weight: 700; }
.uni { margin-top: 16px; }
.uni summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; cursor: pointer; padding: 6px 0; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.uni summary .muted { font-size: 12.5px; }
.uni h4 { display: inline; margin: 0; font-family: var(--zh); font-size: 16px; color: var(--green-deep); }
.program { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; }
.program .req { font-size: 12.5px; color: var(--muted); }
.program .why { grid-column: 1 / -1; font-size: 12.5px; color: var(--red-deep); }
.dice { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.die { display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.die b { width: 46px; height: 46px; display: grid; place-items: center; background: var(--paper-2); border: 2px solid var(--brown); border-radius: 9px; font-family: var(--display); font-size: 24px; color: var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,.2); }
.die s { font-size: 12px; }
.result-stamp { display: inline-block; transform: rotate(-6deg); border: 3px double var(--green); color: var(--green); padding: 4px 14px; font-family: var(--zh); font-weight: 900; font-size: 20px; }
.result-stamp.rejected { border-color: var(--muted); color: var(--muted); }
.result-stamp.lucky { border-color: var(--gold); color: var(--red); }

@media (max-width: 900px) {
  .campus { grid-template-columns: 1fr; gap: 18px; }
  .satchel { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .satchel a, .satchel a:nth-child(odd), .satchel a:nth-child(even), .satchel a.on { flex: none; transform: none; padding: 8px 12px; font-size: 14px; border-left: 0; border-bottom: 4px solid transparent; }
  .satchel a.on { border-bottom-color: var(--red); }
  .today, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .transcript-sheet { padding: 20px 16px; }
  .ttable { font-size: 12px; } .ttable th, .ttable td { padding: 4px 4px; }
  .ticket { padding: 18px 22px; }
}
