/* Kritiverse AI Academy (docs/ACADEMY_BUILD_PLAN.md section 6). Mobile first at 375 px; one bright thing per screen.
 * Saffron is the one primary action, violet is progress and selection. Pills for buttons, 16 px cards, 44 px targets. */
.ac-page {
  --ac-bg: #0b0a1a; --ac-panel: #120f2a; --ac-card: #1a1640; --ac-line: #2f2a5c; --ac-text: #f3f1fa; --ac-muted: #b9b4d6;
  --ac-saffron: #ff8a3d; --ac-saffron-t: #ffb37a; --ac-violet: #8b6cff;
  background: var(--ac-bg); color: var(--ac-text);
}
.ac-page .app-main { background: var(--ac-bg); }
.ac-page .muted { color: var(--ac-muted); }
.ac-page a { color: var(--ac-saffron-t); }
.ac-page .btn { border-radius: 999px; min-height: 44px; }
.ac-page .btn.primary { background: var(--ac-saffron); border-color: var(--ac-saffron); color: #1a0d03; font-weight: 700; }
.ac-page .btn.ghost { background: transparent; border: 1px solid var(--ac-line); color: var(--ac-text); }
.ac-page .btn:focus-visible, .ac-page a:focus-visible, .ac-page button:focus-visible { outline: 2px solid var(--ac-saffron-t); outline-offset: 2px; }
.ac-wrap { max-width: 1180px; margin: 0 auto; padding: 16px; }
.ac-eyebrow { color: var(--ac-saffron-t); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0 0 4px; text-transform: uppercase; }
.ac-hero h1 { font-size: 26px; margin: 0 0 12px; line-height: 1.2; }
.ac-h2 { font-size: 20px; margin: 18px 0 10px; }
.ac-h3 { font-size: 16px; margin: 0 0 10px; }
.ac-search { display: flex; gap: 8px; }
.ac-search .input { flex: 1; min-height: 44px; border-radius: 999px; background: var(--ac-panel); border-color: var(--ac-line); color: var(--ac-text); }
/* Continue card */
.ac-continue { display: flex; gap: 12px; align-items: center; margin: 16px 0; padding: 14px; border: 1px solid var(--ac-violet); border-radius: 16px; background: var(--ac-panel); color: var(--ac-text); text-decoration: none; }
.ac-continue b { display: block; margin: 2px 0; }
.ac-continue > span:last-child { flex: 1; min-width: 0; }
.ac-continue-play { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ac-violet); color: #fff; flex: none; }
/* chips */
.ac-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.ac-chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ac-line); background: var(--ac-panel); color: var(--ac-text); font: inherit; cursor: pointer; }
.ac-chip[aria-pressed="true"] { background: var(--ac-violet); border-color: var(--ac-violet); color: #fff; }
/* course grid */
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .ac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.ac-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--ac-card); border: 1px solid var(--ac-line); color: var(--ac-text); text-decoration: none; }
.ac-card:hover { border-color: var(--ac-violet); }
.ac-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ac-panel); display: block; }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-thumb-none { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ac-muted); }
.ac-badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(34, 197, 94, .9); color: #052e12; }
.ac-badge.is-paid { background: var(--ac-saffron); color: #1a0d03; }
.ac-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.ac-card-title { font-size: 14px; line-height: 1.3; }
.ac-card-meta { font-size: 12px; color: var(--ac-muted); }
.ac-card-meta s { opacity: .7; }
.ac-price { color: var(--ac-text); font-weight: 700; }
.ac-bar { display: block; height: 4px; border-radius: 99px; background: var(--ac-line); overflow: hidden; margin-top: 6px; }
.ac-bar i { display: block; height: 100%; background: var(--ac-violet); }
.ac-bar-lg { height: 8px; }
.ac-list { padding-left: 18px; }
.ac-list li { margin: 6px 0; }
/* course page */
.ac-course { max-width: 1180px; margin: 0 auto; padding: 0 0 96px; }
@media (min-width: 1024px) { .ac-course { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 16px 16px 48px; align-items: start; } }
.ac-hero-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
@media (min-width: 1024px) { .ac-hero-media { border-radius: 24px; } }
.ac-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-hero-media .ac-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ac-intro { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; color: #fff; width: 100%; }
.ac-playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ac-saffron); color: #1a0d03; }
.ac-intro-label { position: absolute; left: 50%; top: calc(50% + 44px); transform: translateX(-50%); font-size: 13px; text-shadow: 0 1px 3px #000; }
.ac-round { position: absolute; top: 10px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 10, 26, .62); color: #fff; border: 0; cursor: pointer; }
.ac-back { left: 10px; }
.ac-heart { right: 10px; }
.ac-heart[aria-pressed="true"] { color: var(--ac-saffron); }
.ac-heart[aria-pressed="true"] svg { fill: currentColor; }
.ac-titlecard { position: relative; margin: -22px 12px 0; padding: 16px; border-radius: 16px; background: var(--ac-card); border: 1px solid var(--ac-line); }
@media (min-width: 1024px) { .ac-titlecard { margin: -22px 24px 0; } }
.ac-titlecard h1 { font-size: 22px; margin: 0 0 6px; line-height: 1.25; }
.ac-lang { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--ac-line); font-size: 12px; }
.ac-tabs { display: flex; gap: 4px; margin: 14px 12px 0; border-bottom: 1px solid var(--ac-line); overflow-x: auto; }
.ac-tabs [role="tab"] { flex: none; min-height: 44px; padding: 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ac-muted); font: inherit; font-weight: 600; cursor: pointer; }
.ac-tabs [aria-selected="true"] { color: var(--ac-saffron-t); border-bottom-color: var(--ac-saffron); }
.ac-panel { padding: 12px; }
.ac-box { background: var(--ac-card); border: 1px solid var(--ac-line); border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.ac-brief dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ac-brief dt, .ac-stats dd { color: var(--ac-muted); font-size: 12px; margin: 0; }
.ac-brief dd { margin: 2px 0 0; font-weight: 700; }
.ac-hl { list-style: none; padding: 0; margin: 10px 0 0; }
.ac-hl li { display: flex; gap: 8px; margin: 6px 0; }
.ac-hl .ico { color: var(--ac-violet); flex: none; margin-top: 2px; }
.ac-text p { margin: 0 0 8px; line-height: 1.55; }
.ac-creator-row { display: flex; gap: 12px; align-items: center; }
.ac-creator-row img, .ac-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.ac-avatar { display: grid; place-items: center; background: var(--ac-violet); color: #fff; font-weight: 800; font-size: 22px; }
.ac-creator-row p { margin: 2px 0 4px; }
.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 0; }
.ac-stats dt { font-weight: 800; font-size: 16px; color: var(--ac-text); }
.ac-module .ac-lessons { list-style: none; margin: 0; padding: 0; }
.ac-lessons a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 4px; border-top: 1px solid var(--ac-line); color: var(--ac-text); text-decoration: none; }
.ac-lessons li:first-child a { border-top: 0; }
.ac-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ac-panel); font-size: 12px; font-weight: 700; flex: none; }
.ac-lt { flex: 1; min-width: 0; }
.ac-lm { color: var(--ac-muted); font-size: 12px; display: flex; gap: 6px; align-items: center; flex: none; }
.ac-free { color: #4ade80; font-weight: 700; }
.ac-lessons a[aria-current="true"] { background: rgba(255, 138, 61, .1); border-radius: 10px; }
.ac-lessons a[aria-current="true"] .ac-num { background: var(--ac-saffron); color: #1a0d03; }
.ac-playing { color: var(--ac-saffron-t); font-size: 11px; font-weight: 800; }
/* buy box: fixed at the bottom on phones, sticky on the right on desktop */
.ac-buybox { margin: 12px; padding: 16px; border: 1px solid var(--ac-violet); border-radius: 24px; background: var(--ac-panel); }
@media (min-width: 1024px) { .ac-buybox { position: sticky; top: 80px; margin: 0; } }
.ac-buyline { margin: 0 0 8px; font-weight: 600; }
.ac-big { font-size: 30px; font-weight: 800; }
.ac-off { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(139, 108, 255, .2); color: #cbbcff; font-size: 12px; font-weight: 700; }
.ac-wide { display: flex; width: 100%; justify-content: center; align-items: center; margin: 8px 0 0; }
.ac-rzp { text-align: center; margin: 10px 0 0; }
.ac-gate { max-width: 560px; padding-top: 48px; }
.ac-empty { text-align: center; padding: 24px 0; }
/* lesson player (AC4) */
.ac-player { max-width: 1280px; margin: 0 auto; padding: 0 0 96px; }
@media (min-width: 1024px) { .ac-player { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding: 16px; } }
.ac-side { display: none; }
@media (min-width: 1024px) { .ac-side { display: block; position: sticky; top: 72px; max-height: calc(100vh - 90px); overflow: auto; } }
.ac-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
@media (min-width: 1024px) { .ac-video { border-radius: 16px; } }
.ac-video .ac-frame, .ac-video .ac-vdo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: grid; place-items: center; }
.ac-poster { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #000; color: #fff; cursor: pointer; }
.ac-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ac-ov { position: absolute; inset: 0; pointer-events: none; transition: opacity .2s; }
.ac-ov.is-hidden { opacity: 0; }
.ac-ov > * { pointer-events: auto; }
.ac-ov-top { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; }
.ac-ov-top .ac-round { position: static; }
.ac-ov-top div { display: flex; gap: 8px; }
.ac-ov-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 18px; align-items: center; }
.ac-ov-mid .ac-round { position: static; }
.ac-ov-bot { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; justify-content: space-between; font-size: 12px; text-shadow: 0 1px 2px #000; }
.ac-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.ac-line i { display: block; height: 100%; background: var(--ac-saffron); width: 0; }
.ac-lockbox { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; background: linear-gradient(180deg, rgba(18, 15, 42, .8), rgba(11, 10, 26, .95)); }
.ac-lesson-head { padding: 12px; }
.ac-lesson-head h1 { font-size: 20px; margin: 0 0 6px; line-height: 1.3; }
.ac-info { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ac-muted); font-size: 13px; }
.ac-done-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ac-line); background: transparent; color: var(--ac-text); font: inherit; cursor: pointer; }
.ac-done-btn[aria-pressed="true"] { border-color: var(--ac-violet); background: rgba(139, 108, 255, .18); color: #d9ceff; }
.ac-content { padding: 0 12px; }
.ac-content .ac-block { margin: 12px 0; }
.ac-content img { max-width: 100%; height: auto; border-radius: 12px; }
.ac-content figcaption { color: var(--ac-muted); font-size: 13px; margin-top: 4px; }
.ac-pdf iframe { width: 100%; height: 70vh; max-height: 640px; border: 1px solid var(--ac-line); border-radius: 12px; background: #fff; }
.ac-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.ac-ratio .ac-frame, .ac-ratio .ac-vdo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ac-block > .ac-html { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #fff; }
.ac-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 10, 26, .96); border-top: 1px solid var(--ac-line); }
.ac-bottom .btn { flex: 1; justify-content: center; }
@media (min-width: 1024px) { .ac-bottom { position: static; background: none; border: 0; padding: 12px; } }
.ac-res { list-style: none; padding: 0; margin: 0; }
.ac-res li a, .ac-res li button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px; border: 1px solid var(--ac-line); border-radius: 12px; margin: 0 0 8px; background: var(--ac-card); color: var(--ac-text); text-decoration: none; font: inherit; cursor: pointer; text-align: left; }
.ac-type { width: 42px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--ac-violet); color: #fff; font-size: 11px; font-weight: 800; flex: none; }
/* prompts tab */
.ac-prompt { border: 1px solid var(--ac-line); border-radius: 16px; background: var(--ac-card); padding: 14px; }
.ac-prompt-top { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.ac-pn { padding: 2px 10px; border-radius: 999px; background: var(--ac-saffron); color: #1a0d03; font-size: 12px; font-weight: 800; }
.ac-pk { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--ac-line); font-size: 12px; }
.ac-prompt pre { white-space: pre-wrap; word-break: break-word; background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; padding: 12px; font-family: inherit; font-size: 14px; line-height: 1.5; margin: 8px 0 12px; }
.ac-prompt-acts { display: flex; gap: 8px; }
.ac-prompt-acts .btn { flex: 1; justify-content: center; }
.ac-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0; align-items: center; }
.ac-dots button.dot { width: 10px; height: 10px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: var(--ac-line); cursor: pointer; }
.ac-dots button.dot[aria-current="true"] { background: var(--ac-saffron); }
/* Q&A */
.ac-ask textarea { width: 100%; min-height: 84px; background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; color: var(--ac-text); padding: 10px; font: inherit; }
.ac-ask-row { display: flex; gap: 8px; justify-content: space-between; margin: 8px 0 14px; }
.ac-ts { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ac-line); background: transparent; color: var(--ac-saffron-t); font: inherit; cursor: pointer; }
.ac-ts[aria-pressed="true"] { border-color: var(--ac-saffron); }
.ac-q { border: 1px solid var(--ac-line); border-radius: 16px; background: var(--ac-card); padding: 12px; margin: 0 0 10px; }
.ac-q-head { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ac-muted); flex-wrap: wrap; }
.ac-q-head b { color: var(--ac-text); }
.ac-q p { margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ac-ans { border-left: 3px solid var(--ac-violet); padding: 6px 10px; margin: 8px 0; background: var(--ac-panel); border-radius: 0 10px 10px 0; }
.ac-creator-badge { padding: 1px 6px; border-radius: 6px; background: var(--ac-saffron); color: #1a0d03; font-size: 10px; font-weight: 800; }
.ac-vote { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ac-line); background: transparent; color: var(--ac-text); font: inherit; cursor: pointer; }
.ac-vote[aria-pressed="true"] { border-color: var(--ac-violet); background: rgba(139, 108, 255, .18); }
.ac-q-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ac-linkbtn { background: none; border: 0; color: var(--ac-muted); font: inherit; font-size: 12px; cursor: pointer; min-height: 32px; text-decoration: underline; }
/* buy sheet (AC5) and dialogs */
.ac-sheet { border: 0; padding: 0; background: transparent; color: var(--ac-text); max-width: 100%; width: 100%; margin: auto auto 0; }
.ac-sheet::backdrop { background: rgba(0, 0, 0, .6); }
.ac-sheet-in { background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; }
@media (min-width: 720px) { .ac-sheet { width: 460px; margin: auto; } .ac-sheet-in { border-radius: 24px; } }
.ac-sheet h2 { margin: 0 0 10px; font-size: 20px; }
.ac-sum { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--ac-card); margin: 0 0 12px; }
.ac-sum img { width: 72px; height: 40px; object-fit: cover; border-radius: 8px; }
.ac-coupon { display: flex; gap: 8px; margin: 8px 0; }
.ac-coupon .input { flex: 1; min-height: 44px; border-radius: 999px; background: var(--ac-card); border-color: var(--ac-line); color: var(--ac-text); }
.ac-benefits { list-style: none; padding: 0; margin: 12px 0; }
.ac-benefits li { display: flex; gap: 8px; margin: 6px 0; font-size: 14px; }
.ac-benefits .ico { color: var(--ac-violet); flex: none; }
.ac-x { position: absolute; right: 12px; top: 12px; }
.ac-toastline { color: var(--ac-muted); font-size: 13px; min-height: 18px; }
/* lesson player, AC4 */
.ac-page:has(.ac-player) .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
.ac-video .ac-ov { background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 30%, transparent 70%, rgba(0, 0, 0, .55)); }
.ac-video.is-playing .ac-ov, .ac-video.is-playing .ac-poster { display: none; }
.ac-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ac-big-play { width: 64px !important; height: 64px !important; background: var(--ac-saffron) !important; color: #1a0d03 !important; }
.ac-ov-mid .ac-round[disabled] { opacity: .35; cursor: default; }
.ac-ov-mid.muted { width: 80%; text-align: center; }
.ac-fs { background: none; border: 0; color: #fff; min-width: 32px; min-height: 32px; cursor: pointer; vertical-align: middle; }
.ac-ov-bot { align-items: center; }
.ac-lockbox .ico { color: var(--ac-saffron-t); }
.ac-lockbox p { margin: 10px 0 14px; }
.ac-outline .ac-lessons a.is-current { background: rgba(255, 138, 61, .1); border-radius: 10px; }
.ac-outline .ac-lessons a.is-current .ac-num { background: var(--ac-saffron); color: #1a0d03; }
.ac-outline .ac-lessons a[data-done] .ac-num { background: rgba(139, 108, 255, .25); color: #d9ceff; }
.ac-lm .ac-playing { margin-left: 6px; }
.ac-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--ac-card); font-size: 11px; color: var(--ac-muted); }
.ac-side-back { display: flex; gap: 6px; align-items: center; color: var(--ac-text); font-weight: 700; text-decoration: none; padding: 4px 0 10px; }
.ac-side-prog { margin: 0 0 12px; }
.ac-side .ac-box { margin: 0 0 10px; }
.ac-main { min-width: 0; }
.ac-finished { margin: 12px; border-color: var(--ac-violet); }
.ac-finished p { margin: 4px 0 10px; }
.ac-prompts .ac-dots .ac-round { position: static; width: 36px; height: 36px; background: var(--ac-card); }
.ac-res .ac-lt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .ac-player .ac-tab-lessons, .ac-player #ac-p-lessons { display: none; }
  .ac-page:has(.ac-player) .toast { bottom: 26px; }
}
.ac-player .ac-tabs { gap: 0; scrollbar-width: none; }
.ac-player .ac-tabs::-webkit-scrollbar { display: none; }
.ac-player .ac-tabs { margin: 14px 4px 0; }
.ac-player .ac-tabs [role="tab"] { flex: 1 1 auto; padding: 0 6px; font-size: 14px; }
.ac-player .ac-count { min-width: 18px; padding: 0 5px; margin-left: 2px; }
@media (min-width: 1024px) { .ac-player .ac-tabs { margin: 14px 12px 0; } .ac-player .ac-tabs [role="tab"] { flex: none; padding: 0 14px; font-size: 15px; } }
/* buy sheet, AC5 */
.ac-sheet-in { position: relative; }
.ac-sheet .ac-x { position: absolute; }
.ac-cp { margin: 8px 0; }
.ac-cp summary { cursor: pointer; color: var(--ac-saffron-t); font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.ac-sheet .field { display: block; margin: 8px 0; }
.ac-sheet .field span { display: block; font-size: 13px; color: var(--ac-muted); margin: 0 0 4px; }
.ac-sheet .field .input { width: 100%; min-height: 44px; border-radius: 12px; background: var(--ac-card); border: 1px solid var(--ac-line); color: var(--ac-text); padding: 0 12px; font: inherit; }
.ac-sheet h2 { padding-right: 48px; }
/* Q&A, AC6 */
.ac-avatar-sm { width: 28px; height: 28px; font-size: 11px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ac-violet); color: #fff; font-weight: 800; flex: none; }
.ac-answered { color: #86efac; font-size: 12px; font-weight: 700; }
.ac-held { color: var(--ac-saffron-t); font-size: 12px; }
.ac-pill-pin { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--ac-saffron); color: var(--ac-saffron-t); font-size: 11px; font-weight: 700; }
.ac-q textarea.ac-edit { width: 100%; min-height: 84px; background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; color: var(--ac-text); padding: 10px; font: inherit; margin: 8px 0 0; }
.ac-notices { margin: 12px 0; }
.ac-notice { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--ac-violet); border-radius: 14px; background: var(--ac-panel); color: var(--ac-text); text-decoration: none; margin: 0 0 8px; }
.ac-notice .ico { color: var(--ac-violet); flex: none; }
/* AC8: desktop header row, focus, motion */
@media (min-width: 1024px) {
  .ac-player .ac-main { display: flex; flex-direction: column; }
  .ac-player .ac-bottom { order: -1; justify-content: flex-end; padding: 0 0 12px; }
  .ac-player .ac-bottom .btn { flex: none; }
}
.ac-page :focus-visible { outline: 2px solid var(--ac-saffron); outline-offset: 2px; border-radius: 10px; }
.ac-page .ac-round:focus-visible, .ac-page .dot:focus-visible { border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .ac-page *, .ac-page *::before, .ac-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
