/* OGI Notes: the public page of a note (oginotes.com/<name>) and the page where visitors edit it, in 8 designs
   (design/OGI-NOTES-DECISIONS.md, approved canvas https://claude.ai/artifact/SLesF3jGPBoAQVguf12Gr3).
   Body class "on t-<design>". Fonts: css/oms/fonts-v1.css (Literata, Manrope, Commissioner) and css/oms/notes-fonts.css
   (Mynerve, Cousine), all self-hosted. Decorations are drawn with CSS only, no pictures. Phones from 640px down. */

html, body { margin: 0; padding: 0; }
body.on { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
.on *, .on *::before, .on *::after { box-sizing: border-box; }
.on-page { min-height: 100vh; padding: 0 0 36px; background: var(--on-page, #E7EBF0); overflow-x: hidden; }

/* top row: the owner's brand on the left, actions on the right */
.on-top { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.on-brand { display: flex; align-items: center; gap: 10px; min-width: 0; font: 700 14px/1.2 Manrope, system-ui, sans-serif; color: var(--on-brand, #334155); }
.on-brand img { height: 34px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }
.on-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-acts { display: flex; gap: 8px; margin-left: auto; flex: none; }
.on-ib { width: 44px; height: 44px; border-radius: 999px; border: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--on-ib-bg, rgba(255, 255, 255, .88)); color: var(--on-ib, #334155); box-shadow: 0 1px 3px rgba(15, 23, 42, .14); cursor: pointer; text-decoration: none; }
.on-ib:hover, .on-ib:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(91, 70, 229, .35); }
.on-edit { height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--on-ib-bg, rgba(255, 255, 255, .88)); color: var(--on-ib, #334155); font: 700 13.5px Manrope, system-ui, sans-serif; box-shadow: 0 1px 3px rgba(15, 23, 42, .14); }
.on-foot { text-align: center; margin-top: 28px; font: 600 12px Manrope, system-ui, sans-serif; color: var(--on-foot, #64748B); }

/* the sheet: surface (paper, slate, cork), decorations, the note */
.on-sheet { position: relative; max-width: 760px; margin: 22px auto 0; }
.on-surface { position: relative; }
/* where the paper is the sheet itself, its decorations (rings, binding, tape, band, clip, stitches) sit on the sheet */
.t-classic .on-surface, .t-legal .on-surface, .t-sticky .on-surface, .t-dots .on-surface, .t-typewriter .on-surface, .t-night .on-surface { position: static; }
.on-deco { position: static; }
.on-title { margin: 0; overflow-wrap: anywhere; }
.on-content { overflow-wrap: anywhere; }
.on-content img, .on-content video { max-width: 100%; height: auto; }
.on-content iframe { max-width: 100%; }
.on-content table { border-collapse: collapse; max-width: 100%; }
.on-content td, .on-content th { border: 1px solid rgba(0, 0, 0, .15); padding: 4px 8px; }
.on-content ul { list-style: square; }
.on-content blockquote { margin-left: 0; padding-left: 16px; border-left: 3px solid currentColor; opacity: .9; }
.on-content mark, .on-hl { padding: 0 2px; }

/* -------------------------------------------------------------- 1 Classic (spiral notebook) */
.t-classic { --on-page: #E7EBF0; }
.t-classic .on-sheet { padding: 72px 52px 44px 96px; border-radius: 6px; background-color: #FFFEF8;
  background-image: linear-gradient(to right, transparent 70px, rgba(222, 84, 84, .55) 70px, rgba(222, 84, 84, .55) 72px, transparent 72px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(88, 128, 196, .28) 31px, rgba(88, 128, 196, .28) 32px);
  background-position: 0 0, 0 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 14px 34px rgba(30, 40, 60, .14); }
.on-rings { position: absolute; top: -16px; left: 34px; right: 34px; display: flex; justify-content: space-between; }
.on-rings span { position: relative; width: 10px; height: 32px; border-radius: 7px; border: 3px solid #8C93A0; }
.on-rings span::after { content: ""; position: absolute; left: -3px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: #C3C8D1; }
.t-classic .on-title { font: 400 42px/64px Mynerve, 'Comic Sans MS', cursive; color: #1E3A8A; }
.t-classic .on-content, .t-legal .on-content { font: 400 18px/32px Literata, Georgia, serif; color: #1F2937; }
.t-classic .on-content > *, .t-legal .on-content > *, .t-night .on-content > * { margin: 0; }
.t-classic .on-content > * + *, .t-legal .on-content > * + *, .t-night .on-content > * + * { margin-top: 32px; }
.t-classic .on-content h1, .t-classic .on-content h2, .t-classic .on-content h3, .t-legal .on-content h1, .t-legal .on-content h2, .t-legal .on-content h3 {
  font: 600 19px/32px Literata, Georgia, serif; color: #0F172A; }
.t-classic .on-content ul, .t-classic .on-content ol, .t-legal .on-content ul, .t-legal .on-content ol { padding-left: 24px; }
.t-classic .on-content a, .t-legal .on-content a { color: #1D4ED8; }
.t-classic .on-content mark, .t-classic .on-hl { background: linear-gradient(transparent 52%, #FDE68A 52%); color: inherit; }

/* -------------------------------------------------------------- 2 Yellow pad */
.t-legal { --on-page: #E8E1D3; --on-brand: #4A3F35; --on-ib: #4A3F35; --on-foot: #7A6E62; }
.t-legal .on-sheet { padding: 92px 52px 44px 104px; border-radius: 0 0 5px 5px; background-color: #FFF5A6;
  background-image: linear-gradient(to right, transparent 76px, rgba(205, 64, 64, .55) 76px, rgba(205, 64, 64, .55) 77px, transparent 77px, transparent 81px, rgba(205, 64, 64, .55) 81px, rgba(205, 64, 64, .55) 82px, transparent 82px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(64, 104, 168, .30) 31px, rgba(64, 104, 168, .30) 32px);
  background-position: 0 0, 0 60px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 16px 34px rgba(70, 50, 20, .18); }
.on-bind { position: absolute; top: 0; left: -6px; right: -6px; height: 40px; border-radius: 4px 4px 2px 2px; background: linear-gradient(#8E3B37, #6F2723); box-shadow: 0 3px 6px rgba(60, 20, 10, .25); }
.on-perf { position: absolute; top: 52px; left: 0; right: 0; border-top: 3px dotted rgba(90, 70, 20, .22); }
.t-legal .on-title { font: 400 42px/64px Mynerve, 'Comic Sans MS', cursive; color: #233A73; }
.t-legal .on-content { color: #2A2A2A; }
.t-legal .on-content mark, .t-legal .on-hl { background: linear-gradient(transparent 50%, rgba(255, 138, 170, .55) 50%); color: inherit; }

/* -------------------------------------------------------------- 3 Sticky note */
.t-sticky { --on-page: #EDE6DA; --on-brand: #4E4330; --on-ib: #4E4330; --on-foot: #7A6E5C; }
.t-sticky .on-sheet { max-width: 640px; margin-top: 40px; padding: 66px 56px 54px; border-radius: 2px 2px 26px 2px; transform: rotate(-1.4deg);
  background: linear-gradient(170deg, #FFEC85 0%, #FFE45F 70%, #F9DA4E 100%); box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 22px 30px -12px rgba(80, 58, 0, .42); }
.on-tape { position: absolute; top: -18px; left: 50%; width: 160px; height: 38px; margin-left: -80px; background: rgba(255, 255, 255, .55); transform: rotate(2.5deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .10); }
.t-sticky .on-title { font: 400 46px/1.15 Mynerve, 'Comic Sans MS', cursive; color: #3A2E00; margin-bottom: 14px; }
.t-sticky .on-content { font: 400 24px/1.5 Mynerve, 'Comic Sans MS', cursive; color: #3B3300; }
.t-sticky .on-content p { margin: 0 0 14px; }
.t-sticky .on-content h1, .t-sticky .on-content h2, .t-sticky .on-content h3 { font: 400 29px/1.3 Mynerve, cursive; margin: 22px 0 4px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.t-sticky .on-content ul, .t-sticky .on-content ol { padding-left: 30px; margin: 0 0 14px; }
.t-sticky .on-content a { color: #1D4ED8; }
.t-sticky .on-content mark, .t-sticky .on-hl { background: linear-gradient(transparent 52%, rgba(255, 105, 140, .45) 52%); color: inherit; }

/* -------------------------------------------------------------- 4 Dot grid */
.t-dots { --on-page: #E3E7E0; --on-brand: #2F3B3B; --on-ib: #2F3B3B; --on-foot: #5F6B66; }
.t-dots .on-sheet { z-index: 0; padding: 64px 96px 60px 68px; border-radius: 8px 20px 20px 8px; background-color: #FBFAF5;
  background-image: radial-gradient(circle, rgba(40, 50, 48, .24) 1.2px, transparent 1.7px); background-size: 24px 24px; background-position: 10px 10px;
  box-shadow: inset 6px 0 10px -6px rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .08), 0 16px 34px rgba(30, 45, 40, .16); margin-bottom: 52px; }
.on-band { position: absolute; top: -10px; bottom: -10px; right: 44px; width: 14px; border-radius: 3px; background: linear-gradient(to right, #26302F, #3B4846 50%, #26302F); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.on-ribbon { position: absolute; z-index: -1; bottom: -48px; left: 120px; width: 18px; height: 76px; background: #C2553D; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); }
.t-dots .on-title { font: 600 36px/1.2 Literata, Georgia, serif; letter-spacing: -.01em; color: #1E2A28; margin-bottom: 16px; }
.t-dots .on-content { font: 500 17px/1.75 Manrope, system-ui, sans-serif; color: #2B3533; }
.t-dots .on-content p { margin: 0 0 14px; }
.t-dots .on-content h1, .t-dots .on-content h2, .t-dots .on-content h3 { font: 800 13px/1.4 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 28px 0 8px; color: #B24A33; }
.t-dots .on-content ul, .t-dots .on-content ol { padding-left: 22px; margin: 0 0 14px; }
.t-dots .on-content a { color: #2F6B5E; }
.t-dots .on-content mark, .t-dots .on-hl { background: rgba(160, 196, 120, .42); color: inherit; padding: 1px 4px; border-radius: 3px; }

/* -------------------------------------------------------------- 5 Typewriter */
.t-typewriter { --on-page: #DED7CA; --on-brand: #3A332D; --on-ib: #3A332D; --on-foot: #6E655A; }
.t-typewriter .on-page { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0, rgba(255, 255, 255, .07) 2px, transparent 2px, transparent 6px); }
.t-typewriter .on-sheet { padding: 76px 76px 56px; background-color: #FCFAF4;
  background-image: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .7), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(180, 160, 120, .10), transparent 50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .10), 0 16px 34px rgba(50, 40, 25, .18); }
.on-clip { position: absolute; top: -24px; left: 64px; width: 24px; height: 72px; border: 3px solid #8F969D; border-radius: 13px; }
.on-clip::after { content: ""; position: absolute; left: 3px; top: 10px; width: 12px; height: 44px; border: 3px solid #8F969D; border-radius: 9px; }
.t-typewriter .on-title { font: 700 25px/1.35 Cousine, 'Courier New', monospace; letter-spacing: .04em; text-transform: uppercase; color: #262220; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 3px double #262220; }
.t-typewriter .on-content { font: 400 16.5px/1.75 Cousine, 'Courier New', monospace; color: #2B2724; }
.t-typewriter .on-content p { margin: 0 0 14px; }
.t-typewriter .on-content h1, .t-typewriter .on-content h2, .t-typewriter .on-content h3 { font: 700 16.5px/1.5 Cousine, monospace; letter-spacing: .06em; text-transform: uppercase; margin: 26px 0 6px; }
.t-typewriter .on-content ul, .t-typewriter .on-content ol { padding-left: 26px; margin: 0 0 14px; }
.t-typewriter .on-content a { color: #262220; }
.t-typewriter .on-content mark, .t-typewriter .on-hl { background: none; color: #B42318; font-weight: 700; }

/* -------------------------------------------------------------- 6 Night */
.t-night { --on-page: #0D1020; --on-brand: #E5E7F0; --on-ib: #E5E7F0; --on-ib-bg: rgba(255, 255, 255, .08); --on-foot: #A3A9C2; }
.t-night .on-page { background: radial-gradient(ellipse at 50% 0%, #1B2140, #0D1020 70%); }
.t-night .on-sheet { padding: 64px 56px 48px 92px; border-radius: 10px; background-color: #171C31;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(255, 255, 255, .06) 31px, rgba(255, 255, 255, .06) 32px); background-position: 0 30px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 50px rgba(0, 0, 0, .45); }
.on-stitch { position: absolute; top: 22px; bottom: 22px; left: 40px; border-left: 2px dashed rgba(255, 209, 102, .38); }
.t-night .on-title { font: 400 44px/64px Mynerve, 'Comic Sans MS', cursive; color: #FFD166; }
.t-night .on-content { font: 400 18px/32px Commissioner, system-ui, sans-serif; color: #E2E5F0; }
.t-night .on-content h1, .t-night .on-content h2, .t-night .on-content h3 { font: 700 19px/32px Commissioner, sans-serif; color: #FFFFFF; }
.t-night .on-content ul, .t-night .on-content ol { padding-left: 24px; }
.t-night .on-content li::marker { color: #FFD166; }
.t-night .on-content a { color: #9CC2FF; }
.t-night .on-content mark, .t-night .on-hl { background: rgba(255, 209, 102, .22); color: #FFE7A8; border-radius: 3px; }

/* -------------------------------------------------------------- 7 Chalkboard */
.t-chalk { --on-page: #E9E3D8; --on-brand: #3D3428; --on-ib: #3D3428; --on-foot: #776B5B; }
.t-chalk .on-sheet { max-width: 800px; padding: 20px 20px 22px; border-radius: 10px; background: linear-gradient(135deg, #A0703F 0%, #7C522B 35%, #94643A 65%, #6C4423 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 18px 36px rgba(50, 30, 10, .35); margin-bottom: 18px; }
.t-chalk .on-surface { padding: 46px 56px 50px; border-radius: 3px; background-color: #2E4A3B; box-shadow: inset 0 0 40px rgba(0, 0, 0, .38);
  background-image: radial-gradient(ellipse at 18% 28%, rgba(255, 255, 255, .07), transparent 42%), radial-gradient(ellipse at 78% 72%, rgba(255, 255, 255, .06), transparent 46%),
    radial-gradient(ellipse at 62% 18%, rgba(255, 255, 255, .04), transparent 34%), radial-gradient(ellipse at 30% 85%, rgba(0, 0, 0, .18), transparent 40%); }
.t-chalk .on-surface { position: static; }
.on-ledge { position: absolute; left: -12px; right: -12px; bottom: -14px; height: 18px; border-radius: 3px; background: linear-gradient(#8C5C32, #62401F); box-shadow: 0 6px 10px rgba(50, 30, 10, .3); }
.on-chalk { position: absolute; top: -9px; left: 110px; width: 48px; height: 11px; border-radius: 3px; background: #F4F1E8; box-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.on-chalk.on-pink { left: 172px; width: 30px; background: #F6B6C8; }
.on-eraser { position: absolute; top: -17px; right: 100px; width: 96px; height: 22px; border-radius: 4px; background: linear-gradient(#3A3A3A 0, #3A3A3A 42%, #D7C9AD 42%, #D7C9AD 100%); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.t-chalk .on-title { font: 400 48px/1.15 Mynerve, 'Comic Sans MS', cursive; color: #F7F4EA; text-shadow: 0 0 1px rgba(255, 255, 255, .55), 0 0 8px rgba(255, 255, 255, .12); margin-bottom: 14px; }
.t-chalk .on-content { font: 400 23px/1.5 Mynerve, 'Comic Sans MS', cursive; color: #EEEBE2; text-shadow: 0 0 1px rgba(255, 255, 255, .4); }
.t-chalk .on-content p { margin: 0 0 12px; }
.t-chalk .on-content h1, .t-chalk .on-content h2, .t-chalk .on-content h3 { font: 400 28px/1.3 Mynerve, cursive; color: #F6E27F; margin: 22px 0 4px; }
.t-chalk .on-content ul, .t-chalk .on-content ol { padding-left: 30px; margin: 0 0 12px; }
.t-chalk .on-content li::marker { color: #F6E27F; }
.t-chalk .on-content a { color: #AEDBFF; }
.t-chalk .on-content td, .t-chalk .on-content th { border-color: rgba(255, 255, 255, .3); }
.t-chalk .on-content mark, .t-chalk .on-hl { background: none; color: #F8BFD0; text-decoration: underline wavy rgba(248, 191, 208, .75); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }

/* -------------------------------------------------------------- 8 Corkboard */
.t-cork { --on-page: #EEE8DE; --on-brand: #4A3B2B; --on-ib: #4A3B2B; --on-foot: #7A6A57; }
.t-cork .on-sheet { max-width: 820px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #B88D60, #93683E 50%, #A57A4D); box-shadow: 0 16px 34px rgba(60, 40, 15, .28); }
.t-cork .on-surface { padding: 44px 52px 46px; border-radius: 4px; background-color: #C99863; box-shadow: inset 0 0 34px rgba(80, 45, 10, .38);
  background-image: radial-gradient(rgba(110, 68, 28, .38) 1px, transparent 1.7px), radial-gradient(rgba(255, 232, 195, .32) 1px, transparent 1.7px), radial-gradient(rgba(92, 56, 20, .26) 1.5px, transparent 2.2px);
  background-size: 7px 7px, 11px 11px, 17px 17px; background-position: 0 0, 3px 5px, 8px 2px; }
.t-cork .on-inner { position: relative; padding: 54px 50px 40px; background: #FFFFFF; transform: rotate(.7deg); box-shadow: 0 2px 3px rgba(0, 0, 0, .12), 0 14px 24px rgba(60, 35, 10, .32); }
.on-pin { position: absolute; top: -13px; left: 50%; margin-left: -14px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #FF9A9A 0, #E0313F 45%, #8E1020 100%); box-shadow: 0 5px 7px rgba(0, 0, 0, .35); }
.t-cork .on-title { font: 400 42px/1.15 Mynerve, 'Comic Sans MS', cursive; color: #8E1A20; margin-bottom: 14px; }
.t-cork .on-content { font: 400 17.5px/1.7 Literata, Georgia, serif; color: #2E2A26; }
.t-cork .on-content p { margin: 0 0 12px; }
.t-cork .on-content h1, .t-cork .on-content h2, .t-cork .on-content h3 { font: 800 13px/1.4 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 6px; color: #B23A2E; }
.t-cork .on-content ul, .t-cork .on-content ol { padding-left: 24px; margin: 0 0 12px; }
.t-cork .on-content a { color: #1D4ED8; }
.t-cork .on-content mark, .t-cork .on-hl { background: #FFE8A3; color: inherit; padding: 1px 4px; border-radius: 2px; }

/* -------------------------------------------------------------- private note, visitors' editing */
.on-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 440px; font-family: Manrope, system-ui, sans-serif; }
.on-lock-ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .7); color: #1E3A8A; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.on-lock p { margin: 0; font-size: 17px; line-height: 1.6; }
.on-lock label { font: 700 13.5px Manrope, system-ui, sans-serif; margin-top: 6px; }
.on-row { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.on-input { flex: 1 1 200px; min-width: 0; height: 48px; border: 1px solid #C9D3E6; border-radius: 12px; padding: 0 14px; font: 500 16px Manrope, system-ui, sans-serif; background: #fff; color: #1F2937; }
.on-input:focus { outline: none; border-color: #5B46E5; box-shadow: 0 0 0 3px rgba(91, 70, 229, .2); }
.on-btn { height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: #1B1733; color: #fff; font: 700 15px Manrope, system-ui, sans-serif; cursor: pointer; }
.on-btn:hover, .on-btn:focus-visible { background: #5B46E5; outline: none; }
.on-btn-2 { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.on-btn-2:hover, .on-btn-2:focus-visible { background: rgba(0, 0, 0, .06); color: inherit; }
.on-err { color: #C4314B; font: 700 14px Manrope, system-ui, sans-serif; min-height: 20px; }
.on-small { font: 500 13px Manrope, system-ui, sans-serif; opacity: .75; }
.t-night .on-lock-ic, .t-chalk .on-lock-ic { background: rgba(255, 255, 255, .12); color: #FFD166; }
.t-night .on-lock, .t-chalk .on-lock { color: #EEF0F6; }
.t-night .on-btn, .t-chalk .on-btn { background: #FFD166; color: #1A1F35; }
.t-night .on-err, .t-chalk .on-err { color: #FFB4C0; }
.on-editor { font-family: Manrope, system-ui, sans-serif; }
.on-editor h1 { font: 800 22px/1.3 Manrope, system-ui, sans-serif; margin: 0 0 14px; }
.on-editor .cke { border-radius: 12px; overflow: hidden; }
.on-editor .on-row { margin-top: 14px; }

/* the small window that asks the visitors' password */
.on-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(27, 23, 51, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.on-modal[hidden] { display: none; }
.on-modal-box { width: 400px; max-width: 100%; background: #fff; color: #1B1733; border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px rgba(27, 23, 51, .3); font-family: Manrope, system-ui, sans-serif; }
.on-modal-box h2 { font: 800 19px Manrope, system-ui, sans-serif; margin: 0 0 6px; }
.on-modal-box p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #57516F; }
.on-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1B1733; color: #fff; padding: 10px 18px; border-radius: 999px; font: 700 14px Manrope, system-ui, sans-serif; z-index: 1001; }
.on-toast[hidden] { display: none; }

/* -------------------------------------------------------------- phones */
@media (max-width: 640px) {
  .on-top { padding: 12px 14px; }
  .on-sheet { margin: 14px 12px 0; }
  .on-rings { top: -13px; left: 20px; right: 20px; }
  .on-rings span:nth-child(n+11) { display: none; }
  .t-classic .on-sheet { padding: 52px 16px 28px 52px;
    background-image: linear-gradient(to right, transparent 38px, rgba(222, 84, 84, .55) 38px, rgba(222, 84, 84, .55) 40px, transparent 40px),
      repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(88, 128, 196, .28) 27px, rgba(88, 128, 196, .28) 28px);
    background-position: 0 0, 0 24px; }
  .t-legal .on-sheet { padding: 70px 16px 28px 54px;
    background-image: linear-gradient(to right, transparent 36px, rgba(205, 64, 64, .55) 36px, rgba(205, 64, 64, .55) 37px, transparent 37px, transparent 40px, rgba(205, 64, 64, .55) 40px, rgba(205, 64, 64, .55) 41px, transparent 41px),
      repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(64, 104, 168, .30) 27px, rgba(64, 104, 168, .30) 28px);
    background-position: 0 0, 0 42px; }
  .t-legal .on-bind { height: 30px; }
  .t-legal .on-perf { top: 38px; }
  .t-night .on-sheet { padding: 48px 18px 30px 46px;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(255, 255, 255, .06) 27px, rgba(255, 255, 255, .06) 28px); background-position: 0 20px; }
  .on-stitch { left: 22px; top: 16px; bottom: 16px; }
  .t-classic .on-title, .t-legal .on-title { font-size: 30px; line-height: 56px; }
  .t-night .on-title { font-size: 32px; line-height: 56px; }
  .t-classic .on-content, .t-legal .on-content, .t-night .on-content { font-size: 16px; line-height: 28px; }
  .t-classic .on-content > * + *, .t-legal .on-content > * + *, .t-night .on-content > * + * { margin-top: 28px; }
  .t-classic .on-content h1, .t-classic .on-content h2, .t-classic .on-content h3, .t-legal .on-content h1, .t-legal .on-content h2, .t-legal .on-content h3, .t-night .on-content h1, .t-night .on-content h2, .t-night .on-content h3 { font-size: 17px; line-height: 28px; }
  .t-sticky .on-sheet { margin: 22px 16px 0; padding: 50px 22px 34px; transform: rotate(-.8deg); border-radius: 2px 2px 20px 2px; }
  .t-sticky .on-tape { width: 120px; margin-left: -60px; height: 32px; top: -15px; }
  .t-sticky .on-title { font-size: 34px; }
  .t-sticky .on-content { font-size: 20px; }
  .t-dots .on-sheet { padding: 44px 46px 40px 26px; border-radius: 6px 16px 16px 6px; background-size: 20px 20px; margin-bottom: 40px; }
  .t-dots .on-band { right: 22px; width: 11px; }
  .t-dots .on-ribbon { left: 60px; width: 15px; height: 60px; bottom: -36px; }
  .t-dots .on-title { font-size: 28px; }
  .t-dots .on-content { font-size: 16px; }
  .t-typewriter .on-sheet { padding: 56px 22px 34px; }
  .t-typewriter .on-clip { left: 30px; height: 62px; top: -20px; }
  .t-typewriter .on-title { font-size: 20px; }
  .t-typewriter .on-content { font-size: 15px; }
  .t-chalk .on-sheet { margin: 12px 10px 18px; padding: 12px 12px 14px; border-radius: 8px; }
  .t-chalk .on-surface { padding: 30px 22px 34px; }
  .t-chalk .on-ledge { left: -6px; right: -6px; bottom: -10px; height: 12px; }
  .t-chalk .on-chalk { left: 40px; width: 34px; height: 8px; top: -7px; }
  .t-chalk .on-chalk.on-pink { left: 82px; width: 22px; }
  .t-chalk .on-eraser { right: 30px; width: 64px; height: 16px; top: -12px; }
  .t-chalk .on-title { font-size: 34px; }
  .t-chalk .on-content { font-size: 19.5px; }
  .t-cork .on-sheet { margin: 10px 10px 0; padding: 9px; border-radius: 8px; }
  .t-cork .on-surface { padding: 26px 14px; }
  .t-cork .on-inner { padding: 40px 20px 28px; transform: rotate(.5deg); }
  .t-cork .on-title { font-size: 31px; }
  .t-cork .on-content { font-size: 16px; }
}
