/* The Board as a live feed on real cork (2026-11-11). Loaded after styles.css.
   Cork: assets/textures/cork.jpg, ambientCG Cork001, CC0. */

/* ---------- the cork, edge to edge ---------- */
.screen.on-cork { padding: 10px 0 0; background: #8a5c38 url(../assets/textures/cork.jpg) 0 0 / 360px; background-attachment: local; position: relative; }
.screen.on-cork::before { content: ""; position: absolute; inset: 0; min-height: 100%; background: rgba(105, 58, 20, .28); mix-blend-mode: multiply; pointer-events: none; }
.screen.on-cork > * { position: relative; }
.screen.on-cork .fineprint { display: none; }
.on-cork .chapter-seg { width: auto; margin: 0 12px 10px; background: rgba(20, 16, 14, .82); border-color: rgba(255, 255, 255, .12); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.on-cork .chapter-seg button { color: #d8cfc3; }
.on-cork .chapter-seg button.on { color: #fff; }
.on-cork .seg-knob { background: var(--color-pink, #E6007E); }

/* ---------- live: pull to refresh, the new-pins pill, older pins ---------- */
.ptr { height: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; transition: height .25s ease; }
.ptr span { margin-bottom: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(20, 16, 14, .82); color: #fff; font: 600 12px/1.2 -apple-system, system-ui, sans-serif; }
.ptr.ready span { background: #E6007E; }
.ptr.spin span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: ptrspin .7s linear infinite; }
@keyframes ptrspin { to { transform: rotate(360deg); } }
.new-pill { position: sticky; top: 6px; z-index: 6; display: block; margin: 0 auto 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: #E6007E; color: #fff; font: 700 13px/1 -apple-system, system-ui, sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); cursor: pointer; }
.new-pill[hidden] { display: none; }
.new-pill.arrive { animation: pillin .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pillin { from { transform: translateY(-30px) scale(.6); opacity: 0; } }
.more-pins, .feed-end { display: block; margin: 8px auto 18px; padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(20, 16, 14, .78); color: #fff; font: 600 13px/1.2 -apple-system, system-ui, sans-serif; cursor: pointer; }
.feed-end { background: none; color: #fff; font: italic 14px/1.3 var(--font-body); text-shadow: 0 1px 3px #000; text-align: center; max-width: 80%; }
.more-pins.loading { opacity: .8; }

/* ---------- the feed ---------- */
.feed { position: relative; padding: 4px 0 8px; display: flex; flex-direction: column; }
.feed.swap-out { animation: swapout .25s ease forwards; }
.feed.swap-in { animation: swapin .35s ease; }
@keyframes swapout { to { opacity: 0; transform: translateY(14px); } }
@keyframes swapin { from { opacity: 0; transform: translateY(-14px); } }
.bf { position: relative; width: 84%; margin: 14px 0 12px; }
.bf.side-l { align-self: flex-start; margin-left: 4%; }
.bf.side-r { align-self: flex-end; margin-right: 4%; }
.bf.side-c { align-self: center; }
.bf:has(.bp.bare) { width: auto; max-width: 84%; }
.bp { position: relative; transform: rotate(var(--rot, 0deg)); cursor: pointer; -webkit-user-select: none; user-select: none; }
.bp.paper { background: #FBF7F0; color: #151515; padding: 10px 12px 10px; box-shadow: 2px 7px 14px rgba(0, 0, 0, .42); border-radius: 2px; }
.bp.held { transform: rotate(var(--rot, 0deg)) scale(.98); }
.bp .pushpin { top: -8px; }

/* header: face, name, what it is, how long ago */
.ph { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: block; padding: 0; border: 0; text-decoration: none; }
.av-in { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: 50%; background: hsl(var(--h), 55%, 42%); color: #fff; font: 700 13px/1 -apple-system, system-ui, sans-serif; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.av-sam { display: flex; align-items: center; justify-content: center; background: #151515; color: #E6007E; }
.av-sam .tab-ico path { fill: none; stroke: #E6007E; stroke-width: 1.6; }
.av-wax { background: radial-gradient(circle at 35% 30%, #5A5A5A, #141414 60%, #000); cursor: pointer; }
.ph-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ph-name, .ph-name a, .ph-name.who { font: 700 14.5px/1.2 -apple-system, system-ui, sans-serif; color: #151515; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.sam-name { color: #C8006E; }
.ph-meta { font: 12px/1.3 -apple-system, system-ui, sans-serif; color: #6b6560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-more { flex: none; width: 30px; height: 30px; border: 0; background: none; color: #6b6560; font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%; }
.bp .sample-tag { flex: none; }
.post-text { margin: 0; font: 17px/1.32 var(--font-body); color: #151515; }
.kicker { font: 600 11px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--color-pink-ink, #C8006E); margin: 0 0 6px; }
.kicker-warning { color: #9b5b00; }
.kicker-help { color: #2b5d4a; }

/* actions under a post */
.pas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pa { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 5px 12px; border: 1px solid #d9d2c5; border-radius: 999px; background: #fff; color: #151515; font: 600 13px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.pa.on { background: #FCE4F1; border-color: #E6007E; color: #C8006E; }
.pa-ico { width: 34px; padding: 0; justify-content: center; font-size: 16px; }

/* burns: torn paper */
.bp.t-burn { background: linear-gradient(180deg, #f6efe2, #efe5d2); clip-path: polygon(0 3%, 6% 0, 14% 2%, 24% 0, 33% 2.5%, 45% .5%, 57% 2%, 69% 0, 80% 2%, 90% 0, 100% 2%, 100% 100%, 0 100%); padding-top: 16px; }
.bp.t-burn.cloaked .ph-name { color: #151515; }
/* help wanted: tear-off tabs */
.bp.t-help .tabs { margin: 10px -12px -10px; border-top: 2px dashed #9AA0AC; }
.bp.t-help .tab { writing-mode: vertical-rl; transform: rotate(180deg); min-height: 64px; font: 600 10.5px/1.1 -apple-system, system-ui, sans-serif; color: #1E2433; }
.torn-by { margin: 8px 0 0; font: italic 13.5px/1.3 var(--font-body); color: #2b5d4a; }

/* flyers: the real upload, or the photocopy look */
.bp.t-flyer { padding: 0; background: #ECE8DE; overflow: visible; }
.bp.t-flyer .ph { padding: 10px 12px 0; }
.bp.t-flyer .pas { padding: 0 12px 12px; }
.fl-img { display: block; width: 100%; height: auto; }
.fl-cap { margin: 8px 12px 0; font: 15px/1.3 var(--font-body); }
.fl-copy { position: relative; margin-top: 6px; filter: contrast(1.08); background: #ECE8DE; overflow: hidden; }
.fl-copy::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.fl-band { padding: 4px 10px 6px; font: 34px/.95 Anton, Impact, sans-serif; text-transform: uppercase; color: #111; letter-spacing: -.3px; }
.fl-band span { background: #111; color: #ECE8DE; padding: 0 4px; }
.fl-half { display: block; width: 100%; height: 120px; }
.fl-sub { margin: 8px 10px 0; font: 14px/1.2 'Special Elite', monospace; color: #111; text-transform: uppercase; }
.fl-w { margin: 3px 10px 0; font: 14px/1.25 'Special Elite', monospace; color: #111; }
.fl-hand { margin: 6px 10px 10px; text-align: right; font: 700 22px/1 Caveat, cursive; color: #c4002f; transform: rotate(-5deg); }
.restuck-ribbon { position: absolute; right: -6px; bottom: -12px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: #151515; color: #fff; font: 700 11.5px/1 -apple-system, system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }

/* sticky notes: the original has its own glue (a curled corner); every copy is taped */
.bp.t-sticky { background: linear-gradient(180deg, #fff27a, #f7e258); border-bottom-right-radius: 26px 10px; }
.bp.t-sticky:not(.copy)::after { content: ""; position: absolute; right: 0; bottom: 0; width: 24px; height: 20px; background: linear-gradient(135deg, rgba(0, 0, 0, 0) 45%, #d9c442 50%, #efe08a); border-top-left-radius: 12px; }
.bp.t-sticky.copy { border-radius: 0; }
.bp.t-sticky .ph-meta, .bp.t-sticky .ph-more { color: #6b5f20; }
.sticky-text { margin: 0; font: 700 22px/1.08 Caveat, cursive; color: #2a2a2a; }
.sticky-by { margin: 6px 0 0; font: italic 12.5px/1.2 var(--font-body); color: #6b5f20; }
.bp.t-sticky .pa { background: rgba(255, 255, 255, .55); border-color: rgba(0, 0, 0, .12); }

/* stickers and sharpie: straight on the cork, no paper */
.bp.bare { padding: 0; }
.stk { display: inline-block; width: 92px; height: 92px; filter: drop-shadow(1.6px 0 0 #fff) drop-shadow(-1.6px 0 0 #fff) drop-shadow(0 1.6px 0 #fff) drop-shadow(0 -1.6px 0 #fff) drop-shadow(2px 4px 4px rgba(0, 0, 0, .45)); }
.stk svg { width: 100%; height: 100%; display: block; }
.bf-giant .stk { width: 190px; height: 190px; }
.word-sticker { display: inline-block; padding: 8px 14px; background: #151515; color: #FFD84D; font: 20px/1 Anton, Impact, sans-serif; letter-spacing: .5px; border-radius: 999px; box-shadow: 0 0 0 3px #fff, 2px 5px 8px rgba(0, 0, 0, .45); }
.bp.t-scrawl .sharpie.big { color: #151515; font-size: 24px; text-shadow: 0 0 6px rgba(255, 240, 220, .35); padding: 4px 8px; margin: 0; }
.bare-by .ph { margin: 4px 0 0; padding: 3px 8px 3px 3px; display: inline-flex; border-radius: 999px; background: rgba(20, 16, 14, .72); }
.bare-by .av { width: 24px; height: 24px; }
.bare-by .av-in { font-size: 10px; }
.bare-by .ph-name, .bare-by .ph-name a { color: #fff; font-size: 12.5px; }
.bare-by .ph-meta { color: #d8cfc3; font-size: 11px; }
.bare-by .ph-more { color: #d8cfc3; width: 24px; height: 24px; font-size: 16px; }
.bare-by .demo-check { width: 18px; height: 18px; }

/* stickers bounce and wiggle like every app's stickers */
.anim-bounce { animation: stkbounce 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.anim-wiggle { animation: stkwiggle 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.anim-jive { animation: stkjive 2.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.anim-float { animation: stkfloat 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.anim-spin { animation: stkspin 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes stkbounce { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-9px) scale(.96, 1.04); } 55% { transform: translateY(0) scale(1.06, .94); } 65% { transform: translateY(-2px) scale(1, 1); } }
@keyframes stkwiggle { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-9deg); } 76% { transform: rotate(8deg); } 84% { transform: rotate(-5deg); } 92% { transform: rotate(3deg); } }
@keyframes stkjive { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-4px) rotate(-6deg); } 50% { transform: translateX(0) rotate(0) scale(1.05); } 75% { transform: translateX(4px) rotate(6deg); } }
@keyframes stkfloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes stkspin { 0%, 70%, 100% { transform: rotate(0) scale(1); } 85% { transform: rotate(180deg) scale(1.1); } 92% { transform: rotate(350deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .anim-bounce, .anim-wiggle, .anim-jive, .anim-float, .anim-spin { animation: none; } }

/* fresh posts drop in */
.bp.fresh { animation: postin .6s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes postin { from { opacity: 0; transform: translateY(-40px) rotate(calc(var(--rot, 0deg) - 8deg)) scale(1.08); } to { opacity: 1; transform: rotate(var(--rot, 0deg)); } }

/* ---------- the House demos (Notion-style: do it, the box ticks) ---------- */
.demos { margin: 0 10px 6px; padding: 10px 6px 4px; border-radius: 10px; background: rgba(20, 16, 14, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.demos-head { display: flex; align-items: center; gap: 8px; padding: 0 8px; color: #fff; font: 600 11.5px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.demos-head span { flex: 1; }
.demos-head b { color: #FF4FA8; font-family: -apple-system, system-ui, sans-serif; letter-spacing: 0; }
.demos-head .link { color: #d8cfc3; font-size: 12px; letter-spacing: 0; text-transform: none; }
.demo-bar { height: 4px; margin: 8px 8px 0; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.demo-bar i { display: block; height: 100%; background: #E6007E; transition: width .5s ease; }
.demos .bf { width: 90%; }
.demo-check { flex: none; width: 24px; height: 24px; border: 2px solid #b5ada3; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.demo-check.on { background: #E6007E; border-color: #E6007E; color: #fff; }
.demo-check i { font: 700 14px/1 -apple-system, system-ui, sans-serif; font-style: normal; }
.demo-check.pop { animation: checkpop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes checkpop { 0% { transform: scale(.4); } 70% { transform: scale(1.25); } }
.demo-more { display: block; margin: 0 auto 8px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 600 12.5px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.demo-done-list { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px 8px; }
.demo-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; border: 0; background: none; color: #d8cfc3; font: 14px/1.2 var(--font-body); text-align: left; cursor: pointer; }
.demo-row .demo-check { width: 18px; height: 18px; border-radius: 4px; }
.demo-row .demo-check i { font-size: 11px; }
.demo-strip { display: flex; justify-content: space-between; width: calc(100% - 20px); margin: 0 10px 8px; padding: 9px 12px; border: 0; border-radius: 10px; background: rgba(20, 16, 14, .6); color: #fff; font: 600 12.5px/1.2 -apple-system, system-ui, sans-serif; cursor: pointer; }
.demo-strip span { color: #FF4FA8; }

/* ---------- Pin / Stick / Draw: prominent top bar & floating pill (Owner 2026-11-22) ---------- */
.board-bar-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 12px 12px;
  padding: 5px;
  background: rgba(20, 16, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.bbt-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 600 13.5px/1 -apple-system, system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.bbt-btn:active { transform: scale(0.97); }
.bbt-btn.pin { background: #E6007E; color: #fff; box-shadow: 0 2px 8px rgba(230, 0, 126, 0.4); }
.bbt-btn.stick:hover, .bbt-btn.stick:active { background: rgba(255, 255, 255, 0.16); }
.bbt-btn.draw:hover, .bbt-btn.draw:active { background: rgba(255, 255, 255, 0.16); }

.put-pill { position: sticky; bottom: 12px; z-index: 8; display: flex; width: max-content; margin: 0 12px 12px auto; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(21, 18, 17, .94); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, 0.1); }
.put-pill button { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border: 0; border-radius: 999px; background: none; color: #fff; font: 600 13px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.put-pill button:first-child { background: #E6007E; }
.pp-pin { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd0e6, #fff 40%, #ffd0e6); }

/* ---------- the composer extras ---------- */
.draw-choice { display: grid; gap: 10px; margin-top: 12px; }
.flyer-drop { display: block; cursor: pointer; }
.flyer-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fd-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 12px; border: 2px dashed var(--color-rule); border-radius: 10px; text-align: center; }
.fd-in img { max-width: 100%; max-height: 220px; display: block; }
.fd-in small { color: var(--color-ink-soft); }

/* ---------- the sticker bank ---------- */
.stk-bank { position: relative; }
.stk-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.stk-head b { font: 600 14px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.stk-head span { font-size: 13px; color: var(--color-ink-soft); }
.stk-packs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.stk-packs .pill { flex: none; }
.stk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 52vh; overflow-y: auto; padding: 4px 2px 10px; }
.stk-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; background: rgba(127, 127, 127, .1); cursor: pointer; }
.stk-cell .stk { width: 72px; height: 72px; }
.stk-giant { position: absolute; inset: -16px; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); border-radius: 14px; }
.stk-giant[hidden] { display: none; }
.stk-giant.shrink .stk-big { transform: scale(.3); opacity: 0; }
.stk-big { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: transform .3s ease, opacity .3s ease; animation: goGiant .45s cubic-bezier(.3, 1.6, .5, 1); }
.stk-big .stk { width: 220px; height: 220px; }
.stk-big small { font: 600 13px/1 -apple-system, system-ui, sans-serif; }
.stk-ring { position: absolute; top: -12px; width: 246px; height: 246px; border-radius: 50%; border: 4px solid rgba(230, 0, 126, .9); clip-path: inset(0 0 0 0); animation: ring 4s linear forwards; }
@keyframes goGiant { from { transform: scale(.3); } }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: .1; transform: scale(.82); } }

/* ---------- drawing on the cork ---------- */
.draw-layer { position: absolute; inset: 0; z-index: 7; touch-action: none; cursor: crosshair; }
.draw-layer.nope { animation: nope .35s ease; }
@keyframes nope { 25% { background: rgba(230, 0, 126, .12); } }
.draw-svg path, .doodle path { fill: none; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.doodle { position: absolute; z-index: 2; overflow: visible; cursor: pointer; }
.doodle path { pointer-events: stroke; }
.draw-bar { position: absolute; left: 8px; right: 8px; top: 58px; z-index: 60; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 12px; background: rgba(21, 18, 17, .95); color: #fff; font: 600 12.5px/1.1 -apple-system, system-ui, sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.draw-bar > span { flex: 1; }
.draw-bar .link { color: #d8cfc3; }
.dc { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); background: var(--c); cursor: pointer; padding: 0; }
.dc.on { border-color: #fff; box-shadow: 0 0 0 2px #E6007E; }
.screen.drawing .put-pill, .screen.drawing .new-pill { visibility: hidden; }

/* big view in a sheet */
.big-piece.on-cork { margin: -8px -4px 0; padding: 22px 10px 14px; border-radius: 10px; background: #8a5c38 url(../assets/textures/cork.jpg) 0 0 / 300px; }
.big-piece .bf { width: 100%; margin: 6px 0; }
.big-piece .bp { cursor: default; }

/* sharpie replies on the cork read in white */
.on-cork .sharpie.reply { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.bf.ripping { animation: rip .6s ease-in forwards; }
.bare-by .ph-name, .bare-by .ph-meta { white-space: nowrap; }
.bf:has(.bp.bare) { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Sam is the brain, you are the crown (Owner, 2026-11-11) ---------- */
/* Sam's speech bubble rises from the brain at the bottom right. */
.bubble { top: auto !important; bottom: calc(92px + env(safe-area-inset-bottom)) !important; border-radius: 14px 14px 4px 14px !important; transform-origin: 92% 100% !important; transform: translateY(8px) scale(.96); }
.bubble.show { transform: none; }
.bubble::after { top: auto !important; bottom: -7px !important; right: 26px !important; transform: rotate(180deg); }
.ib-me.talk { animation: braintalk .9s ease; }
@keyframes braintalk { 20% { transform: scale(1.25) rotate(-6deg); color: var(--color-pink); } 45% { transform: scale(1.1) rotate(5deg); } 70% { transform: scale(1.18); } }
.ib-me.on .tab-ico path { stroke: var(--color-pink); }
.sam-brain { flex: none; display: inline-flex; color: var(--color-pink); }
.sam-brain .tab-ico path, .sam-big .tab-ico path { fill: none; stroke: var(--color-pink); stroke-width: 1.4; }
.sam-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 8px; text-align: center; }
.sam-big { animation: stkfloat 4s ease-in-out infinite; }
.sam-hero .sam-line { font-style: italic; font-size: 20px; line-height: 1.35; min-height: 2.7em; margin: 0; }
.sam-room { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--color-rule); text-decoration: none; color: inherit; }
.sam-room .sr-ico { font-size: 26px; }
.sam-room .sr-mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sam-room .go { font-size: 22px; color: var(--color-pink); }
.learned { margin: 0 0 8px; padding-left: 18px; line-height: 1.45; }
/* the glass shelf, bottom right of a record's folder */
.folder { position: relative; }
.rec-shelf { display: flex; justify-content: flex-end; gap: 4px; padding: 2px 10px 8px; }
.rs-glass { position: relative; display: inline-flex; width: 26px; cursor: pointer; }
.rs-glass .glass { width: 26px; height: 52px; }
.rs-glass.hid { opacity: .32; filter: grayscale(1); }
.rs-off { position: absolute; left: 50%; top: 50%; width: 30px; height: 2px; margin: -1px 0 0 -15px; background: var(--color-ink); transform: rotate(-50deg); border-radius: 2px; }
