/* A note from the Dean and the specials banner (1 Nov 2026, work list 16 and 17; templates/_chancellor.html).
   Their own layout file (Jeff, 29 Oct: each screen gets its own layout code), loaded by Home and by /notes/<id>.
   The note: cream paper, the school's jade dragon seal, the words, the signature, one gold button.
   The specials: a plain gold banner, the words and when it ends. Every word 15 px or more. */

.cn-note { --cn-paper: #fffaf0; --cn-ink: #232019; --cn-soft: #5c5445; --cn-jade: #1f6b45; --cn-gold-1: #ffe58a; --cn-gold-2: #f2c13d;
  --cn-gold-ink: #3a2606; font-family: var(--font, system-ui, sans-serif); color: var(--cn-ink); }
.cn-note[hidden] { display: none !important; }
.cn-card { position: relative; box-sizing: border-box; background: var(--cn-paper); border-radius: 16px; padding: 22px 26px 20px;
  box-shadow: inset 0 0 0 1.5px #e3d4ad, 0 10px 28px rgba(40, 30, 15, 0.18); }
.cn-head { display: flex; align-items: center; gap: 16px; margin: 0 40px 10px 0; }
.cn-seal { flex: none; width: 76px; height: 76px; filter: drop-shadow(0 3px 4px rgba(60, 40, 10, 0.3)); }
.cn-eyebrow { margin: 0; font: 700 15px/1.2 var(--font, sans-serif); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cn-jade); }
.cn-note h2 { margin: 4px 0 0; font: 800 28px/1.15 var(--display, var(--font)); color: var(--cn-ink); }
.cn-body p { margin: 0 0 10px; font-size: 18px; line-height: 1.55; color: var(--cn-ink); }
.cn-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.cn-sign { margin: 0; display: grid; gap: 1px; }
.cn-name { font: italic 700 22px/1.2 Georgia, "Times New Roman", serif; color: var(--cn-ink); }
.cn-role { font-size: 15px; color: var(--cn-soft); }
.cn-go { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(180deg, var(--cn-gold-1), var(--cn-gold-2)); color: var(--cn-gold-ink); font: 800 18px var(--display, var(--font));
  box-shadow: inset 0 -3px 0 rgba(150, 95, 10, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18); }
.cn-go:hover { filter: brightness(1.05); }
.cn-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--cn-soft); font-size: 28px; line-height: 1; }
.cn-close:hover { background: rgba(0, 0, 0, 0.06); }

/* on the web page: above the hero, the page's own width */
.cn-web { max-width: var(--read-max, 46rem); margin: 1.4rem auto 0.4rem; padding: 0 16px; }

/* its own page */
.cn-page { max-width: var(--read-max, 46rem); margin: 2rem auto; padding: 0 16px; }

/* on the phone's and the app's Home: a sheet over the screen, closed with the cross */
.cn-phone { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 24, 14, 0.62); }
.cn-phone .cn-card { width: 100%; max-width: 440px; max-height: 100%; overflow: auto; padding: 20px 18px 18px; }
.cn-phone .cn-head { gap: 12px; }
.cn-phone .cn-seal { width: 64px; height: 64px; }
.cn-phone h2 { font-size: 24px; }
.cn-phone .cn-body p { font-size: 17px; }
.cn-phone .cn-go { width: 100%; justify-content: center; }
.phone-home .cn-note a { color: var(--cn-gold-ink); }

/* the specials: a plain gold banner */
.cn-specials { display: grid; gap: 6px; }
.cn-special { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; margin: 0; box-sizing: border-box;
  padding: 10px 16px; border-radius: 12px; text-align: center; text-decoration: none;
  background: linear-gradient(180deg, #ffe58a, #f2c13d); color: #3a2606; box-shadow: inset 0 0 0 1.5px #c98a12; }
.cn-special b { font: 800 18px/1.25 var(--display, var(--font)); }
.cn-special span { font: 700 15px/1.3 var(--font, sans-serif); }
a.cn-special:hover { filter: brightness(1.05); }
.cn-specials-web { max-width: var(--page-max, 72rem); margin: 1rem auto 0; padding: 0 16px; }
.cn-specials-phone .cn-special { padding: 8px 12px; }
.phone-home .cn-specials a.cn-special { color: #3a2606; }

/* "You told us ... That's fixed, thank you." (1 Nov 2026, work list 46; feedback_rewards.for_home): once, at the top of
   Home, after an admin marks a player's feedback fixed. Cream paper and a jade edge, like the note. */
.fixed-note { box-sizing: border-box; margin: 12px auto; max-width: 960px; background: #fffaf0; color: #232019;
  border-left: 5px solid #1f6b45; border-radius: 12px; padding: 14px 18px; font: 600 17px/1.4 var(--font, system-ui, sans-serif);
  box-shadow: inset 0 0 0 1.5px #e3d4ad; }
.fixed-note p { margin: 0; }
.fixed-note p + p { margin-top: 6px; }
.phone-home .fixed-note { margin: 12px 0 0; }
