/* V27: visual cleanup after V26: responsive, compact interactive controls, no fake selection. */
::selection{background:rgba(255,146,118,.24);color:#fff5ee}
::-moz-selection{background:rgba(255,146,118,.24);color:#fff5ee}
/* Remove unwanted legacy blue word-highlighting / injected stack. */
body .lf-stack-wrap,body #lf-stack,body .lar20-decor {display:none!important}
body .v22-tech-stack span,body .at-hero-copy strong,body .at-skill strong{user-select:text;-webkit-user-select:text;filter:none!important;text-shadow:none!important}
/* One consistent compact button system, without shrinking tap targets. */
body .at-actions{gap:12px!important;align-items:center!important}
body .at-actions .at-primary,body .at-actions .at-underlink,
body .dx-actions button,body .arc-actions button,body .orbit-motion,
body .at-form button,body .nav-admin,body [data-arc-next],
body [data-arc-retry],body [data-dx-run],body [data-dx-shuffle]{
  box-sizing:border-box!important;max-width:100%!important;min-height:42px!important;
  padding:10px 16px!important;font-size:12px!important;line-height:1.3!important;
  border-radius:12px!important;letter-spacing:0!important;
  text-align:center!important;justify-content:center!important;align-items:center!important;
  white-space:normal!important;box-shadow:none!important;transform:none;
}
body .at-actions .at-primary{gap:10px!important;width:auto!important;display:inline-flex!important}
body .at-actions .at-primary span{font-size:16px!important}
body .at-actions .at-underlink{display:inline-flex!important;border:1px solid rgba(255,161,139,.5)!important;text-decoration:none!important}
body .at-form button{width:auto!important;max-width:100%!important;align-self:flex-start!important;gap:16px!important}
body .at-form button span{display:inline!important}
body .arc-options button,body .dx-options button{min-height:44px!important;font-size:12px!important;padding:10px 12px!important;line-height:1.3!important;white-space:normal!important}
body .at-skills{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .at-skills .at-skill{min-height:115px!important}
body .at-skills .at-skill strong{font-size:clamp(16px,2vw,24px)!important}
body .at-hero-copy,body .at-hero-grid,body .orbit-widgets{min-width:0!important;max-width:100%!important}
body .v22-tech-stack{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-width:100%!important}
body .v22-tech-stack span{width:auto!important;max-width:100%!important;overflow-wrap:anywhere!important}
/* Long terminal and portrait code must not increase viewport width. */
body .orbit-code,body .orbit-console,body .at-code-window{max-width:100%!important;overflow-wrap:anywhere!important}
@media(max-width:900px){body .at-actions{flex-wrap:wrap!important}body .at-hero-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:650px){
  body .at-hero{padding-inline:16px!important}
  body .at-hero h1{font-size:clamp(48px,12vw,76px)!important;max-width:100%!important}
  body .at-hero-copy{width:100%!important}
  body .at-actions{display:flex!important;align-items:stretch!important;gap:10px!important}
  body .at-actions .at-primary,body .at-actions .at-underlink{min-width:0!important;width:100%!important;max-width:100%!important}
  body .at-skills{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .at-skills .at-skill{min-height:90px!important;padding:14px!important}
  body .at-form button{width:100%!important}
  body .orbit-code{font-size:9px!important;max-width:85vw!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body .orbit-widgets{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  body .orbit-widgets>*{width:100%!important;min-width:0!important;max-width:100%!important}
  body .at-title-row h2{font-size:clamp(46px,11vw,70px)!important}
}
@media(max-width:375px){body .at-skills{grid-template-columns:1fr 1fr!important}body .at-actions .at-primary,body .at-actions .at-underlink{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){body .at-actions a,body button{transition:none!important}}
