/* DIE2HARD Studio 2.0 — project page. One button system, one type scale, sentence case.
   Scoped under #workspace .p2-page so older layers cannot reach in. */
:root{
  --p2-paper:#f2ede6;--p2-surface:#fbf9f5;--p2-ink:#161513;--p2-soft:#3d3a35;--p2-muted:#716a60;
  --p2-line:#ddd5c9;--p2-line-2:#e9e3d9;--p2-orange:#f26522;--p2-orange-ink:#b9440c;--p2-green:#2f6a3a;--p2-red:#b4412e;
  --p2-sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--p2-display:"Archivo Narrow","Arial Narrow",Inter,sans-serif;
  --p2-r:14px;
}
#workspace .p2-page{max-width:920px;margin:0 auto;padding:0 0 40px;font-family:var(--p2-sans);color:var(--p2-ink);text-transform:none;letter-spacing:normal}
#workspace .p2-page *{box-sizing:border-box}
#workspace .p2-page h1,#workspace .p2-page h2,#workspace .p2-page b,#workspace .p2-page p,#workspace .p2-page small{text-transform:none;letter-spacing:normal;margin:0}
#workspace .p2-page button,#workspace .p2-page a.p2-quiet,#workspace .p2-page label.p2-secondary{font-family:var(--p2-sans);text-transform:none;letter-spacing:normal;box-shadow:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transform:none}

/* ---------- buttons: primary (one per screen), secondary, quiet, icon */
#workspace .p2-page .p2-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;border:0;background:var(--p2-orange);color:#fff;font-weight:650;font-size:15px;cursor:pointer}
#workspace .p2-page .p2-primary:active{background:var(--p2-orange-ink)}
#workspace .p2-page .p2-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--p2-ink);background:transparent;color:var(--p2-ink);font-weight:600;font-size:14.5px;cursor:pointer}
#workspace .p2-page .p2-secondary.p2-small{min-height:36px;padding:0 13px;font-size:13.5px;border-width:1px}
#workspace .p2-page .p2-secondary:active{background:var(--p2-ink);color:var(--p2-paper)}
#workspace .p2-page .p2-quiet{display:inline-flex;align-items:center;min-height:36px;padding:0 6px;border:0;background:none;color:var(--p2-soft);font-weight:600;font-size:13.5px;text-decoration:underline;text-decoration-color:var(--p2-line);text-underline-offset:4px;cursor:pointer;white-space:nowrap}
#workspace .p2-page .p2-quiet:active{color:var(--p2-orange-ink)}
#workspace .p2-page .p2-icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--p2-line);background:var(--p2-surface);color:var(--p2-ink);cursor:pointer;padding:0}
#workspace .p2-page .p2-danger-link{color:var(--p2-red);margin-top:6px}
#workspace .p2-page button:focus-visible,#workspace .p2-page a:focus-visible{outline:2px solid var(--p2-orange);outline-offset:2px}

/* ---------- header */
#workspace .p2-head{padding:6px 0 0}
#workspace .p2-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
#workspace .p2-back{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 8px 0 0;border:0;background:none;color:var(--p2-soft);font-size:15px;font-weight:600;cursor:pointer}
#workspace .p2-actions{display:flex;align-items:center;gap:8px}
#workspace .p2-title{font-family:var(--p2-display);font-weight:700;font-size:clamp(32px,8.5vw,52px);line-height:.98;letter-spacing:-.01em;color:var(--p2-ink);overflow-wrap:anywhere;max-width:16ch}
#workspace .p2-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:10px 0 18px;color:var(--p2-muted);font-size:14.5px}
#workspace .p2-vis{padding:3px 10px;border-radius:999px;border:1px solid var(--p2-line);color:var(--p2-soft);font-size:13px;font-weight:600}
#workspace .p2-vis.is-ghost{border-color:var(--p2-ink);background:var(--p2-ink);color:var(--p2-paper)}
#workspace .p2-vis.is-private{border-color:var(--p2-soft)}

/* the stage: one tappable strip */
#workspace .p2-stage{display:block;width:100%;text-align:left;padding:13px 15px 14px;border-radius:var(--p2-r);border:1px solid var(--p2-line);background:var(--p2-surface);color:var(--p2-ink);cursor:pointer}
#workspace .p2-stage:disabled{cursor:default;opacity:1}
#workspace .p2-stage-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
#workspace .p2-stage-row b{font-size:16px;font-weight:650}
#workspace .p2-stage-row small{color:var(--p2-muted);font-size:13.5px}
#workspace .p2-stage-go{margin-left:auto;color:var(--p2-orange-ink);font-size:13.5px;font-weight:600}
#workspace .p2-track{display:block;height:4px;border-radius:4px;background:var(--p2-line-2);margin-top:11px;overflow:hidden}
#workspace .p2-track i{display:block;height:100%;background:var(--p2-orange);border-radius:4px}
#workspace .p2-note{margin-top:12px;padding:11px 14px;border-radius:12px;background:#ece5da;color:var(--p2-soft);font-size:14px;line-height:1.45}

/* ---------- section tabs: sticky, scroll sideways, active one is solid */
#workspace .p2-tabs{position:sticky;top:0;z-index:5;margin:18px -16px 0;padding:10px 16px;background:linear-gradient(var(--p2-paper) 82%,rgba(242,237,230,0));}
#workspace .p2-tabs-in{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
#workspace .p2-tabs-in::-webkit-scrollbar{display:none}
#workspace .p2-tabs::after{content:'';position:absolute;right:0;top:10px;bottom:10px;width:28px;pointer-events:none;background:linear-gradient(90deg,rgba(242,237,230,0),var(--p2-paper))}
#workspace .p2-tabs button{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border-radius:999px;border:1px solid var(--p2-line);background:transparent;color:var(--p2-soft);font-size:14.5px;font-weight:600;cursor:pointer;scroll-snap-align:start}
#workspace .p2-tabs button.on{background:var(--p2-ink);border-color:var(--p2-ink);color:var(--p2-paper)}
#workspace .p2-tabs em{font-style:normal;font-size:12px;font-weight:700;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;background:var(--p2-line-2);color:var(--p2-soft)}
#workspace .p2-tabs button.on em{background:var(--p2-orange);color:#fff}

/* ---------- sections */
#workspace .p2-body{padding-top:6px}
#workspace .p2-sec{margin-top:26px}
#workspace .p2-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;min-height:36px}
#workspace .p2-sec-head h2{font-family:var(--p2-sans);font-size:18px;font-weight:700;color:var(--p2-ink)}
#workspace .p2-count{display:inline-block;margin-left:4px;color:var(--p2-muted);font-weight:600;font-size:15px}
#workspace .p2-head-actions{display:flex;align-items:center;gap:4px}
#workspace .p2-hint{color:var(--p2-muted);font-size:14px;line-height:1.5;margin:0 0 10px}
#workspace .p2-brief{font-size:16px;line-height:1.6;color:var(--p2-soft);white-space:pre-wrap;max-width:62ch}
#workspace .p2-more-link{margin-top:6px}

/* rows: one structure everywhere */
#workspace .p2-list{display:grid;border-top:1px solid var(--p2-line)}
#workspace .p2-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;padding:12px 0;border-bottom:1px solid var(--p2-line);min-height:60px}
#workspace .p2-row-main{min-width:0;display:grid;gap:3px}
#workspace .p2-row-main b{font-size:15.5px;font-weight:600;color:var(--p2-ink);overflow-wrap:anywhere}
#workspace .p2-row-main small{font-size:13.5px;color:var(--p2-muted);line-height:1.4}
#workspace .p2-row-main p{font-size:14.5px;line-height:1.5;color:var(--p2-soft);white-space:pre-wrap}
#workspace .p2-links{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;margin-top:4px;margin-left:-6px}
#workspace .p2-links .p2-pill{margin-left:6px}
#workspace .p2-row-main small .p2-pill{height:22px;font-size:12px;margin-right:8px;vertical-align:1px}
#workspace .p2-edit{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:var(--p2-muted);cursor:pointer;padding:0;margin-right:-10px}
#workspace .p2-edit:active{background:var(--p2-line-2);color:var(--p2-ink)}
#workspace .p2-scene .p2-edit{align-self:start}
#workspace .p2-task{grid-template-columns:auto 1fr auto}
#workspace .p2-check{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--p2-muted);background:transparent;color:#fff;display:grid;place-items:center;padding:0;cursor:pointer;position:relative}
#workspace .p2-check::after{content:"";position:absolute;inset:-9px}
#workspace .p2-task.is-done .p2-check{background:var(--p2-green);border-color:var(--p2-green)}
#workspace .p2-task.is-done .p2-row-main b{color:var(--p2-muted);text-decoration:line-through}
#workspace .p2-task.is-late .p2-row-main small{color:var(--p2-red)}
#workspace .p2-pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:650;background:var(--p2-line-2);color:var(--p2-soft);white-space:nowrap;margin-right:4px}
#workspace .p2-pill.is-blocked,#workspace .p2-pill.is-changes_requested{background:#f6dcd5;color:var(--p2-red)}
#workspace .p2-pill.is-in_progress,#workspace .p2-pill.is-in_review,#workspace .p2-pill.is-ready{background:#fde3d3;color:var(--p2-orange-ink)}
#workspace .p2-pill.is-approved,#workspace .p2-pill.is-published{background:#dcebd9;color:var(--p2-green)}

/* start list */
#workspace .p2-link-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:54px;padding:0 2px;border:0;border-bottom:1px solid var(--p2-line);background:none;color:var(--p2-ink);font-size:15.5px;font-weight:600;text-align:left;cursor:pointer}
#workspace .p2-link-row svg{color:var(--p2-orange)}

/* empty states: one sentence, one action */
#workspace .p2-empty{padding:18px;border:1px dashed var(--p2-line);border-radius:var(--p2-r);display:grid;gap:12px;justify-items:start}
#workspace .p2-empty p{color:var(--p2-muted);font-size:14.5px;line-height:1.5;max-width:52ch}
#workspace .p2-empty-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}

/* scenes + references */
#workspace .p2-scenes{list-style:none;margin:0;padding:0;display:grid;gap:12px}
#workspace .p2-scene{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-radius:var(--p2-r);background:var(--p2-surface);border:1px solid var(--p2-line)}
#workspace .p2-scene-img{grid-column:1/-1;border-radius:10px;overflow:hidden;aspect-ratio:16/9;background:var(--p2-line-2)}
#workspace .p2-scene-img img{width:100%;height:100%;object-fit:cover;display:block}
#workspace .p2-scene-body{display:grid;gap:4px;min-width:0}
#workspace .p2-scene-n{font-family:var(--p2-display);font-weight:700;font-size:22px;color:var(--p2-orange)}
#workspace .p2-scene-body b{font-size:16px}
#workspace .p2-scene-body p{font-size:14.5px;line-height:1.5;color:var(--p2-soft)}
#workspace .p2-scene-body small{font-size:13px;color:var(--p2-muted)}
#workspace .p2-refs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
#workspace .p2-ref{margin:0;display:grid;gap:8px}
#workspace .p2-ref-img{aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--p2-line-2);display:grid;place-items:center;color:var(--p2-muted)}
#workspace .p2-ref-img.is-link{aspect-ratio:auto;height:64px;grid-auto-flow:column;gap:8px;font-size:13px;font-weight:600}
#workspace .p2-ref-img img{width:100%;height:100%;object-fit:cover;display:block}
#workspace .p2-ref figcaption{display:grid;gap:2px}
#workspace .p2-ref figcaption b{font-size:14px;font-weight:600}
#workspace .p2-ref figcaption small{font-size:12.5px;color:var(--p2-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#workspace .p2-ref-actions{display:flex;gap:2px;margin-left:-6px}

/* details, activity, files */
#workspace .p2-details{margin-top:18px;border-top:1px solid var(--p2-line)}
#workspace .p2-details summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:600;font-size:15px;color:var(--p2-soft);list-style:none}
#workspace .p2-details summary::-webkit-details-marker{display:none}
#workspace .p2-details summary::after{content:"+";margin-left:auto;font-size:20px;color:var(--p2-muted)}
#workspace .p2-details[open] summary::after{content:"–"}
#workspace .p2-activity{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#workspace .p2-activity li{font-size:14px;color:var(--p2-soft);line-height:1.45}
#workspace .p2-activity small{display:block;color:var(--p2-muted);font-size:12.5px}
#workspace .p2-upload{position:relative;overflow:hidden}
#workspace .p2-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
#workspace #v150ProjectArchive .v150-archive-list{display:grid;gap:8px}
#workspace #v150ProjectArchive .v150-archive-empty{padding:16px;border:1px dashed var(--p2-line);border-radius:var(--p2-r);color:var(--p2-muted);font-size:14.5px;font-family:var(--p2-sans);text-transform:none;letter-spacing:normal}

/* map tab: old canvas inside the new frame */
#workspace .p2-map .canvas-shell{margin-top:12px}
#workspace .p2-map-hint{margin:8px 0 0}
#workspace .node-canvas,#workspace .studio-node{touch-action:none}

/* ---------- sheets (Add / Actions / Stage) */
dialog#modal.p2-sheet-modal .p2-sheet{display:grid;gap:2px}
.p2-sheet-row{display:grid;gap:3px;width:100%;text-align:left;padding:13px 4px;min-height:56px;border:0;border-bottom:1px solid rgba(255,255,255,.1);background:none;color:#f2ede6;cursor:pointer;font-family:var(--p2-sans);text-transform:none;letter-spacing:normal}
.p2-sheet-row b{font-size:16px;font-weight:600}
.p2-sheet-row span{font-size:13.5px;color:#a49c90;line-height:1.4}
.p2-sheet-row.is-current b{color:var(--p2-orange)}
.p2-sheet-row.is-past b{color:#a49c90}
.p2-sheet-row:active{background:rgba(255,255,255,.05)}

/* ---------- phones */
@media (max-width:650px),(pointer:coarse) and (max-height:500px) and (max-width:1000px){
  body.d19 #workspace{padding-left:16px!important;padding-right:16px!important}
  #workspace .p2-body{padding-bottom:24px}
  #workspace .p2-refs{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:651px){
  #workspace .p2-head{display:grid;grid-template-columns:1fr auto;column-gap:24px}
  #workspace .p2-topbar{grid-column:1/-1}
  #workspace .p2-head>*:not(.p2-topbar){grid-column:1/-1}
  #workspace .p2-stage{max-width:560px}
}
/* No sticky hover lifts on touch screens (they made first taps look ignored). */
@media (hover:none){.project-card:hover,.v07-project-card:hover,.v09-project:hover{transform:none!important;translate:none!important}}
/* ---------- guided tour */
.p2-coach{position:fixed;inset:0;z-index:2000;font-family:var(--p2-sans)}
.p2-coach[hidden]{display:none}
.p2-coach.is-dim{background:rgba(14,13,12,.62)}
.p2-coach-spot{position:fixed;border-radius:16px;box-shadow:0 0 0 200vmax rgba(14,13,12,.62);outline:2px solid var(--p2-orange);outline-offset:0;transition:left .28s ease,top .28s ease,width .28s ease,height .28s ease;pointer-events:none}
.p2-coach{touch-action:none;overscroll-behavior:contain}
.p2-coach-card{position:fixed;left:16px;top:16px;width:min(380px,calc(100vw - 32px));box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;visibility:hidden;border-radius:18px;background:var(--p2-surface);color:var(--p2-ink);box-shadow:0 18px 50px rgba(0,0,0,.28)}
.p2-coach-card[data-placed]{visibility:visible}
.p2-coach-card.is-center{top:50%;left:50%;width:min(400px,calc(100vw - 32px));transform:translate(-50%,-50%)}
/* the words scroll inside the card; the buttons below never leave the screen */
.p2-coach-body{overflow-y:auto;min-height:0;padding:20px 20px 4px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.p2-coach-spot.is-follow{transition:none}
.p2-coach-card h2{margin:0 0 8px;font-family:var(--p2-display);font-weight:700;font-size:28px;line-height:1.02;letter-spacing:-.005em;text-transform:none}
.p2-coach-card p{margin:0 0 12px;font-size:15.5px;line-height:1.5;color:var(--p2-soft)}
.p2-coach-dots{display:flex;gap:5px;margin-bottom:14px}
.p2-coach-dots i{width:18px;height:4px;border-radius:2px;background:var(--p2-line)}
.p2-coach-dots i.on{background:var(--p2-orange)}
.p2-coach-role{padding:10px 12px;border-radius:12px;background:#ece5da}
.p2-coach-lang{display:flex;gap:6px;margin:0 0 6px}
.p2-coach-lang button{min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--p2-line);background:transparent;color:var(--p2-soft);font:600 14px var(--p2-sans);cursor:pointer}
.p2-coach-lang button.on{background:var(--p2-ink);border-color:var(--p2-ink);color:var(--p2-paper)}
.p2-coach-actions{flex:none;display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:8px 20px 14px}
.p2-coach-skip{min-height:44px;padding:0 10px;border:0;background:none;color:var(--p2-muted);font:600 14.5px var(--p2-sans);cursor:pointer}
.p2-coach-next{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--p2-orange);color:#fff;font:650 15px var(--p2-sans);cursor:pointer}
@media (prefers-reduced-motion:reduce){.p2-coach-spot{transition:none}}
/* phone sheet and short windows (a phone on its side): a smaller card, so more of the page stays visible */
.p2-coach-card[data-mode=sheet] h2{font-size:25px}
.p2-coach-card[data-mode=sheet] p{font-size:15px;line-height:1.45}
@media (max-height:520px){
  .p2-coach-body{padding:14px 16px 2px}
  .p2-coach-card h2{font-size:21px;margin-bottom:6px}
  .p2-coach-card p{font-size:14.5px;line-height:1.4;margin-bottom:8px}
  .p2-coach-dots{margin-bottom:8px}
  .p2-coach-actions{padding:6px 16px 10px}
  .p2-coach-skip,.p2-coach-next{min-height:40px}
}

/* ---------- the assistant's avatar lives in the phone tab bar */



/* ---------- home */
#workspace .p2-home-head{padding-top:8px}
#workspace .p2-home-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
#workspace .p2-eyebrow{color:var(--p2-muted);font-size:14px;font-weight:500;margin:0 0 6px;text-transform:none}
#workspace .p2-eyebrow::first-letter{text-transform:uppercase}
#workspace .p2-sub{color:var(--p2-soft);font-size:15px;margin-top:10px!important}
#workspace .p2-home .p2-title{max-width:none}
#workspace .p2-home button.p2-row{width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--p2-line);border-radius:0;color:var(--p2-ink);cursor:pointer;font:inherit;align-items:center}
#workspace .p2-home button.p2-row>svg{color:var(--p2-muted);flex:none}
#workspace .p2-home .p2-home-task{display:grid;grid-template-columns:auto 1fr auto;gap:12px}
#workspace .p2-home .p2-home-proj{display:grid;grid-template-columns:1fr auto;gap:12px}
#workspace .p2-home .p2-home-proj .p2-track{margin-top:9px;max-width:240px}
#workspace .p2-dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--p2-muted);display:inline-block}
#workspace .p2-dot.is-in_progress{border-color:var(--p2-orange);background:var(--p2-orange)}
#workspace .p2-dot.is-blocked{border-color:var(--p2-red);background:var(--p2-red)}
#workspace .p2-home-task.is-late small{color:var(--p2-red)}
#workspace .p2-start{padding:16px 16px 6px;border:1px solid var(--p2-line);border-radius:var(--p2-r);background:var(--p2-surface)}
#workspace .p2-start .p2-sec-head{margin-bottom:4px}
#workspace .p2-start .p2-track{margin:0 0 6px}
#workspace .p2-start .p2-link-row span{display:grid;gap:2px}
#workspace .p2-start .p2-link-row small{color:var(--p2-muted);font-size:13.5px;font-weight:400}
#workspace .p2-start .p2-link-row{padding:11px 2px;min-height:58px}
#workspace .p2-start .p2-link-row:last-child{border-bottom:0}
@media (max-width:650px),(pointer:coarse) and (max-height:500px) and (max-width:1000px){#workspace .p2-home-top .p2-primary{width:100%}}
@media print{#workspace .p2-tabs,#workspace .p2-actions,#workspace .p2-back,#workspace .p2-stage-go{display:none!important}}
/* v1.12 delete project */
.p2-sheet-row.p2-danger b{color:#ff8d7e}
.p2-delete-form{display:grid;gap:16px;max-width:520px}.p2-delete-form p{line-height:1.5;margin:0}.p2-delete-form label{display:grid;gap:6px}.p2-delete-form .row{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.p2-delete-form button[disabled]{opacity:.45;cursor:not-allowed}
.p2-delete-form .v130-danger{min-height:44px;padding:0 20px;border-radius:999px;font-weight:600;cursor:pointer}
/* v1.12.3 photo slideshow */
.p2-ref-img img,.p2-scene-img img{cursor:zoom-in}
.d2h-lb{position:fixed;inset:0;z-index:10000;background:#060606;color:#f2ede6;display:grid;grid-template-rows:auto 1fr auto}
.d2h-lb-top{display:flex;align-items:center;gap:14px;padding:12px 14px;font:13px/1.3 var(--p2-sans,system-ui)}
.d2h-lb-count{font-variant-numeric:tabular-nums;color:#f26522;font-weight:700}
.d2h-lb-cap{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#cfc6ba}
.d2h-lb-open{color:#f2ede6;text-decoration:none;border:1px solid #444;padding:8px 12px;border-radius:999px;white-space:nowrap}
.d2h-lb-close{width:42px;height:42px;border-radius:50%;border:1px solid #444;background:transparent;color:#f2ede6;font-size:24px;line-height:1;cursor:pointer}
.d2h-lb-stage{margin:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:4px 64px}
.d2h-lb-stage img{max-width:100%;max-height:100%;object-fit:contain;user-select:none}
.d2h-lb-prev,.d2h-lb-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid #444;background:rgba(0,0,0,.4);color:#f2ede6;font-size:20px;cursor:pointer}
.d2h-lb-prev{left:12px}.d2h-lb-next{right:12px}
.d2h-lb-prev:hover,.d2h-lb-next:hover,.d2h-lb-close:hover,.d2h-lb-open:hover{border-color:#f26522;color:#f26522}
.d2h-lb-strip{display:flex;gap:6px;overflow-x:auto;padding:10px 14px 14px;scrollbar-width:none}
.d2h-lb-strip::-webkit-scrollbar{display:none}
.d2h-lb-strip button{flex:0 0 64px;height:48px;padding:0;border:2px solid transparent;background:#111;cursor:pointer;opacity:.55;border-radius:6px;overflow:hidden}
.d2h-lb-strip button.on{border-color:#f26522;opacity:1}
.d2h-lb-strip img{width:100%;height:100%;object-fit:cover;display:block}
html.d2h-lb-open,html.d2h-lb-open body{overflow:hidden}
@media(max-width:700px){.d2h-lb-stage{padding:4px 6px}.d2h-lb-prev,.d2h-lb-next{top:auto;bottom:78px;transform:none;width:44px;height:44px}.d2h-lb-open{padding:7px 10px;font-size:12px}}
/* v1.13 profile photos */
.d2h-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
#meButton.has-photo{padding:0;overflow:hidden}
.v09-person-avatar,.v09-mini-people span{overflow:hidden}
.d2h-me-photo{display:flex;gap:16px;align-items:center;margin:4px 0 14px}
.d2h-me-photo.full{grid-column:1/-1}
.d2h-me-pic{width:84px;height:84px;flex:0 0 84px;border-radius:50%;overflow:hidden;background:#e7e0d7;color:#141414;display:grid;place-items:center;font:700 26px/1 var(--p2-sans,system-ui);border:1px solid #c8c0b5}
.d2h-me-photo-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.d2h-me-photo-actions small{flex-basis:100%;opacity:.7;font-size:12.5px;line-height:1.4}
.d2h-photo-btn{position:relative;cursor:pointer;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px}
.d2h-photo-btn input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.d2h-photo-remove{background:transparent;border:1px solid #a83b2f;color:#c0392b;border-radius:999px;min-height:40px;padding:0 14px;cursor:pointer}
