:root {
  color-scheme: dark;
  --bg: #020d18; --surface: rgba(5, 21, 37, .9); --surface-deep: #061321;
  --text: #f5f4f3; --muted: #b9c8da; --subtle: #91a4b9; --line: #194b6b;
  --accent: #85d9ff; --accent-strong: #45bdff; --button-text: #041522;
  --photo: url('assets/photo-cinema.webp'); --painting: url('assets/paint-cinema.webp');
  --glow: rgba(31, 148, 236, .18); --card-radius: 15px; --button-radius: 999px;
  --font-display: Georgia, 'Times New Roman', serif; --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
:root[data-theme="matiere"] {
  --bg: #090c0b; --surface: rgba(17, 18, 16, .95); --surface-deep: #151714; --text: #f5efea;
  --muted: #d0c7bf; --subtle: #afa49a; --line: #58412f; --accent: #ffb879; --accent-strong: #ed994e;
  --button-text: #1d1008;
  --photo: url('assets/photo-matiere.webp'); --painting: url('assets/paint-matiere.webp'); --glow: rgba(196, 100, 45, .13);
}
:root[data-theme="studio"] {
  --bg: #172127; --surface: #151f25; --surface-deep: #10191e; --text: #f4f2ef; --muted: #b6c0c7; --subtle: #8a9aa4;
  --line: #2c3b44; --accent: #dff9fa; --accent-strong: #27dbea; --button-text: #10191e;
  --photo: url('assets/photo-studio.webp'); --painting: url('assets/paint-studio.webp'); --glow: rgba(63, 137, 152, .12); --card-radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); transition: background .25s, color .25s; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: not-allowed; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.symbols, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; background: var(--accent); color: #071015; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-shell { min-height: 100vh; max-width: 1800px; margin: 0 auto; }
.page { min-width: 0; overflow: hidden; background: radial-gradient(ellipse at 18% 52%, var(--glow), transparent 43%), var(--bg); }
.side-nav { display: none; }
.topbar { height: 72px; display: flex; align-items: center; gap: 42px; padding: 0 3.5%; border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent); position: relative; z-index: 2; background: color-mix(in srgb, var(--bg) 86%, transparent); }
.brand, .side-brand, .footer-brand { font-family: var(--font-display); letter-spacing: .3em; font-size: 25px; line-height: 1; white-space: nowrap; }
.brand, .side-brand { display: block; flex: 0 0 auto; line-height: 0; }
.agraw-mark { position: relative; display: block; width: 155px; aspect-ratio: 1585 / 313; }
.agraw-mark::before, .agraw-mark::after { content: ''; position: absolute; inset: 0; display: block; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.agraw-mark::before { background: var(--logo-letters, #f5f7fa); -webkit-mask-image: url('assets/agraw-word-mask.png'); mask-image: url('assets/agraw-word-mask.png'); }
.agraw-mark::after { background: var(--logo-accent, #56cfff); -webkit-mask-image: url('assets/agraw-r-accent-mask.png'); mask-image: url('assets/agraw-r-accent-mask.png'); }
:root[data-theme="matiere"] { --logo-letters: #fff1df; --logo-accent: #f99b48; }
:root[data-theme="studio"] { --logo-letters: #eef7f7; --logo-accent: #29dbe6; }
.side-brand .agraw-mark { width: 112px; }
.footer-brand .agraw-mark { width: 110px; }
:root[data-theme="matiere"] .brand { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 34px; white-space: nowrap; color: var(--muted); font-size: 14px; }
.main-nav a, .side-link, .about-link { transition: color .2s; }
.main-nav a:hover, .about-link:hover { color: var(--accent); }
.theme-picker { margin-left: auto; display: flex; align-items: center; gap: 3px; white-space: nowrap; border: 1px solid var(--line); background: rgba(3, 10, 16, .36); border-radius: 999px; padding: 4px; }
.theme-caption { color: var(--subtle); font-size: 9px; letter-spacing: .13em; padding: 0 7px 0 10px; font-weight: 700; }
.theme-button { border: 0; background: transparent; border-radius: 999px; padding: 7px 11px; cursor: pointer; color: var(--muted); font-size: 12px; }
.theme-button:hover { color: var(--text); }
.theme-button[aria-pressed="true"] { color: var(--button-text); background: var(--accent); font-weight: 700; }
.hero { position: relative; }
.hero-art { display: block; width: 100%; height: auto; }
.hero-content { position: absolute; top: 50%; left: 3.5%; transform: translateY(-50%); max-width: min(880px, 90%); }
.hero-content h1, .hero-content .hero-subtitle { text-shadow: 0 2px 15px #0009; }
.eyebrow, .overline { font-weight: 700; font-size: 10px; letter-spacing: .18em; color: var(--accent); margin: 0 0 16px; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow .eyebrow-line { width: 25px; height: 1px; background: currentColor; }
.eyebrow .heritage-mark { color: var(--accent); font-size: 19px; line-height: 1; font-weight: 400; letter-spacing: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-family: var(--font-display); font-size: clamp(49px, 5.1vw, 77px); letter-spacing: -.045em; line-height: .99; font-weight: 400; margin: 0 0 15px; }
h1 .hero-line { display: block; }
h1 em { color: var(--accent); font-style: normal; }
:root[data-theme="matiere"] h1 .hero-line { display: inline; }
:root[data-theme="matiere"] h1 em { display: block; }
:root[data-theme="studio"] h1 .hero-line, :root[data-theme="studio"] h1 em { display: inline; }
.hero-subtitle { font-size: clamp(18px, 1.6vw, 24px); color: #e7edf1; margin: 0 0 23px; line-height: 1.35; }
.hero-button, .app-action { display: inline-flex; align-items: center; justify-content: center; gap: 20px; color: var(--button-text); background: var(--accent); border: 1px solid var(--accent); border-radius: var(--button-radius); font-weight: 650; transition: transform .2s, filter .2s, background .2s; }
.hero-button { min-height: 47px; padding: 0 23px; font-size: 14px; box-shadow: 0 8px 25px var(--glow); }
.hero-button:hover, .app-action:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-button svg, .app-action svg, .about-link svg { width: 18px; height: 18px; stroke-width: 1.8; }
.app-section { padding: 0 2.2% 15px; scroll-margin-top: 20px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; padding: 0 2px 13px; }
.section-intro .overline { margin-bottom: 5px; }
.section-intro h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; font-size: 25px; margin: 0; }
.section-intro > p { color: var(--subtle); font-size: 12px; margin: 0 0 3px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 13px; min-width: 0; box-shadow: 0 16px 28px rgba(0,0,0,.14); }
:root[data-theme="cinema"] .app-card:first-child { border-color: #3d9ddb; box-shadow: 0 8px 24px rgba(15, 132, 207, .2); }
.card-heading { min-height: 58px; display: flex; align-items: center; gap: 13px; padding: 0 5px 12px; }
.app-icon { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.app-icon svg { width: 25px; height: 25px; }
.icon-photo { background: linear-gradient(140deg, #39c8ff, #075aca 65%, #5b46df); color: white; }
.icon-paint { background: linear-gradient(135deg,#3ddab4,#238df7 52%,#ff8e5d 82%,#ffcf5c); color: white; }
.icon-text { background: linear-gradient(145deg,#e5fbfe,#69c8f4); color: #16476c; }
:root[data-theme="matiere"] .icon-photo { background: linear-gradient(140deg,#225f64,#346c66); color: #ffb76e; }
:root[data-theme="matiere"] .icon-paint { background: linear-gradient(135deg,#29201b,#0f3640); color: #ffb56b; }
:root[data-theme="matiere"] .icon-text { background: #f3dcc1; color: #24211c; }
:root[data-theme="studio"] .app-icon { background: transparent; border: 2px solid currentColor; box-shadow: none; border-radius: 8px; }
:root[data-theme="studio"] .icon-photo { color: #20e3e8; }
:root[data-theme="studio"] .icon-paint { color: #ffb240; }
:root[data-theme="studio"] .icon-text { color: #ac78ff; }
.card-name { min-width: 0; }
.card-name h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; font-size: clamp(23px, 2.1vw, 30px); line-height: 1; margin: 0 0 3px; }
.card-name p { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.card-tagline { margin: 0 0 0 auto; color: var(--muted); font-size: 11px; line-height: 1.5; min-width: 90px; }
.editor-preview { height: clamp(224px, 20vw, 300px); min-width: 0; background: #111c24; border: 1px solid #324755; border-radius: 8px; overflow: hidden; color: #d6e0e7; }
.editor-top { height: 29px; display: flex; align-items: center; gap: 7px; padding: 0 8px; background: #1b2935; border-bottom: 1px solid #2b3a46; color: #d5e2eb; font-size: 8px; }
.editor-top strong { font-weight: 500; letter-spacing: .02em; }
.editor-top .editor-controls { margin-left: auto; opacity: .74; white-space: nowrap; }
.tiny-logo { color: #78d7ff; font-size: 12px; }
.paint-tiny { color: #ffc16c; }
.editor-inner { display: flex; height: calc(100% - 29px); }
.tool-rail { width: 24px; flex: 0 0 24px; padding: 6px 0; background: #172631; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-size: 12px; color: #cadbe4; }
.art { min-width: 0; flex: 1; background-size: cover; background-position: center; }
.photo-art { background-image: var(--photo); }
.paint-art { background-image: var(--painting); }
.preview-panel { flex: 0 0 26%; max-width: 130px; padding: 7px; background: #17242e; color: #c7d4dd; overflow: hidden; }
.panel-title { margin: 0 0 7px; color: #e6edf2; font-size: 8px; font-weight: 600; }
.panel-title span, .panel-option span { float: right; }
.panel-option { background: #273743; border-radius: 3px; padding: 4px; margin-bottom: 6px; font-size: 7px; }
.layer { min-height: 26px; display: flex; align-items: center; gap: 5px; padding: 2px 3px; font-size: 7px; white-space: nowrap; }
.layer.active { background: #203d5a; border-radius: 3px; }
.layer i { font-style: normal; font-size: 8px; }
.layer-thumb { background-image: var(--photo); background-size: cover; height: 19px; width: 22px; border: 1px solid #576b75; }
.layer:nth-of-type(4) .layer-thumb { background-position: top; }
.more { border-top: 1px solid #39464c; margin-top: 9px; padding-top: 8px; }
.small-line { display: flex; align-items: center; gap: 4px; justify-content: space-between; font-size: 7px; margin-top: 8px; }
.small-line b { display: block; height: 2px; width: 46%; background: linear-gradient(90deg, var(--accent-strong) 70%, #56626b 70%); position: relative; }
.small-line b::after { content: ''; position: absolute; left: 65%; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #d9e4e8; }
.stroke { position: relative; width: 90%; height: 21px; margin: 3px auto; border-radius: 5px; background: #263641; }
.stroke::after { content: ''; position: absolute; left: 12%; top: 7px; width: 75%; height: 6px; border-top: 3px solid #d4dfe3; border-radius: 60%; transform: rotate(-3deg); }
.stroke-b::after { border-top-width: 5px; transform: rotate(3deg); }
.stroke-c::after { border-top-width: 7px; }
.color-wheel { width: min(52px, 80%); aspect-ratio: 1; margin: 6px auto; border-radius: 50%; background: conic-gradient(red, #ffdc00, #27e149, #00d6ec, #294dff, #e431e8, red); display: grid; place-items: center; }
.color-wheel span { width: 55%; height: 55%; background: radial-gradient(circle at top left, #fff, #424242 50%, #000); border-radius: 50%; }
.swatches { display: flex; gap: 4px; justify-content: center; }
.swatches i { width: 10px; height: 10px; border-radius: 2px; background: #ffc96b; }.swatches i:nth-child(2) { background:#25bbdc; }.swatches i:nth-child(3) { background:#6194ef; }.swatches i:nth-child(4) { background:#e7696b; }.swatches i:nth-child(5) { background:#eee3ca; }
.writing-body { display: flex; height: calc(100% - 29px); background: #21313d; }
.writing-nav { width: 23%; flex: 0 0 23%; padding: 10px 4px; background: #182632; color: #cfdae3; font-size: 7px; }
.writing-nav p { padding: 0 3px; color: #93a7b5; font-size: 7px; }
.writing-nav div { padding: 7px 4px; white-space: nowrap; overflow: hidden; }
.write-selected { background: #244765; border-radius: 3px; }
.paper { background: #f5f1ec; color: #1b2530; flex: 1; margin: 0 10px; padding: 22px 9% 0; overflow: hidden; font-family: var(--font-display); }
.paper h4 { font-weight: 400; font-size: clamp(16px, 1.7vw, 24px); line-height: 1.13; letter-spacing: -.03em; margin: 0 0 9px; }
.paper-rule { width: 32px; height: 1px; background: #9db5be; margin-bottom: 14px; }
.paper p { font-size: clamp(8px, .75vw, 10px); line-height: 1.6; margin-bottom: 10px; }
.paper-image { height: 95px; background: var(--photo) center 45% / cover; }
.card-bottom { padding-top: 12px; }
.app-action { width: 100%; min-height: 46px; font-size: 13px; cursor: pointer; }
.app-action.unavailable { color: var(--muted); border-color: var(--line); background: rgba(31, 55, 72, .46); opacity: .85; }
.app-action.unavailable span { font-size: 18px; line-height: 0; }
:root[data-theme="matiere"] .app-action { width: auto; min-width: 168px; padding: 0 23px; font-family: var(--font-display); font-size: 14px; }
:root[data-theme="matiere"] .card-bottom { text-align: center; }
:root[data-theme="matiere"] .app-action.unavailable { background: #241c17; }
:root[data-theme="studio"] .app-action { width: auto; min-width: 150px; padding: 0 20px; min-height: 39px; }
:root[data-theme="studio"] .app-action.unavailable { background: #1f2a2f; }
:root[data-theme="studio"] .paint-card .app-action { background: #ffb952; border-color: #ffb952; color: #1c1306; }
.apps-footnote { margin: 14px 3px 0; text-align: right; color: var(--subtle); font-size: 11px; }
.apps-footnote span { color: var(--accent); margin-left: 6px; }
.icon-pdf { background: #f8f3e9; padding: 4px; }
.icon-pdf img { display: block; width: 100%; height: auto; }
:root[data-theme="studio"] .icon-pdf { background: #f8f3e9; border: 0; }
.pdf-tiny { color: #75d8db; }
.pdf-editor-body { height: calc(100% - 29px); display: flex; background: #dfeaf0; }
.pdf-editor-sidebar { flex: 0 0 18%; padding: 10px 7px; color: #d9e7ef; background: #1c2d3a; font-size: 8px; }
.pdf-page-thumb { margin: 9px auto 0; width: min(38px, 90%); height: 48px; display: grid; place-items: end center; padding: 3px; color: #4e6a7c; background: #f7fafc; border: 2px solid #69c9ed; border-radius: 2px; }
.pdf-page-thumb.muted { border-color: #637884; opacity: .6; }
.pdf-editor-page { align-self: stretch; flex: 1; min-width: 0; margin: 12px auto 0; padding: 11px 12px; max-width: 78%; background: #fff; box-shadow: 0 2px 10px #3a52602a; overflow: hidden; }
.pdf-page-content { padding: 12px 8px; color: #3a617b; font-size: 8px; }
.pdf-page-content i { display: block; height: 4px; margin-top: 8px; border-radius: 3px; background: #d8e4ec; }
.pdf-page-content i:last-child { width: 63%; }
.pdf-preview { display: block; position: relative; container-type: inline-size; width: 100%; min-width: 0; aspect-ratio: 4 / 1; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; background: #fbfdfe; }
.pdf-preview .pdf-banner-art { display: block; position: absolute; top: 0; right: 0; width: 75%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%); mask-image: linear-gradient(to right, transparent, #000 14%); }
.pdf-banner-mask { position: absolute; left: 27.25%; top: 13.5%; width: 36%; height: 54%; background: linear-gradient(90deg, #fbfdfe 0%, #fbfdfe 78%, rgba(251,253,254,0) 100%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); }
.pdf-banner-button-mask { position: absolute; left: 27.25%; top: 60%; width: 31.5%; height: 32%; background: linear-gradient(90deg, #fbfdfe 0%, #fbfdfe 78%, rgba(251,253,254,0) 100%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); }
.pdf-preview .pdf-banner-logo { position: absolute; z-index: 1; top: 2.4%; left: 5.6%; width: 11.8%; height: auto; filter: url(#pdfk-banner-palette); }
.pdf-banner-kicker { position: absolute; top: 18%; left: 5.6%; color: #8199b9; font: 700 1.45cqw/1.1 var(--font-ui); letter-spacing: .2em; white-space: nowrap; }
.pdf-banner-title { position: absolute; top: 37%; left: 5.6%; color: #17316c; font: 700 3.45cqw/1.25 var(--font-ui); letter-spacing: -.045em; white-space: nowrap; }
.pdf-banner-title span, .pdf-banner-title em { display: block; }
.pdf-banner-title em { color: #08c2c1; font-style: italic; }
/* Selwali opens the existing player and keeps its current access settings. */
.selwali-card { margin-top: 14px; min-width: 0; }
.selwali-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 42%); min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: radial-gradient(ellipse at 78% 50%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 49%), #071621; }
.selwali-copy { position: relative; z-index: 1; padding: clamp(22px, 3vw, 42px); align-self: center; }
.selwali-kicker { margin: 0 0 4px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.selwali-wordmark { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 4px 0 12px; color: #f5fbff; font: 700 clamp(30px, 3vw, 43px)/1.1 var(--font-ui); letter-spacing: -.035em; }
.selwali-logo-variants { display: block; flex: 0 0 82px; width: 82px; height: 72px; }
.selwali-wordmark img { display: none; width: 100%; height: 100%; object-fit: contain; }
:root[data-theme="cinema"] .selwali-logo-cinema,
:root[data-theme="matiere"] .selwali-logo-matiere,
:root[data-theme="studio"] .selwali-logo-studio { display: block; }
.selwali-description { margin: 0 0 18px; color: #d5e1e6; font-size: 14px; letter-spacing: .025em; }
.selwali-action { display: inline-flex; align-items: center; gap: 20px; min-height: 42px; padding: 0 19px; border: 1px solid var(--accent); border-radius: var(--button-radius); background: var(--accent); color: var(--button-text); font-size: 13px; font-weight: 650; transition: transform .2s, filter .2s; }
.selwali-action svg { width: 17px; height: 17px; }
.selwali-feature:hover .selwali-action { transform: translateY(-2px); filter: brightness(1.08); }
.selwali-access { display: inline-block; margin-left: 14px; color: #c4d0d5; font-size: 11px; }
.selwali-visual { display: flex; align-items: center; justify-content: center; min-width: 0; color: var(--accent); }
.selwali-visual svg { display: block; width: 100%; max-width: 500px; height: auto; overflow: visible; }
.selwali-orbit { stroke: currentColor; stroke-width: 1; opacity: .23; }
.selwali-orbit.inner { opacity: .35; }
.selwali-wave { stroke: currentColor; stroke-width: 2; opacity: .86; }
.selwali-wave.soft { stroke-width: 1.1; opacity: .27; }
.selwali-play-disc { fill: #0a2634; stroke: currentColor; stroke-width: 1.3; }
.selwali-play-shape { fill: currentColor; stroke: none; }
:root[data-theme="matiere"] .selwali-feature { background-color: #191410; }
:root[data-theme="studio"] .selwali-feature { background-color: #101e22; }
@media (max-width:800px) {
  .selwali-feature { grid-template-columns: minmax(0, 1fr) minmax(120px, 35%); min-height: 215px; }
  .selwali-copy { padding: 22px; }
  .selwali-wordmark { gap: 10px; }
  .selwali-logo-variants { flex-basis: 64px; width: 64px; height: 56px; }
  .selwali-access { display: block; margin: 10px 0 0; }
  .selwali-visual svg { width: 160%; max-width: none; flex: 0 0 160%; }
}
@media (max-width:450px) {
  .selwali-feature { grid-template-columns: minmax(0, 1fr) 90px; }
  .selwali-copy { padding: 18px; }
  .selwali-kicker { font-size: 9px; }
  .selwali-description { font-size: 12px; margin-bottom: 12px; }
  .selwali-visual svg { width: 210%; flex-basis: 210%; }
}
.more-section { padding: 32px 2.2% 0; scroll-margin-top: 20px; }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.more-card .card-name h3 { font-size: clamp(22px, 2vw, 29px); }
.icon-game { background: linear-gradient(145deg, #377b74, #153d3d); color: #f7d080; }
.icon-book { background: linear-gradient(145deg, #c28753, #78502f); color: #fff0d8; }
:root[data-theme="studio"] .icon-game { color: #69d4b5; }
:root[data-theme="studio"] .icon-book { color: #eab16b; }
.more-visual { display: flex; align-items: center; height: 245px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #091722; }
.game-visual > img { display: block; width: 61%; height: 100%; object-fit: contain; background: #07101a; }
.more-visual-copy { flex: 1; min-width: 0; padding: 18px; }
.more-visual-copy .overline { display: block; margin: 0 0 12px; }
.more-visual-copy h4 { margin: 0 0 8px; font: 400 clamp(24px, 2.7vw, 38px)/1 var(--font-display); letter-spacing: -.025em; }
.more-visual-copy p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 0 18px; }
.mini-note { color: var(--subtle); display: block; font-size: 11px; line-height: 1.5; }
.dictionary-visual { justify-content: center; background: radial-gradient(circle at 28% 45%, #4e4a37, transparent 48%), #18211f; }
.book-image { flex: 0 0 52%; display: flex; justify-content: center; height: 100%; padding: 15px; }
.book-image img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; transform: rotate(180deg); box-shadow: 0 12px 30px #0008; }
:root[data-theme="matiere"] .game-visual { background: #131711; }
:root[data-theme="matiere"] .dictionary-visual { background: radial-gradient(circle at 28% 45%, #554432, transparent 50%), #1a1814; }
:root[data-theme="studio"] .more-section { padding-left: 1.8%; padding-right: 1.8%; }
:root[data-theme="studio"] .icon-game, :root[data-theme="studio"] .icon-book { background: transparent; border: 2px solid currentColor; box-shadow: none; border-radius: 8px; }
.about { margin: 72px 3.5% 0; padding: 40px 0 38px; border-top: 1px solid var(--line); }
.about-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.about-mark { width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 35px; font-family: sans-serif; }
.about-heading .overline { margin-bottom: 8px; }
.about h2 { font-family: var(--font-display); font-size: clamp(27px, 2.6vw, 36px); font-weight: 400; margin: 0; }
.about-columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); gap: clamp(35px, 7vw, 110px); align-items: start; max-width: 1250px; }
.about-language { max-width: 70ch; }
.about-language p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0 0 19px; }
.about-language p:last-child { margin-bottom: 0; }
.about-language strong { color: var(--text); }
.about-verse { margin: 0; padding: 7px 0 7px 26px; border-left: 2px solid var(--accent); }
.about-verse figcaption { color: var(--subtle); font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.about-verse figcaption strong { color: var(--accent); font-weight: 650; }
.about-verse blockquote { margin: 0; }
.about-verse blockquote p { margin: 0; color: var(--text); font-family: var(--font-display); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.8; }
.about-link { display: inline-flex; gap: 13px; align-items: center; margin-top: 28px; color: var(--accent); white-space: nowrap; font-size: 13px; }
footer { display: flex; align-items: center; gap: 24px; padding: 22px 3.5% 30px; border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); color: var(--subtle); font-size: 11px; }
.footer-brand { font-size: 15px; color: var(--text); }
footer > span:last-child { margin-left: auto; }
:root[data-theme="studio"] .page { background: #0e171c; }
.side-brand { font-size: 21px; letter-spacing: .08em; padding: 0 24px 34px; }
.side-divider { height: 1px; background: #263239; margin: 0 18px 15px; }
.side-link { display: flex; align-items: center; gap: 16px; padding: 13px 21px; color: #c2cbd0; font-size: 11px; border-left: 2px solid transparent; }
.side-link svg { width: 17px; height: 17px; }
.side-link:hover, .side-link.current { background: #17252b; color: #fff; border-left-color: #32e4e8; }
.side-spacer { flex: 1; }
.side-caption { color: #657b85; font-size: 8px; letter-spacing: .1em; padding: 20px; }
:root[data-theme="studio"] .topbar { height: 65px; border: 0; background: #0f181d; }
:root[data-theme="studio"] h1 { font-size: clamp(42px, 4.5vw, 65px); }
:root[data-theme="studio"] .hero-subtitle { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); }
:root[data-theme="studio"] .hero-button { background: #f9f4ea; color: #15191a; border-color: #f9f4ea; }
:root[data-theme="studio"] .app-section { padding-left: 1.8%; padding-right: 1.8%; }
:root[data-theme="studio"] .app-card { padding: 10px; }
:root[data-theme="studio"] .card-tagline { font-family: var(--font-display); }
:root[data-theme="studio"] .editor-preview { height: clamp(210px, 19vw, 275px); }
@media (max-width: 1100px) {
  .topbar { gap: 24px; }
  .main-nav { gap: 20px; }
  .card-tagline { display: none; }
  .card-heading { gap: 10px; }
  .paper { padding-left: 7%; padding-right: 7%; }
}
@media (max-width: 800px) {
  .topbar { min-height: 64px; height: auto; flex-wrap: wrap; padding: 14px 5%; gap: 15px; }
  .brand { font-size: 22px; }
  .main-nav { margin-left: auto; font-size: 12px; }
  .theme-picker { order: 3; margin-left: 0; width: 100%; justify-content: center; }
  .theme-caption { margin-right: auto; }
  .theme-button { flex: 1; }
  .hero-content { position: relative; top: auto; left: auto; transform: none; max-width: none; padding: 24px 5% 38px; }
  h1 { font-size: clamp(43px, 8.5vw, 66px); }
  .hero-subtitle { font-size: 18px; max-width: 300px; }
  .app-section { padding: 0 4% 10px; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .more-section { padding-left: 4%; padding-right: 4%; }
  .more-grid { grid-template-columns: 1fr; gap: 16px; }
  :root[data-theme="studio"] .more-section { padding-left: 4%; padding-right: 4%; }
  .app-card { padding: 13px; }
  .card-heading { min-height: 64px; }
  .card-tagline { display: block; }
  .editor-preview { height: clamp(250px, 58vw, 380px); }
  .preview-panel { max-width: none; }
  .paper h4 { font-size: clamp(20px, 5vw, 28px); }
  .paper p { font-size: 11px; }
  .about { margin-top: 42px; }
  .about-columns { grid-template-columns: 1fr; gap: 32px; }
  :root[data-theme="studio"] .topbar { height: auto; min-height: 64px; }
  :root[data-theme="studio"] .app-section { padding-left: 4%; padding-right: 4%; }
  :root[data-theme="studio"] .editor-preview { height: clamp(250px, 58vw, 380px); }
}
@media (max-width: 450px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 11px; }
  .brand { font-size: 18px; }
  .brand .agraw-mark { width: 120px; }
  h1, :root[data-theme="studio"] h1 { font-size: 42px; }
  .section-intro > p { font-size: 10px; }
  .card-tagline { min-width: 0; font-size: 10px; }
  .app-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .card-name h3 { font-size: 25px; }
  .card-name p { font-size: 11px; }
  .more-visual { height: 220px; }
  .more-visual-copy { padding: 12px; }
  .more-visual-copy h4 { font-size: 25px; }
  .more-visual-copy p, .mini-note { font-size: 10px; }
  .editor-preview, :root[data-theme="studio"] .editor-preview { height: 245px; }
  .preview-panel { flex-basis: 25%; padding: 5px; }
  .layer { gap: 3px; }
  .layer-thumb { width: 17px; }
  .paper { padding-top: 14px; }
  .paper p { font-size: 9px; }
  .about-mark { display: none; }
  footer { gap: 12px; flex-wrap: wrap; }
  footer > span:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Une vitrine plus lisible, qui grandit avec les applications d’Agraw. */
.app-section { padding-top: 34px; }
.section-intro { align-items: end; gap: 16px; padding: 0 3px 20px; }
.section-intro .overline { margin-bottom: 8px; letter-spacing: .21em; }
.section-intro h2 { font-size: clamp(29px, 2.5vw, 36px); }
.section-intro > p { font-size: 13px; }
.app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.app-grid .app-card { display: flex; flex-direction: column; padding: 14px; background: linear-gradient(155deg, color-mix(in srgb, var(--surface) 94%, var(--accent) 6%), var(--surface)); box-shadow: 0 14px 38px #0003; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.app-grid .app-card:hover, .app-grid .app-card:focus-within { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); box-shadow: 0 18px 40px #0005; transform: translateY(-3px); }
.app-grid .card-heading { min-height: 65px; gap: 11px; padding: 0 1px 13px; }
.app-grid .card-name h3 { font-size: clamp(23px, 1.9vw, 29px); }
.app-grid .card-name p { white-space: normal; line-height: 1.3; }
.app-grid .card-tagline { display: none; }
.app-grid .editor-preview, :root[data-theme="studio"] .app-grid .editor-preview { height: clamp(200px, 16vw, 260px); }
.app-grid .card-bottom { margin-top: auto; padding-top: 14px; }
.app-grid .app-action { min-height: 44px; }
.selwali-card { margin-top: 18px; }
.more-section { padding-top: 48px; }
.more-grid { gap: 16px; }
.more-card { transition: border-color .2s ease, box-shadow .2s ease; }
.more-card:hover, .more-card:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 16px 35px #0004; }
@media (max-width: 1150px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app-grid .editor-preview, :root[data-theme="studio"] .app-grid .editor-preview { height: clamp(240px, 25vw, 300px); } }
@media (max-width: 800px) { .app-section { padding-top: 22px; } .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app-grid .editor-preview, :root[data-theme="studio"] .app-grid .editor-preview { height: clamp(190px, 29vw, 240px); } .section-intro h2 { font-size: 28px; } }
@media (max-width: 560px) { .app-grid { grid-template-columns: minmax(0, 1fr); } .app-grid .editor-preview, :root[data-theme="studio"] .app-grid .editor-preview { height: clamp(230px, 60vw, 300px); } .app-grid .app-card { padding: 13px; } .more-section { padding-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .app-grid .app-card { transition: none; } }

/* Asnulfu : ardoise, turquoise et cuivre — un espace de création. */
:root[data-theme="studio"] {
  --bg: #09171b; --surface: #14262c; --surface-deep: #0b1b20;
  --text: #f1f5ef; --muted: #b3c9ca; --subtle: #809b9e; --line: #2d474c;
  --accent: #8de2d1; --accent-strong: #43c9b8; --button-text: #09211f;
  --logo-letters: #f1f5ef; --logo-accent: #dcaa72;
  --card-radius: 14px; --button-radius: 8px; --glow: #41beaa16;
}
:root[data-theme="studio"] .page { background: radial-gradient(ellipse at 5% 20%, #2f777719, transparent 40%), radial-gradient(ellipse at 90% 58%, #a7784810, transparent 40%), #09171b; }
:root[data-theme="studio"] .topbar { height: 82px; background: #0b1b20; border-bottom: 1px solid #3a5559; }
:root[data-theme="studio"] .topbar::after { content: ''; height: 2px; width: 155px; position: absolute; left: 3.5%; bottom: -1px; background: linear-gradient(90deg, #d5a976, #8de2d1); }
:root[data-theme="studio"] .main-nav { font-size: 13px; letter-spacing: .015em; }
:root[data-theme="studio"] .theme-picker { background: #071216; border-color: #31474a; border-radius: 10px; }
:root[data-theme="studio"] .theme-button { border-radius: 6px; padding: 8px 12px; }
:root[data-theme="studio"] .theme-button[aria-pressed="true"] { background: #8de2d1; box-shadow: 0 3px 14px #43c9b826; }
:root[data-theme="studio"] .hero { isolation: isolate; }
:root[data-theme="studio"] .hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, #08191d45, transparent 65%), linear-gradient(0deg, #09171b85, transparent 25%); }
:root[data-theme="studio"] .hero::after { content: ''; position: absolute; inset: auto 3.5% 0; height: 1px; background: linear-gradient(90deg, #cda36a, #83d8ca65 30%, transparent 80%); pointer-events: none; }
:root[data-theme="studio"] .hero-content { z-index: 1; max-width: min(850px, 91%); }
:root[data-theme="studio"] .eyebrow { color: #dcb78c; font-size: 9px; letter-spacing: .2em; margin-bottom: 19px; }
:root[data-theme="studio"] h1 { font-family: var(--font-ui); font-size: clamp(43px, 4.7vw, 73px); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; margin-bottom: 18px; }
:root[data-theme="studio"] h1 .hero-first, :root[data-theme="studio"] h1 .hero-line { display: block; }
:root[data-theme="studio"] h1 em { display: inline; color: #96e0cf; }
:root[data-theme="studio"] .hero-subtitle { font-family: var(--font-ui); font-size: clamp(16px, 1.5vw, 21px); color: #d0dfdd; letter-spacing: -.015em; }
:root[data-theme="studio"] .hero-button { background: #8de2d1; border-color: #b1f2df; color: #09211f; min-height: 46px; box-shadow: 0 8px 24px #050f1260; }
:root[data-theme="studio"] .hero-button svg { margin-left: 8px; }
:root[data-theme="studio"] .app-section { padding-top: 38px; padding-left: 3.5%; padding-right: 3.5%; }
:root[data-theme="studio"] .section-intro { padding-bottom: 23px; }
:root[data-theme="studio"] .section-intro h2 { font-family: var(--font-ui); font-size: 29px; font-weight: 600; letter-spacing: -.04em; }
:root[data-theme="studio"] .section-intro .overline { color: #d6ad7c; font-size: 9px; }
:root[data-theme="studio"] .app-grid { gap: 18px; }
:root[data-theme="studio"] .app-grid .app-card { --module-accent: #8de2d1; position: relative; padding: 17px 12px 12px; background: linear-gradient(160deg, #1e353b, #102228 70%); border-color: #345055; box-shadow: 0 10px 30px #0003, inset 0 1px #ffffff09; }
:root[data-theme="studio"] .app-grid .app-card::before { content: ''; position: absolute; left: 15px; top: -1px; right: 62%; height: 3px; background: var(--module-accent); border-radius: 0 0 4px 4px; }
:root[data-theme="studio"] .app-grid .paint-card { --module-accent: #e0ad6f; }
:root[data-theme="studio"] .app-grid .text-card { --module-accent: #b5abef; }
:root[data-theme="studio"] .app-grid .pdf-card { --module-accent: #e3b692; }
:root[data-theme="studio"] .app-grid .app-card:hover, :root[data-theme="studio"] .app-grid .app-card:focus-within { border-color: color-mix(in srgb, var(--module-accent) 65%, #345055); box-shadow: 0 18px 32px #0004, 0 0 0 1px #a3dfd00b; }
:root[data-theme="studio"] .app-grid .app-icon { width: 43px; height: 43px; flex-basis: 43px; border: 1px solid color-mix(in srgb, var(--module-accent) 70%, transparent); color: var(--module-accent); background: color-mix(in srgb, var(--module-accent) 9%, #0e2229); border-radius: 11px; box-shadow: inset 0 1px #ffffff0a; }
:root[data-theme="studio"] .app-grid .icon-pdf { background: #f4eedf; border: 0; }
:root[data-theme="studio"] .app-grid .card-name h3 { font-family: var(--font-ui); font-weight: 600; letter-spacing: -.04em; font-size: clamp(21px, 1.65vw, 27px); }
:root[data-theme="studio"] .app-grid .card-name p { color: #adc1c3; font-size: 11px; }
:root[data-theme="studio"] .app-grid .editor-preview { border-color: #436066; border-radius: 7px; }
:root[data-theme="studio"] .app-grid .app-action { width: 100%; border-radius: 7px; min-height: 42px; background: var(--module-accent); border-color: var(--module-accent); color: #102425; font-size: 12px; }
:root[data-theme="studio"] .app-grid .app-action.unavailable { background: #152b32; border-color: #3b555c; color: #9db3b7; }
:root[data-theme="studio"] .selwali-card { margin-top: 22px; }
:root[data-theme="studio"] .selwali-feature { border-color: #3d595b; background: radial-gradient(ellipse at 82% 35%, #57ae9e25, transparent 55%), linear-gradient(120deg, #152d33, #0e2227); }
:root[data-theme="studio"] .selwali-play-disc { fill: #17383c; }
:root[data-theme="studio"] .more-section { padding-left: 3.5%; padding-right: 3.5%; }
:root[data-theme="studio"] .more-card { background: #13292e; border-color: #345055; padding: 15px; }
:root[data-theme="studio"] .about { border-top-color: #476465; }
:root[data-theme="studio"] .about-mark { color: #d8ad7a; border-radius: 12px; border-color: #8f704e; background: #d5a66a09; }
:root[data-theme="studio"] .about h2 { font-family: var(--font-ui); font-weight: 550; letter-spacing: -.04em; }
:root[data-theme="studio"] .about-verse { border-color: #d8ad7a; }
:root[data-theme="studio"] .about-verse figcaption strong { color: #d8ad7a; }
:root[data-theme="studio"] footer { background: #071418; }
@media (max-width: 800px) {
  :root[data-theme="studio"] .topbar { height: auto; min-height: 72px; }
  :root[data-theme="studio"] .topbar::after { left: 5%; }
  :root[data-theme="studio"] .hero-content { max-width: none; }
  :root[data-theme="studio"] h1 { font-size: clamp(40px, 7.5vw, 61px); }
  :root[data-theme="studio"] .app-section, :root[data-theme="studio"] .more-section { padding-left: 4%; padding-right: 4%; }
  :root[data-theme="studio"] .app-grid { gap: 14px; }
}
@media (max-width: 450px) { :root[data-theme="studio"] .theme-button { padding-left: 7px; padding-right: 7px; } :root[data-theme="studio"] h1 { font-size: 40px; } :root[data-theme="studio"] .app-section { padding-top: 26px; } }

/* Recompose the approved banners in the existing box. The original grid,
   copy and hidden secondary line retain dimensions at every breakpoint. */
.selwali-feature { --selwali-ripple-color: #a3e6ff; --selwali-disc-bg: #001525f5; --selwali-shade: #00171e; --selwali-wave-filter: hue-rotate(32deg); isolation: isolate; }
:root[data-theme="matiere"] .selwali-feature { --accent: #ffcc8b; --button-text: #25170b; --selwali-ripple-color: #ffd19b; --selwali-disc-bg: #17120ff5; --selwali-shade: #19130f; --selwali-wave-filter: hue-rotate(234deg); }
:root[data-theme="studio"] .selwali-feature { --accent: #91f0dc; --button-text: #04252a; --selwali-ripple-color: #94f5e2; --selwali-disc-bg: #001b22f5; --selwali-wave-filter: none; }
.selwali-scenic-art { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 48%; z-index: -2; }
:root[data-theme="cinema"] .selwali-forest-art { display: block; object-position: 50% 0; }
:root[data-theme="matiere"] .selwali-sunset-art { display: block; object-position: 50% 42%; }
:root[data-theme="studio"] .selwali-coast-art { display: block; }
.selwali-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--selwali-shade) 90%, transparent) 0%, color-mix(in srgb, var(--selwali-shade) 72%, transparent) 24%, color-mix(in srgb, var(--selwali-shade) 22%, transparent) 48%, color-mix(in srgb, var(--selwali-shade) 2%, transparent) 72%); z-index: -1; pointer-events: none; }
.selwali-copy { z-index: 2; }
.selwali-kicker, .selwali-description { text-shadow: 0 1px 8px var(--selwali-shade); }
.selwali-access, .selwali-visual { visibility: hidden; }
.selwali-cinematic-visual { display: block; position: absolute; inset: 0; color: var(--selwali-ripple-color); pointer-events: none; --selwali-ripple-end: 3; }
.selwali-spectrum { position: absolute; left: 32%; top: 0; width: 68%; height: 100%; filter: var(--selwali-wave-filter); }
.selwali-play { position: absolute; left: 79.8%; top: 56%; width: clamp(52px, 5.3vw, 78px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.selwali-disc { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; border: 1.5px solid currentColor; border-radius: 50%; background: var(--selwali-disc-bg); box-shadow: 0 0 20px color-mix(in srgb, currentColor 22%, transparent); }
.selwali-disc svg { width: 47%; height: 47%; margin-left: 3%; fill: #fff6e8; stroke: none; }
.selwali-ripple { position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 50%; opacity: 0; box-shadow: 0 0 5px color-mix(in srgb, currentColor 20%, transparent); animation: selwali-expand 3.6s linear infinite; }
.selwali-ripple:nth-child(2) { animation-delay: -1.2s; }
.selwali-ripple:nth-child(3) { animation-delay: -2.4s; }
@keyframes selwali-expand {
  0% { transform: scale(1); opacity: 0; }
  7% { opacity: .65; }
  65% { opacity: .18; }
  100% { transform: scale(var(--selwali-ripple-end)); opacity: 0; }
}
@media (max-width: 800px) {
  .selwali-feature::before { background: linear-gradient(90deg, color-mix(in srgb, var(--selwali-shade) 95%, transparent), color-mix(in srgb, var(--selwali-shade) 55%, transparent) 49%, color-mix(in srgb, var(--selwali-shade) 10%, transparent)); }
}
@media (max-width: 450px) {
  .selwali-cinematic-visual { --selwali-ripple-end: 2.35; }
  .selwali-wordmark { margin-left: 0; }
  .selwali-play { left: 77%; }
}
@media (prefers-reduced-motion: reduce) {
  .selwali-ripple { animation: none; }
}

/* User-provided Tira marks retain their transparency and follow the theme. */
:root .app-icon.tira-mark, :root[data-theme="studio"] .app-grid .app-icon.tira-mark { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.tira-mark img { display: none; width: 100%; height: 100%; object-fit: contain; }
:root[data-theme="cinema"] .tira-mark-asaru, :root[data-theme="matiere"] .tira-mark-tafat, :root[data-theme="studio"] .tira-mark-asnulfu { display: block; }
.tiny-logo.tira-mark { display: inline-grid; flex: 0 0 18px; width: 18px; height: 18px; line-height: 0; }

/* Isyaxem's real application is rendered at desktop size inside the existing card. */
:root .app-icon.isyaxem-mark, :root[data-theme="studio"] .app-grid .app-icon.isyaxem-mark { background: transparent; border: 0; box-shadow: none; }
.isyaxem-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.isyaxem-preview { display: block; position: relative; text-decoration: none; background: #262626; isolation: isolate; }
.isyaxem-preview-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding-bottom: 22px; color: #f4f0e8; }
.isyaxem-preview-placeholder img { width: clamp(54px, 5vw, 88px); height: auto; border-radius: 14px; }
.isyaxem-preview-placeholder strong { font: 700 25px/1.1 Georgia, serif; }
.isyaxem-preview-placeholder > span { font-size: 11px; color: #bdbdbd; }
.isyaxem-live-viewport { position: absolute; top: 50%; left: 50%; width: 1280px; height: 900px; transform-origin: center; pointer-events: none; opacity: 0; }
.isyaxem-live-viewport iframe { display: block; width: 1280px; height: 900px; border: 0; pointer-events: none; }
.isyaxem-preview[data-state="ready"] .isyaxem-live-viewport { opacity: 1; }
.isyaxem-preview[data-state="ready"] .isyaxem-preview-placeholder { visibility: hidden; }
.isyaxem-preview-status { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 8px 6px; background: #171c20e6; color: #e9e8e3; text-align: center; font: 500 10px/1.3 system-ui, sans-serif; }
.isyaxem-preview:focus-visible { outline: 2px solid var(--accent, #8edbd1); outline-offset: 3px; }

/* The supplied PDFT icon retains its original artwork and transparency. */
:root .app-icon.icon-pdf, :root[data-theme="studio"] .app-grid .app-icon.icon-pdf { background: transparent; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.icon-pdf img { height: 100%; object-fit: contain; }
