
/* Geometry-first prototype. One original phrase card; expanded panel below. */
.bm-geometry[hidden]{display:none!important}
.bm-geometry{width:100%;box-sizing:border-box;display:flex;align-items:center;flex-direction:column;padding-bottom:20px;position:relative}
.bm-geometry .bm-chevron{width:48px;height:35px;display:grid;place-items:center;margin:0 auto -1px;background:transparent;border:0;cursor:pointer;position:relative;z-index:2}
.bm-geometry .bm-chevron span{width:14px;height:14px;display:block;border-bottom:4px solid #12baff;border-right:4px solid #12baff;transform:translateY(-3px) rotate(45deg);filter:drop-shadow(0 0 6px #1dbdff)}
.bm-geometry .bm-panel{box-sizing:border-box;position:relative;width:calc(100% - 12px);margin:0 6px;padding:23px 17px 17px;border:1px solid #9ad9ff;border-radius:33px;background:radial-gradient(ellipse at 50% 25%,#f6fbff 0%,#e6f4ff 66%,#d5eaff 100%);box-shadow:0 10px 35px #2e8dd222,inset 0 1px #fff;color:#09143b;overflow:visible}
.bm-geometry .bm-head{display:none}
.bm-geometry .bm-units{display:grid;grid-template-columns:1fr 1.7fr 1fr;grid-template-rows:190px 80px;gap:0;align-items:center;justify-items:center;margin:0;position:relative}
.bm-geometry .bm-unit{min-width:0;width:100%;height:auto;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:#091b48;cursor:pointer;text-align:center;padding:10px 2px;position:relative;z-index:3}
.bm-geometry .bm-unit strong{font-size:clamp(14px,4vw,22px);font-weight:800;line-height:1.15}
.bm-geometry .bm-unit small{font-size:clamp(13px,3.7vw,19px);font-weight:700;color:#1688df;line-height:1.2}
.bm-geometry .bm-unit:after{content:"";width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#05bcff 45%,#0575e3 85%);box-shadow:0 0 10px #0abfff,0 0 0 2px #8ae9ff;order:1}
.bm-geometry .bm-unit small{order:2}
.bm-geometry .bm-unit strong{order:0}
.bm-geometry .bm-unit-0{grid-column:1;grid-row:1;align-self:center}
.bm-geometry .bm-unit-1{grid-column:2;grid-row:1;opacity:0;pointer-events:auto}
.bm-geometry .bm-unit-2{grid-column:3;grid-row:1}
.bm-geometry .bm-unit-3{grid-column:1/4;grid-row:2;min-height:66px;display:flex;flex-direction:row;gap:11px;border-top:1px solid #a6dbff!important}
.bm-geometry .bm-unit-3 strong,.bm-geometry .bm-unit-3 small{font-size:14px}
.bm-geometry .bm-unit-3:after{order:0;width:8px;height:8px}
.bm-geometry .bm-focus{position:relative;z-index:4;box-sizing:border-box;width:min(62%,320px);margin:-273px auto 22px;min-height:260px;padding:23px 15px 18px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;background:radial-gradient(ellipse at 50% 45%,#fffdf9,#fff2db 82%,#fbe5b5);border:2px solid #ffd17a;border-radius:42% 37% 40% 35% / 19% 21% 22% 18%;box-shadow:0 0 16px #ffc56b,0 0 30px #fbd39866,inset 0 0 15px #fff;overflow:visible}
.bm-geometry .bm-focus-title{font-size:clamp(20px,5vw,28px);font-weight:800;line-height:1.15}
.bm-geometry .bm-focus-title:after{content:"";display:block;width:9px;height:9px;margin:9px auto 0;border-radius:50%;background:radial-gradient(circle,#fff,#ffad14 60%);box-shadow:0 0 9px #ffa500}
.bm-geometry .bm-focus-translation{font-size:clamp(16px,4.2vw,21px);font-weight:700;color:#486f9f;margin-top:10px}
.bm-geometry .bm-note{font-size:clamp(12px,3.1vw,15px);line-height:1.35;color:#4984b7;margin:10px 0}
.bm-geometry .bm-compare{display:flex;justify-content:center;gap:12px;margin:6px 0 12px;font-size:12px;color:#334d73}
.bm-geometry .bm-compare>div{flex:1;line-height:1.45}
.bm-geometry .bm-compare>div+div{border-left:1px solid #edc78b;padding-left:12px}
.bm-geometry .bm-polite{color:#2069b6;font-weight:700}
.bm-geometry .bm-audio{display:flex;gap:10px;align-items:center;justify-content:center}
.bm-geometry .bm-audio button{padding:8px 5px;border:0;background:transparent;color:#163f7e;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap}
.bm-geometry .bm-natural{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:0;padding:13px 12px;background:linear-gradient(145deg,#fdfefe,#e9f3ff);border:1px solid #fff;border-radius:28px;box-shadow:0 4px 18px #7bb7df22}
.bm-geometry .bm-natural:before{content:"💡";display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:radial-gradient(circle,#fff,#ffe3a6);box-shadow:0 0 12px #ffc769}
.bm-geometry .bm-natural span{font-size:12px;color:#607aa4;margin:0}
.bm-geometry .bm-natural strong{font-size:clamp(13px,3.5vw,18px);color:#0879dd}
.bm-geometry .bm-logic{margin-top:9px;padding:9px 12px;border:1px solid #b5d8f8;border-radius:20px;background:#f5faff}
.bm-geometry .bm-logic summary{font-size:12px;cursor:pointer}
.bm-geometry .bm-logic p{font-size:12px;line-height:1.5}
body.dark .bm-geometry .bm-panel{background:radial-gradient(ellipse at 50% 30%,#132754,#06112d 80%);color:#f9fbff;border-color:#789ef0;box-shadow:0 12px 30px #0008,0 0 18px #3188ef44}
body.dark .bm-geometry .bm-unit{color:#f7faff}
body.dark .bm-geometry .bm-unit small{color:#4acaff}
body.dark .bm-geometry .bm-unit-3{border-color:#30528d!important}
body.dark .bm-geometry .bm-focus{background:radial-gradient(ellipse at 50% 40%,#263045,#0d142a 75%);border-color:#f6c46b;box-shadow:0 0 15px #ffb43d,0 0 30px #e5a74055,inset 0 0 15px #c98d2533}
body.dark .bm-geometry .bm-focus-translation{color:#a3c4f4}
body.dark .bm-geometry .bm-note{color:#a6dfff}
body.dark .bm-geometry .bm-compare{color:#f5f8ff}
body.dark .bm-geometry .bm-polite{color:#b6dbff}
body.dark .bm-geometry .bm-audio button{color:#fff}
body.dark .bm-geometry .bm-natural{background:linear-gradient(145deg,#1a305c,#101d40);border-color:#7392d1}
body.dark .bm-geometry .bm-natural span{color:#bdcef3}
body.dark .bm-geometry .bm-natural strong{color:#28b9ff}
body.dark .bm-geometry .bm-logic{background:#102349;border-color:#315a9a}
@media(max-width:375px){.bm-geometry .bm-panel{padding:18px 10px}.bm-geometry .bm-focus{width:65%;padding:20px 9px}.bm-geometry .bm-units{grid-template-rows:190px 80px}}
@media(min-width:700px){.bm-geometry{max-width:560px;margin:auto}.bm-geometry .bm-unit strong{font-size:20px}.bm-geometry .bm-unit small{font-size:18px}.bm-geometry .bm-focus{width:62%}}


/* MASTER V2: clean replacement, no accumulated geometry patches */
.bm-geometry[hidden]{display:none!important}
.block.phrases>.phrase-card.bm-expanded{aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding-top:var(--bm-original-height)!important;background-size:100% var(--bm-original-height)!important;background-position:center top!important;background-repeat:no-repeat!important;border-radius:24px!important;background-color:#e6f3ff!important}
body.dark .block.phrases>.phrase-card.bm-expanded{background-color:#07152e!important}
.block.phrases>.phrase-card.bm-expanded .actions{top:calc(var(--bm-original-height)*.56)!important;height:calc(var(--bm-original-height)*.39)!important;bottom:auto!important}
.block.phrases>.phrase-card.bm-expanded .phrase-buttons{top:calc(var(--bm-original-height)*.064)!important;height:calc(var(--bm-original-height)*.12)!important}
.phrase-card>.bm-shell{box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:0 10px 15px!important;position:relative;z-index:5}
.phrase-card>.bm-shell .bm-chevron,.phrase-card>.bm-shell .bm-head{display:none!important}
.phrase-card>.bm-shell .bm-panel{width:100%;margin:0;padding:5px 5px 10px;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;overflow:visible}
.bm-geometry .bm-units{grid-template-columns:19% 62% 19%;grid-template-rows:262px 70px}
.bm-geometry .bm-unit-0{grid-column:1;grid-row:1}
.bm-geometry .bm-unit-1{grid-column:2;grid-row:1;opacity:0}
.bm-geometry .bm-unit-2{grid-column:3;grid-row:1}
.bm-geometry .bm-unit-3{grid-column:1/4;grid-row:2;border:0!important;min-height:55px}
.bm-geometry .bm-unit-0 strong,.bm-geometry .bm-unit-2 strong{font-size:clamp(12px,3.4vw,17px);overflow-wrap:anywhere}
.bm-geometry .bm-unit-0 small,.bm-geometry .bm-unit-2 small{font-size:clamp(12px,3.1vw,16px)}
.bm-geometry .bm-unit-3 strong,.bm-geometry .bm-unit-3 small{font-size:clamp(11px,3.1vw,15px)}
.bm-geometry .bm-focus{width:61%;height:245px;min-height:245px;margin:-321px auto 76px;padding:16px 14px 12px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;isolation:isolate;z-index:4;overflow:visible}
.bm-geometry .bm-focus:before,.bm-geometry .bm-focus:after{content:none!important;display:none!important}
.bm-geometry .bm-organic-svg{position:absolute;inset:-10px -7px;z-index:-1;width:calc(100% + 14px);height:calc(100% + 20px);overflow:visible;pointer-events:none}
.bm-geometry .bm-focus>*:not(.bm-organic-svg){position:relative;z-index:1}
body.dark .bm-geometry .bm-organic-body{fill:#141b2d;stroke:#ffc778}
body.dark .bm-geometry .bm-organic-glow{stroke:#ffbd59}
.bm-geometry .bm-focus-title{font-size:clamp(18px,4.8vw,25px)}
.bm-geometry .bm-focus-translation{font-size:clamp(15px,3.9vw,20px);margin-top:7px}
.bm-geometry .bm-note{font-size:clamp(11px,2.9vw,14px);margin:7px 0}
.bm-geometry .bm-compare{gap:5px;margin:5px 0;font-size:11px}
.bm-geometry .bm-compare>div+div{padding-left:6px}
.bm-geometry .bm-audio{gap:5px;flex-wrap:wrap}
.bm-geometry .bm-audio button{padding:4px 2px;font-size:11px}
.bm-geometry .bm-natural{padding:12px 115px 12px 11px!important;min-height:73px;background:linear-gradient(120deg,#f8fcff,#e6f3ff);border:1px solid #fff;border-radius:26px}
body.dark .bm-geometry .bm-natural{background:linear-gradient(120deg,#20355c,#10234a)}
.bm-geometry .bm-logic:not([open]){position:absolute;right:18px;bottom:28px;margin:0;padding:0;border:0;background:transparent;z-index:6}
.bm-geometry .bm-logic:not([open]) summary{font-size:10px;color:#5878a8}
.bm-geometry .bm-logic[open]{position:relative;margin-top:9px}
@media(max-width:375px){.phrase-card>.bm-shell{padding:0 6px 12px!important}.bm-geometry .bm-focus{width:61%;padding:14px 10px 10px}.bm-geometry .bm-natural{padding-right:104px!important}}

/* MASTER soft-gold contour: thin line, no thick neon halo */
.bm-geometry .bm-organic-glow{opacity:.3!important;stroke-width:2.5!important}
.bm-geometry .bm-organic-body{stroke:#edc47d!important;stroke-width:1.5!important}
body.dark .bm-geometry .bm-organic-body{stroke:#f5cb84!important;stroke-width:1.6!important}
.bm-geometry .bm-organic-svg{filter:drop-shadow(0 0 3px #f5dca58a)!important}
body.dark .bm-geometry .bm-organic-svg{filter:drop-shadow(0 0 4px #f7c87688)!important}

/* MASTER pearlescent glass: wide and luminous, border barely visible */
.bm-geometry .bm-focus{width:67%!important;height:246px!important;min-height:246px!important;margin:-323px auto 77px!important;padding:16px 16px 12px!important}
.bm-geometry .bm-units{grid-template-columns:16.5% 67% 16.5%!important;grid-template-rows:262px 70px!important}
.bm-geometry .bm-organic-body{stroke:#f5e7c6!important;stroke-width:.95!important;fill:url(#bm-gold-fill)!important}
.bm-geometry .bm-organic-glow{opacity:.16!important;stroke-width:1.5!important}
.bm-geometry .bm-organic-svg{filter:drop-shadow(0 2px 12px #fff9e8cc) drop-shadow(0 0 4px #f4deb866)!important}
body.dark .bm-geometry .bm-organic-body{fill:#1a2437!important;stroke:#d4b884!important;stroke-width:1.15!important}
body.dark .bm-geometry .bm-organic-glow{opacity:.3!important}
body.dark .bm-geometry .bm-organic-svg{filter:drop-shadow(0 0 9px #b18b5480)!important}
.bm-geometry .bm-focus-title{font-size:clamp(18px,4.8vw,26px)!important}
.bm-geometry .bm-focus-translation{margin-top:5px!important}
@media(max-width:375px){.bm-geometry .bm-focus{width:67%!important;padding:14px 10px 9px!important}}

/* Symmetric glass and visible return to would like */
.bm-geometry .bm-focus{width:64%!important;margin:-323px auto 77px!important}
.bm-geometry .bm-units{grid-template-columns:18% 64% 18%!important}
.bm-geometry .bm-organic-svg{filter:drop-shadow(0 3px 8px #e9c98555)!important}
.bm-geometry .bm-organic-body{stroke:#f1dcaa!important;stroke-width:1.2!important}
.bm-geometry .bm-return{display:block;margin:0 auto 7px;padding:7px 12px;border:1px solid #d9c38e;border-radius:20px;background:#fff8e9;color:#4b5e7b;font-size:12px;font-weight:700;cursor:pointer}
.bm-geometry .bm-return[hidden]{display:none!important}
body.dark .bm-geometry .bm-return{background:#182941;color:#dbe9ff;border-color:#a58a5e}

/* Always visible center semantic selector: return from I / a room to would like */
.bm-geometry .bm-return,.bm-geometry .bm-return[hidden]{display:block!important;visibility:visible!important;opacity:1!important;position:relative;z-index:10;margin:0 auto 8px!important}
.bm-geometry .bm-return:disabled{opacity:.52!important;cursor:default}

/* MASTER V4: warm convex pearlescent glass, edge relief, top semantic return */
.bm-geometry .bm-organic-body{fill:url(#bm-pearl)!important;stroke:#fff6dd!important;stroke-width:1.1!important}
.bm-geometry .bm-organic-svg{filter:drop-shadow(-4px 1px 8px #dfbb7b38) drop-shadow(5px 4px 10px #b9934b35)!important}
.bm-geometry .bm-glass-relief{opacity:.56}
.bm-geometry .bm-glass-sheen{opacity:.8}
body.dark .bm-geometry .bm-organic-body{fill:#22283a!important;stroke:#f5dba2!important}
body.dark .bm-geometry .bm-organic-svg{filter:drop-shadow(-5px 0 10px #efbc7166) drop-shadow(5px 4px 11px #c7954b45)!important}
body.dark .bm-geometry .bm-glass-relief{opacity:.75}
.bm-geometry .bm-focus{padding-top:35px!important}
.bm-geometry .bm-focus .bm-return{position:absolute!important;top:-1px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;margin:0!important;padding:4px 12px!important;border:1px solid #eeddb6!important;border-radius:15px!important;background:#fff9e8e8!important;color:#24314c!important;font-size:12px!important;box-shadow:0 2px 9px #e9cb9144;z-index:15}
.bm-geometry .bm-focus .bm-return:disabled{opacity:.68!important}
body.dark .bm-geometry .bm-focus .bm-return{background:#293349e8!important;color:#e4eafa!important;border-color:#cbb27d!important}

/* MASTER V5: all semantic units share the same word-dot-translation language */
.bm-geometry .bm-panel{position:relative!important;padding-top:92px!important}
.bm-geometry .bm-panel>.bm-return,.bm-geometry .bm-panel>.bm-return[hidden]{
display:flex!important;position:absolute!important;top:8px!important;left:50%!important;transform:translateX(-50%)!important;z-index:15!important;
width:180px!important;min-height:73px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
gap:3px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
color:#071a48!important;cursor:pointer!important;opacity:1!important
}
.bm-geometry .bm-panel>.bm-return strong{font-size:clamp(16px,4.4vw,22px)!important;font-weight:800!important;line-height:1.12}
.bm-geometry .bm-panel>.bm-return i{width:12px;height:12px;border:2px solid #bdf7ff;border-radius:50%;background:#02bfe9;box-shadow:0 0 7px #00cfff,0 0 2px #0af!important}
.bm-geometry .bm-panel>.bm-return small{font-size:clamp(14px,3.8vw,18px)!important;font-style:normal;color:#1688e6;font-weight:750}
.bm-geometry .bm-panel>.bm-return[aria-pressed=true] strong{text-decoration:underline;text-decoration-color:#b3dfff;text-underline-offset:4px}
body.dark .bm-geometry .bm-panel>.bm-return{color:#f8faff!important}
body.dark .bm-geometry .bm-panel>.bm-return small{color:#64caff}
.bm-geometry .bm-focus{width:70%!important;margin:-323px auto 77px!important;padding:20px 19px 14px!important}
.bm-geometry .bm-units{grid-template-columns:15% 70% 15%!important}
.bm-geometry .bm-note{font-size:clamp(11px,2.8vw,14px)!important;line-height:1.3!important;padding:0 5px!important}
body.dark .bm-geometry .bm-organic-body{fill:#302d37!important;stroke:#f9e1aa!important}
body.dark .bm-geometry .bm-glass-relief{opacity:.95!important;stroke:#f6d294!important;stroke-width:15!important}
body.dark .bm-geometry .bm-glass-sheen{opacity:1!important;stroke-width:5!important}
body.dark .bm-geometry .bm-organic-svg{filter:drop-shadow(-5px 0 13px #e9b76b80) drop-shadow(5px 3px 14px #edc17880)!important}
@media(max-width:375px){.bm-geometry .bm-focus{width:70%!important;padding:19px 13px 11px!important}.bm-geometry .bm-panel>.bm-return{top:7px!important}}

.bm-geometry .bm-panel{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important;margin:0!important;padding:18px 8px 30px!important;min-height:75svh!important}
.bm-geometry .bm-top-choices{display:grid!important;grid-template-columns:1fr 1.3fr 1fr!important;gap:4px!important}
.bm-geometry .bm-units{display:none!important}

.bm-geometry .bm-top-choices>.bm-unit,.bm-geometry .bm-top-choices>.bm-return{display:flex!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:100%!important;min-height:94px!important;flex-direction:column!important;align-items:center!important;gap:8px!important;margin:0!important;padding:8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important}
.bm-geometry .bm-top-choices strong{font-size:clamp(16px,4.3vw,21px)!important;text-decoration:none!important}
.bm-geometry .bm-top-choices small{font-size:clamp(14px,3.8vw,18px)!important}
.bm-geometry .bm-top-choices>.bm-return i{order:1!important}
.bm-geometry .bm-top-choices>.bm-return small{order:2!important}
.bm-geometry .bm-top-choices>.bm-return[aria-pressed=true] strong{text-decoration:none!important}

.bm-geometry .bm-focus{position:relative!important;width:100%!important;max-width:none!important;margin:0!important;min-height:clamp(360px,48svh,510px)!important;padding:52px 33px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.bm-geometry .bm-organic-svg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.bm-geometry .bm-focus-title{font-size:clamp(27px,7vw,36px)!important}
.bm-geometry .bm-focus-translation{font-size:clamp(22px,5.8vw,29px)!important}
.bm-geometry .bm-note{font-size:clamp(16px,4.2vw,21px)!important;line-height:1.35!important;margin:13px 0!important}
.bm-geometry .bm-compare{font-size:clamp(13px,3.6vw,18px)!important}
.bm-geometry .bm-audio button{font-size:clamp(14px,3.8vw,18px)!important}

.bm-geometry .bm-panel>.bm-unit-3{display:flex!important;position:relative!important;flex-direction:column!important;gap:8px!important;align-items:center!important;min-height:94px!important;padding:8px!important;border:0!important;background:transparent!important}
.bm-geometry .bm-panel>.bm-unit-3 strong{font-size:clamp(16px,4.3vw,21px)!important}
.bm-geometry .bm-panel>.bm-unit-3 small{font-size:clamp(14px,3.8vw,18px)!important}
.bm-geometry .bm-panel>.bm-unit-3:after{order:1!important}
.bm-geometry .bm-panel>.bm-unit-3 small{order:2!important}
.bm-geometry .bm-natural,.bm-geometry .bm-logic{display:none!important}
body.dark .bm-geometry .bm-top-choices>.bm-return{color:#fff!important}

/* V7: one stable semantic item, equal-weight navigation, organic glass panel */
.bm-geometry .bm-panel{padding:10px 7px 22px!important;gap:0!important;min-height:0!important;overflow:visible!important}
.bm-geometry .bm-top-choices{grid-template-columns:1fr 1.4fr 1fr!important;gap:3px!important;position:relative!important;z-index:4!important;align-items:start!important}
.bm-geometry .bm-top-choices>.bm-unit,.bm-geometry .bm-top-choices>.bm-return{color:#091b48!important;min-height:112px!important;gap:8px!important;padding:5px 0!important;cursor:pointer!important;justify-content:flex-start!important}
.bm-geometry .bm-top-choices>.bm-unit:first-child,.bm-geometry .bm-top-choices>.bm-unit:last-child{margin-top:50px!important}
.bm-geometry .bm-top-choices strong,.bm-geometry .bm-panel>.bm-unit-3 strong{font-size:clamp(19px,5.3vw,27px)!important;line-height:1.12!important;font-weight:800!important}
.bm-geometry .bm-top-choices small,.bm-geometry .bm-panel>.bm-unit-3 small{font-size:clamp(17px,4.7vw,23px)!important;font-weight:750!important;color:#1488d8!important}
.bm-geometry .bm-top-choices>.bm-unit:after{content:"";display:block!important;order:1!important;width:15px!important;height:15px!important;border-radius:50%!important;border:2px solid #b8faff!important;background:#00baf3!important;box-shadow:0 0 11px #0cf!important;box-sizing:border-box!important}
.bm-geometry .bm-top-choices>.bm-unit small{order:2!important}
.bm-geometry .bm-top-choices>.bm-return i{width:15px!important;height:15px!important;min-height:15px!important;min-width:15px!important;border:2px solid #b8faff!important;background:#00baf3!important;box-shadow:0 0 11px #0cf!important;box-sizing:border-box!important}
.bm-geometry .bm-top-choices>.bm-return strong,.bm-geometry .bm-top-choices>.bm-return[aria-pressed=true] strong{text-decoration:none!important;color:#091b48!important}
.bm-geometry .bm-top-choices>.bm-return small{color:#1488d8!important}
.bm-geometry .bm-focus{width:100%!important;max-width:none!important;margin:-42px auto 0!important;min-height:clamp(345px,46svh,470px)!important;height:auto!important;padding:72px clamp(28px,8vw,55px) 48px!important;cursor:pointer!important}
.bm-geometry .bm-organic-svg{overflow:visible!important;filter:drop-shadow(-5px 2px 14px #c99b5360) drop-shadow(5px 2px 14px #f3cc8566)!important}
.bm-geometry .bm-focus-title{font-size:clamp(28px,7.2vw,37px)!important}
.bm-geometry .bm-focus-translation{font-size:clamp(24px,6.1vw,32px)!important}
.bm-geometry .bm-note{font-size:clamp(16px,4.2vw,21px)!important;max-width:100%!important}
.bm-geometry .bm-panel>.bm-unit-3{margin:12px auto 0!important;min-height:106px!important;width:100%!important;cursor:pointer!important}
.bm-geometry .bm-panel>.bm-unit-3:after{width:15px!important;height:15px!important;border:2px solid #b8faff!important;background:#00baf3!important;box-shadow:0 0 11px #0cf!important;box-sizing:border-box!important}
.bm-geometry .bm-focus .bm-audio button{cursor:pointer!important}
.bm-geometry .bm-focus:focus-visible{outline:2px solid #2eb7ed!important;outline-offset:2px!important}
body.dark .bm-geometry .bm-top-choices>.bm-return strong,body.dark .bm-geometry .bm-top-choices>.bm-unit,body.dark .bm-geometry .bm-panel>.bm-unit-3{color:#fff!important}
@media(max-width:375px){.bm-geometry .bm-focus{padding-left:25px!important;padding-right:25px!important}.bm-geometry .bm-top-choices strong{font-size:19px!important}}

.bm-geometry .bm-focus{width:calc(100% + 14px)!important;max-width:none!important;margin:-42px -7px 0!important}

/* V8 fullscreen Breakdown: immersive, scrollable, safe-area aware */
body.bm-fullscreen-open{overflow:hidden!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry{
position:fixed!important;inset:0!important;z-index:2147483000!important;
width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;
overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
padding:calc(env(safe-area-inset-top,0px) + 18px) max(10px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 24px) max(10px,env(safe-area-inset-left,0px))!important;
background:#e5f3ff!important;border:0!important;border-radius:0!important;
box-sizing:border-box!important;display:block!important;scrollbar-width:none!important}
body.dark.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry{background:#07152e!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-panel{max-width:650px!important;margin:0 auto!important;width:100%!important;min-height:calc(100dvh - 44px)!important;display:flex!important;flex-direction:column!important;justify-content:space-around!important;padding:8px 0 12px!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron{
display:grid!important;position:sticky!important;top:0!important;margin:0 12px 0 auto!important;
z-index:20!important;width:42px!important;height:34px!important;border-radius:20px!important;
background:#ffffff88!important;box-shadow:0 2px 10px #27476b22!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron span{
transform:translateY(3px) rotate(225deg)!important;border-color:#1495d5!important}
body.bm-fullscreen-open .bm-focus{margin:-28px -1px 0!important;width:calc(100% + 2px)!important;min-height:clamp(380px,52dvh,560px)!important}
body.bm-fullscreen-open .bm-organic-svg{inset:0!important;width:100%!important;height:100%!important}
body.bm-fullscreen-open .bm-panel>.bm-unit-3{margin-top:4px!important}
.bm-geometry .bm-return i{border-radius:50%!important;appearance:none!important}
.bm-geometry button,.bm-geometry .bm-focus{-webkit-tap-highlight-color:transparent!important;tap-highlight-color:transparent!important}
.bm-geometry button:focus:not(:focus-visible),.bm-geometry .bm-focus:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
.bm-geometry .bm-return i{border-radius:999px!important}
@media(max-width:400px){body.bm-fullscreen-open .bm-focus{padding:68px 26px 40px!important}body.bm-fullscreen-open .bm-top-choices>.bm-unit:first-child,body.bm-fullscreen-open .bm-top-choices>.bm-unit:last-child{margin-top:45px!important}}

body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-panel{justify-content:space-between!important;gap:0!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{margin:-62px -1px -8px!important;min-height:clamp(435px,61dvh,680px)!important;padding-top:82px!important;padding-bottom:65px!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron{width:44px!important;height:44px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;box-shadow:none!important;backdrop-filter:blur(8px)!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron span{width:11px!important;height:11px!important;border-width:2px!important;border-color:#5b86a7!important;transform:translateY(3px) rotate(225deg)!important}
body.dark.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron{background:rgba(255,255,255,.07)!important}
body.dark.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron span{border-color:#b2c9df!important}
@media(max-width:400px){body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{min-height:clamp(435px,61dvh,680px)!important;padding-top:82px!important;padding-bottom:65px!important}}

/* Breakdown interior: vertical reading rhythm, touch targets, narrow-phone fallback */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:space-evenly!important;gap:clamp(6px,1.25dvh,17px)!important;
 padding:clamp(40px,6dvh,76px) clamp(23px,6vw,50px) clamp(52px,7dvh,86px)!important;
}
body.bm-fullscreen-open .bm-focus .bm-focus-title{font-size:clamp(31px,8.1vw,45px)!important;line-height:1.12!important}
body.bm-fullscreen-open .bm-focus .bm-focus-translation{font-size:clamp(27px,7vw,38px)!important;line-height:1.17!important;margin-top:0!important}
body.bm-fullscreen-open .bm-focus .bm-note{font-size:clamp(18px,4.9vw,25px)!important;line-height:1.38!important;margin:0!important}
body.bm-fullscreen-open .bm-focus .bm-compare{width:100%!important;font-size:clamp(15px,4.1vw,21px)!important;line-height:1.4!important;margin:0!important;gap:clamp(8px,3vw,22px)!important}
body.bm-fullscreen-open .bm-focus .bm-compare>div+div{padding-left:clamp(9px,3vw,18px)!important}
body.bm-fullscreen-open .bm-focus .bm-audio{width:100%!important;gap:clamp(8px,3vw,24px)!important;flex-wrap:wrap!important}
body.bm-fullscreen-open .bm-focus .bm-audio button{font-size:clamp(17px,4.8vw,24px)!important;min-height:48px!important;padding:9px 5px!important;line-height:1.25!important}
@media(max-width:360px){body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{padding-left:19px!important;padding-right:19px!important;gap:5px!important}body.bm-fullscreen-open .bm-focus .bm-compare{font-size:14px!important}body.bm-fullscreen-open .bm-focus .bm-audio button{font-size:16px!important}}
@media(max-height:690px){body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{gap:5px!important;padding-top:40px!important;padding-bottom:45px!important}body.bm-fullscreen-open .bm-focus .bm-note{font-size:17px!important}}

body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{justify-content:center!important;gap:0!important;padding-top:45px!important;padding-bottom:52px!important}
body.bm-fullscreen-open .bm-focus .bm-focus-title:after{margin:12px auto 0!important}
body.bm-fullscreen-open .bm-focus .bm-focus-translation{margin:12px 0 0!important}
body.bm-fullscreen-open .bm-focus .bm-note{margin:clamp(32px,6dvh,64px) 0 0!important;font-size:clamp(19px,5vw,25px)!important}
body.bm-fullscreen-open .bm-focus .bm-compare{margin:clamp(18px,3dvh,32px) 0 0!important}
body.bm-fullscreen-open .bm-focus .bm-audio{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;max-width:460px!important;margin:clamp(24px,4dvh,42px) auto 0!important}
body.bm-fullscreen-open .bm-focus .bm-audio button{font-size:clamp(15px,4.1vw,20px)!important;min-height:48px!important;padding:9px 5px!important;white-space:normal!important;background:rgba(255,255,255,.42)!important;border:1px solid rgba(210,177,116,.4)!important;border-radius:999px!important;box-shadow:0 2px 9px rgba(132,101,48,.07)!important;position:relative!important;z-index:5!important}
body.bm-fullscreen-open .bm-focus .bm-audio button:last-child{grid-column:1/-1!important;justify-self:center!important;width:min(80%,290px)!important}
body.dark.bm-fullscreen-open .bm-focus .bm-audio button{background:rgba(255,255,255,.1)!important;border-color:rgba(255,225,175,.3)!important}
@media(max-width:375px){body.bm-fullscreen-open .bm-focus .bm-note{margin-top:24px!important}body.bm-fullscreen-open .bm-focus .bm-audio{margin-top:18px!important}body.bm-fullscreen-open .bm-focus .bm-audio button{font-size:14px!important}}
@media(max-height:700px){body.bm-fullscreen-open .bm-focus .bm-note{margin-top:22px!important}body.bm-fullscreen-open .bm-focus .bm-audio{margin-top:16px!important}}

/* V12 approved SpeakEasy Breakdown Calm Future: quiet, scenery-free light and dark */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry{background:radial-gradient(ellipse at 48% 45%,#e3f1fa 0%,#d4e9f8 70%,#d1e6f6 100%)!important}
body.dark.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry{background:radial-gradient(ellipse at 48% 42%,#18375b 0%,#10294a 62%,#0b2040 100%)!important}
body.bm-fullscreen-open .bm-geometry .bm-organic-svg{filter:drop-shadow(0 3px 12px rgba(57,127,175,.14))!important}
body.bm-fullscreen-open .bm-geometry .bm-organic-body{fill:#e5f3fb!important;stroke:#b8dcf3!important;stroke-width:1.25!important}
body.bm-fullscreen-open .bm-geometry .bm-organic-glow{stroke:#8dc4e8!important;opacity:.14!important}
body.bm-fullscreen-open .bm-geometry .bm-glass-relief{stroke:#9bcce9!important;opacity:.16!important}
body.bm-fullscreen-open .bm-geometry .bm-glass-sheen{stroke:#f3fcff!important;opacity:.56!important}
body.dark.bm-fullscreen-open .bm-geometry .bm-organic-body{fill:#173455!important;stroke:#7eb4e2!important}
body.dark.bm-fullscreen-open .bm-geometry .bm-organic-glow{stroke:#6baddd!important;opacity:.18!important}
body.dark.bm-fullscreen-open .bm-geometry .bm-glass-relief{stroke:#3e83b7!important;opacity:.19!important}
body.dark.bm-fullscreen-open .bm-geometry .bm-glass-sheen{stroke:#a5d5f7!important;opacity:.48!important}
body.bm-fullscreen-open .bm-focus .bm-focus-title:after{background:#1da8e2!important;box-shadow:0 0 6px rgba(20,156,210,.25)!important}
body.bm-fullscreen-open .bm-focus .bm-focus-translation{color:#236fae!important}
body.bm-fullscreen-open .bm-focus .bm-note{color:#457da7!important}
body.bm-fullscreen-open .bm-focus .bm-compare{font-size:clamp(18px,4.8vw,23px)!important;color:#163b68!important}
body.bm-fullscreen-open .bm-focus .bm-polite{color:#087ec7!important}
body.bm-fullscreen-open .bm-focus .bm-compare>div+div{border-left-color:#9ac8e7!important}
body.dark.bm-fullscreen-open .bm-focus .bm-focus-title{color:#f4f9ff!important}
body.dark.bm-fullscreen-open .bm-focus .bm-focus-translation{color:#a8d5fb!important}
body.dark.bm-fullscreen-open .bm-focus .bm-note{color:#b2d4ed!important}
body.dark.bm-fullscreen-open .bm-focus .bm-compare{color:#eef7ff!important}
body.dark.bm-fullscreen-open .bm-focus .bm-polite{color:#72d0ff!important}
body.dark.bm-fullscreen-open .bm-focus .bm-compare>div+div{border-left-color:#648bb1!important}
body.bm-fullscreen-open .bm-focus .bm-audio button{background:linear-gradient(150deg,rgba(255,255,255,.88),rgba(225,243,254,.84))!important;border:1px solid rgba(174,213,240,.95)!important;color:#123e70!important;box-shadow:0 4px 13px rgba(46,111,157,.10)!important;min-height:56px!important}
body.dark.bm-fullscreen-open .bm-focus .bm-audio button{background:linear-gradient(150deg,rgba(66,112,157,.46),rgba(42,83,124,.5))!important;border-color:rgba(140,194,238,.45)!important;color:#f2f8ff!important;box-shadow:0 3px 12px rgba(0,13,35,.18)!important}
body.bm-fullscreen-open .bm-focus .bm-audio button:last-child{min-height:57px!important}
body.bm-fullscreen-open .bm-geometry .bm-top-choices small,body.bm-fullscreen-open .bm-geometry .bm-panel>.bm-unit-3 small{color:#197ebf!important}
body.dark.bm-fullscreen-open .bm-geometry .bm-top-choices small,body.dark.bm-fullscreen-open .bm-geometry .bm-panel>.bm-unit-3 small{color:#6cc8ff!important}
body.bm-fullscreen-open .bm-geometry .bm-top-choices>.bm-unit:after,body.bm-fullscreen-open .bm-geometry .bm-top-choices>.bm-return i,body.bm-fullscreen-open .bm-geometry .bm-panel>.bm-unit-3:after{box-shadow:0 0 6px rgba(0,175,225,.36)!important}
@media(max-width:375px){body.bm-fullscreen-open .bm-focus .bm-compare{font-size:16px!important}body.bm-fullscreen-open .bm-focus .bm-audio button{min-height:48px!important}}

/* V13: remove mobile tap flash while retaining keyboard focus visibility */
.phrase-card button,.phrase-card [role="button"],#actions button,.bm-shell button,.bm-shell .bm-focus{
 -webkit-tap-highlight-color:transparent!important;
 -webkit-touch-callout:none;
}
.phrase-card button:focus:not(:focus-visible),#actions button:focus:not(:focus-visible),.bm-shell button:focus:not(:focus-visible){
 outline:none!important;
}
.phrase-card button:focus-visible,#actions button:focus-visible,.bm-shell button:focus-visible{
 outline:2px solid #328fc3!important;outline-offset:3px!important;
}

/* V15: always-visible bottom-right collapse, safe-area-aware */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron{
 display:grid!important;position:fixed!important;
 top:auto!important;left:auto!important;
 right:calc(env(safe-area-inset-right,0px) + 18px)!important;
 bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important;
 margin:0!important;width:48px!important;height:48px!important;
 border-radius:50%!important;
 background:rgba(230,246,255,.88)!important;
 border:1px solid rgba(123,182,219,.65)!important;
 color:#2679aa!important;
 box-shadow:0 3px 16px rgba(36,101,149,.16)!important;
 backdrop-filter:blur(10px)!important;
 z-index:2147483001!important;cursor:pointer!important;
 -webkit-tap-highlight-color:transparent!important;
}
body.dark.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron{
 background:rgba(38,77,116,.92)!important;
 border-color:rgba(147,203,243,.48)!important;
 color:#d6efff!important;
}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron span{display:none!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron svg{display:block!important;pointer-events:none!important}
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-chevron:focus-visible{outline:2px solid #328fc3!important;outline-offset:3px!important}

/* Isolated TEST language picker; calm appearance */
.learning-language-dialog{border:1px solid rgba(140,186,219,.55);border-radius:22px;padding:20px;width:min(92vw,430px);max-height:80dvh;overflow:auto;background:#e9f5fc;color:#193e62;box-shadow:0 16px 60px rgba(0,35,80,.22)}
.learning-language-dialog::backdrop{background:rgba(9,27,49,.52)}
.learning-language-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px;font-size:19px}
.learning-language-close{width:44px;height:44px;border-radius:50%;border:1px solid #b6d4e8;background:#fff;color:#27587a;font-size:27px}
.learning-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.learning-language-grid button{min-height:48px;border-radius:13px;border:1px solid #c2daec;background:rgba(255,255,255,.7);color:#214768;font:inherit;padding:9px}
.learning-language-grid button.selected{border:2px solid #4487b8;background:#d4eaf8;font-weight:700}
body.dark .learning-language-dialog{background:#183454;color:#e7f4ff;border-color:#507b9e}
body.dark .learning-language-grid button,body.dark .learning-language-close{background:#254967;color:#f1f9ff;border-color:#527fa0}
body.dark .learning-language-grid button.selected{background:#326389;border-color:#9ad5f5}
.learning-language-dialog button{-webkit-tap-highlight-color:transparent}
.learning-language-dialog button:focus-visible{outline:2px solid #328fc3;outline-offset:2px}

/* Japanese tourist-first breakdown */
.bm-full-phrase{display:flex;flex-direction:column;align-items:center;gap:5px;margin:8px 20px 0;text-align:center;max-width:100%;font-size:14px;line-height:1.22}.bm-full-phrase:empty{display:none}.bm-full-phrase small{font-size:12px;opacity:.8}.bm-full-phrase strong{font-size:clamp(15px,4vw,20px);font-weight:800}.bm-full-phrase span{font-size:13px;opacity:.9}.bm-full-phrase button{border:1px solid rgba(180,220,255,.5);background:rgba(70,126,180,.25);color:inherit;border-radius:18px;padding:9px 16px;font-weight:700;cursor:pointer}.bm-audio [hidden]{display:none!important}.bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:translateY(12px)}

/* Large tourist-friendly whole phrase, with the two remaining controls below */
.bm-full-phrase{gap:9px!important;margin:8px 15px 0!important}.bm-full-phrase small{font-size:15px!important}.bm-full-phrase strong{font-size:clamp(19px,5.3vw,26px)!important;line-height:1.18!important}.bm-full-phrase span{font-size:clamp(17px,4.5vw,22px)!important;line-height:1.2!important}.bm-full-phrase button{font-size:16px!important;padding:11px 18px!important}.bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:translateY(20px)!important}.bm-focus:has(.bm-full-phrase:not(:empty)) .bm-note{display:none!important}.bm-audio button[hidden]{display:none!important}

.bm-full-phrase .bm-romaji{display:block;font-style:normal;font-size:clamp(15px,3.8vw,19px);line-height:1.35;overflow-wrap:anywhere;margin:5px 0 8px}.bm-word-view[hidden]{display:none!important}.bm-shell.bm-words-active .bm-panel>*:not(.bm-word-view){display:none!important}.bm-shell.bm-words-active .bm-word-view{display:block!important;overflow-y:auto;max-height:calc(100dvh - 80px);padding:18px 14px 90px;color:#23364c;background:#f4f8fc;border-radius:24px}.bm-word-back,.bm-word-row button{border:1px solid #b9d0e2;border-radius:22px;background:#e6f1fa;color:#204363;padding:10px 14px;min-height:44px}.bm-word-view h2{font-size:22px;margin:20px 0}.bm-word-row{border:1px solid #d7e3ee;border-radius:18px;padding:13px;margin:10px 0;background:#fff}.bm-word-row strong{display:block;font-size:23px}.bm-word-row span{display:block;font-size:17px;margin-top:3px}.bm-word-row p{margin:8px 0}.bm-word-natural{line-height:1.5;margin-top:18px}body.dark .bm-shell.bm-words-active .bm-word-view{background:#101e31;color:#e8f1ff}body.dark .bm-word-row{background:#1b2b42;border-color:#41546b}body.dark .bm-word-back,body.dark .bm-word-row button{background:#2a3c54;color:#f1f6ff;border-color:#526780}

/* OWNER compact breakdown: keep the four surrounding phrase units visible */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{padding-top:12px!important;padding-bottom:12px!important;gap:0!important;justify-content:center!important}
body.bm-fullscreen-open .bm-focus .bm-note{margin:12px 0 0!important;font-size:clamp(15px,4vw,19px)!important}
body.bm-fullscreen-open .bm-focus .bm-compare{margin:8px 0 0!important}
body.bm-fullscreen-open .bm-focus .bm-audio{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:12px auto 0!important}
body.bm-fullscreen-open .bm-focus .bm-audio button{min-height:42px!important;padding:6px 5px!important;font-size:clamp(13px,3.5vw,16px)!important}
body.bm-fullscreen-open .bm-full-phrase{margin-top:5px!important}
body.bm-fullscreen-open .bm-full-phrase .bm-romaji{font-size:14px!important;margin:3px 0!important}
body.bm-fullscreen-open .bm-focus .bm-audio button:last-child{grid-column:auto!important;justify-self:stretch!important;width:auto!important}
@media(max-height:850px){body.bm-fullscreen-open .bm-focus .bm-note{margin-top:8px!important}body.bm-fullscreen-open .bm-focus .bm-audio{margin-top:8px!important}}

/* OWNER: matched audio buttons positioned safely inside central cloud */
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:translateY(-28px)!important;position:relative!important;z-index:2!important;width:calc(100% - 42px)!important;max-width:490px!important;margin:10px auto 0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio button{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:62px!important;min-height:62px!important;max-height:62px!important;padding:8px 7px!important;line-height:1.2!important;border-radius:999px!important;margin:0!important;align-self:stretch!important}

/* OWNER final mobile geometry override */
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:translateY(-40px)!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:calc(100% - 36px)!important;max-width:470px!important;margin-top:8px!important}
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio>button:not([hidden]){height:58px!important;min-height:58px!important;max-height:58px!important;width:100%!important;padding:6px!important;box-sizing:border-box!important;border-radius:999px!important;transform:none!important;line-height:1.1!important}

/* OWNER final spacing: no overlap with full phrase button */
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:none!important;margin:18px auto 0!important;position:relative!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:calc(100% - 36px)!important;max-width:470px!important;align-items:stretch!important}
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio>button:not([hidden]){height:56px!important;min-height:56px!important;max-height:56px!important;box-sizing:border-box!important;width:100%!important;transform:none!important;line-height:1.15!important;border-radius:999px!important;margin:0!important;padding:8px 6px!important}

/* OWNER: selected long phrase clears the top cloud arc */
body.bm-fullscreen-open .bm-geometry .bm-focus-title{position:relative!important;top:16px!important;}

/* OWNER: center the cyan separator between selected word and translation */
body.bm-fullscreen-open .bm-focus .bm-focus-title:after{position:relative!important;top:-8px!important;}

/* OWNER: full sentence listen and slow controls, side by side */
body.bm-fullscreen-open .bm-full-phrase .bm-full-audio{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:min(100%,390px)!important;margin:14px auto 0!important;align-items:stretch!important}
body.bm-fullscreen-open .bm-full-phrase .bm-full-audio>button{width:100%!important;min-width:0!important;height:56px!important;min-height:56px!important;max-height:56px!important;box-sizing:border-box!important;border-radius:999px!important;padding:7px 5px!important;margin:0!important;font-size:clamp(13px,3.6vw,17px)!important;line-height:1.15!important;white-space:nowrap!important}

/* OWNER: lift only selected-fragment audio buttons clear of cloud bottom border */
body.bm-fullscreen-open .bm-focus:has(.bm-full-phrase:not(:empty)) .bm-audio{transform:translateY(-23px)!important;}

/* OWNER: taller central cloud with top and bottom breathing room */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{min-height:clamp(505px,67dvh,750px)!important;margin-top:-62px!important;margin-bottom:-28px!important;padding-top:36px!important;padding-bottom:36px!important;}
/* OWNER MASTER: keep third top unit and its translation clear of the cloud. */
body.bm-fullscreen-open .bm-geometry .bm-top-choices>.bm-unit:last-child{margin-top:0!important;position:relative!important;z-index:9!important;}
body.bm-fullscreen-open .bm-geometry .bm-top-choices{z-index:9!important;}
/* OWNER MASTER MOBILE: third fragment translation stays above cloud. */
body.bm-fullscreen-open .bm-geometry .bm-top-choices>.bm-unit:last-child{margin-top:-8px!important;transform:translateY(-12px)!important;}
/* MASTER: four cloud audio buttons remain visible: two full phrase, two selected unit. */
body.bm-fullscreen-open .bm-geometry .bm-focus .bm-audio{display:flex!important;visibility:visible!important;}
/* Semantic 1–6: responsive lower units; no clipping or word splitting. */
body.bm-fullscreen-open .bm-geometry .bm-extra-units{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;padding:8px 12px 22px!important;position:relative!important;z-index:5!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units:has(>.bm-unit:only-child){grid-template-columns:minmax(0,1fr)!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;width:100%!important;min-height:110px!important;padding:8px 3px!important;grid-column:auto!important;grid-row:auto!important;order:0!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:center!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit strong{font-size:clamp(18px,5vw,25px)!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:keep-all!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit small{font-size:clamp(16px,4.3vw,21px)!important;color:#1488d8!important;font-weight:750!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit .bm-transcription{font-size:clamp(14px,3.7vw,19px)!important;overflow-wrap:break-word!important;}
body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit .bm-blue-dot,body.bm-fullscreen-open .bm-geometry .bm-extra-units>.bm-unit:after{display:block!important;box-sizing:border-box!important;flex:0 0 10px!important;align-self:center!important;width:10px!important;min-width:10px!important;max-width:10px!important;height:10px!important;min-height:10px!important;max-height:10px!important;aspect-ratio:1/1!important;border:0!important;border-radius:50%!important;transform:none!important;background:#00baf3!important;box-shadow:0 0 5px rgba(0,175,225,.36)!important;}
body.bm-fullscreen-open .bm-geometry .bm-top-choices strong{overflow-wrap:normal!important;word-break:keep-all!important;font-size:clamp(16px,4.4vw,23px)!important;}
body.bm-fullscreen-open .bm-geometry .bm-top-choices>.bm-unit{min-width:0!important;}
body.bm-fullscreen-open .bm-geometry .bm-top-choices .bm-transcription{overflow-wrap:break-word!important;font-size:clamp(13px,3.5vw,18px)!important;}
@media(max-width:380px){body.bm-fullscreen-open .bm-geometry .bm-extra-units{gap:6px!important;padding-inline:5px!important;}}

/* Portuguese transcription mobile: fit two lines without truncation */
body.bm-fullscreen-open .bm-geometry .bm-full-phrase .bm-romaji{font-size:clamp(12px,3.15vw,17px)!important;line-height:1.2!important;word-break:keep-all!important;}

/* OWNER: fixed icons immediately beside Listen / Slowly labels */
body.bm-fullscreen-open .bm-focus .bm-audio button{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;column-gap:4px!important;text-align:center!important;}
body.bm-fullscreen-open .bm-focus .bm-audio button>.bm-audio-icon{grid-column:1!important;grid-row:1!important;justify-self:end!important;font-size:15px!important;position:absolute!important;left:calc(50% - 37px)!important;top:16px!important;transform:translateY(-50%)!important;}
body.bm-fullscreen-open .bm-focus .bm-audio button>span{grid-column:2!important;grid-row:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:absolute!important;left:calc(50% - 13px)!important;right:auto!important;top:16px!important;transform:translateY(-50%)!important;white-space:nowrap!important;}
body.bm-fullscreen-open .bm-focus .bm-audio button>span>small{display:block!important;position:absolute!important;top:20px!important;left:-47px!important;width:120px!important;max-width:120px!important;font-size:clamp(10px,2.6vw,13px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;}

/* OWNER: adaptive Breakdown cloud, up to three lines in expanded view only. */
body.bm-fullscreen-open .phrase-card>.bm-shell.bm-geometry .bm-focus{height:auto!important;max-height:none!important;min-height:clamp(540px,70dvh,780px)!important;padding-top:54px!important;padding-bottom:70px!important;border-radius:32px!important;}
body.bm-fullscreen-open .bm-geometry .bm-focus-title,body.bm-fullscreen-open .bm-geometry .bm-focus-translation{max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;overflow:visible!important;line-height:1.16!important;}
body.bm-fullscreen-open .bm-geometry .bm-focus-title{top:0!important;padding-inline:8px!important;}
body.bm-fullscreen-open .bm-geometry .bm-focus .bm-organic-svg{border-radius:32px!important;}
/* Malay only: compact five-unit breakdown on phones */
@media(max-width:600px){body.bm-fullscreen-open.bm-malay .phrase-card>.bm-shell.bm-geometry .bm-focus{min-height:clamp(420px,57dvh,560px)!important;padding-top:22px!important;padding-bottom:24px!important}body.bm-fullscreen-open.bm-malay .bm-geometry .bm-extra-units{gap:8px!important;padding:0 8px 6px!important}body.bm-fullscreen-open.bm-malay .bm-geometry .bm-extra-units>.bm-unit{min-height:84px!important;gap:5px!important;padding:4px 2px!important}body.bm-fullscreen-open.bm-malay .bm-geometry .bm-extra-units>.bm-unit strong{font-size:clamp(18px,4.8vw,23px)!important}}
