/* Approved mobile card material and motion, 13 November 2026. */
@media(max-width:720px){
  #portfolio-table-study.phone-transitioning::before{opacity:0!important}
  #portfolio-table-study .phone-deal-pending .project-card{visibility:hidden}
  #portfolio-table-study .table-atmosphere,
  #portfolio-table-study .reading .table-atmosphere{display:block;visibility:visible;opacity:1;overflow:hidden;transition:none;z-index:0}
  #portfolio-table-study .table-atmosphere .decorative-back{display:none}
  #portfolio-table-study .table-atmosphere .phone-decor-back{display:block;top:var(--phone-back-top,340px);width:210px;height:260px;border-radius:12px;box-shadow:0 8px 24px #160a1d55;opacity:.66}
  #portfolio-table-study .table-atmosphere .phone-decor-back[data-back-position='0']{left:-140px;right:auto;transform:rotate(-13deg)}
  #portfolio-table-study .table-atmosphere .phone-decor-back[data-back-position='1']{left:auto;right:-143px;transform:rotate(15deg);height:240px}
  #portfolio-table-study .table-atmosphere .phone-decor-back[data-back-position='2']{left:-137px;right:auto;transform:rotate(-19deg);height:250px;opacity:.86}
  #portfolio-table-study .table-atmosphere .phone-decor-back[data-back-position='3']{left:auto;right:-146px;transform:rotate(9deg);height:245px}
  #portfolio-table-study .table-atmosphere .decorative-back::before{inset:9px;border-radius:6px}
  #portfolio-table-study .table-atmosphere .back-print{inset:17px}
  #portfolio-table-study .table-atmosphere .back-medallion{width:42px;height:42px}
  #portfolio-table-study .reading .table-atmosphere .phone-decor-back{opacity:.52}
  #portfolio-table-study .reading .table-atmosphere .back-orbits.phone-decor-back{opacity:.76}
  /* A card keeps its printed title as it opens. Typography never morphs. */
  #portfolio-table-study .table-scene .project-card .project-title,
  #portfolio-table-study .table-scene.reading .anchored .project-title{
    font-family:var(--type-display);font-size:32px;font-weight:600;
    font-variation-settings:'opsz' 32,'wdth' 100;font-optical-sizing:none;
    line-height:1.04;letter-spacing:-.025em;min-height:0;text-wrap:balance;
  }
  #portfolio-table-study .phone-transfer{position:absolute!important;z-index:500!important;pointer-events:none!important;transform-origin:50% 50%!important;overflow:hidden!important;transition:none!important;animation:none!important;contain:layout style;will-change:transform,height}
  #portfolio-table-study .phone-morph-shell{padding:0!important}
  #portfolio-table-study .phone-morph-shell::before{content:'';position:absolute;inset:9px;border:1px solid var(--paper-border);border-radius:7px;pointer-events:none}
  #portfolio-table-study .phone-morph-shell::after{content:'';position:absolute;left:8px;top:24%;width:4px;height:28px;border-radius:3px;background:linear-gradient(var(--card-mark-light),var(--card-mark) 55%,var(--card-mark-dark))}
  #portfolio-table-study .table-scene .project-card.phone-ink-steady,
  #portfolio-table-study .phone-ink-steady > .project-title{will-change:transform}
  /* Restore the settled paper in one paint, without a second CSS transition. */
  #portfolio-table-study .table-scene .project-card.phone-ink-steady,
  #portfolio-table-study .table-scene .project-card.phone-ink-steady::before,
  #portfolio-table-study .table-scene .project-card.phone-ink-steady::after{transition:none!important}
  #portfolio-table-study .table-scene .project-card.phone-live-morph{background:transparent!important;border-color:transparent!important;box-shadow:none!important;z-index:501!important;isolation:isolate;will-change:transform,clip-path}
  #portfolio-table-study .phone-live-morph::before,
  #portfolio-table-study .phone-live-morph::after{visibility:hidden!important}
}
