:root{
  --gpt-bg:#f7f7fc;
  --gpt-surface:#fff;
  --gpt-surface-soft:#f2f0fb;
  --gpt-text:#17152b;
  --gpt-text-soft:#68647d;
  --gpt-primary:#7458df;
  --gpt-primary-strong:#5533cc;
  --gpt-blue:#157cff;
  --gpt-cyan:#18c8ee;
  --gpt-line:rgba(67,49,135,.12);
  --gpt-line-strong:rgba(93,65,200,.24);
  --gpt-shadow-soft:0 12px 34px rgba(43,30,98,.09);
  --gpt-shadow-float:0 22px 64px rgba(43,30,98,.18);
  --gpt-radius-sm:14px;
  --gpt-radius-md:22px;
  --gpt-radius-lg:32px;
  --gpt-header-height:72px;
  --gpt-nav-height:58px;
}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth;background:var(--gpt-bg)}
body{min-height:100%;margin:0;background:var(--gpt-bg);color:var(--gpt-text);font-family:'Manrope',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.gpt-overlay-open{overflow:hidden}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{color:inherit}
[hidden]{display:none!important}
.gpt-app{min-height:100svh;padding-top:var(--gpt-header-height)}
.gpt-main{width:100%}
.gpt-skip{position:fixed;left:14px;top:8px;z-index:10000;padding:10px 14px;border-radius:12px;background:#17152b;color:#fff;transform:translateY(-150%);transition:transform .18s ease}
.gpt-skip:focus{transform:translateY(0)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Header */
.gpt-header{position:fixed;inset:0 0 auto;z-index:700;height:var(--gpt-header-height);padding:8px 18px;background:rgba(247,247,252,.78);border-bottom:1px solid rgba(67,49,135,.08);backdrop-filter:blur(18px) saturate(150%)}
.gpt-header.is-scrolled{background:rgba(255,255,255,.91);box-shadow:0 10px 32px rgba(43,30,98,.08)}
.gpt-header-inner{width:min(1600px,100%);height:100%;margin:0 auto;display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,560px) minmax(110px,1fr);align-items:center;gap:18px}
.gpt-brand{justify-self:start;display:inline-flex;align-items:center;gap:9px;min-width:0}
.gpt-brand-mark{width:44px;height:34px;flex:0 0 44px}
.gpt-brand-mark svg{width:100%;height:100%}
.gpt-brand-type{font-size:24px;font-weight:800;letter-spacing:-.055em;white-space:nowrap;color:#16142a}
.gpt-brand-type span{color:#2b6fe9}
.gpt-header-context{justify-self:center;max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777288;font-size:11px;font-weight:750;letter-spacing:.04em}
.gpt-header-actions{justify-self:end;display:flex;align-items:center;gap:8px}
.gpt-header-icon,.gpt-account-button{position:relative;width:44px;height:44px;border-radius:15px;border:1px solid var(--gpt-line);background:rgba(255,255,255,.84);box-shadow:0 7px 18px rgba(43,30,98,.06);display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.gpt-header-icon:hover,.gpt-account-button:hover{transform:translateY(-1px);border-color:var(--gpt-line-strong);box-shadow:var(--gpt-shadow-soft)}
.gpt-header-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gpt-header-icon i{position:absolute;right:10px;top:9px;width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,var(--gpt-cyan),var(--gpt-primary));box-shadow:0 0 0 3px #fff}
.gpt-account-button{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--gpt-primary),var(--gpt-primary-strong));font-size:13px;font-weight:850}

/* Navigation — dock supérieur sur grand écran, dock inférieur sur mobile/tablette */
.gpt-nav{position:fixed;z-index:760;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid rgba(255,255,255,.92);background:rgba(255,255,255,.86);box-shadow:0 14px 40px rgba(43,30,98,.13);backdrop-filter:blur(22px) saturate(150%)}
.gpt-nav-item{position:relative;border:0;background:transparent;display:flex;align-items:center;justify-content:center;color:#777288;cursor:pointer;transition:color .18s ease,background .18s ease,transform .18s ease}
.gpt-nav-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gpt-nav-item small{font-size:10px;font-weight:800;white-space:nowrap}
.gpt-nav-item:hover{color:var(--gpt-primary-strong);background:#f4f1ff}
.gpt-nav-item.is-active{color:var(--gpt-primary-strong);background:#f0ecff}
.gpt-nav-item.is-active::after{content:"";position:absolute;border-radius:999px;background:linear-gradient(90deg,var(--gpt-primary),var(--gpt-cyan))}
.gpt-nav-ruth{color:#fff;background:linear-gradient(135deg,var(--gpt-primary),var(--gpt-primary-strong));box-shadow:0 10px 24px rgba(91,56,214,.28)}
.gpt-nav-ruth:hover,.gpt-nav-ruth.is-active{color:#fff;background:linear-gradient(135deg,#8065e5,#5734ce);transform:translateY(-1px)}
.gpt-nav-ruth em{position:absolute;right:5px;top:4px;padding:2px 4px;border-radius:999px;background:rgba(255,255,255,.2);font-size:7px;font-style:normal;font-weight:900;letter-spacing:.06em}

/* Ruth */
.gpt-backdrop,.gpt-notifications-backdrop{position:fixed;inset:0;z-index:880;background:rgba(21,16,48,.38);backdrop-filter:blur(7px);opacity:0;transition:opacity .2s ease}
.gpt-backdrop:not([hidden]),.gpt-notifications-backdrop:not([hidden]){display:block;opacity:1}
.gpt-ruth,.gpt-notifications{position:fixed;z-index:900;background:#fff;border:1px solid var(--gpt-line);box-shadow:var(--gpt-shadow-float);overflow:hidden}
.gpt-ruth{right:14px;top:14px;bottom:14px;width:min(430px,calc(100% - 28px));border-radius:30px;display:flex;flex-direction:column;transform:translateX(calc(100% + 40px));opacity:0;transition:transform .24s ease,opacity .2s ease}
.gpt-ruth:not([hidden]){display:flex;transform:translateX(0);opacity:1}
.gpt-ruth-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;background:linear-gradient(145deg,#211947,#3d2a86);color:#fff}
.gpt-ruth-identity{display:flex;align-items:center;gap:11px}
.gpt-ruth-identity small{display:block;color:rgba(255,255,255,.66);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.gpt-ruth-identity h2{margin:2px 0 0;font-size:23px;letter-spacing:-.04em}
.gpt-ruth-avatar{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#8d72ec,#5c38d6);box-shadow:0 9px 22px rgba(36,22,90,.28)}
.gpt-ruth-avatar.is-small{width:32px;height:32px;border-radius:11px;flex:0 0 32px}
.gpt-ruth-avatar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gpt-icon-button{width:40px;height:40px;border-radius:13px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer}
.gpt-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ruth-context-card{margin:14px 14px 0;padding:12px 13px;border-radius:15px;background:#f2efff;border:1px solid rgba(116,88,223,.12)}
.ruth-context-card span{display:block;margin-bottom:3px;color:#7a7390;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ruth-context-card b{font-size:12px;color:var(--gpt-primary-strong)}
.ruth-panel-thread{flex:1;min-height:120px;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.ruth-bubble{display:flex;align-items:flex-start;gap:9px}
.ruth-bubble>div{max-width:calc(100% - 42px);padding:11px 13px;border-radius:4px 16px 16px 16px;background:#f7f6fb;border:1px solid var(--gpt-line)}
.ruth-bubble b{font-size:10px;color:var(--gpt-primary-strong)}
.ruth-bubble p{margin:4px 0 0;color:#4e4962;font-size:12px;line-height:1.65}
.ruth-quick{display:flex;gap:6px;overflow:auto;padding:0 14px 10px;scrollbar-width:none}
.ruth-quick button{flex:0 0 auto;min-height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--gpt-line);background:#fff;color:#5f5873;font-size:10px;font-weight:800;cursor:pointer}
.gpt-ruth>form{padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--gpt-line);background:#fff}
.gpt-ruth>form label{display:block;margin-bottom:7px;color:#6f6980;font-size:10px;font-weight:800}
.gpt-ruth textarea{width:100%;min-height:88px;max-height:180px;resize:vertical;border:1px solid var(--gpt-line);border-radius:15px;background:#faf9fd;padding:12px;color:var(--gpt-text);outline:0}
.gpt-ruth textarea:focus{border-color:var(--gpt-primary);box-shadow:0 0 0 4px rgba(116,88,223,.1)}
.gpt-ruth .gpt-button{width:100%;margin-top:8px}
.gpt-ruth-result{padding:0 14px 14px}

/* Notifications */
.gpt-notifications{right:14px;top:14px;bottom:14px;width:min(420px,calc(100% - 28px));border-radius:28px;padding:18px;overflow:auto;transform:translateX(calc(100% + 40px));opacity:0;transition:.24s ease}
.gpt-notifications:not([hidden]){display:block;transform:translateX(0);opacity:1}
.gpt-notifications>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.gpt-notifications>header small{color:#7c7590;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.gpt-notifications>header h2{margin:2px 0 0;font-size:26px;letter-spacing:-.04em}
.gpt-notifications>header button{width:40px;height:40px;border-radius:13px;border:1px solid var(--gpt-line);background:#faf9fd;display:grid;place-items:center;cursor:pointer}
.gpt-notifications>header svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.notification-preferences{display:grid;gap:8px;margin:14px 0}
.notification-preferences fieldset{margin:0;padding:13px;border:1px solid var(--gpt-line);border-radius:16px;background:#faf9fd;display:grid;grid-template-columns:1fr auto;gap:8px}
.notification-preferences legend{grid-column:1/-1;display:flex;flex-direction:column;gap:2px;padding:0}
.notification-preferences legend span{font-size:12px;font-weight:850}.notification-preferences legend small{font-size:10px;color:var(--gpt-text-soft)}
.notification-preferences label{font-size:10px;color:#635d74}

/* Common UI */
.gpt-button{min-height:46px;border:0;border-radius:15px;padding:12px 18px;background:linear-gradient(135deg,var(--gpt-primary),var(--gpt-primary-strong));color:#fff;font-weight:850;cursor:pointer;box-shadow:0 12px 28px rgba(91,56,214,.24)}
.gpt-button:hover{transform:translateY(-1px)}
.gpt-text-button{color:var(--gpt-primary-strong);font-weight:800}
.gpt-soft{color:var(--gpt-text-soft);font-size:13px;line-height:1.65}
.gpt-chips{display:flex;gap:7px;flex-wrap:wrap}
.gpt-chip{padding:6px 9px;border-radius:999px;background:#f0ecff;color:var(--gpt-primary-strong);font-size:10px;font-weight:800}
.gpt-stages{list-style:none;padding:0}
.gpt-tool{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--gpt-line);border-radius:13px;background:#fff}
:focus-visible{outline:3px solid rgba(21,124,255,.34);outline-offset:3px}

@media(min-width:1200px){
  .gpt-nav{top:9px;left:50%;bottom:auto;transform:translateX(-50%);width:min(620px,calc(100% - 720px));min-width:560px;height:54px;border-radius:18px}
  .gpt-nav-item{flex:1;height:44px;gap:7px;border-radius:13px;padding:0 10px;flex-direction:row}
  .gpt-nav-item.is-active::after{left:20%;right:20%;bottom:2px;height:2px}
  .gpt-nav-ruth{flex:.92}
}
@media(max-width:1199px){
  :root{--gpt-header-height:66px}
  .gpt-header{height:var(--gpt-header-height);padding:7px 12px}
  .gpt-header-inner{grid-template-columns:1fr auto}
  .gpt-header-context{display:none}
  .gpt-brand-mark{width:39px;height:30px;flex-basis:39px}.gpt-brand-type{font-size:21px}
  .gpt-header-icon,.gpt-account-button{width:42px;height:42px;border-radius:14px}
  .gpt-app{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .gpt-nav{left:50%;right:auto;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,calc(100% - 20px));height:68px;border-radius:22px;padding:5px 7px}
  .gpt-nav-item{flex:1;height:56px;border-radius:16px;gap:3px;flex-direction:column}
  .gpt-nav-item small{font-size:9px}
  .gpt-nav-item.is-active::after{left:34%;right:34%;bottom:3px;height:2px}
  .gpt-nav-ruth{height:62px;margin-top:-17px;border-radius:20px;box-shadow:0 13px 28px rgba(91,56,214,.34)}
}
@media(max-width:620px){
  .gpt-header{padding-inline:10px}
  .gpt-brand-type{font-size:20px}.gpt-brand-mark{width:36px;height:28px;flex-basis:36px}
  .gpt-header-actions{gap:6px}.gpt-header-icon,.gpt-account-button{width:40px;height:40px;border-radius:13px}
  .gpt-nav{width:calc(100% - 14px);bottom:calc(5px + env(safe-area-inset-bottom));height:66px;border-radius:20px;padding-inline:4px}
  .gpt-nav-item{min-width:0;padding-inline:2px}.gpt-nav-item small{font-size:8.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .gpt-nav-item svg{width:19px;height:19px}.gpt-nav-ruth{height:60px}
  .gpt-ruth,.gpt-notifications{inset:0;width:auto;height:100dvh;border-radius:0}
  .gpt-ruth{bottom:0}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Logo officiel Bibleo — dimensions contraintes, aucune dépendance à la taille native */
.gpt-brand-logo{display:block;width:auto;height:46px;max-width:190px;object-fit:contain}
@media(max-width:1199px){.gpt-brand-logo{height:40px;max-width:166px}}
@media(max-width:620px){.gpt-brand-logo{height:36px;max-width:148px}}

/* V9 — véritable marque et avatar du compte */
.gpt-brand{min-width:0;line-height:0}
.gpt-brand-logo{display:block;width:auto;height:47px;max-width:205px;object-fit:contain;object-position:left center}
.gpt-account-button{overflow:hidden}
.gpt-account-button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:#fff}
.gpt-account-button.has-avatar{padding:3px;background:linear-gradient(135deg,#1cc8ee,#6845dc)}
.gpt-account-button.has-avatar img{border:2px solid #fff}
.ruth-chat-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#1cc8ee,#6845dc)}
.ruth-chat-avatar img{width:100%;height:100%;object-fit:cover;object-position:top center}
.ruth-chat-message>p{margin:6px 0 0}
.ruth-chat-message h3,.ruth-chat-message h4{margin:12px 0 5px;color:#2b2146}
.ruth-writing{display:inline-flex;align-items:center;gap:5px;margin-right:8px}
.ruth-writing i{width:7px;height:7px;border-radius:50%;background:#6845dc;animation:ruthWriting .9s infinite ease-in-out both}
.ruth-writing i:nth-child(2){animation-delay:.14s}.ruth-writing i:nth-child(3){animation-delay:.28s}
.ruth-bubble.is-loading em{color:#756e82;font-size:11px;font-style:normal}
@keyframes ruthWriting{0%,80%,100%{transform:scale(.55);opacity:.35}40%{transform:scale(1);opacity:1}}
@media(max-width:1199px){.gpt-brand-logo{height:42px;max-width:180px}}
@media(max-width:620px){.gpt-brand-logo{height:38px;max-width:158px}}
.ruth-head-actions{display:flex;align-items:center;gap:8px}.gpt-ruth-head .ruth-mode-control{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;border:1px solid rgba(103,69,220,.18);border-radius:12px;background:#f3efff;color:#5d39c7}.gpt-ruth-head .ruth-mode-control select{max-width:150px;border:0;outline:0;background:transparent;color:inherit;font:800 10px Manrope,sans-serif}
@media(max-width:520px){.gpt-ruth-head .ruth-mode-control{max-width:142px}.gpt-ruth-head .ruth-mode-control select{max-width:104px}}

/* V16 — identité du compte dans le header */
.gpt-account-button{width:auto!important;min-width:48px!important;padding:4px 10px 4px 4px!important;gap:8px!important;border-radius:17px!important;text-decoration:none!important}
.gpt-account-visual{width:40px;height:40px;flex:0 0 40px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#6947df,#5131c5);color:#fff;font-weight:850}
.gpt-account-visual>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:inherit!important}
.gpt-account-visual>[data-account-initial]{display:grid;width:100%;height:100%;place-items:center}
.gpt-account-label{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#342d53;font-size:12px;font-weight:800}
html.is-bibleo-authenticated .gpt-account-button{box-shadow:0 7px 20px rgba(47,31,104,.08)}
@media(max-width:760px){.gpt-account-button{width:48px!important;min-width:48px!important;padding:4px!important}.gpt-account-label{display:none}.gpt-account-visual{width:40px;height:40px}}

/* V18 — avatars : recadrage systématique sans déformation */
.gpt-account-button,.gpt-account-avatar,[data-account-avatar]{overflow:hidden!important;position:relative!important}
.gpt-account-button img,.gpt-account-avatar img,[data-account-avatar] img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border-radius:inherit!important;
}


/* V19 — avatar du compte : dimensions fixes, cadrage cover */
.gpt-account-button,
.gpt-header .gpt-account-button{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  flex:0 0 48px !important;
  padding:3px !important;
  border-radius:16px !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
}
.gpt-account-button img,
.gpt-account-button .account-avatar,
.gpt-account-button [data-account-avatar]{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:13px !important;
}
@media(max-width:700px){
  .gpt-account-button,.gpt-header .gpt-account-button{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;flex-basis:46px!important;border-radius:15px!important}
}

/* V20 — les photos utilisateurs remplissent toujours leur cadre sans déformation */
.gpt-account-visual{position:relative!important;isolation:isolate;overflow:hidden!important}
.gpt-account-visual>[data-account-avatar]{
  position:absolute!important;inset:0!important;z-index:2;
  display:block;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:50% 50%!important;
  image-orientation:from-image;border-radius:inherit!important;
}
.gpt-account-visual>[data-account-avatar][hidden]{display:none!important}
.gpt-account-visual>[data-account-initial]{position:relative;z-index:1}

/* V21 — actions du header homogènes et avatar sans halo coloré */
.gpt-header .gpt-header-actions{position:relative}
.gpt-header .gpt-header-icon,
.gpt-header .gpt-account-button{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  flex:0 0 44px!important;
  padding:0!important;
  border:1px solid var(--gpt-line)!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.92)!important;
  color:var(--gpt-ink)!important;
  box-shadow:0 7px 18px rgba(43,30,98,.06)!important;
}
.gpt-header .gpt-account-button.has-avatar{
  padding:0!important;
  border-color:var(--gpt-line)!important;
  background:#fff!important;
}
.gpt-header .gpt-account-visual{
  width:100%!important;
  height:100%!important;
  flex:0 0 100%!important;
  border-radius:inherit!important;
  background:linear-gradient(135deg,#6947df,#5131c5);
}
.gpt-header .gpt-account-button.has-avatar .gpt-account-visual{background:#fff!important}
.gpt-header .gpt-account-button.has-avatar [data-account-avatar]{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:inherit!important;
}
.gpt-header .gpt-account-label{display:none!important}
.gpt-header-icon .gpt-notification-dot{
  position:absolute;right:9px;top:8px;width:7px;height:7px;border-radius:50%;
  background:linear-gradient(135deg,var(--gpt-cyan),var(--gpt-primary));box-shadow:0 0 0 3px #fff;
}
.gpt-music-button .bi{
  position:static!important;width:auto!important;height:auto!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;font-size:18px;line-height:1;
}
.gpt-music-button.is-playing{border-color:rgba(104,69,220,.32)!important;color:#6543d1!important;background:#f1edff!important}
.gpt-music-button.is-playing .bi{animation:gptMusicPulse 1.25s ease-in-out infinite}
@keyframes gptMusicPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.13)}}
.gpt-immersive-header-controls{
  display:flex;align-items:center;gap:2px;height:44px;padding:3px;border:1px solid rgba(104,69,220,.20);
  border-radius:15px;background:#f1edff;box-shadow:0 7px 18px rgba(43,30,98,.07)
}
.gpt-immersive-header-reference{
  max-width:82px;overflow:hidden;padding:0 5px;color:#5d42bd;font-size:9px;font-weight:850;
  text-overflow:ellipsis;white-space:nowrap
}
.gpt-immersive-header-controls button{
  display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;
  background:transparent;color:#574b72;cursor:pointer
}
.gpt-immersive-header-controls button:hover,.gpt-immersive-header-controls button:focus-visible,
.gpt-immersive-header-controls button.is-active{background:#6845dc;color:#fff;outline:0}
.gpt-immersive-header-controls button:disabled{cursor:default;opacity:.42}
.gpt-immersive-header-controls button.is-active:disabled{opacity:1}
.gpt-immersive-header-controls .bi{position:static!important;width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;font-size:17px;line-height:1}
.bibleo-flag{
  display:inline-block;width:24px;height:17px;overflow:hidden;border:1px solid rgba(28,23,49,.11);
  border-radius:5px;background:#fff;box-shadow:0 3px 8px rgba(35,24,77,.10);
}
.bibleo-flag.is-fr{background:linear-gradient(90deg,#1753a1 0 33.333%,#fff 33.333% 66.666%,#e33b43 66.666%)}
.bibleo-flag.is-es{background:linear-gradient(#a91f2b 0 25%,#f7c844 25% 75%,#a91f2b 75%)}
.bibleo-flag.is-pt{background:linear-gradient(90deg,#176f43 0 40%,#d53c46 40%)}
.bibleo-flag.is-en{
  background:
    linear-gradient(33deg,transparent 44%,#fff 44% 48%,#c92f3c 48% 52%,#fff 52% 56%,transparent 56%),
    linear-gradient(-33deg,transparent 44%,#fff 44% 48%,#c92f3c 48% 52%,#fff 52% 56%,transparent 56%),
    linear-gradient(90deg,transparent 41%,#fff 41% 45%,#c92f3c 45% 55%,#fff 55% 59%,transparent 59%),
    linear-gradient(transparent 36%,#fff 36% 43%,#c92f3c 43% 57%,#fff 57% 64%,transparent 64%),
    #24478f;
}
.gpt-language-switch{position:relative;display:grid}
.gpt-language-toggle>span{width:24px;height:17px;line-height:1}
.gpt-language-menu{
  position:absolute;z-index:980;top:calc(100% + 10px);right:0;width:260px;padding:10px;
  border:1px solid rgba(104,69,220,.14);border-radius:18px;background:rgba(255,255,255,.98);
  box-shadow:0 22px 60px rgba(37,24,83,.18);backdrop-filter:blur(18px);
}
.gpt-language-menu>strong{display:block;padding:5px 7px 9px;color:#6d657b;font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.gpt-language-menu>button{
  width:100%;min-height:48px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;
  padding:6px 8px;border:0;border-radius:13px;background:transparent;color:#211b37;text-align:left;cursor:pointer;
}
.gpt-language-menu>button:hover:not(:disabled),.gpt-language-menu>button.is-active{background:#f3efff}
.gpt-language-menu>button:disabled{cursor:not-allowed;opacity:.54}
.gpt-language-menu>button>span{width:26px;height:18px}.gpt-language-menu>button>b{font-size:11px}
.gpt-language-menu>button>small{color:#81798e;font-size:8px}

@media(max-width:1199px){
  .gpt-header .gpt-header-icon,.gpt-header .gpt-account-button{
    width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;flex-basis:42px!important;border-radius:14px!important;
  }
  .gpt-immersive-header-reference{display:none}
}
@media(max-width:620px){
  .gpt-header .gpt-header-icon,.gpt-header .gpt-account-button{
    width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;flex-basis:40px!important;border-radius:13px!important;
  }
  .gpt-header .gpt-account-button{display:grid!important}
  .gpt-header .gpt-brand-logo{max-width:132px}
  .gpt-language-menu{position:fixed;top:calc(var(--gpt-header-height) - 2px);right:8px;left:8px;width:auto}
  .gpt-immersive-header-controls{height:40px;border-radius:13px}
  .gpt-immersive-header-reference{display:none}
  .gpt-immersive-header-controls button{width:29px;height:32px;border-radius:9px}
}
@media(max-width:420px){
  .gpt-header .gpt-header-inner{gap:5px}
  .gpt-header .gpt-header-actions{gap:4px}
  .gpt-header .gpt-header-icon,.gpt-header .gpt-account-button{
    width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;flex-basis:36px!important;border-radius:12px!important;
  }
  .gpt-header .gpt-brand-logo{height:31px;max-width:105px}
  .gpt-language-toggle>span{font-size:17px}
  .gpt-immersive-header-controls{height:36px;padding:2px}
  .gpt-immersive-header-controls button{width:27px;height:30px}
}
