.case-has-deck{--deck-chrome-height: 176px;--deck-stage-width: min(1136px,calc(100vw - 152px),calc((100dvh - var(--deck-chrome-height)) * 16 / 9));}.case-has-deck .editor-header{display: grid;grid-template-columns: 1fr auto 1fr;align-items: center;gap: 12px;height: 48px;min-height: 48px;margin: var(--space-4) auto 0;transition: width 320ms var(--ease-super-out);}.case-has-deck .editor-back{justify-self: start;}.case-has-deck .header-controls{justify-self: end;display: flex;align-items: center;gap: 8px;}.case-has-deck[data-view-mode="slides"]{overflow-x: hidden;}.case-has-deck[data-view-mode="slides"] .editor-header{width: var(--deck-stage-width);}.case-has-deck[data-view-mode="slides"] .case-main[data-mode-panel="article"]{display: none;}.case-has-deck[data-view-mode="article"] .deck-shell[data-mode-panel="slides"]{display: none;}@keyframes deck-panel-enter{from{opacity: 0;transform: translateY(8px) scale(0.992);}to{opacity: 1;transform: translateY(0) scale(1);}}@keyframes article-panel-enter{from{opacity: 0;transform: translateY(10px);}to{opacity: 1;transform: translateY(0);}}.case-has-deck.is-mode-animating[data-view-mode="slides"] .deck-shell[data-mode-panel="slides"]{animation: deck-panel-enter 340ms var(--ease-super-out) both;}.case-has-deck.is-mode-animating[data-view-mode="article"] .case-main[data-mode-panel="article"]{animation: article-panel-enter 340ms var(--ease-super-out) both;}.mode-switcher{position: relative;justify-self: center;display: inline-flex;align-items: center;gap: 2px;padding: 2px;border-radius: 999px;background: transparent;transition: background-color 240ms ease-out;}.mode-switcher-thumb{position: absolute;top: 2px;bottom: 2px;left: 0;z-index: 0;border-radius: 999px;background: color-mix(in srgb,var(--foreground) 6.5%,transparent);pointer-events: none;opacity: 0;transform: translateX(var(--thumb-x,0px));width: var(--thumb-w,0px);transition: transform 280ms var(--ease-super-out),width 280ms var(--ease-super-out),background-color 220ms ease-out,opacity 160ms ease-out;}.mode-switcher.is-ready .mode-switcher-thumb{opacity: 1;}.case-has-deck[data-view-mode="article"] .mode-switcher-thumb{background: color-mix(in srgb,var(--foreground) 5%,transparent);}.mode-switcher button{position: relative;z-index: 1;display: inline-flex;align-items: center;gap: 5px;height: 28px;padding: 0 11px;border: 0;border-radius: 999px;background: transparent;color: var(--muted);font: 400 12px/1 var(--font-sans);letter-spacing: 0.01em;white-space: nowrap;transition: color 180ms ease-out;}.mode-switcher button svg{width: 13px;height: 13px;flex: 0 0 auto;opacity: 0.65;transition: opacity 180ms ease-out;}.mode-switcher button:hover{color: var(--foreground);}.mode-switcher button[aria-selected="true"]{color: var(--foreground);font-weight: 500;}.mode-switcher button[aria-selected="true"] svg{opacity: 0.9;}.case-has-deck[data-view-mode="article"] .mode-switcher button{color: color-mix(in srgb,var(--foreground) 38%,transparent);}.case-has-deck[data-view-mode="article"] .mode-switcher button:hover{color: color-mix(in srgb,var(--foreground) 72%,transparent);}.case-has-deck[data-view-mode="article"] .mode-switcher button[aria-selected="true"]{color: color-mix(in srgb,var(--foreground) 84%,transparent);}.case-has-deck[data-view-mode="article"] .mode-switcher button svg{opacity: 0.52;}.case-has-deck[data-view-mode="article"] .mode-switcher button[aria-selected="true"] svg{opacity: 0.72;}.deck-shell{width: 100%;min-height: calc(100dvh - 80px);margin: 0 auto;padding: 12px 0 24px;display: flex;flex-direction: column;align-items: center;justify-content: center;}.deck-stage-wrap{position: relative;width: var(--deck-stage-width);display: flex;flex-direction: column;gap: 14px;}.deck-index{position: absolute;top: 6px;bottom: 6px;right: calc(100% + 22px);z-index: 5;display: flex;flex-direction: column;align-items: flex-start;}.deck-index-list{display: flex;flex-direction: column;align-items: flex-start;gap: 1px;max-height: 100%;}.deck-index-tick{position: relative;width: 32px;height: min(15px,max(9px,calc((100dvh - 220px) / var(--deck-total,18))));padding: 0;border: 0;background: transparent;display: flex;align-items: center;cursor: pointer;}.deck-index-tick::before{content: "";display: block;width: 14px;height: 1px;border-radius: 1px;background: color-mix(in srgb,var(--foreground) 22%,transparent);transition: width 200ms var(--ease-super-out),background-color 160ms ease-out,height 160ms ease-out;}.deck-index-tick:hover::before,.deck-index-tick:focus-visible::before,.deck-index-tick.is-previewed::before{width: 24px;background: color-mix(in srgb,var(--foreground) 58%,transparent);}.deck-index-tick[aria-current="true"]::before{width: 26px;height: 1.5px;background: var(--foreground);}.deck-index-preview{position: absolute;left: calc(100% + 10px);top: 0;width: 204px;padding: 8px;border: 0;border-radius: 12px;background: color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);box-shadow: 0 12px 28px -12px rgba(20,20,20,0.22);text-align: left;color: inherit;cursor: pointer;opacity: 0;visibility: hidden;pointer-events: none;transform: translate3d(-4px,var(--preview-y,0px),0);transition: opacity 150ms ease-out,transform 200ms var(--ease-super-out),visibility 150ms;}.deck-index-preview.is-visible{opacity: 1;visibility: visible;pointer-events: auto;transform: translate3d(0,var(--preview-y,0px),0);}.deck-index-preview-head{display: flex;align-items: baseline;justify-content: space-between;gap: 8px;margin-bottom: 6px;font-size: 11px;line-height: 16px;}.deck-index-preview-num{flex: 0 0 auto;font-weight: 600;font-variant-numeric: tabular-nums;color: var(--foreground);}.deck-index-preview-title{color: var(--muted);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}.deck-index-preview-media{display: block;width: 100%;aspect-ratio: 16 / 9;border-radius: 8px;overflow: hidden;background: var(--soft);}.deck-index-preview-media img{display: block;width: 100%;height: 100%;object-fit: cover;}.deck-stage{position: relative;width: 100%;aspect-ratio: 16 / 9;border-radius: 0;overflow: hidden;background: var(--paper);box-shadow: 0 18px 42px -28px rgba(20,20,20,0.22);user-select: none;-webkit-user-select: none;touch-action: pan-y;}.deck-slide-frame{position: absolute;inset: 0;margin: 0;background: var(--paper);}.deck-slide-image{display: block;width: 100%;height: 100%;object-fit: contain;opacity: 1;transition: opacity 160ms ease-out;}.deck-stage.is-switching .deck-slide-image{opacity: 0.72;}.deck-slide-interactive{position: absolute;inset: 0;width: 100%;height: 100%;overflow: hidden;user-select: none;-webkit-user-select: none;}.deck-slide-interactive[hidden]{display: none;}.deck-thumb-interactive-card{width: 100%;height: 100%;padding: 12px 14px;background: #f5f2f0;color: #1a1816;display: flex;flex-direction: column;justify-content: space-between;align-items: flex-start;text-align: left;box-sizing: border-box;}.deck-thumb-interactive-badge{font-size: 10px;line-height: 14px;font-weight: 600;padding: 2px 7px;border-radius: 999px;background: #1a1816;color: #f5f2f0;letter-spacing: 0.02em;}.deck-thumb-interactive-name{font-size: 12px;line-height: 17px;font-weight: 600;color: #1a1816;}.deck-thumb-interactive-mini{width: 100%;height: 100%;display: grid;place-items: center;background: #f5f2f0;color: #1a1816;font-size: 11px;font-weight: 600;font-variant-numeric: tabular-nums;}.deck-slide-status{position: absolute;inset: 0;display: grid;place-items: center;background: color-mix(in srgb,var(--paper) 82%,transparent);color: var(--muted);font: 400 12px/1.5 var(--font-sans);pointer-events: none;opacity: 0;transition: opacity 180ms ease-out;}.deck-stage.is-loading .deck-slide-status,.deck-stage.has-error .deck-slide-status{opacity: 1;}.deck-shell.is-deck-empty .deck-index,.deck-shell.is-deck-empty .deck-controls,.deck-shell.is-deck-empty .deck-filmstrip,.deck-shell.is-deck-empty .deck-slide-frame,.deck-shell.is-deck-empty .deck-slide-status{display: none;}.deck-shell.is-deck-empty .deck-stage{display: grid;place-items: center;cursor: default;}.deck-empty-state{width: min(360px,calc(100% - 48px));text-align: center;display: flex;flex-direction: column;align-items: center;gap: 8px;}.deck-empty-icon{width: 24px;height: 24px;color: color-mix(in srgb,var(--foreground) 28%,transparent);margin-bottom: 4px;}.deck-empty-title{margin: 0;font-size: 15px;line-height: 22px;font-weight: 500;color: var(--foreground);}.deck-empty-body{margin: 0;font-size: 13px;line-height: 20px;color: var(--case-caption);}.deck-empty-cta{margin-top: 10px;display: inline-flex;align-items: center;height: 32px;padding: 0 14px;border: 0;border-radius: 999px;background: color-mix(in srgb,var(--foreground) 7%,transparent);color: var(--foreground);font: 500 12px/1 var(--font-sans);cursor: pointer;transition: background-color 160ms ease-out;}.deck-empty-cta:hover{background: color-mix(in srgb,var(--foreground) 12%,transparent);}.deck-controls{display: grid;grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);align-items: center;gap: 16px;min-height: 36px;}.deck-meta{display: flex;align-items: baseline;gap: 8px;min-width: 0;font-size: 13px;line-height: 20px;}.deck-counter{flex: 0 0 auto;font-weight: 500;font-variant-numeric: tabular-nums;color: var(--foreground);}.deck-meta-sep{flex: 0 0 auto;color: var(--muted);}.deck-slide-title{color: var(--case-caption);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}.deck-next-project{position: relative;justify-self: center;display: inline-flex;align-items: center;gap: 5px;font-size: 13px;line-height: 24px;color: #666;text-decoration: none;white-space: nowrap;opacity: 0;visibility: hidden;pointer-events: none;transform: translateY(4px);transition: opacity 220ms ease-out,transform 260ms var(--ease-super-out),color 120ms,visibility 220ms;}.deck-next-project.is-visible{opacity: 1;visibility: visible;pointer-events: auto;transform: translateY(0);}.deck-next-project::after{content: "";position: absolute;right: 0;bottom: -2px;left: 0;height: 1px;background: currentColor;opacity: 0.45;transform: scaleX(0);transform-origin: right;transition: transform 240ms cubic-bezier(.22,1,.36,1);}.deck-next-project svg{width: 14px;height: 14px;flex: 0 0 auto;transition: transform 200ms var(--ease-super-out);}.deck-next-project:is(:hover,:focus-visible){color: var(--foreground);}.deck-next-project:is(:hover,:focus-visible)::after{transform: scaleX(1);transform-origin: left;}.deck-next-project:is(:hover,:focus-visible) svg{transform: translateX(2px);}.deck-actions{justify-self: end;display: flex;align-items: center;gap: 2px;}.deck-icon-btn{position: relative;isolation: isolate;display: grid;place-items: center;width: 34px;height: 34px;padding: 0;border: 0;border-radius: 50%;background: transparent;color: var(--muted);transition: color 160ms ease-out;}.deck-icon-btn::before{content: "";position: absolute;z-index: -1;width: 30px;height: 30px;border-radius: 50%;background: transparent;transition: background-color 160ms ease-out;}.deck-icon-btn:hover:not(:disabled){color: var(--foreground);}.deck-icon-btn:hover:not(:disabled)::before{background: var(--line);}.deck-icon-btn:disabled{opacity: 0.25;cursor: default;}.deck-icon-btn svg{width: 18px;height: 18px;}.deck-divider{width: 1px;height: 14px;margin-inline: 4px;background: var(--line);}.deck-shell:fullscreen,.deck-shell.is-pseudo-fullscreen{position: fixed;inset: 0;z-index: 60;width: 100%;height: 100dvh;max-width: none;margin: 0;padding: 20px 64px 18px;background: var(--background);}.deck-shell:fullscreen .deck-stage-wrap,.deck-shell.is-pseudo-fullscreen .deck-stage-wrap{--deck-chrome-height: 88px;width: min(calc(100vw - 128px),calc((100dvh - var(--deck-chrome-height)) * 16 / 9));}.deck-overview{position: fixed;inset: 0;width: 100%;height: 100dvh;max-width: none;max-height: none;margin: 0;padding: 0;border: 0;background: color-mix(in srgb,var(--background) 96%,transparent);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);color: var(--foreground);overflow: hidden;}.deck-overview::backdrop{background: transparent;}.deck-overview-inner{height: 100%;display: flex;flex-direction: column;}.deck-overview-header{width: min(1160px,calc(100% - 48px));margin: 0 auto;padding: 22px 0 16px;display: flex;align-items: center;justify-content: space-between;gap: 16px;border-bottom: 1px solid var(--line);}.deck-overview-heading{display: flex;align-items: baseline;gap: 10px;}.deck-overview-heading h2{margin: 0;font-size: 16px;line-height: 24px;font-weight: 500;}.deck-overview-count{font-size: 12px;color: var(--muted);font-variant-numeric: tabular-nums;}.deck-overview-scroll{flex: 1;overflow-y: auto;padding: 24px 0 48px;}.deck-overview-grid{width: min(1160px,calc(100% - 48px));margin: 0 auto;display: grid;grid-template-columns: repeat(auto-fill,minmax(240px,1fr));gap: 20px;}.deck-thumb{display: flex;flex-direction: column;gap: 8px;padding: 0;border: 0;background: transparent;text-align: left;color: inherit;}.deck-thumb-media{position: relative;width: 100%;aspect-ratio: 16 / 9;border-radius: 8px;overflow: hidden;background: var(--soft);border: 1px solid var(--case-image-line);transition: transform 220ms var(--ease-super-out),border-color 180ms ease-out,box-shadow 180ms ease-out;}.deck-thumb-media img{display: block;width: 100%;height: 100%;object-fit: cover;}.deck-thumb:hover .deck-thumb-media{transform: translateY(-2px);border-color: color-mix(in srgb,var(--foreground) 34%,transparent);}.deck-thumb[aria-current="true"] .deck-thumb-media{border-color: var(--foreground);box-shadow: 0 0 0 1px var(--foreground);}.deck-thumb-caption{display: flex;align-items: baseline;gap: 8px;font-size: 12px;line-height: 18px;}.deck-thumb-num{flex: 0 0 auto;font-variant-numeric: tabular-nums;color: var(--muted);}.deck-thumb[aria-current="true"] .deck-thumb-num{color: var(--foreground);font-weight: 600;}.deck-thumb-title{color: var(--body-text);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}.deck-filmstrip{display: none;}.deck-mobile-zoom{position: fixed;inset: 0;width: 100%;height: 100dvh;max-width: none;max-height: none;margin: 0;padding: 0;border: 0;background: color-mix(in srgb,var(--background) 98%,transparent);color: var(--foreground);overflow: hidden;}.deck-mobile-zoom::backdrop{background: transparent;}.deck-mobile-zoom-inner{width: 100%;height: 100%;display: flex;flex-direction: column;}.deck-mobile-zoom-bar{flex: 0 0 auto;display: flex;align-items: center;justify-content: space-between;padding: calc(10px + env(safe-area-inset-top)) 16px 10px;}.deck-mobile-zoom-meta{font-size: 12px;font-variant-numeric: tabular-nums;color: var(--muted);}.deck-mobile-zoom-actions{display: flex;align-items: center;gap: 4px;}.deck-mobile-zoom-viewport{flex: 1;overflow: auto;-webkit-overflow-scrolling: touch;display: grid;place-items: center;padding: 12px 16px calc(16px + env(safe-area-inset-bottom));}.deck-mobile-zoom-viewport.is-zoomed{display: block;padding: 0;}.deck-mobile-zoom-viewport img{display: block;width: 100%;height: auto;max-height: 100%;object-fit: contain;transition: width 220ms var(--ease-super-out);}.deck-mobile-zoom-viewport.is-zoomed img{width: 200%;max-width: none;max-height: none;}html[data-theme="pixel"] .mode-switcher,html[data-theme="pixel"] .mode-switcher-thumb,html[data-theme="pixel"] .mode-switcher button,html[data-theme="pixel"] .deck-stage,html[data-theme="pixel"] .deck-thumb-media,html[data-theme="pixel"] .deck-filmstrip-item,html[data-theme="pixel"] .deck-index-preview,html[data-theme="pixel"] .deck-index-preview-media{border-radius: 0;}@media (prefers-reduced-motion: reduce){.case-has-deck.is-mode-animating .deck-shell,.case-has-deck.is-mode-animating .case-main{animation: none !important;}}@media (max-width: 860px){.case-has-deck{--deck-stage-width: calc(100vw - 32px);}.deck-shell{min-height: calc(100dvh - 80px);justify-content: flex-start;padding: 16px 0 calc(24px + env(safe-area-inset-bottom));}.deck-stage{cursor: zoom-in;}.deck-index{display: none;}.deck-controls{grid-template-columns: minmax(0,1fr) auto;}.deck-next-project{grid-column: 1 / -1;order: 3;display: none;}.deck-next-project.is-visible{display: inline-flex;}.deck-filmstrip{display: flex;align-items: center;gap: 8px;width: 100%;padding: 4px 0 8px;overflow-x: auto;overscroll-behavior-x: contain;scrollbar-width: none;-webkit-overflow-scrolling: touch;}.deck-filmstrip::-webkit-scrollbar{display: none;}.deck-filmstrip-item{position: relative;flex: 0 0 76px;aspect-ratio: 16 / 9;padding: 0;border: 0;border-radius: 4px;overflow: hidden;background: var(--soft);opacity: 0.48;transition: opacity 180ms ease-out,transform 200ms var(--ease-super-out),box-shadow 180ms ease-out;}.deck-filmstrip-item img{display: block;width: 100%;height: 100%;object-fit: cover;}.deck-filmstrip-item[aria-current="true"]{opacity: 1;box-shadow: 0 0 0 1.5px var(--foreground);}.deck-overview-header,.deck-overview-grid{width: calc(100% - 32px);}.deck-overview-grid{grid-template-columns: repeat(auto-fill,minmax(156px,1fr));gap: 14px;}}@media (max-width: 520px){.case-has-deck .editor-header{grid-template-columns: auto 1fr auto;}.mode-switcher button{padding: 0 9px;font-size: 11px;}.mode-switcher button svg{display: none;}}@media (max-height: 520px) and (orientation: landscape){.case-has-deck{--deck-chrome-height: 92px;--deck-stage-width: min(calc(100vw - 48px),calc((100dvh - var(--deck-chrome-height)) * 16 / 9));}.case-has-deck[data-view-mode="slides"] .editor-header{height: 36px;min-height: 36px;margin-top: 8px;}.deck-shell{min-height: calc(100dvh - 44px);padding: 4px 0 8px;justify-content: center;}.deck-stage-wrap{gap: 8px;}.deck-controls{min-height: 32px;}.deck-filmstrip{display: none;}}