/* Approved mobile-theater-v2 (2026-10-12). Only the selected pixel phone
   theater changes layout; original images, words and controls retain ownership. */
.skit-status,.skit-dialogue-avatar{display:none}
.skit-toolbar-heading,.skit-chrome-icon,.skit-source-badge,.skit-scene-category,.skit-trend-icon{display:none}
@media (max-width:759px), (max-width:1024px) and (max-height:600px) and (orientation:landscape){
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"]{--skit-ink:#111252;--skit-pink:#ff258e;width:calc(100vw - 16px);max-width:calc(100vw - 16px);border:1px solid #ffc2e6;border-radius:10px;background:#fffafd;color:var(--skit-ink)}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .dialog-scroll{padding:8px 10px 14px;overflow-x:hidden}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .dialog-toolbar{align-items:center;border-bottom:1px solid #ffc2e6;background:#fffafd;padding:6px 10px;min-height:48px}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .dialog-toolbar::before{content:none}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .dialog-toolbar .x-close{order:0;margin:0 10px 0 0;flex:none;width:36px;min-width:36px;min-height:36px;font-size:0;border:0;border-right:1px solid #d1d0f5;border-radius:0;background:transparent;box-shadow:none;color:var(--skit-ink)}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .dialog-toolbar .x-close::before{content:'';display:block;width:12px;height:12px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);margin:auto}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-toolbar-heading{display:flex;order:1;align-items:center;gap:12px;margin-right:auto;color:var(--skit-ink);font-size:21px;font-weight:900}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-chrome-icon{position:relative;display:inline-block;width:28px;flex:none;overflow:hidden;image-rendering:pixelated;vertical-align:middle}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-chrome-icon>img[hidden]{display:none}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-scene-category{display:inline}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-scene-title{min-width:0;overflow-wrap:anywhere;flex:1}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-source-badge{display:inline-block;flex:none;padding:2px 9px;border:1px solid #d1d0f5;border-radius:20px;background:#eeedff;font-size:11px;font-weight:600;white-space:nowrap}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .skit-trend-icon{display:inline-block;width:26px;height:23px;margin-right:10px;vertical-align:middle;background:currentColor;clip-path:polygon(0 78%,32% 38%,49% 56%,73% 25%,61% 25%,61% 5%,98% 5%,98% 42%,78% 42%,78% 34%,50% 77%,33% 60%,13% 98%)}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #day-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:17px;margin:0 0 5px;padding:9px 10px;border:1px solid #ffc2e6;border-radius:7px;line-height:1.5}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #day-subtitle{font-size:11px;margin:5px 0 9px}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #day-stage-label,
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] .day-total,
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #day-share{display:none}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #day-story-comic-frame{max-width:100%;margin:6px 0 12px}
 body[data-frontend="pixel"] #day-story-stage .event-comic-lines{grid-template-columns:minmax(0,1fr);list-style:none;padding:0!important;gap:8px;margin:8px 0}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;align-items:start}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li{display:contents}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li>:is(.comic-panel-art,.comic-panel-viewport,.comic-panel-missing){grid-row:1;margin:0}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(n+3)>:is(.comic-panel-art,.comic-panel-viewport,.comic-panel-missing){grid-row:2}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(odd)>:is(.comic-panel-art,.comic-panel-viewport,.comic-panel-missing){grid-column:1}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(even)>:is(.comic-panel-art,.comic-panel-viewport,.comic-panel-missing){grid-column:2}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-missing{z-index:1;align-self:center;justify-self:center;max-width:100%;box-sizing:border-box;margin:0;padding:8px 5px;border:1px dashed #b39b9f;border-radius:5px;background:#fff7fc;font-size:12px;line-height:1.6;text-align:center}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-missing[hidden]{display:none}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards .comic-panel-caption{grid-column:1/-1;min-width:0}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(1)>.comic-panel-caption{grid-row:3}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(2)>.comic-panel-caption{grid-row:4}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(3)>.comic-panel-caption{grid-row:5}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-cards>li:nth-child(4)>.comic-panel-caption{grid-row:6}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-line{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:10px;width:100%;box-sizing:border-box;min-width:0;margin:5px 0 7px;padding:10px 12px;border:1px solid #ffc2e6;border-radius:9px;background:#fff;color:var(--skit-ink);font-size:15px;line-height:1.8;overflow-wrap:anywhere;white-space:normal;max-height:none}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-speaker{display:block;grid-column:2;grid-row:1;margin-bottom:3px;color:var(--skit-ink);font-weight:900}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-separator{display:none}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-speech{grid-column:2;grid-row:2;white-space:pre-wrap}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-avatar{display:block;position:relative;grid-column:1;grid-row:1/3;align-self:start;width:44px;overflow:hidden;border:1px solid #ffc2e6;border-radius:6px;background:#fff7fc;box-sizing:border-box;min-height:44px}
 body[data-frontend="pixel"] #day-story-stage .skit-dialogue-avatar:not([data-art-status="ready"])::after{content:attr(data-speaker);display:grid;place-items:center;min-height:42px;font-size:12px;font-weight:800;line-height:1.4;overflow-wrap:anywhere;text-align:center;padding:2px;box-sizing:border-box}
 body[data-frontend="pixel"] #day-story-stage :is(.skit-dialogue-avatar,.skit-status-icon)>img[hidden]{display:none}
 body[data-frontend="pixel"] #day-story-stage .comic-panel-action{font-size:12px;margin:5px 0;color:#716380}
 body[data-frontend="pixel"] #day-story-stage .skit-status:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;margin:12px 0 0;padding:12px 10px;border:1px solid #ffc2e6;border-radius:8px;background:#fff}
 body[data-frontend="pixel"] #day-story-stage .skit-status-item{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:7px;align-items:center;min-width:0}
 body[data-frontend="pixel"] #day-story-stage .skit-status-item+.skit-status-item{border-left:1px solid #dedaf5;padding-left:10px}
 body[data-frontend="pixel"] #day-story-stage .skit-status-label{display:block;grid-column:2;font-size:12px;line-height:1.5;font-weight:700}
 body[data-frontend="pixel"] #day-story-stage .skit-status-values{grid-column:2;display:flex;align-items:baseline;flex-wrap:wrap;font-size:17px;line-height:1.6;font-variant-numeric:tabular-nums}
 body[data-frontend="pixel"] #day-story-stage .skit-status-arrow{padding:0 5px;color:#898bd7}
 body[data-frontend="pixel"] #day-story-stage .skit-status-after{color:var(--skit-pink)}
 body[data-frontend="pixel"] #day-story-stage .skit-status-income{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;padding-top:8px;border-top:1px solid #ffc2e6}
 body[data-frontend="pixel"] #day-story-stage .skit-status-income-value{font-size:22px;color:var(--skit-pink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 body[data-frontend="pixel"] #day-story-stage .skit-status-icon{position:relative;display:block;width:30px;flex:none;grid-column:1;grid-row:1/3;overflow:hidden;image-rendering:pixelated}
 body[data-frontend="pixel"] #day-story-stage .skit-status-icon-income{width:26px}
 body[data-frontend="pixel"] #day-dialog[data-recap-layout="story"] #next-day{min-height:48px;font-size:19px;border:0;border-radius:7px;background:linear-gradient(110deg,#ff49a6,#ff258e);color:#fff;box-shadow:none;margin:12px 0 0}
}
