/* Angel AI extends the existing frame with the supplied halo artwork. */
.header-actions>.angel-trigger{display:grid;place-items:center;width:50px;min-width:50px;height:50px;padding:2px;flex-shrink:0;border:1px solid transparent;border-radius:10px;background:#070b0c;text-decoration:none;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.angel-trigger img{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px}
.header-actions>.angel-trigger:hover,.header-actions>.angel-trigger[aria-current="page"]{border-color:#b6d9ea;box-shadow:0 0 18px #79c5ec25}
.angel-trigger:focus-visible{outline:2px solid #e8d092;outline-offset:3px}
.device[data-entry="angel"]{background:radial-gradient(ellipse at 28% 37%,#11232b 0,transparent 52%),radial-gradient(ellipse at 72% 68%,#251a28 0,transparent 46%),#05090a}
#yard-view[data-page="angel-ai"]{height:100%;max-width:1320px}
.angel-showcase{min-height:100%;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;align-items:center;justify-items:center;gap:14px;padding:12px 0 22px}
.angel-film{position:relative;width:min(100%,540px,calc(100dvh - 800px));min-width:150px;aspect-ratio:1}
.angel-film::before{content:"";position:absolute;inset:14%;border-radius:50%;background:radial-gradient(ellipse at 45% 22%,#93c9ed20,transparent 60%),radial-gradient(ellipse at 70% 75%,#d0a7c51f,transparent 68%);filter:blur(32px);z-index:0;pointer-events:none}
.angel-video{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 94%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 94%,transparent)}
.angel-introduction{width:100%;max-width:520px;text-align:center;padding:0 12px}
.angel-eyebrow{display:block;color:#d9c481;font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.16em}
.angel-introduction h1{margin:15px 0 16px;font-size:clamp(38px,4.5vw,64px);line-height:1.05;font-weight:650;letter-spacing:-.045em;color:#f1f5f6}
.angel-introduction h1[tabindex="-1"]:focus{outline:none}
.angel-introduction h1>span{background:linear-gradient(130deg,#c9f0f5,#cbd1ed 58%,#e2c4d8);background-clip:text;-webkit-background-clip:text;color:transparent}
.angel-introduction h1>small{display:block;margin-bottom:7px;color:#d5e3e6;font-size:.48em;letter-spacing:.02em;font-weight:450}
.angel-principles{display:grid;gap:16px;max-width:360px;margin:24px auto;padding:0 0 0 20px;border-left:1px solid #a99660;text-align:left}
.angel-principles p{margin:0;color:#c8d4d9;font-size:clamp(18px,1.65vw,22px);line-height:1.5}
.angel-principles strong{color:#f1f3e8;font-weight:600}
.angel-introduction>.angel-guardian{margin:0 0 22px;color:#c1cfd4;font-size:16px;line-height:1.6}
.angel-guardian strong{color:#e5d29b;font-weight:600}
.angel-preview-link{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:54px;padding:12px 24px;border:1px solid #a99557;border-radius:12px;background:linear-gradient(120deg,#253e36,#101c1c);color:#f2e6bc;font-size:16px;font-weight:600;text-decoration:none}
.angel-preview-link:hover{filter:brightness(1.15)}
.angel-preview-art{position:relative;display:block;width:100%;height:100%;border-radius:20px;text-decoration:none}
.angel-preview-art:focus-visible,.angel-preview-link:focus-visible,.angel-motion:focus-visible{outline:2px solid #e8d092;outline-offset:4px}
.angel-motion{position:absolute;right:5%;top:3%;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #8ca1aa66;border-radius:50%;background:#0c171ed9;color:#dce9ec;font-size:0;line-height:1}
.angel-motion::before{content:"Ⅱ";font-size:19px;font-weight:700;pointer-events:none}
.angel-motion[aria-pressed="true"]::before{content:"▶";font-size:15px;padding-left:2px}
@media(min-width:1080px) and (orientation:landscape){
 .angel-showcase{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;padding:10px 24px 20px}
 .angel-film{width:min(100%,640px,calc(100dvh - 355px))}
 .angel-introduction{text-align:left;justify-self:start;padding:0}.angel-principles{margin-left:0;margin-right:0}
}
@media(max-width:767px){
 .device>.brand{gap:6px}.brand>a,.brand .hf12{width:34px;min-width:34px}.brand-context>b{font-size:16px}.brand-context button{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;text-align:left}
 .brand .header-actions{gap:4px}.header-actions>.angel-trigger{width:44px;min-width:44px;height:44px}.top-menu-toggle{flex-shrink:0}
 .angel-showcase{gap:8px;padding:8px 0 14px}.angel-film{width:min(100%,340px,calc(100dvh - 540px))}
 .device:has(>#top-menu:not([hidden])) .angel-film{width:min(100%,340px,calc(100dvh - 610px))}
 .angel-introduction{padding:0 8px}.angel-introduction h1{font-size:38px;margin:10px 0}.angel-principles{gap:12px;margin:18px auto;max-width:300px;padding-left:16px}.angel-principles p{font-size:18px}.angel-introduction>.angel-guardian{font-size:16px;margin-bottom:16px}.angel-preview-link{min-height:52px;padding:12px 20px}.angel-motion{right:0;top:0}
}
@media(max-height:640px) and (min-width:1080px){.angel-showcase{gap:24px}.angel-film{width:min(100%,300px,calc(100dvh - 280px))}.angel-introduction h1{font-size:36px;margin:8px 0}.angel-principles{margin:14px 0;gap:8px}.angel-principles p{font-size:16px}.angel-introduction>.angel-guardian{margin-bottom:12px}.angel-preview-link{min-height:46px}}
@media(prefers-reduced-motion:reduce){.header-actions>.angel-trigger{transition:none}}
@media print{.angel-trigger,.angel-showcase{display:none!important}}

/* Spoken messages become the focus; the whole showcase is the entrance. */
.angel-series{height:100%;min-height:470px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);align-items:center;gap:clamp(24px,4vw,60px);padding:8px 24px 18px;max-width:1320px;margin:auto;text-decoration:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.angel-series:focus-visible{outline:2px solid #f0d57d;outline-offset:-3px;border-radius:22px}.angel-series h1[tabindex="-1"]:focus{outline:none}
.angel-reel{position:relative;align-self:center;justify-self:center;min-height:0;width:min(100%,calc((100dvh - 260px)*.5625));height:auto;max-width:100%;aspect-ratio:9/16;border:1px solid #9d875c;border-radius:22px;overflow:hidden;background:#020507;box-shadow:0 0 0 5px #d5c09409,0 14px 50px #0007,0 0 55px #759dce15}
.angel-reel>video{display:block;width:100%;height:100%;object-fit:contain;background:#020507;pointer-events:none}
.angel-reel-caption{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(#030709c9,transparent);color:#f3e5ba;pointer-events:none;font-size:12px;letter-spacing:.12em}.angel-reel-caption img{object-fit:contain;mix-blend-mode:screen}
.angel-series-story{min-width:0;width:100%;max-width:670px}.angel-series-story h1{font-size:clamp(25px,2.6vw,36px);font-weight:400;line-height:1.15;letter-spacing:-.025em;margin:12px 0 24px;color:#c5d9e0}.angel-series-story h1 strong{color:#eef4ef;font-weight:650}
.angel-pain-tiles{display:grid;gap:16px}.angel-pain-tile{position:relative;min-width:0;display:grid;gap:8px;padding:24px 26px;border:1px solid #52706d;border-radius:20px;background:linear-gradient(125deg,#163333d9,#122125dd 65%,#191d2ce0);opacity:.62;transform:translateY(8px);transition:opacity .45s,transform .45s,border-color .45s,box-shadow .45s;overflow:hidden}.angel-pain-tile>span{font-size:clamp(24px,2.5vw,36px);line-height:1.2;color:#c3d9dc;letter-spacing:-.02em}.angel-pain-tile>strong{font-size:clamp(32px,3.6vw,50px);line-height:1.08;color:#f9e4a3;letter-spacing:-.035em;font-weight:750;text-wrap:balance}.angel-pain-tile.is-revealed{opacity:1;transform:none;animation:angel-tile-arrive .65s both}.angel-pain-tile.is-current{border-color:#e7c86e;box-shadow:0 0 0 1px #e6bf4b26,0 10px 34px #62bdcf12}.angel-pain-tile.is-current::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#f5dc8b10 50%,transparent 70%);transform:translateX(-100%);animation:angel-tile-light 1.5s .1s both}
@keyframes angel-tile-arrive{from{opacity:.3;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}@keyframes angel-tile-light{to{transform:translateX(100%)}}
.angel-is-paused .angel-pain-tile,.angel-is-paused .angel-pain-tile::after{animation-play-state:paused}
.angel-entry-hint{font-size:14px;letter-spacing:.02em;color:#aebfc4;margin:20px 2px 0}.angel-entry-hint>span{color:#e7cf83;margin-left:12px}.angel-sound-hint{position:absolute;bottom:16px;left:12px;right:12px;padding:14px;border:1px solid #c5a955;border-radius:12px;background:#102020ed;color:#f1dda0;font-size:16px;line-height:1.4;text-align:center;box-shadow:0 8px 30px #0008}.angel-sound-hint[hidden]{display:none}
.angel-access-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1079px){.angel-series{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;padding:8px 8px 18px}.angel-pain-tile{padding:20px}.angel-pain-tile>span{font-size:25px}.angel-pain-tile>strong{font-size:34px}.angel-series-story h1{font-size:27px}}
@media(max-width:767px){.angel-series{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;min-height:0;height:auto;gap:18px;padding:6px 4px 16px}.angel-reel{width:min(100%,calc(36dvh*.5625));height:auto;border-radius:18px}.angel-reel-caption{padding:8px 10px;font-size:11px}.angel-series-story{width:100%;max-width:440px;justify-self:center}.angel-series-story>.angel-eyebrow{font-size:11px;letter-spacing:.08em}.angel-series-story h1{font-size:24px;margin:9px 0 14px}.angel-pain-tiles{gap:12px}.angel-pain-tile{padding:18px;border-radius:16px;gap:6px}.angel-pain-tile>span{font-size:23px}.angel-pain-tile>strong{font-size:30px}.angel-entry-hint{font-size:13px;margin:14px 2px 0}.angel-sound-hint{padding:10px;bottom:10px;left:8px;right:8px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.angel-pain-tile,.angel-pain-tile.is-revealed,.angel-pain-tile::after{animation:none!important;transition:none;transform:none}.angel-pain-tile{opacity:1}}
@media print{.angel-series{display:none!important}}
@media(max-width:767px){.angel-pain-tile:not(.is-current){display:none}.angel-pain-tiles{min-height:144px}.angel-pain-tile.is-current{min-height:144px;align-content:center}}

.angel-is-paused .angel-pain-tile{animation:none;opacity:1;transform:none}
.angel-series-story:has(.angel-pain-tile:nth-child(3)) h1{margin-bottom:18px}
.angel-series-story:has(.angel-pain-tile:nth-child(3)) .angel-pain-tiles{gap:12px}
.angel-series-story:has(.angel-pain-tile:nth-child(3)) .angel-pain-tile{padding:18px 22px;gap:5px}
.angel-series-story:has(.angel-pain-tile:nth-child(3)) .angel-pain-tile>span{font-size:clamp(22px,2.1vw,28px)}
.angel-series-story:has(.angel-pain-tile:nth-child(3)) .angel-pain-tile>strong{font-size:clamp(30px,3vw,42px)}
