/* Result content may scroll; its actions always keep their own layout space. */
.phone-result-heading,.phone-result-body,.phone-result-actions{position:relative;z-index:1;display:flex;min-width:0;gap:14px}
.phone-result-heading,.phone-result-actions{align-items:center;justify-content:space-between}
.phone-result-body{flex-direction:column}
.phone-result-actions .phone-result-done{flex:none;min-height:44px;padding-inline:12px}
@media(max-width:600px){
 :is(#ask-app,body.ask-with-tree) .character-scene.phone-result-active{
   display:flex;align-items:center;justify-content:center;min-height:0;
   padding:clamp(88px,18dvh,136px) 0 0;overflow:visible;gap:0
 }
 #ask-app .character-scene.phone-result-active{inset:12px 16px max(12px,env(safe-area-inset-bottom))}
 :is(#ask-app,body.ask-with-tree) .character-scene.phone-result-active>.phone-result{
   position:relative;display:flex;flex-direction:column;align-items:stretch;align-self:center;
   width:min(100%,420px);min-width:0;min-height:0;max-height:100%;margin:0 auto;
   padding:0;gap:0;translate:none;text-align:left;box-sizing:border-box;
   border:1px solid var(--line,#d5d7cc);border-radius:16px;background:var(--card,#fffdf7);
   color:var(--ink,#36342f);box-shadow:0 6px 24px #30382c12;
   animation:none;scale:1;filter:none
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-heading{
   position:relative;display:flex;flex:none;align-items:center;justify-content:space-between;
   gap:12px;padding:8px 12px 8px 18px;border-bottom:1px solid var(--line,#ded4c8)
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-kicker{
   position:static;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;
   color:inherit;font:650 11px/1.4 system-ui;letter-spacing:.04em;text-transform:uppercase
 }
 :is(#ask-app,body.ask-with-tree) .phone-result .answer-details-toggle{
   position:static!important;flex:none;order:0;z-index:3;width:auto;min-height:44px;margin:0;
   padding:8px 12px;border:1px solid var(--line,#d5d7cc);border-radius:10px;
   background:transparent;color:inherit;font:550 12px/1.3 system-ui;touch-action:manipulation
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-body{
   position:relative;display:flex;flex:0 1 auto;flex-direction:column;gap:12px;
   min-height:0;min-width:0;padding:20px 18px;overflow-y:auto;overflow-x:hidden;
   overscroll-behavior:contain;-webkit-overflow-scrolling:touch
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-verdict{
   order:1;display:block;margin:0;max-width:100%;color:inherit;
   font-size:clamp(52px,12vw,72px);line-height:1.05;letter-spacing:-.04em;overflow-wrap:anywhere
 }
 :is(#ask-app,body.ask-with-tree) .phone-result[data-comparison] .phone-result-verdict{
   font-size:clamp(22px,6vw,30px);line-height:1.2;letter-spacing:-.025em
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-question{
   order:2;width:100%;max-width:100%;margin:0;text-align:left;color:inherit;
   font-size:15px;line-height:1.45;font-weight:450;display:block;overflow-wrap:anywhere
 }
 :is(#ask-app,body.ask-with-tree) .phone-result[data-comparison] .phone-result-question{display:none}
 :is(#ask-app,body.ask-with-tree) #phone-result-brand{order:0}
 :is(#ask-app,body.ask-with-tree) .phone-result-reason{order:3;margin:0;font-size:14px;line-height:1.5}
 :is(#ask-app,body.ask-with-tree) .phone-result-reason>strong{font-size:12px}
 :is(#ask-app,body.ask-with-tree) .phone-result-reason p{margin:6px 0 0}
 :is(#ask-app,body.ask-with-tree) .phone-result-explore{order:4;padding:0}
 :is(#ask-app,body.ask-with-tree) .phone-result-actions{
   position:relative;display:flex;flex:none;align-items:center;justify-content:space-between;
   gap:16px;padding:10px 12px;border-top:1px solid var(--line,#ded4c8)
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-rating{
   order:0!important;display:flex;width:auto;min-height:44px;margin:0;padding:0;border:0
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-rating .bot-rating{width:auto;gap:10px}
 :is(#ask-app,body.ask-with-tree) .phone-result-rating .bot-rating button{
   width:44px;height:44px;min-width:44px;min-height:44px;margin:0;
   border:1px solid var(--line,#ded4c8);background:transparent;color:inherit;border-radius:10px
 }
 :is(#ask-app,body.ask-with-tree) .phone-result-done{
   order:0!important;flex:none;width:auto;min-height:44px;margin:0;padding:8px 12px;
   border:1px solid var(--line,#ded4c8);border-radius:10px;background:transparent;
   color:inherit;font:550 13px/1.3 system-ui;text-align:center;touch-action:manipulation
 }
 :is(#ask-app,body.ask-with-tree) .phone-result>.phone-result-presenter{
   left:50%;translate:-50% 0;width:min(100%,300px);height:auto;max-height:190px;
   object-fit:contain;bottom:calc(100% - 42px);pointer-events:none
 }
 :is(#ask-app,body.ask-with-tree) .phone-result::after{display:none}
 :is(#ask-app,body.ask-with-tree) .answer-details-panel{
   max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));box-sizing:border-box
 }
 :is(#ask-app,body.ask-with-tree) .answer-details-panel>header{position:static;gap:8px;padding:10px 14px}
 :is(#ask-app,body.ask-with-tree) .answer-details-close{min-height:44px;flex:none}
 :is(#ask-app,body.ask-with-tree) .answer-details-content{max-height:calc(100dvh - 110px - env(safe-area-inset-bottom))}
}
@media(max-width:600px) and (max-height:500px){
 :is(#ask-app,body.ask-with-tree) .character-scene.phone-result-active{padding-top:0}
 :is(#ask-app,body.ask-with-tree) .phone-result>.phone-result-presenter{display:none!important}
 :is(#ask-app,body.ask-with-tree) .phone-result-body{padding-block:12px}
}
