/* Recepção do Lab aplicada ao catálogo de Ferramentas. */
.fi-page {
    --fi-amber: #e9b949;
    --fi-gold: #ffcf68;
    --fi-blue: #164a8b;
    --fi-blue-hover: #103764;
    --fi-ink: #172e51;
    --fi-muted: #4b627e;
    --fi-bg: #eaf2fc;
    --fi-paper: #fff;
    --fi-border: #cbdcef;
    --fi-input-border: #b9cee6;
    --fi-filter-hover: #e0ecfa;
    background: var(--fi-bg);
    color: var(--fi-ink);
    padding: 22px 0 86px;
    min-width: 0;
    font-family: inherit;
    line-height: 1.5;
}
.fi-page *, .fi-page *::before, .fi-page *::after { box-sizing: border-box; }
.fi-page [hidden] { display: none !important; }
.fi-page .fi-container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }
.fi-page .fi-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    min-height: 314px;
    padding: 32px 44px;
    border: 1px solid #c8a451;
    border-radius: 24px;
    background: radial-gradient(ellipse at 78% 48%, #19549c, #173767 38%, transparent 68%), #0c2146;
    color: #fff;
    box-shadow: 0 13px 28px #16345d22;
}
.fi-page .fi-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(#adccff55 1px, transparent 1px) 0 0 / 18px 18px;
    mask-image: linear-gradient(90deg, transparent 38%, #000 92%);
    pointer-events: none;
}
.fi-page .fi-hero-copy { position: relative; z-index: 1; min-width: 0; }
.fi-page .fi-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #ffe5a7; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.fi-page .fi-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fi-gold); box-shadow: 0 0 14px #ffce6580; }
.fi-page .fi-hero h1 { margin: 0; max-width: 16ch; color: #fff; font-size: clamp(2.15rem, 4.25vw, 3.65rem); font-weight: 850; line-height: 1.04; letter-spacing: -.052em; text-wrap: balance; }
.fi-page .fi-hero p { margin: 14px 0 0; color: #dbe9ff; font-size: clamp(1rem, 1.5vw, 1.17rem); }
.fi-page .fi-hero-art { position: absolute; z-index: -1; right: 2.5%; top: -5%; display: block; width: 46%; height: 110%; pointer-events: none; }
.fi-page .fi-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fi-page .fi-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 9px 17px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; text-align: center; text-decoration: none; }
.fi-page .fi-action-gold { background: var(--fi-gold); color: #172643; box-shadow: 0 3px 15px #ffcd602f; }
.fi-page .fi-action-gold:hover { background: #ffe3a0; color: #172643; }
.fi-page .fi-action-glass { border-color: #e2c27e9e; background: #ffffff13; color: #fff; }
.fi-page .fi-action-glass:hover { background: #ffffff29; color: #fff; }

.fi-page .fi-tone-violeta { --fi-tile: #e9dffd; --fi-tile-line: #c7b4e8; --fi-tile-accent: #5c3795; --fi-game: #32214f; --fi-game-glow: #633faa; }
.fi-page .fi-tone-azul { --fi-tile: #deecff; --fi-tile-line: #a9c8ee; --fi-tile-accent: #1e5099; --fi-game: #142d61; --fi-game-glow: #2858a5; }
.fi-page .fi-tone-verde { --fi-tile: #dcf3ed; --fi-tile-line: #a5d6ca; --fi-tile-accent: #075e50; --fi-game: #124752; --fi-game-glow: #087f82; }
.fi-page .fi-tone-dourado { --fi-tile: #ffedbf; --fi-tile-line: #e3c170; --fi-tile-accent: #70480a; --fi-game: #4e3013; --fi-game-glow: #82551d; }
.fi-page .fi-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 17px 0 0; }
.fi-page .fi-shortcut { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 98px; padding: 13px 23px 13px 13px; border: 1px solid var(--fi-tile-line); border-radius: 15px; background: var(--fi-tile); color: var(--fi-ink); text-decoration: none; box-shadow: 0 6px 18px #12365d0c; }
.fi-page .fi-tile-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: var(--fi-paper); color: var(--fi-tile-accent); }
.fi-page .fi-tile-icon .fi-icon { width: 28px; }
.fi-page .fi-shortcut strong, .fi-page .fi-teacher strong { display: block; line-height: 1.2; }
.fi-page .fi-shortcut small, .fi-page .fi-teacher-copy > span { display: block; color: var(--fi-muted); margin-top: 3px; font-size: .8rem; line-height: 1.35; }
.fi-page .fi-shortcut-arrow { position: absolute; top: 8px; right: 10px; color: var(--fi-tile-accent); font-weight: 800; }
.fi-page :is(.fi-shortcut, .fi-teacher):hover { color: var(--fi-ink); text-decoration: none; border-color: var(--fi-tile-accent); }

.fi-page .fi-shelf { margin: 25px 0 0; scroll-margin-top: 110px; }
.fi-page .fi-shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.fi-page .fi-shelf-head h2 { margin: 0; padding-inline-start: 10px; border-inline-start: 4px solid #d8a138; color: var(--fi-ink); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 850; line-height: 1.2; letter-spacing: -.035em; }
.fi-page .fi-carousel-controls { display: flex; gap: 7px; }
.fi-page .fi-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--fi-input-border); border-radius: 50%; background: var(--fi-paper); color: var(--fi-blue); font: inherit; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.fi-page .fi-carousel-controls button:hover:not(:disabled) { border-color: var(--fi-blue); }
.fi-page .fi-carousel-controls button:disabled { opacity: .48; cursor: default; }
.fi-page .fi-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3.35); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-inline: contain; margin: 0; padding: 4px 4px 10px; list-style: none; scrollbar-width: thin; scrollbar-color: var(--fi-input-border) transparent; }
.fi-page .fi-carousel li { min-width: 0; scroll-snap-align: start; }
.fi-page .fi-featured-game { display: flex; align-items: center; gap: 12px; min-height: 112px; height: 100%; padding: 14px; border: 1px solid #ffffff49; border-radius: 15px; background: radial-gradient(ellipse at 8% 16%, var(--fi-game-glow), transparent 76%), var(--fi-game); color: #fff; text-decoration: none; }
.fi-page .fi-featured-game:hover { color: #fff; text-decoration: none; }
.fi-page .fi-featured-game:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.fi-page .fi-featured-game strong { display: block; color: #fff; line-height: 1.23; }
.fi-page .fi-featured-game small { display: block; margin-bottom: 3px; color: #e8efff; font-size: .78rem; }
.fi-page .fi-game-icon { display: grid; place-items: center; flex: 0 0 51px; width: 51px; height: 51px; border: 1px solid #ffffff49; border-radius: 12px; background: #ffffff1a; color: #ffdb90; }
.fi-page .fi-game-icon .fi-icon { width: 34px; }
.fi-page .fi-game-icon .fi-purple-fill { fill: #cadcff; }
.fi-page .fi-game-icon .fi-green-stroke { stroke: #acf0e2; }
.fi-page .fi-featured-game:focus-visible { outline-offset: -4px; outline-color: #ffdf90; }

.fi-page .fi-teacher { display: flex; align-items: center; gap: 14px; min-height: 90px; padding: 14px 17px; border: 1px solid var(--fi-tile-line); border-radius: 15px; background: var(--fi-tile); color: var(--fi-ink); text-decoration: none; }
.fi-page .fi-teacher .fi-tile-icon { flex-basis: 50px; width: 50px; height: 50px; }
.fi-page .fi-teacher small { display: block; color: var(--fi-tile-accent); font-size: .74rem; font-weight: 750; }
.fi-page .fi-teacher strong { margin-top: 2px; font-size: 1.15rem; }
.fi-page .fi-teacher-action { margin-inline-start: auto; color: var(--fi-tile-accent); font-size: .84rem; font-weight: 750; white-space: nowrap; }
.fi-page .fi-teacher-action > span { margin-inline-start: 4px; }
.fi-page .fi-controls { margin: 0 0 17px; }
.fi-page .fi-search { position: relative; max-width: 820px; margin: 0 auto; }
.fi-page .fi-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; fill: none; stroke: var(--fi-blue); stroke-width: 2.5; stroke-linecap: round; pointer-events: none; }
.fi-page .fi-search input { width: 100%; min-height: 54px; margin: 0; padding: 14px 20px 14px 58px; border: 1px solid var(--fi-input-border); border-radius: 12px; background: var(--fi-paper); color: var(--fi-ink); font: inherit; font-size: 1rem; box-shadow: none; }
.fi-page .fi-search input::placeholder { color: var(--fi-muted); opacity: 1; }
.fi-page .fi-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 16px 0 0; }
.fi-page .fi-filter { appearance: none; min-height: 42px; margin: 0; padding: 9px 25px; border: 1px solid var(--fi-border); border-radius: 10px; background: transparent; color: var(--fi-blue); font: inherit; font-size: .91rem; font-weight: 750; line-height: 1.4; cursor: pointer; transition: background .16s, color .16s; }
.fi-page .fi-filter:hover { background: var(--fi-filter-hover); }
.fi-page .fi-filter[aria-pressed="true"] { background: var(--fi-blue); border-color: var(--fi-blue); color: #fff; }
.fi-page .fi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 18px; margin: 0; padding: 0; list-style: none; }
.fi-page .fi-card { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 20px 15px 15px; border: 1px solid var(--fi-border); border-radius: 12px; background: var(--fi-paper); box-shadow: 0 4px 16px rgba(87, 53, 24, .035); transition: transform .18s, box-shadow .18s; }
.fi-page .fi-card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px rgba(79, 56, 104, .09); }
.fi-page .fi-card-content { display: flex; align-items: flex-start; gap: 15px; flex: 1; }
.fi-page .fi-card-icon { display: block; width: 64px; flex: 0 0 64px; color: var(--fi-blue); }
.fi-page .fi-icon { display: block; width: 100%; height: auto; overflow: visible; }
.fi-page .fi-accent-fill { fill: var(--fi-amber); stroke: none; }
.fi-page .fi-purple-fill { fill: var(--fi-blue); stroke: none; }
.fi-page .fi-paper-fill { fill: var(--fi-paper); }
.fi-page .fi-white-fill { fill: #fff; stroke: none; }
.fi-page .fi-white-stroke { stroke: #fff; }
.fi-page .fi-accent-stroke { stroke: var(--fi-amber); }
.fi-page .fi-green-stroke { stroke: #00856a; }
.fi-page .fi-letters { stroke: none; fill: var(--fi-blue); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 800; }
.fi-page .fi-accent-text { fill: #9b6800; }
.fi-page .fi-card-copy { min-width: 0; }
.fi-page .fi-card h3 { margin: 2px 0 6px; color: var(--fi-blue); font-size: 1.04rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.fi-page .fi-card p { margin: 0; color: var(--fi-muted); font-size: .91rem; line-height: 1.55; }
.fi-page .fi-open { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; background: var(--fi-blue); color: #fff; font: inherit; font-size: .89rem; font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s; }
.fi-page .fi-open:hover { background: var(--fi-blue-hover); color: #fff; text-decoration: none; }
.fi-page :is(a, button, input, summary):focus-visible { outline: 3px solid var(--fi-blue); outline-offset: 4px; }
.fi-page .fi-hero .fi-action:focus-visible { outline-color: var(--fi-gold); }
.fi-page .fi-empty { padding: 38px 24px; border: 1px dashed var(--fi-border); border-radius: 14px; background: var(--fi-paper); text-align: center; }
.fi-page .fi-empty h3 { color: var(--fi-blue); margin: 0 0 8px; font-size: 1.2rem; }
.fi-page .fi-empty p { color: var(--fi-muted); margin: 0 0 20px; }
.fi-page .fi-reset { width: auto; margin: 0 auto; }
.fi-page .fi-records { margin: 26px 0 0; padding: 14px 18px; border: 1px solid var(--fi-input-border); border-radius: 12px; color: var(--fi-muted); font-size: .86rem; background: var(--fi-paper); }
.fi-page .fi-records summary { cursor: pointer; font-weight: 650; }
.fi-page .fi-records p { margin: 10px 0 0; }
.fi-page .fi-records a { color: var(--fi-blue); text-decoration: underline; text-underline-offset: 3px; }
.fi-page .fi-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Acompanha o seletor de tema já existente na Biblioteca. */
html[data-ri-theme="dark"] .fi-page {
    --fi-blue: #bdd8fc;
    --fi-blue-hover: #264d82;
    --fi-ink: #eff6ff;
    --fi-muted: #c5d6ea;
    --fi-bg: #101e34;
    --fi-paper: #192d48;
    --fi-border: #3c5577;
    --fi-input-border: #53749b;
    --fi-filter-hover: #253d5e;
}
html[data-ri-theme="dark"] .fi-page .fi-tone-violeta { --fi-tile: #342951; --fi-tile-line: #745c99; --fi-tile-accent: #dfcaff; }
html[data-ri-theme="dark"] .fi-page .fi-tone-azul { --fi-tile: #203b63; --fi-tile-line: #5277a5; --fi-tile-accent: #b4d5ff; }
html[data-ri-theme="dark"] .fi-page .fi-tone-verde { --fi-tile: #193f43; --fi-tile-line: #4f8282; --fi-tile-accent: #a0ead8; }
html[data-ri-theme="dark"] .fi-page .fi-tone-dourado { --fi-tile: #463817; --fi-tile-line: #987c3d; --fi-tile-accent: #ffe1a3; }
html[data-ri-theme="dark"] .fi-page .fi-purple-fill { fill: #93b3e2; }
html[data-ri-theme="dark"] .fi-page :is(.fi-open, .fi-filter[aria-pressed="true"]) { background: #335f99; color: #fff; }
html[data-ri-theme="dark"] .fi-page :is(.fi-open:hover, .fi-filter:hover) { background: var(--fi-blue-hover); }
html[data-ri-theme="dark"] .fi-page .fi-green-stroke { stroke: #52d3ae; }
html[data-ri-theme="dark"] .fi-page .fi-accent-text { fill: #e9b949; }

@media (max-width: 1199px) {
    .fi-page .fi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fi-page .fi-hero { padding: 34px; }
}
@media (max-width: 899px) {
    .fi-page .fi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fi-page .fi-hero { min-height: 260px; padding: 30px; }
    .fi-page .fi-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
    .fi-page .fi-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fi-page .fi-carousel { grid-auto-columns: calc((100% - 24px) / 2.32); }
}
@media (max-width: 599px) {
    .fi-page { padding-top: 16px; }
    .fi-page .fi-container { width: calc(100% - 28px); }
    .fi-page .fi-hero { grid-template-columns: 1fr; min-height: 0; padding: 25px 18px; border-radius: 18px; }
    .fi-page .fi-hero-art { top: -2px; right: -7%; width: 55%; height: 160px; opacity: .87; }
    .fi-page .fi-hero h1 { max-width: 9ch; font-size: clamp(1.8rem, 7.5vw, 2.65rem); text-wrap: wrap; }
    .fi-page .fi-hero p { max-width: 27ch; }
    .fi-page .fi-hero-actions { margin-top: 17px; }
    .fi-page .fi-action { padding-inline: 11px; font-size: .88rem; }
    .fi-page .fi-shortcuts { gap: 8px; }
    .fi-page .fi-shortcut { display: grid; gap: 6px; padding: 10px; }
    .fi-page .fi-carousel { grid-auto-columns: 83%; }
    .fi-page .fi-teacher-action { display: none; }
    .fi-page .fi-eyebrow { font-size: .72rem; }
    .fi-page .fi-hero p { font-size: 1.08rem; }
    .fi-page .fi-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .fi-page .fi-card { padding: 18px; }
    .fi-page .fi-card-content { gap: 18px; }
    .fi-page .fi-card-icon { width: 60px; flex-basis: 60px; }
    .fi-page .fi-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fi-page .fi-filter { padding: 10px 8px; }
    .fi-page .fi-search input { font-size: .94rem; padding-left: 47px; padding-right: 10px; }
    .fi-page .fi-search svg { left: 15px; width: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .fi-page :is(.fi-card, .fi-open, .fi-filter) { transition: none; }
    .fi-page .fi-card:hover { transform: none; }
}
@media print {
    .fi-page { background: #fff; color: #172e51; padding: 0; }
    .fi-page .fi-container { width: 100%; }
    .fi-page :is(.fi-controls, .fi-records, .fi-hero-art, .fi-hero-actions, .fi-shortcuts, .fi-shelf:not(.fi-directory)) { display: none !important; }
    .fi-page .fi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fi-page .fi-card { break-inside: avoid; box-shadow: none; }
}

/* Onda dos cartões do catálogo. */
.fi-page {
    --fi-card-wave: #e8f1fc;
    --fi-button-wave: #3265a4;
    --fi-hover-border: #9bbadf;
}
.fi-page .fi-card { position: relative; isolation: isolate; overflow: hidden; }
.fi-page .fi-card::before {
    content: "";
    position: absolute;
    left: -35%;
    right: -35%;
    bottom: -80%;
    height: 120%;
    border-radius: 50%;
    background: var(--fi-card-wave);
    transform: translateY(40%);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    z-index: 0;
}
.fi-page .fi-card-content, .fi-page .fi-card > .fi-open { position: relative; z-index: 1; }
.fi-page .fi-open { position: relative; isolation: isolate; overflow: hidden; }
.fi-page .fi-open::before {
    content: "";
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -190%;
    height: 200%;
    border-radius: 50%;
    background: var(--fi-button-wave);
    transform: translateY(20%);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    z-index: -1;
}
.fi-page .fi-card:focus-within {
    transform: translateY(-3px);
    border-color: var(--fi-hover-border);
    box-shadow: 0 15px 36px rgba(79, 56, 104, .12);
}
.fi-page .fi-card:focus-within::before { transform: translateY(-48%); }
.fi-page .fi-open:focus-visible::before { transform: translateY(-55%); }
@media (hover: hover) {
    .fi-page .fi-card:hover {
        border-color: var(--fi-hover-border);
        box-shadow: 0 15px 36px rgba(79, 56, 104, .12);
    }
    .fi-page .fi-card:hover::before { transform: translateY(-48%); }
    .fi-page .fi-open:hover::before { transform: translateY(-55%); }
}
html[data-ri-theme="dark"] .fi-page {
    --fi-card-wave: #213b60;
    --fi-button-wave: #35639f;
    --fi-hover-border: #7193bf;
}
@media (prefers-reduced-motion: reduce) {
    .fi-page .fi-card::before, .fi-page .fi-open::before { transition: none; }
    .fi-page .fi-card:focus-within { transform: none; }
}
@media print {
    .fi-page .fi-card::before, .fi-page .fi-open::before { display: none; }
    .fi-page .fi-card:focus-within { transform: none; }
}

/* Dever de casa visível para as turmas e para a equipe responsável. */
.fi-page .fi-weekly { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; padding: 15px; border: 1px solid var(--fi-tile-line); border-radius: 15px; background: var(--fi-tile); }
.fi-page .fi-weekly-copy { flex: 1 1 190px; }
.fi-page .fi-weekly h2 { margin: 0; color: var(--fi-ink); font-size: 1.2rem; line-height: 1.3; }
.fi-page .fi-weekly p { margin: 3px 0 0; color: var(--fi-muted); font-size: .88rem; }
.fi-page .fi-weekly-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fi-page .fi-weekly-teacher { border-color: var(--fi-tile-line); background: var(--fi-paper); color: var(--fi-blue); }
.fi-page .fi-weekly-teacher:hover { border-color: var(--fi-blue); color: var(--fi-blue); }
@media print { .fi-page .fi-weekly { display: none; } }

/* Entrada da campanha Black Friday Aparício. */
.fi-page .fi-black-friday {
    position: relative; isolation: isolate; overflow: hidden; gap: 15px;
    min-height: 145px; padding: 20px 24px; border: 1px solid #caa65f; border-radius: 20px;
    background: radial-gradient(ellipse at 22% 100%,#234e90,transparent 68%),#102b55;
    box-shadow: 0 10px 25px #15376616;
}
.fi-page .fi-black-friday::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(#acd4ff59 1px,transparent 1px) 0 0 / 20px 20px; mask-image: linear-gradient(90deg,#000,transparent 75%); }
.fi-page .fi-bf-gift { display: block; flex: 0 0 100px; width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 7px 10px #06153260); }
.fi-page .fi-black-friday .fi-weekly-copy { flex: 1 1 210px; }
.fi-page .fi-bf-kicker { display: block; color: #ffdf96; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.fi-page .fi-black-friday h2 { color: #fff; max-width: 24ch; font-size: clamp(1.1rem,1.7vw,1.5rem); font-weight: 850; }
.fi-page .fi-black-friday p { color: #cfdef6; font-size: .86rem; margin-top: 6px; }
.fi-page .fi-black-friday .fi-weekly-actions { align-items: center; gap: 12px; }
.fi-page .fi-bf-launch { gap: 23px; min-height: 69px; padding: 13px 23px; border-radius: 12px; border-color: #ffe3a0; box-shadow: 0 4px 0 #ae7c28,0 10px 22px #030d2726; font-size: clamp(1.05rem,1.6vw,1.25rem); font-weight: 850; line-height: 1.2; }
.fi-page .fi-bf-launch strong { display: inline-block; margin-left: 3px; padding: 5px 7px; border-radius: 6px; background: #102b55; color: #ffdc88; transform: rotate(-5deg); font-size: .9em; }
.fi-page .fi-bf-arrow { font-size: 1.5em; font-weight: 650; }
.fi-page .fi-black-friday .fi-weekly-teacher { background: #ffffff0b; border-color: #7192c2; color: #fff; }
.fi-page .fi-black-friday .fi-weekly-teacher:hover { background: #ffffff20; border-color: #a7c9f9; color: #fff; }
@media (max-width: 950px) {
    .fi-page .fi-black-friday .fi-weekly-actions { flex: 1 1 100%; }
    .fi-page .fi-bf-launch { flex: 1 1 200px; }
}
@media (max-width: 599px) {
    .fi-page .fi-black-friday { gap: 12px; padding: 17px; border-radius: 17px; }
    .fi-page .fi-bf-gift { flex-basis: 75px; width: 75px; height: 80px; }
    .fi-page .fi-black-friday .fi-weekly-copy { flex: 1 1 170px; }
    .fi-page .fi-black-friday h2 { font-size: 1.05rem; }
    .fi-page .fi-bf-kicker { font-size: .61rem; }
    .fi-page .fi-bf-launch { min-height: 63px; padding: 13px 14px; font-size: 1.15rem; }
    .fi-page .fi-black-friday .fi-weekly-teacher { flex: 1 1 100%; }
}
