:root {
  color-scheme: light;
  --md-sys-color-primary: #445e91;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d8e2ff;
  --md-sys-color-on-primary-container: #001a41;
  --md-sys-color-surface: #faf9fd;
  --md-sys-color-on-surface: #1b1b20;
  --md-sys-color-on-surface-variant: #44474f;
  --md-sys-color-surface-container-low: #f3f3fa;
  --md-sys-color-surface-container: #ededf4;
  --md-sys-color-surface-container-high: #e7e8ef;
  --md-sys-color-surface-container-highest: #e1e2e9;
  --md-sys-color-outline: #74777f;
  --md-sys-color-outline-variant: #c4c6d0;
  --md-sys-color-inverse-surface: #303034;
  --md-sys-color-inverse-on-surface: #f1f0f5;
  --page: var(--md-sys-color-surface);
  --surface: var(--md-sys-color-surface-container-low);
  --surface-soft: var(--md-sys-color-surface-container);
  --text: var(--md-sys-color-on-surface);
  --muted: var(--md-sys-color-on-surface-variant);
  --accent: var(--md-sys-color-primary);
  --profile-accent: var(--accent);
  --page-pad: clamp(16px, 4vw, 56px);
  /* 各区块共用的宽度上限。原来联系区单独用了 1120px，
     视口一宽它的左边界就比轮播/橱柜/页脚更靠右（1440px 视口下差 153px）。 */
  --page-max: 1440px;
  --app-safe-area-top: 0px;
  /* --ease-out 就是 M3 的 standard 曲线，用于一般过渡。 */
  --ease-out: cubic-bezier(.2, 0, 0, 1);
  /* M3 动效：进入用 emphasized decelerate，退出用更短更快的 emphasized accelerate。
     M3 要求同一个元素内的属性共用一条曲线和时长，不再各走各的。 */
  --motion-enter: 300ms cubic-bezier(.05, .7, .1, 1);
  --motion-exit: 200ms cubic-bezier(.3, 0, .8, .15);
}
@supports (color: color-mix(in srgb, black, white)) {
  :root { --profile-accent: color-mix(in srgb, var(--accent) 88%, white); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--page); scrollbar-gutter: stable; }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--text); font-family: "Google Sans", "Roboto", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button, a, input, select, .activity-carousel, .case-card-trigger, .access-sheet, body { transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 200ms ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1,h2,h3,p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(30px, 3.5vw, 46px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
a { color: var(--accent); }
.skip-link { position: fixed; z-index: 300; top: 12px; left: 12px; padding: 10px 20px; border-radius: 100px; background: var(--accent); color: var(--md-sys-color-on-primary); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.app-page { padding-top: calc(64px + max(env(safe-area-inset-top, 0px), var(--app-safe-area-top))); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.activity-section, .showcase-section { max-width: var(--page-max); margin: auto; padding-inline: var(--page-pad); }
.activity-carousel { position: relative; overflow: hidden; color: var(--text); touch-action: pan-y; }
.activity-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(24px, 4vw, 64px); min-height: 380px; }
.activity-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.activity-copy-viewport { min-width: 0; overflow: hidden; }
.activity-track { display: flex; transition: transform 500ms var(--ease-out); }
.activity-slide { position: relative; flex: 0 0 100%; min-width: 0; display: flex; align-items: center; padding: 4px 0 24px; min-height: 300px; }
.activity-content { min-width: 0; }
.activity-content h2 { margin: 0 0 22px; font-size: clamp(28px, 3.7vw, 52px); font-weight: 550; line-height: 1.35; white-space: pre-line; }
.activity-content p { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 28px; }
/* 顶部 Rive 直接放在页面上，不套背景块、不加圆角。 */
.activity-rive { position: relative; min-width: 0; min-height: 380px; overflow: hidden; }
.activity-rive canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.activity-rive canvas { touch-action: pan-y; }
/* 这个类同时用在轮播的 <button> 和弹窗的 <a> 上；<a> 会继承浏览器默认下划线，需显式去掉。 */
.banner-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 24px; background: var(--accent); color: var(--md-sys-color-on-primary); font-size: 15px; font-weight: 550; text-decoration: none; }
.banner-action:hover { opacity: .9; }
.banner-navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 0; }
.activity-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.activity-dot { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 24px; background: var(--surface); color: var(--muted); font-size: 14px; }
.activity-dot:hover { background: var(--surface-soft); color: var(--accent); }
.activity-dot[aria-current="true"] { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); font-weight: 600; }
.showcase-section { padding-top: 72px; padding-bottom: 64px; }
.showcase-header { display: grid; grid-template-columns: 1fr minmax(240px, 400px); gap: 12px 32px; align-items: center; margin-bottom: 32px; }
.search-wrap { display: flex; align-items: center; gap: 4px; position: relative; min-width: 0; height: 48px; padding: 2px 4px; border-radius: 24px; background: var(--surface-soft); }
.search-wrap:focus-within { background: var(--md-sys-color-surface-container-highest); }
.search-wrap:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.search-wrap input { flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 22px; color: var(--text); background: transparent; font-size: 16px; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
.search-wrap input:focus { outline: none; }
.category-tabs { display: flex; align-items: center; gap: 0; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs[data-expanded="true"] { gap: 8px; }
.category-tabs .category-button { flex: 0 0 auto; min-width: 0; max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: max-width 280ms var(--ease-out), padding 280ms var(--ease-out), opacity 180ms ease, background-color 220ms ease; }
.category-tabs[data-expanded="false"] .category-button[aria-pressed="false"] { max-width: 0; padding-inline: 0; opacity: 0; pointer-events: none; }
.category-tabs .category-button:focus-visible { outline-offset: -3px; }
.category-button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 24px; background: var(--surface); color: var(--muted); font-size: 16px; font-weight: 500; }
.category-button:hover { background: var(--surface-soft); color: var(--accent); }
.category-button[aria-pressed="true"] { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.platform-picker { flex: 0 1 auto; min-width: 44px; max-width: calc(100% - 84px); }
.platform-buttons { display: flex; align-items: center; width: max-content; max-width: 100%; height: 44px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.platform-buttons::-webkit-scrollbar { display: none; }
.platform-button { --icon-cutout: var(--surface-soft); display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-width: 0; height: 44px; padding: 12px; border: 0; border-radius: 22px; color: var(--muted); background: transparent; overflow: hidden; transition: flex-basis 280ms var(--ease-out), width 280ms var(--ease-out), padding 280ms var(--ease-out), opacity 180ms ease, background-color 220ms ease; }
.platform-picker[data-expanded="false"] .platform-button[aria-pressed="false"] { flex-basis: 0; width: 0; padding-inline: 0; opacity: 0; pointer-events: none; }
.platform-button:hover { background: var(--surface-soft); }
.platform-button .platform-icon { flex-shrink: 0; }
.platform-button[aria-pressed="true"] { --icon-cutout: var(--md-sys-color-primary-container); background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.platform-icon { display: inline-grid; width: 20px; height: 20px; place-items: center; }
.platform-icon svg { width: 100%; height: 100%; fill: currentColor; }
.harmony-logo { width: 100%; height: 100%; background: currentColor; -webkit-mask: url('./assets/platforms/harmonyos.svg') center/contain no-repeat; mask: url('./assets/platforms/harmonyos.svg') center/contain no-repeat; }
/* Vertical waterfall: cards flow down balanced columns and may differ in height. */
.case-grid { column-count: 3; column-gap: 24px; }
.case-card { min-width: 0; break-inside: avoid; margin: 0 0 36px; }
.case-card-trigger { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: var(--surface); color: var(--text); text-align: left; border-radius: 24px; overflow: hidden; position: relative; cursor: pointer; }
.case-card-trigger:hover { color: var(--accent); }
.case-media { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 24px 24px 0 0; background: var(--surface-soft); display: block; position: relative; }
.case-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 20px; width: 100%; gap: 16px; }
.case-copy .case-title { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.partner-name { display: block; color: var(--muted); font-size: 14px; }
.case-platforms { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.platform-icon--case { --icon-cutout: var(--page); width: 18px; height: 18px; color: var(--muted); }
.dialog-open { overflow: hidden; }
.access-dialog { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; overflow: auto; color: var(--text); background: var(--md-sys-color-surface-container-high); }
.access-dialog::backdrop { background: #0009; }
.access-sheet { padding: 32px; display: flex; flex-direction: column; position: relative; }
.access-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; order: 1; margin-top: 20px; }
.access-header h2 { font-size: 28px; line-height: 1.4; }
.dialog-close { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--text); font-size: 26px; }
.access-summary { margin: 20px 0 24px; color: var(--muted); font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; order: 2; }
.access-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); gap: 12px; order: 3; }
/* Poster interactions and independently positioned action groups. */
.notice-dialog { width: min(480px, calc(100vw - 32px), calc((100dvh - 48px) * var(--notice-ratio, .75))); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px; overflow: hidden; color: var(--text); background: transparent; }
.notice-dialog::backdrop { background: rgb(12 17 32 / .48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.notice-sheet { position: relative; padding: 0; overflow: clip; }
.notice-media { width: 100%; }
.notice-media img { display: block; width: 100%; height: auto; }
.notice-image-action { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; }
.notice-image-action:focus-visible { outline-offset: -4px; }
.notice-dialog:focus, .notice-dialog:focus-visible { outline: none; }
.notice-actions { position: absolute; inset: 20px; pointer-events: none; }
.notice-button-group { position: absolute; left: var(--notice-button-x, 50%); top: var(--notice-button-y, 100%); transform: translate(calc(-1 * var(--notice-button-x, 50%)), calc(-1 * var(--notice-button-y, 100%))); display: flex; flex-direction: column; gap: 8px; width: max-content; max-width: 100%; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.notice-actions .banner-action { flex-shrink: 0; pointer-events: auto; width: max-content; max-width: 100%; min-height: 48px; padding: 12px 28px; text-align: center; overflow-wrap: anywhere; box-shadow: 0 4px 20px rgb(0 0 0 / .22); }
.notice-dialog, .notice-sheet { scrollbar-width: none; -ms-overflow-style: none; }
.notice-dialog::-webkit-scrollbar, .notice-sheet::-webkit-scrollbar { display: none; width: 0; height: 0; }
.access-option { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 120px; padding: 16px 12px; border: 0; border-radius: 24px; text-align: center; background: var(--surface-soft); color: var(--text); text-decoration: none; }
.access-option:not(:disabled):hover { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.access-option:disabled { opacity: .6; cursor: default; }
.access-option-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); }
.access-option-icon img { width: 26px; height: 26px; object-fit: contain; }
.access-option strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.access-option small { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.access-option[data-copied="true"] { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.access-option[data-copied="true"] small { color: inherit; }
.access-option[data-platform="kdocs"] .access-option-icon { background: #fff; }
.access-unavailable { grid-column: 1 / -1; }
.access-unavailable { color: var(--muted); font-size: 14px; margin: 24px 0 0; }
.copy-toast { position: fixed; z-index: 220; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); margin: 0; padding: 14px 24px; border-radius: 24px; background: var(--md-sys-color-inverse-surface); color: var(--md-sys-color-inverse-on-surface); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.copy-toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }
.empty-state { margin-top: 24px; padding: 56px 24px; text-align: center; color: var(--muted); }
.empty-state strong { color: var(--text); font-size: 20px; font-weight: 500; }
.empty-state p { margin: 12px 0 0; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.contact-section { max-width: var(--page-max); margin: 0 auto; padding: 24px var(--page-pad) 72px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 32px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 28px; background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.contact-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 650; letter-spacing: .08em; }
.contact-copy h2 { margin: 0 0 14px; color: inherit; }
.contact-copy p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.8; }
.contact-methods { display: grid; gap: 12px; }
.contact-method { display: flex; min-width: 0; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 20px; background: var(--md-sys-color-surface); color: var(--text); text-decoration: none; }
.contact-method small { color: var(--muted); font-size: 13px; }
.contact-method strong { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; overflow-wrap: anywhere; }
a.contact-method:hover { background: var(--md-sys-color-surface-container-highest); }
@media(max-width: 1050px) {
  .activity-layout { gap: 24px; }
  .activity-slide { padding: 4px 0 24px; }
  .case-grid { column-count: 2; }
}
@media(max-width: 719px) {
  .activity-layout { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .activity-rive { grid-row: 1; }
  .activity-copy { grid-row: 2; }
  .activity-slide { padding: 4px 0 16px; min-height: 260px; }
  .activity-content h2 { font-size: clamp(28px,7.7vw,44px); margin-bottom: 16px; }
  .activity-content p { margin-bottom: 20px; }
  /* 竖屏下给一个高度下限。WebView 首次布局时 vw 可能还是 0，
     此时 aspect-ratio 算出来也是 0 高，Rive 画布就永远起不来；
     clamp 的下限保证它至少 220px。 */
  .activity-rive { min-height: clamp(220px, 62vw, 340px); aspect-ratio: 4 / 3; }
  .banner-navigation { padding: 8px 0; flex-wrap: wrap; gap: 8px; }
  .activity-dots { gap: 8px; }
  .activity-dot { padding: 9px 14px; }
  .showcase-section { padding-top: 48px; }
  .showcase-header { grid-template-columns: 1fr; gap: 12px; }
  .case-grid { column-gap: 16px; }
  .case-card { margin-bottom: 16px; }
  .case-body { padding: 18px; }
  .access-sheet { padding: 24px; }
  .notice-actions { inset: 16px; }
  .contact-section { padding-bottom: 48px; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; }
}
@media(max-width: 480px) { .case-grid { column-count: 1; } }
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Platform identities retain their own colors, independent of page theme. */
.access-option[data-platform="bilibili"] .access-option-icon { background: #00aeec; }
.access-option[data-platform="xiaohongshu"] .access-option-icon { background: #e93b3b; }
.access-option[data-platform="douyin"] .access-option-icon { background: #161823; }
.access-option[data-platform="qq"] .access-option-icon { background: #3478f6; }
.access-option[data-platform="github"] .access-option-icon { background: #181717; }

/* Expanded detail: media, full introduction, then platform actions. */
.access-media { position: relative; width: 100%; margin: 40px auto 0; overflow: hidden; border-radius: 24px; background: var(--surface-soft); order: 0; }
.access-media--portrait { max-width: 320px; }
.external-video { display: flex; justify-content: center; padding: 24px; }
.access-media img, .access-media iframe { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; }
.access-option[data-platform="youtube"] .access-option-icon { background: #ff0033; }

/* Hide detail scrollbars while retaining wheel, touch and keyboard scrolling. */
.access-dialog, .access-sheet { scrollbar-width: none; -ms-overflow-style: none; }
.access-dialog::-webkit-scrollbar, .access-sheet::-webkit-scrollbar { display: none; width: 0; height: 0; }


/* Motion follows the existing content hierarchy without adding decoration. */
@media (prefers-reduced-motion: no-preference) {
  .activity-slide[aria-hidden="false"] .activity-content h2 { animation: banner-enter 620ms var(--ease-out) both; }
  .activity-slide[aria-hidden="false"] .activity-content p { animation: banner-enter 620ms 90ms var(--ease-out) both; }
  .activity-slide[aria-hidden="false"] .banner-action { animation: banner-enter 620ms 160ms var(--ease-out) both; }
  .case-card[data-visible="true"] { animation: card-enter 580ms var(--ease-out) both; animation-delay: calc(var(--card-index, 0) * 45ms); }
  .case-card-trigger { transition: transform 260ms var(--ease-out), color 220ms ease; }
  .case-media img { transition: transform 450ms var(--ease-out); }
  .banner-action, .category-button, .activity-dot, .platform-button, .access-option, .dialog-close { transition: transform 180ms var(--ease-out), background-color 220ms ease, color 220ms ease; }
  .banner-action:active, .category-button:active, .activity-dot:active, .platform-button:active, .access-option:active, .dialog-close:active { transform: scale(.95); }
  .access-dialog[open] { transform-origin: center; }
  .notice-dialog[open] { transform-origin: center; }

  /* 弹窗退场：内容由 JS 播放缩放/位移，遮罩由 closing 类做过渡 */
  .access-dialog::backdrop, .notice-dialog::backdrop { transition: opacity 220ms var(--motion-exit); }
  .access-dialog.closing::backdrop, .notice-dialog.closing::backdrop { opacity: 0; }

  .access-dialog[open]::backdrop { animation: backdrop-enter 360ms ease both; }
  .notice-dialog[open]::backdrop { animation: backdrop-enter 480ms cubic-bezier(.16,1,.3,1) both; }
  .notice-dialog.closing::backdrop { animation: none; opacity: 0; }
  .access-option[data-copied="true"] .access-option-icon { animation: copy-confirm 400ms ease; }
  @media (hover: hover) and (pointer: fine) {
    .case-card-trigger:hover { transform: translateY(-4px); }
    .case-card-trigger:hover .case-media img { transform: scale(1.035); }
    .banner-action:hover, .access-option:hover { transform: translateY(-2px); }
    .banner-action:active, .access-option:active { transform: scale(.95); }
  }
}
@keyframes banner-enter { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes card-enter { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes copy-confirm { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.14); } }

.case-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.case-title { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .case-card-trigger:has(iframe):hover { transform: none; }
}

/* The compact and expanded views share the card, cover, title and description. */

.case-copy { min-width: 0; width: 100%; }
.case-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.65; margin: 8px 0 0; white-space: pre-wrap; }
.access-header .dialog-close { position: absolute; right: 16px; top: 12px; }
/* The original card expands in place; no second card or transition snapshots. */
.card-backdrop { position: fixed; inset: 0; z-index: 190; background: rgb(0 0 0 / .32); }
.case-card-trigger .card-access { display: none; }
.case-card.has-expanded-card { animation: none; transform: none; }
.case-card-trigger.is-expanded { position: fixed; z-index: 200; margin: 0; border: 0; padding: 0; max-width: none; max-height: none; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; background: var(--surface); color: var(--text); transform: none; transition: none; cursor: default; display: block; box-shadow: 0 24px 64px rgb(27 27 32 / .28), 0 8px 24px rgb(27 27 32 / .18); border-radius: 28px; }
.case-card-trigger.is-expanded::-webkit-scrollbar { display: none; }
.case-card-trigger.is-expanded::backdrop { background: transparent; }
.case-card-trigger.is-expanded .case-media { width: 100%; flex-shrink: 0; border-radius: 28px 28px 0 0; }
.case-card-trigger.is-expanded .case-media img { transform: none; }
.case-card-trigger.is-expanded .case-summary { display: block; -webkit-line-clamp: unset; overflow: visible; }
.case-card-trigger.is-expanded .card-access { display: grid; width: 100%; margin: 0; order: 4; }
/* 管理台在编辑这张卡的入口时，不用展开也把入口行露出来，好让画布实时反映改动。 */
.case-card-trigger.is-access-preview .card-access { display: grid; width: 100%; margin: 0; order: 4; }
.case-card-trigger:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Keep the page width stable during scroll locking and never replay entry on collapse. */
.case-card.card-entered { animation: none; translate: none; }

/* Keep the system options reachable by keyboard within the search field. */
.platform-picker .platform-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Banner navigation keeps only the active label expanded. */
.banner-navigation { justify-content: center; }
.activity-dots { justify-content: center; align-items: center; flex-wrap: nowrap; gap: 4px; }
.activity-dot { display: grid; place-items: center; position: relative; min-width: 28px; min-height: 44px; padding: 0; background: transparent; }
.activity-dot::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.activity-dot span { max-width: 0; padding-inline: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width 280ms var(--ease-out), padding 280ms var(--ease-out), opacity 180ms ease; }
.activity-dot[aria-current="true"] span { max-width: 160px; padding-inline: 16px; opacity: 1; }
.activity-dot[aria-current="true"]::before { display: none; }
.activity-dot:not([aria-current="true"]):hover { background: transparent; }

/* One content hierarchy for compact and expanded cards. */
.case-copy { order: 0; }
.case-details { display: none; order: 3; min-width: 0; padding: 18px; border-radius: 20px; background: var(--surface-soft); }
.case-card-trigger.is-expanded .case-details { display: block; }
.case-section-label { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.case-details-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; color: var(--text); }
.case-platforms { order: 1; margin: 0; gap: 8px; }
.case-platforms .platform-icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--surface-soft); }
.case-tags { order: 2; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.case-tag { max-width: 100%; padding: 5px 12px; border-radius: 999px; background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.case-card-trigger:not(.is-expanded) .case-tag:nth-child(n+3) { display: none; }

/* Featured banner: the first tile of the waterfall, spanning every column.
   It is one card larger than the rest and cycles through all featured cards;
   opening a slide reuses the normal card expand/collapse animation. */
.featured-carousel { column-span: all; margin: 0 0 36px; touch-action: pan-y; }
.featured-viewport { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "slide"; }
.featured-slide { grid-area: slide; margin: 0; opacity: 0; visibility: hidden; }
.featured-slide.is-active { opacity: 1; visibility: visible; }
.featured-carousel[data-rotating="false"] .featured-slide { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .featured-slide { transition: opacity 440ms var(--ease-out), visibility 0s linear 440ms; }
  .featured-slide.is-active { transition: opacity 440ms var(--ease-out), visibility 0s; }
}
.featured-carousel .case-card-trigger { flex-direction: row; align-items: stretch; min-height: clamp(220px, 26vw, 320px); }
.featured-carousel .case-media { flex: 0 0 50%; width: 50%; border-radius: 24px 0 0 24px; }
.featured-carousel .case-body { flex: 1; justify-content: center; padding: clamp(20px, 3vw, 40px); gap: 18px; }
.featured-carousel .case-title { font-size: clamp(22px, 2.4vw, 32px); }
.featured-carousel .case-summary { -webkit-line-clamp: 3; }
.featured-dots { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 14px 0 0; }
.featured-dot { position: relative; min-width: 28px; min-height: 32px; padding: 0; border: 0; background: transparent; }
.featured-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .35; transform: translate(-50%, -50%); transition: opacity 200ms ease, background-color 200ms ease, transform 200ms ease; }
.featured-dot[aria-current="true"]::before { opacity: 1; background: var(--accent); transform: translate(-50%, -50%) scale(1.25); }
.featured-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; }
/* Expanded slides fall back to the shared vertical card layout. */
.featured-carousel .case-card-trigger.is-expanded { display: block; min-height: 0; }
.featured-carousel .case-card-trigger.is-expanded .case-media { flex: none; width: 100%; border-radius: 24px 24px 0 0; }
.featured-carousel .case-card-trigger.is-expanded .case-body { width: 100%; padding: 20px; gap: 16px; }
.featured-carousel .case-card-trigger.is-expanded .case-title { font-size: 20px; }
.featured-carousel .case-card-trigger.is-expanded .case-summary { -webkit-line-clamp: unset; }

/* Site footer (user agreement entry). */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; max-width: var(--page-max); margin: 0 auto; padding: 20px var(--page-pad) max(36px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.site-footer-sep { opacity: .6; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Narrow screens: the featured banner stacks (media above, copy below). */
@media(max-width: 719px) {
  .featured-carousel .case-card-trigger { flex-direction: column; min-height: 0; }
  .featured-carousel .case-media { flex: none; width: 100%; border-radius: 24px 24px 0 0; }
  .featured-carousel .case-body { width: 100%; padding: 20px; gap: 16px; }
  .featured-carousel .case-title { font-size: clamp(22px, 5.6vw, 30px); }
}

/* ============================================================
   动效增强（M3 规范，全部受 prefers-reduced-motion 约束）
   ============================================================ */

/* --- 区块滚动入场：进入视口后上移淡入，只播一次 --- */
.reveal-init { opacity: 0; transform: translateY(28px); }
.reveal-init.is-visible { opacity: 1; transform: none; transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }
/* 管理台实时预览里不隐藏，避免编辑时区块闪没 */
html[data-preview="true"] .reveal-init { opacity: 1; transform: none; transition: none; }

/* --- 背景氛围光晕：两块渐变慢速漂浮，给页面一点“呼吸感” --- */
@media (prefers-reduced-motion: no-preference) {
  .app-page::before {
    content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(680px 520px at 10% 6%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 72%),
      radial-gradient(820px 620px at 92% 22%, color-mix(in srgb, #7c9dff 8%, transparent), transparent 72%);
    animation: ambient-drift 26s ease-in-out infinite alternate;
  }
  @keyframes ambient-drift {
    from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
    to { transform: translate3d(1.5%, 1%, 0) scale(1.06); }
  }
  /* 内容浮在光晕之上，点击穿透交给固定定位本身 */
  .app-page > section { position: relative; z-index: 1; }
}

/* --- 涟漪（Ripple）：M3 风格点击反馈 --- */
@media (prefers-reduced-motion: no-preference) {
  .banner-action, .category-button, .activity-dot, .platform-button, .access-option, .dialog-close, .contact-method { position: relative; overflow: hidden; }
  .ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .16; transform: scale(0); animation: ripple 560ms var(--ease-out); pointer-events: none; }
  @keyframes ripple { to { transform: scale(1); opacity: 0; } }
}

/* --- 卡片悬停细节增强 --- */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .case-card-trigger { box-shadow: 0 1px 2px rgb(27 27 32 / .04); transition: transform 260ms var(--ease-out), color 220ms ease, box-shadow 300ms var(--ease-out); }
  .case-card-trigger:hover { box-shadow: 0 18px 40px rgb(27 27 32 / .10), 0 4px 12px rgb(27 27 32 / .06); }
  .case-card-trigger:hover .case-media img { transform: scale(1.06) rotate(.4deg); }
  .case-card-trigger:hover .case-media::after { opacity: 1; }
  .case-card-trigger:hover .case-title { background-size: 100% 2px; }
  .case-card-trigger:hover .platform-icon { transform: translateY(-3px); }
  .case-card-trigger:hover .platform-icon:nth-child(2) { transition-delay: 40ms; }
  .case-card-trigger:hover .platform-icon:nth-child(3) { transition-delay: 80ms; }
  .case-card-trigger:hover .platform-icon:nth-child(4) { transition-delay: 120ms; }
  .case-tag { transition: transform 240ms var(--ease-out), background-color 240ms ease; }
  .case-tag:hover { transform: translateY(-2px); }
}
/* 卡片媒体区渐变遮罩：悬停浮现 */
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(27 27 32 / .16), transparent 46%); opacity: 0; transition: opacity 320ms var(--ease-out); pointer-events: none; }
/* 卡片标题下划线：从左到右展开 */
.case-title { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px; transition: background-size 420ms var(--ease-out); }
/* 平台图标 hover 上浮 */
.platform-icon { transition: transform 260ms var(--ease-out); }
/* 展开态不叠加悬停位移 */
.case-card-trigger.is-expanded:hover { transform: none; }
.case-card-trigger.is-expanded:hover .case-media img { transform: none; }
.case-card-trigger.is-expanded:hover .platform-icon { transform: none; }
.case-card-trigger.is-expanded:hover .case-tag { transform: none; }

/* --- 联系区悬停 --- */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .contact-card { transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
  .contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgb(0 26 65 / .16); }
  .contact-method { transition: transform 260ms var(--ease-out), background-color 220ms ease; }
  .contact-method:hover { transform: translateY(-3px); }
}

/* --- 弹窗内容 stagger 入场 --- */
@media (prefers-reduced-motion: no-preference) {
  .access-dialog[open] .access-option { animation: option-in 420ms var(--ease-out) both; }
  .access-dialog[open] .access-option:nth-child(1) { animation-delay: 20ms; }
  .access-dialog[open] .access-option:nth-child(2) { animation-delay: 60ms; }
  .access-dialog[open] .access-option:nth-child(3) { animation-delay: 100ms; }
  .access-dialog[open] .access-option:nth-child(4) { animation-delay: 140ms; }
  .access-dialog[open] .access-option:nth-child(5) { animation-delay: 180ms; }
  .access-dialog[open] .access-option:nth-child(6) { animation-delay: 220ms; }
  .access-dialog[open] .access-summary, .access-dialog[open] .access-media { animation: option-in 420ms var(--ease-out) both; }
  @keyframes option-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
}

/* --- 页脚链接下划线动画 --- */
@media (prefers-reduced-motion: no-preference) {
  .site-footer a { position: relative; }
  .site-footer a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out); }
  .site-footer a:hover::after { transform: scaleX(1); transform-origin: left; }
  .site-footer a:hover { text-decoration: none; }
}

/* Equal-width waterfall columns, with no desktop column-count ceiling. */
.showcase-section { max-width: none; }
.case-grid { column-count: auto; column-width: 240px; column-gap: 24px; }
.case-grid > .case-card { display: inline-block; width: 100%; margin-bottom: 24px; vertical-align: top; }
.case-grid .case-card-trigger:not(.is-expanded) { height: auto; max-height: none; }
.case-grid .case-summary { display: block; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: anywhere; }
/* Featured cards use the same width and natural height as other cards. */
.case-grid > .featured-carousel { column-span: none; break-inside: avoid; margin-bottom: 24px; }
.case-grid .featured-carousel .case-card-trigger:not(.is-expanded) { flex-direction: column; min-height: 0; }
.case-grid .featured-carousel .case-media { flex: none; width: 100%; border-radius: 24px 24px 0 0; }
.case-grid .featured-carousel .case-body { width: 100%; padding: 20px; gap: 16px; }
.case-grid .featured-carousel .case-title { font-size: 20px; }
@media (max-width: 719px) {
  .case-grid { column-width: auto; column-count: 2; column-gap: 12px; }
  .case-grid > .case-card, .case-grid > .featured-carousel { margin-bottom: 12px; }
  .case-grid .case-body, .case-grid .featured-carousel .case-body { padding: 12px; gap: 12px; }
  .case-grid .case-title, .case-grid .featured-carousel .case-title { font-size: 16px; }
  .case-grid .case-summary { font-size: 14px; }
}
@media (max-width: 319px) {
  .case-grid { column-count: 1; }
}

/* Preserve the full cover: its intrinsic ratio determines each tile's height. */
body { min-width: 0; }
.image-picture { display: contents; }
.case-grid .case-media:has(img) { aspect-ratio: auto; }
.case-grid .case-media img { width: 100%; height: auto; object-fit: contain; transform: none; }
.case-grid .case-card-trigger:hover .case-media img { transform: none; }
.case-grid .case-media[hidden] { display: none; }

/* Explicit shortest-column placement avoids multi-column balancing on tablets. */
.case-grid { position: relative; display: block; columns: auto; }
.case-grid > .case-card { position: absolute; display: block; margin: 0; }

/* Featured posters live above the waterfall and open the shared card dialog. */
.featured-banners { width: 100%; max-width: 1440px; margin: 0 auto 32px; }
.featured-banners[hidden] { display: none; }
.featured-banners .featured-carousel { margin: 0; }
.featured-banners .featured-viewport { display: block; }
.featured-banners .featured-slide { display: none; }
.featured-banners .featured-slide.is-active { display: block; }
.featured-banners .case-card-trigger:not(.is-expanded) { display: block; height: auto; min-height: 0; }
.featured-poster { display: block; width: 100%; aspect-ratio: 3 / 1; height: auto; object-fit: cover; object-position: center; background: var(--surface-soft); }
.featured-banners .case-card-trigger:not(.is-expanded) .case-media,
.featured-banners .case-card-trigger:not(.is-expanded) .case-body,
.featured-banners .featured-dots { display: none; }
.featured-banners .is-expanded .featured-poster { display: none; }
.featured-banners .is-expanded .case-media img { height: auto; object-fit: contain; }
.featured-banners .case-card-trigger:not(.is-expanded):hover { transform: none; }
@media (max-width: 719px) {
  .featured-poster { aspect-ratio: 16 / 9; }
  .featured-banners { margin-bottom: 20px; }
}

/* The cabinet is a dedicated feed; official information has its own page. */
[data-page="showcase"] .showcase-section { padding-top: 12px; padding-bottom: 24px; }
.showcase-controls { position: sticky; top: 0; z-index: 30; padding-block: 12px 4px; background: transparent; }
[data-page="showcase"] .showcase-header { grid-template-columns: minmax(104px, 1fr) minmax(260px, 460px); gap: 16px; margin-bottom: 12px; transition: grid-template-columns 280ms var(--ease-out); }
[data-page="showcase"] .showcase-header:has(.platform-picker[data-expanded="true"]) { grid-template-columns: minmax(104px, 1fr) minmax(260px, 592px); }
.search-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.search-tools .search-wrap { flex: 1; min-width: 0; margin: 0; }
.profile-entry { position: relative; display: block; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--profile-accent); color: var(--md-sys-color-on-primary); }
.profile-entry canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.profile-entry:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[data-page="about"] .activity-section { padding-top: 28px; }
@media (max-width: 719px) {
  [data-page="showcase"] .showcase-header,
  [data-page="showcase"] .showcase-header:has(.platform-picker[data-expanded="true"]) { grid-template-columns: fit-content(40%) minmax(0, 1fr); gap: 6px; }
  .category-button { padding-inline: 14px; font-size: 14px; }
  .search-tools { width: auto; gap: 6px; }
  .platform-picker { max-width: calc(100% - 40px); }
  .showcase-header:has(.platform-picker[data-expanded="true"]) .category-button[aria-pressed="true"] { max-width: 48px; padding-inline: 8px; }
}
@media (max-width: 359px) {
  [data-page="showcase"] .showcase-header,
  [data-page="showcase"] .showcase-header:has(.platform-picker[data-expanded="true"]) { gap: 4px; }
  .search-tools { gap: 4px; }
  .category-button { padding-inline: 10px; font-size: 13px; }
}

[data-page] .app-page { padding-top: max(env(safe-area-inset-top, 0px), var(--app-safe-area-top)); }

/* One background surface, with no extra layer or white strip below the feed. */
html, body { min-height: 100%; background: var(--page); }
[data-page="showcase"] .app-page::before { content: none; }
[data-page="showcase"] .app-page { padding-bottom: 0; }
[data-page="showcase"] .showcase-section { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.profile-entry { border: 0; padding: 0; cursor: pointer; }
.information-open { overflow: hidden; }
html:has(body.information-open) { background: var(--profile-accent); scrollbar-color: var(--profile-accent) var(--profile-accent); }
.information-panel { position: fixed; inset: 0; z-index: 100; isolation: isolate; color: var(--md-sys-color-on-primary); }
.information-panel[hidden], .rive-flight[hidden] { display: none; }
.information-mask { position: absolute; inset: 0; background: var(--profile-accent); pointer-events: none; }
.information-scroll { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-top: max(env(safe-area-inset-top, 0px), var(--app-safe-area-top)); scrollbar-gutter: stable; scrollbar-color: color-mix(in srgb, var(--md-sys-color-on-primary) 45%, transparent) var(--profile-accent); }
.information-panel .activity-content h2 { color: var(--md-sys-color-on-primary); }
.information-panel .activity-content p, .information-panel .site-footer { color: var(--md-sys-color-on-primary); color: color-mix(in srgb, var(--md-sys-color-on-primary) 95%, transparent); }
.information-panel .activity-content .banner-action, .information-panel .activity-dot[aria-current="true"] { background: var(--md-sys-color-on-primary); color: var(--accent); }
.information-panel .activity-dot::before { background: var(--md-sys-color-on-primary); background: color-mix(in srgb, var(--md-sys-color-on-primary) 65%, transparent); }
.information-panel .site-footer a { color: var(--md-sys-color-on-primary); }
.information-panel .activity-content .banner-action:focus-visible, .information-panel .activity-dot:focus-visible, .information-panel .site-footer a:focus-visible { outline-color: var(--md-sys-color-on-primary); }
.information-page .activity-section { padding-top: 28px; }
.information-rive-target { position: relative; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
.information-rive-target:focus-visible { outline: 3px solid var(--md-sys-color-on-primary); outline-offset: -4px; }
.rive-flight { position: fixed; z-index: 115; pointer-events: none; overflow: hidden; }
.rive-flight canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.information-panel .activity-rive { background: transparent; }
@media (max-width: 719px) {
  .information-page .activity-rive { grid-row: 1; min-height: 190px; height: 190px; aspect-ratio: auto; }
}

/* Keep the cabinet and its sticky controls below browser / app chrome. */
:root { --cabinet-top-gap: clamp(24px, 3vh, 40px); }
[data-page="showcase"] .app-page { padding-top: calc(var(--cabinet-top-gap) + max(env(safe-area-inset-top, 0px), var(--app-safe-area-top))); }
.showcase-controls { top: calc(var(--cabinet-top-gap) + max(env(safe-area-inset-top, 0px), var(--app-safe-area-top))); }

.notice-button-label { display: inline-block; min-width: 0; white-space: pre-wrap; text-align: center; }

.notice-actions .banner-action { overflow: visible; }
.notice-actions .banner-action:hover, .notice-actions .banner-action:active { transform: none; }
.notice-actions .ripple { display: none; }

/* Layered depth and a single soft reflection accompany the poster's spring. */
.notice-dialog { box-shadow: 0 28px 80px rgb(6 12 30 / .32), 0 6px 20px rgb(6 12 30 / .18); }
.notice-actions { z-index: 2; }
.notice-sheet::after { content: ''; position: absolute; inset: -45%; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .18) 50%, transparent 62%); }
@media (prefers-reduced-motion: no-preference) {
  .notice-dialog[open] .notice-sheet::after { animation: notice-reflection 1100ms 160ms cubic-bezier(.16,1,.3,1) both; }
  .notice-dialog.closing .notice-sheet::after { animation: none; opacity: 0; }
}
@keyframes notice-reflection {
  0% { transform: translateX(-85%); opacity: 0; }
  24% { opacity: .7; }
  100% { transform: translateX(85%); opacity: 0; }
}

.notice-particle-stage { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; pointer-events: none; overflow: visible; z-index: 1000; }
.notice-particle-stage::backdrop { background: transparent; pointer-events: none; }
.notice-dialog[data-motion="poster-particles"],
.notice-dialog[data-motion="sand-settling"] { box-shadow: none; }
.notice-dialog[data-motion="sand-settling"]::backdrop { animation: notice-sand-backdrop 1800ms cubic-bezier(.4,0,.2,1) both; }
@keyframes notice-sand-backdrop { from { opacity: 1; } to { opacity: 0; } }
.notice-dialog[data-motion="button-bounce"] .notice-sheet::after,
.notice-dialog[data-motion="button-particles"] .notice-sheet::after,
.notice-dialog[data-motion="poster-particles"] .notice-sheet::after,
.notice-dialog[data-motion="sand-settling"] .notice-sheet::after { animation: none; opacity: 0; }
.notice-actions .banner-action:active { scale: .94; }
.notice-dialog[data-closing="true"] .banner-action { pointer-events: none; }
.notice-dialog.notice-free-exit { position: fixed; inset: auto; margin: 0; max-height: none; z-index: 1000; pointer-events: none; }
.notice-dialog.notice-free-exit * { pointer-events: none; }
.notice-exit-backdrop { position: fixed; inset: 0; z-index: 999; pointer-events: none; background: rgb(12 17 32 / .48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: notice-sand-backdrop 480ms cubic-bezier(.4,0,.2,1) both; }
