/* Arena skin: bounded vector motion, compositor feedback, shared site typography. */
.ph-arena { --ar-gold:#bc862e;--ar-edge:#d3b16e;--ar-flare:#f4d89b;--ar-deep:#18354d; }
.ph-arena [hidden] { display:none!important; }
html.theme--dark .ph-arena { --ar-gold:#ebc57c;--ar-edge:#786346;--ar-flare:#f3d795;--ar-deep:#131e2b; }
.ph-arena-crest { position:relative;isolation:isolate;display:block;width:156px;height:156px;flex:none;margin:0 auto; }
.ph-arena-crest>svg { position:relative;z-index:2;width:100%;height:100%;overflow:visible; }
.ph-arena-orbit { position:absolute;inset:3px;border:1px solid #b99a5745;border-radius:50%;pointer-events:none; }
.ph-arena-orbit.is-outer { border-style:dashed;border-width:1px; }
.ph-arena-orbit.is-inner { inset:14px;border-color:#e1c27f25; }
.ph-arena-orbit.is-inner::before,.ph-arena-orbit.is-inner::after { content:'';position:absolute;left:50%;top:-3px;width:5px;height:5px;border-radius:1px;background:#f4d399;transform:rotate(45deg); }
.ph-arena-orbit.is-inner::after { top:auto;bottom:-3px; }
.ph-arena-crest-floor { position:absolute;left:18%;right:18%;bottom:3%;height:10%;background:radial-gradient(ellipse,#d9b97030,transparent 70%);pointer-events:none; }
.ph-arena-laurel { stroke:#d2b16e;stroke-width:1.8;stroke-linecap:round; }
.ph-arena-leaves { fill:#cba45b;stroke:#e8ce89;stroke-width:.7; }
.ph-arena-cup-shadow { fill:#080f19;stroke:#a97b32;stroke-width:2;transform:translateY(3px); }
.ph-arena-cup { fill:#c29b4b;stroke:#ffe0a0;stroke-width:2.5; }
.ph-arena-cup-handles { fill:#a77f3a;stroke:#e5c47f;stroke-width:4;stroke-linejoin:round; }
.ph-arena-cup-light { stroke:#ffe8b0;stroke-width:3;stroke-linecap:round;opacity:.7; }
.ph-arena-star { fill:#f6dda0;stroke:#a7792a;stroke-width:1; }
.ph-arena-spark { fill:#f5d697;opacity:.5;transform-box:fill-box;transform-origin:center; }
html body .ph-arena-controls { display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid var(--pb-line);border-radius:8px;background:var(--pb-surface);color:var(--pb-muted);font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;cursor:pointer; }
html body .ph-arena-controls[hidden] { display:none!important; }
.ph-arena-controls>.ph8540-icon { width:15px;height:15px; }
/* One card component for live, scheduled and collection contests. */
html body .ph-arena .ph-rpg-card {
 --rpg-accent:#74b9ed;--rpg-shadow:#092944;--rpg-wash:#103854;--rpg-metal:#c49e59;
 position:relative;isolation:isolate;display:flex;flex-direction:column;gap:0;min-width:0;padding:0;overflow:hidden;
 border:2px solid #9e7d45;border-radius:12px;background:#fbf5e9;
 box-shadow:inset 0 0 0 1px #fff5,0 0 0 1px #433923,0 6px 17px #152e4714;
}
html body .ph-arena .ph-rpg-card.skin-verdant { --rpg-accent:#68d8ae;--rpg-shadow:#092e29;--rpg-wash:#0b5844; }
html body .ph-arena .ph-rpg-card.skin-ember { --rpg-accent:#f0b07b;--rpg-shadow:#3c191a;--rpg-wash:#713b29; }
html body .ph-arena .ph-rpg-card.is-upcoming { --rpg-accent:#8bc8ff;--rpg-shadow:#14264d;--rpg-wash:#284b78; }
html body .ph-arena .ph-rpg-card::before { inset:3px;z-index:4;width:auto;border:1px solid #d8b66e6b;border-radius:8px;background:none;pointer-events:none; }
html body .ph-arena .ph-rpg-card::after { content:'';position:absolute;inset:-60% -80%;z-index:3;pointer-events:none;opacity:0;background:linear-gradient(110deg,transparent 44%,#edc77812 49%,#fff4 50%,transparent 56%);transform:translateX(-48%); }
.ph-rpg-trim { position:absolute;inset:1px;z-index:5;pointer-events:none;border-radius:9px;box-shadow:inset 0 1px 0 #ffe8a58c,inset 0 -1px 0 #423322; }
.ph-rpg-trim>i { position:absolute;width:24px;height:24px;border:1px solid #60472b;background:linear-gradient(135deg,#f8e0a2,#b38a43 38%,#554125 72%,#252b30);box-shadow:inset 1px 1px 0 #fff6;clip-path:polygon(0 0,100% 0,78% 28%,38% 28%,28% 38%,28% 78%,0 100%); }
.ph-rpg-trim>i:nth-child(1){left:0;top:0}.ph-rpg-trim>i:nth-child(2){right:0;top:0;transform:rotate(90deg)}.ph-rpg-trim>i:nth-child(3){right:0;bottom:0;transform:rotate(180deg)}.ph-rpg-trim>i:nth-child(4){left:0;bottom:0;transform:rotate(270deg)}
.ph-rpg-trim>b { position:absolute;left:50%;top:-1px;width:47px;height:10px;transform:translateX(-50%);background:linear-gradient(145deg,#f6daa0,#a8803c 55%,#433622);clip-path:polygon(0 0,100% 0,85% 40%,66% 40%,50% 100%,34% 40%,15% 40%); }
.ph-rpg-banner { position:relative;isolation:isolate;display:flex;flex-direction:column;gap:17px;min-height:204px;padding:20px 23px 17px;overflow:hidden;border-bottom:3px solid #b99150;background:var(--rpg-shadow); }
.ph-rpg-banner::before { content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--rpg-shadow) 94%,transparent),color-mix(in srgb,var(--rpg-wash) 74%,transparent) 58%,color-mix(in srgb,var(--rpg-shadow) 50%,transparent)),linear-gradient(0deg,#03101fa3,transparent 65%); }
.ph-rpg-landscape { position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 44%;pointer-events:none; }
.ph-rpg-mist { position:absolute;right:-10%;bottom:-35%;z-index:1;width:80%;height:85%;pointer-events:none;background:radial-gradient(ellipse,color-mix(in srgb,var(--rpg-accent) 32%,transparent),transparent 65%);opacity:.3; }
.ph-rpg-topline { position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px; }
html body .ph-arena .ph-rpg-topline .ph8540-badge { padding:5px 9px;border:1px solid #74c49b70;border-radius:5px;background:#0a4439e8;color:#c2f5d7;font-size:10px;box-shadow:inset 0 1px 0 #fff1; }
html body .ph-arena .ph-rpg-card.is-upcoming .ph8540-badge { color:#d5eaff;background:#193f6be8;border-color:#86b9e275; }
.ph-rpg-banner-mark { color:#f2dfb6;font-size:8px;font-weight:700;letter-spacing:.12em;white-space:nowrap; }
.ph-rpg-title { position:relative;z-index:2;display:flex;align-items:center;gap:15px;min-height:82px; }
html body .ph-arena .ph-rpg-title h3 { min-height:0!important;margin:0;font-size:19px!important;line-height:1.6!important;color:#ffe8bb!important;text-shadow:0 2px 4px #000b;overflow-wrap:anywhere; }
.ph-rpg-medallion { position:relative;display:grid;place-items:center;flex:none;width:59px;height:65px;border:2px solid #bb9450;border-radius:9px 9px 18px 18px;background:radial-gradient(circle at 38% 24%,#ffe6a62e,#172e3ee8 70%);box-shadow:inset 0 0 0 3px #fff0b80e,0 0 0 1px #362e25,0 4px 9px #0005;color:#f5d18b; }
.ph-rpg-medallion::before { content:'';position:absolute;inset:4px;border:1px solid #d2b4776b;border-radius:5px 5px 13px 13px; }
.ph-rpg-medallion>.ph8540-icon { width:29px;height:29px; }
.ph-rpg-medallion>i { position:absolute;left:50%;bottom:-4px;width:7px;height:7px;border:1px solid #e8d6a0;border-radius:1px;background:var(--rpg-accent);transform:translateX(-50%) rotate(45deg);box-shadow:0 0 7px color-mix(in srgb,var(--rpg-accent) 50%,transparent); }
.ph-rpg-banner-facts { position:relative;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:auto;color:#d7e0df;font-size:10px;line-height:1.6; }
.ph-rpg-banner-facts>span { display:inline-flex;align-items:center;gap:6px; }
.ph-rpg-banner-facts .ph8540-icon { width:13px;height:13px;color:var(--rpg-accent); }
.ph-rpg-body { display:flex;flex:1;flex-direction:column;gap:15px;padding:18px 22px 20px;background:radial-gradient(ellipse at 10% 0%,#d3b76e0a,transparent 65%),linear-gradient(130deg,#fffaf0,#f6efdf);color:#514331; }
html body .ph-arena .ph-rpg-card .ph8540-participation { gap:12px;padding:11px 13px;border:1px solid #d7c7a5;border-radius:7px;background:#fffdf5b3;box-shadow:inset 0 1px 3px #6c4c2905; }
html body .ph-arena .ph-rpg-card .ph8540-participation>div+div { border-color:#ded2ba;padding-left:17px; }
html body .ph-arena .ph-rpg-card .ph8540-participation span { color:#75654e;font-size:10px; }
html body .ph-arena .ph-rpg-card .ph8540-participation strong { color:#644b27;font-size:30px;line-height:1.35; }
html body .ph-arena .ph-rpg-card .ph8540-participation .is-competing strong { color:#246f59; }
html body .ph-arena .ph-rpg-card .ph-arena-time { color:#79603a; }
html body .ph-arena .ph-rpg-card .ph-arena-time-track { margin:-8px 0 0;background:#dfd4bb;box-shadow:inset 0 1px 2px #73562b25; }
html body .ph-arena .ph-rpg-card .ph-arena-time-fill { background:linear-gradient(90deg,#337c66,#c0a053); }
html body .ph-arena .ph-rpg-card .ph8540-live-footer { align-items:center;gap:10px;margin-top:auto;padding-top:14px;border-color:#d8c7a4; }
html body .ph-arena .ph-rpg-card .ph8540-live-footer>span { color:#7f6a48;font-size:9px; }
html body .ph-arena .ph-rpg-card .ph8540-live-footer strong { margin-top:3px;color:#59442b;font-size:11px; }
html body .ph-arena .ph-rpg-card .ph8540-live-footer>b { justify-content:center;gap:9px;min-height:39px;padding:8px 16px;border:1px solid #8e672d;border-radius:6px;background:linear-gradient(#e7cc89,#c8a255 55%,#ac8139);box-shadow:inset 0 1px 0 #fff5c7b3,inset 0 -1px 0 #654a24,0 2px 5px #6d4a2220;color:#382812;font-size:12px;text-shadow:0 1px 0 #fff3; }
html body .ph-arena .ph-rpg-card.is-upcoming .ph8540-live-footer>b { border-color:#426685;color:#e6f4ff;text-shadow:none;background:linear-gradient(#476b8e,#294866); }
html body .ph-arena .ph-rpg-archive { grid-template-columns:54px minmax(0,1fr) auto auto;gap:15px;background:linear-gradient(120deg,#f5efe3,#fffaf1);border-color:#dacbb0; }
html body .ph-arena .ph-rpg-archive .ph8540-row-symbol { position:relative;width:48px;height:54px;border:2px solid #ac8d58;border-radius:7px 7px 13px 13px;color:#c4ad76;background:linear-gradient(135deg,#4f5148,#313b3d);box-shadow:inset 0 0 0 3px #fff4c70c,0 2px 3px #76552b1a; }
html body .ph-arena .ph-rpg-archive .ph8540-row-copy h3 { color:#5d4d37!important; }
html body .ph-arena .ph-rpg-archive .ph8540-row-copy p { color:#82735e; }
html body .ph-arena .ph-rpg-archive .ph8540-badge { color:#76634b;border-color:#d6c8b0;background:#f0e7d7; }
.ph-rpg-group-archive { margin-top:24px; }
html body .ph-arena .ph-rpg-card:focus-visible { outline:2px solid var(--rpg-accent);outline-offset:4px; }
.ph-arena-playing .ph-rpg-mist { animation:ph-rpg-mist 7s ease-in-out infinite alternate; }
@keyframes ph-rpg-mist { from{transform:translateX(-4%);opacity:.15}to{transform:translateX(4%);opacity:.4} }
@media(hover:hover) and (pointer:fine){
 html body .ph-arena .ph-rpg-card:hover { border-color:#d1af65; }
 html body .ph-arena .ph-rpg-card:hover .ph8540-live-footer>b { border-color:#8f682e;background:linear-gradient(#f0d99f,#dcba71 55%,#b48b42);color:#33240f; }
 html body .ph-arena .ph-rpg-card.is-upcoming:hover .ph8540-live-footer>b { border-color:#80b1db;background:linear-gradient(#537b9f,#315879);color:#edf8ff; }
}
html.theme--dark body .ph-arena .ph-rpg-card { background:#24272d;border-color:#9c7e48;box-shadow:0 0 0 1px #10161c,0 6px 18px #0003; }
html.theme--dark body .ph-arena .ph-rpg-body { color:#d7cbb4;background:radial-gradient(ellipse at 0% 0%,#af894a0b,transparent 60%),linear-gradient(130deg,#292d34,#21262e); }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-participation { background:#171f2a90;border-color:#645b47; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-participation>div+div { border-color:#514d40; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-participation span { color:#bdb19b; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-participation strong { color:#e8c887; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-participation .is-competing strong { color:#8bddb5; }
html.theme--dark body .ph-arena .ph-rpg-card .ph-arena-time { color:#d0b47c; }
html.theme--dark body .ph-arena .ph-rpg-card .ph-arena-time-track { background:#434337; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-live-footer { border-color:#625842; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-live-footer>span { color:#b6a68a; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-live-footer strong { color:#e5d4b3; }
html.theme--dark body .ph-arena .ph-rpg-card .ph8540-live-footer>b { background:linear-gradient(#b79752,#98783c);color:#1e1b15;border-color:#d0ae63; }
html.theme--dark body .ph-arena .ph-rpg-card.is-upcoming .ph8540-live-footer>b { background:linear-gradient(#466887,#2b4862);color:#e5f5ff;border-color:#6b96bb; }
html.theme--dark body .ph-arena .ph-rpg-archive { background:linear-gradient(120deg,#292c30,#252a31);border-color:#5b5445; }
html.theme--dark body .ph-arena .ph-rpg-archive .ph8540-row-copy h3 { color:#d5c3a3!important; }
html.theme--dark body .ph-arena .ph-rpg-archive .ph8540-row-copy p { color:#a89d8b; }
html.theme--dark body .ph-arena .ph-rpg-archive .ph8540-badge { color:#c3b494;background:#34352f;border-color:#615b48; }
@media(max-width:600px){
 .ph-rpg-banner{padding:18px 19px 15px;min-height:190px;gap:14px}.ph-rpg-title{gap:12px;min-height:78px}.ph-rpg-medallion{width:50px;height:57px}
 html body .ph-arena .ph-rpg-title h3{font-size:17px!important}.ph-rpg-banner-mark{font-size:7px;letter-spacing:.08em}.ph-rpg-body{padding:15px 18px 18px;gap:13px}
 html body .ph-arena .ph-rpg-card .ph8540-live-footer>b{min-height:38px;padding:7px 12px;font-size:11px}html body .ph-arena .ph-rpg-archive{grid-template-columns:48px minmax(0,1fr);padding:16px;gap:12px}
 html body .ph-arena .ph-rpg-archive .ph8540-row-actions{grid-column:2;justify-content:start}.ph-rpg-trim>i{width:20px;height:20px}
}
.ph-arena-time { display:flex;align-items:center;gap:7px;min-height:22px;color:var(--pb-muted);font-size:11px;line-height:1.7;font-variant-numeric:tabular-nums; }
.ph-arena-time>.ph8540-icon { width:14px;height:14px;flex:none;color:var(--ar-gold); }
.ph-arena-time-track { height:3px;overflow:hidden;border-radius:3px;background:var(--pb-line);margin:-9px 0 0; }
.ph-arena-time-fill { display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--pb-green),var(--ar-gold));transform-origin:left;transform:scaleX(0); }
.ph-arena .is-time-low .ph-arena-time { color:var(--pb-heading);font-weight:700; }
.ph-arena .is-time-low .ph-arena-time-fill { background:#c66c4d; }
html body .ph8550-contest-hero.ph-arena { border-color:#9e814d80;box-shadow:inset 0 0 0 4px #d7b76b08,0 10px 28px #0c20311a; }
html body .ph8550-contest-hero.ph-arena .ph8550-contest-crest { flex:none;border:0;background:transparent;box-shadow:none;transform:none;width:170px;height:170px; }
.ph8550-contest-hero.ph-arena .ph-arena-crest { width:170px;height:170px; }
.ph8550-contest-hero.ph-arena .ph-arena-time { position:relative;margin-top:18px;color:#e2cd9f; }
.ph8550-contest-hero.ph-arena .ph-arena-time>.ph8540-icon { color:#d9bd7f; }
.ph8550-contest-tabs[data-ph-arena] a { position:relative; }
.ph8550-contest-tabs[data-ph-arena] a[aria-current]::after { content:'';position:absolute;bottom:-1px;left:15px;right:15px;height:2px;background:linear-gradient(90deg,transparent,#cc9b48,transparent); }
html.ph-atmosphere-motion body .ph-arena :is(.ph8540-live-card,.ph8540-group-card,.ph8540-subgroup-card,.ph8540-group-open),html.ph-atmosphere-motion body .ph-arena-controls { transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .2s; }
.ph-arena-playing .ph-arena-orbit.is-outer { animation:ph-arena-orbit 45s linear infinite; }
.ph-arena-playing .ph-arena-orbit.is-inner { animation:ph-arena-orbit 28s linear infinite reverse; }
.ph-arena-playing .ph-arena-crest>svg { animation:ph-arena-float 5s ease-in-out infinite; }
.ph-arena-playing .ph-arena-spark { animation:ph-arena-spark 3.2s ease-in-out infinite; }
.ph-arena-playing .ph-arena-spark.is-two { animation-delay:1s; }
.ph-arena-playing .ph-arena-spark.is-three { animation-delay:2s; }
.ph-arena-playing .ph8540-badge.is-live i { animation:ph-arena-beacon 2.8s ease-in-out infinite; }
@keyframes ph-arena-orbit { to{transform:rotate(360deg)} }
@keyframes ph-arena-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }
@keyframes ph-arena-spark { 0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:.95;transform:scale(1.12)} }
@keyframes ph-arena-beacon { 0%,100%{opacity:1}50%{opacity:.4} }
@keyframes ph-arena-glint { from{opacity:0;transform:translateX(-48%)}20%{opacity:.5}to{opacity:0;transform:translateX(48%)} }
@media(hover:hover) and (pointer:fine){
 html.ph-atmosphere-motion body .ph-arena :is(.ph8540-live-card,.ph8540-subgroup-card):hover { transform:translateY(-4px); }
 html.ph-atmosphere-motion body .ph-arena .ph8540-live-card:hover::after { animation:ph-arena-glint .75s ease-out; }
 html body .ph-arena .ph8540-live-card:hover { border-color:var(--ar-gold); }
 html body .ph-arena .ph8540-group-open:hover { border-color:var(--ar-gold); }
}
@media(max-width:760px){
 html body .ph-arena .ph8540-hero-panel { display:grid;grid-template-columns:120px minmax(0,1fr);gap:5px 15px;padding:18px; }
 .ph-arena .ph8540-hero-panel>.ph-arena-crest { grid-column:1;grid-row:1/4;width:120px;height:120px;align-self:center; }
 html body .ph-arena .ph8540-panel-label { grid-column:2;text-align:left; }
 html body .ph-arena .ph8540-stat-feature { grid-column:2;grid-template-columns:auto 1fr;gap:0 10px;margin:0; }
 html body .ph-arena .ph8540-stat-feature>.ph8540-icon { display:none; }
 html body .ph-arena .ph8540-stat-feature>strong { font-size:30px; }
 html body .ph-arena .ph8540-stat-feature>span { grid-column:2; }
 html body .ph-arena .ph8540-stat-pair { grid-column:2;margin-top:6px;padding-top:9px;gap:10px; }
 html body .ph-arena .ph8540-hero-panel>p { grid-column:1/-1;margin:7px 0 0; }
 html body .ph8550-contest-hero.ph-arena .ph8550-contest-crest,.ph8550-contest-hero.ph-arena .ph-arena-crest { width:115px;height:115px; }
}
@media(max-width:480px){
 html body .ph-arena .ph8540-hero h1 { font-size:32px!important; }
 html body .ph-arena .ph8540-hero-panel { grid-template-columns:95px minmax(0,1fr);gap:4px 12px;padding:15px; }
 .ph-arena .ph8540-hero-panel>.ph-arena-crest { width:95px;height:95px; }
 html body .ph-arena .ph8540-live-footer>b { min-height:36px;padding:7px 11px;font-size:11px; }
 html body .ph8550-contest-hero.ph-arena .ph8550-contest-crest,.ph8550-contest-hero.ph-arena .ph-arena-crest { width:82px;height:82px; }
}
/* Contest chrome v3. The library and native contest workspace share these tokens.
   Ordinary page backgrounds, user settings, forms and judging are untouched. */
html body :is(.ph8540-contests,.ph8550-contest-workspace) {
 --rpg-paper:#fffaf0;--rpg-paper-soft:#f5eddd;--rpg-paper-raised:#fffdf7;--rpg-line:#d9c9a9;
 --rpg-ink:#51422f;--rpg-muted:#796b55;--rpg-heading:#624923;--rpg-link:#276c73;
 --rpg-metal:#b28c4e;--rpg-gold:#efd092;--rpg-dark:#182d3e;--rpg-dark-soft:#223c4e;
 --rpg-shadow:0 6px 20px #513a1610;--rpg-button:linear-gradient(#ead298,#d0ae65 55%,#b88f45);
 /* Bind the site foundation at this component boundary. Its dark aliases then
    resolve to this palette without changing unrelated pages or specificity. */
 --ph8670-surface:var(--rpg-paper-raised);--ph8670-soft:var(--rpg-paper-soft);--ph8670-raised:var(--rpg-paper);
 --ph8670-ink:var(--rpg-ink);--ph8670-muted:var(--rpg-muted);--ph8670-edge:var(--rpg-line);
 --ph8670-heading:var(--rpg-heading);--ph8670-link:var(--rpg-link);--ph8670-focus:var(--rpg-metal);--ph8670-shadow:var(--rpg-shadow);
}
html.theme--dark body :is(.ph8540-contests,.ph8550-contest-workspace) {
 --rpg-paper:#232a32;--rpg-paper-soft:#2a323c;--rpg-paper-raised:#1c252f;--rpg-line:#5e5645;
 --rpg-ink:#e4d8c2;--rpg-muted:#beb39d;--rpg-heading:#edcf94;--rpg-link:#9bcfc7;
 --rpg-metal:#a98c56;--rpg-dark:#18232e;--rpg-dark-soft:#263341;--rpg-shadow:0 6px 22px #0002;
 --rpg-button:linear-gradient(#cdb071,#b79752 55%,#9d7c3d);
}
html body .ph8540-contests.ph-arena {
 --pb-ink:var(--rpg-ink);--pb-muted:var(--rpg-muted);--pb-line:var(--rpg-line);--pb-heading:var(--rpg-heading);
 --pb-surface:var(--rpg-paper);--pb-soft:var(--rpg-paper-soft);--pb-accent:var(--rpg-link);
}
html body .ph8550-contest-workspace:has(>.ph8550-contest-hero) {
 --pc-ink:var(--rpg-ink);--pc-muted:var(--rpg-muted);--pc-line:var(--rpg-line);--pc-surface:var(--rpg-paper-raised);
 --pc-soft:var(--rpg-paper-soft);--pc-accent:var(--rpg-link);
}
/* One illuminated, carved frame for the library entrance and contest entrance. */
html body .ph-arena .ph8540-hero,html body .ph8550-contest-hero.ph-arena {
 position:relative;isolation:isolate;overflow:hidden;border:2px solid var(--rpg-metal);border-radius:13px;
 background:linear-gradient(110deg,#102c40,#163b4c);box-shadow:inset 0 0 0 4px #f7db9b0b,0 1px 0 #fff5,0 8px 25px #1024381c;
}
html body .ph-arena .ph8540-hero { padding:32px;gap:28px;grid-template-columns:minmax(0,1fr) 280px; }
.ph-rpg-backdrop { position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:75% 43%;pointer-events:none; }
html body .ph-arena .ph8540-hero::before,html body .ph8550-contest-hero.ph-arena::after {
 content:'';position:absolute;inset:0;z-index:-1;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;pointer-events:none;
 background:linear-gradient(100deg,#092436f5 10%,#123345ec 43%,#152f42a6 78%,#0d2236b8),linear-gradient(0deg,#03131e66,transparent);
}
html body .ph-arena .ph8540-hero h1,html body .ph8550-contest-workspace .ph8550-contest-hero h1 { color:#ffedc5!important;text-shadow:0 2px 5px #0007;letter-spacing:0; }
html body .ph-arena .ph8540-hero h1 { font-size:clamp(31px,3.5vw,44px)!important;line-height:1.32!important;margin:15px 0!important; }
html body .ph-arena .ph8540-hero h1 em { color:#edc77e; }
html body .ph-arena .ph8540-eyebrow,.ph8550-contest-eyebrow { color:#d7bc83;letter-spacing:.12em; }
html body .ph-arena .ph8540-hero-copy>p { color:#c9d7d9;max-width:620px;line-height:1.95; }
html body .ph-arena .ph8540-hero-panel {
 position:relative;overflow:hidden;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:19px 21px;border:1px solid #b99b5c;border-radius:8px;
 color:#d6dfdf;background:radial-gradient(ellipse at 50% 15%,#ddba6224,transparent 65%),linear-gradient(145deg,#192c39e8,#10232ee8);
 box-shadow:inset 0 0 0 4px #e9d69c09,0 5px 16px #0002;
}
html body .ph-arena .ph8540-panel-label { color:#d7bb7f;text-align:center;letter-spacing:.13em;font-size:9px; }
html body .ph-arena .ph8540-stat-feature { margin:12px 0 18px; }
html body .ph-arena .ph8540-stat-feature>strong { color:#f1d69f;font-size:36px; }
html body .ph-arena .ph8540-stat-feature>.ph8540-icon { background:#f4d99f08;border-color:#c5a46455;color:#e8c98e; }
html body .ph-arena .ph8540-stat-feature>span,html body .ph-arena .ph8540-hero-panel>p { color:#c1d0d3; }
html body .ph-arena .ph8540-stat-pair { border-color:#b89e6450; }
html body .ph-arena .ph8540-stat-pair>div+div { border-color:#b89e6438; }
html body .ph-arena .ph8540-stat-pair strong { color:#f0d6a1; }
html body .ph-arena .ph8540-stat-pair span { color:#b9cdd1; }
html body .ph-arena .ph8540-stat-pair .is-live strong { color:#9de3c1; }
html body .ph-arena .ph8540-hero-panel>p { margin-bottom:0;line-height:1.8;font-size:10px; }
html body .ph-arena .ph8540-hero .ph8540-button { color:#e6d5af!important;background:#102734d9;border-color:#ad925d;border-radius:6px;box-shadow:inset 0 1px 0 #fff1; }
html body .ph-arena .ph8540-hero .ph8540-button.is-primary { color:#3b2b14!important;background:var(--rpg-button);border-color:#d9b673;text-shadow:0 1px #fff3; }
html body .ph-arena .ph8540-hero .ph8540-text-link { color:#ead09b!important; }
html body .ph-arena .ph8540-hero .ph-arena-controls { color:#c5d5d8;background:#0d2633a3;border-color:#76908b75;border-radius:6px; }
html body .ph-arena .ph8540-hero-actions>.ph8540-badge { color:#dfd0ad;background:#21343ce0;border-color:#a18a5c; }
/* Compact metal menu, equal readable targets; two columns on phones. */
html body .ph-arena .ph8540-jump-nav,html body .ph8550-contest-workspace .ph8550-contest-tabs {
 gap:7px;margin-top:-10px;padding:8px;border:1px solid #937848;border-radius:9px;background:linear-gradient(120deg,var(--rpg-dark-soft),var(--rpg-dark));box-shadow:inset 0 1px 0 #e9d09727,0 3px 10px #1024380d;
}
html body .ph-arena .ph8540-jump-nav>a,html body .ph8550-contest-workspace .ph8550-contest-tabs>a {
 flex:1 1 auto;justify-content:center;min-width:0;gap:9px;padding:10px 14px;border:1px solid #b39b663b;border-radius:5px;background:#ffffff04;color:#e0d6bd!important;line-height:1.6;
}
html body .ph-arena .ph8540-jump-nav .ph8540-icon { color:#c5b47f; }
html body .ph-arena .ph8540-jump-nav b { margin-left:3px;min-width:23px;padding:1px 6px;border-radius:4px;border:1px solid #cfb57440;color:#f2d398;background:#0b1b2873;text-align:center; }
html body .ph8550-contest-workspace .ph8550-contest-tabs>a[aria-current="page"] { color:#382a17!important;border-color:#d6b979;background:var(--rpg-button);box-shadow:inset 0 1px 0 #fff5; }
html body .ph-arena .ph8540-section-title { position:relative;padding:0 0 16px;border-bottom:1px solid var(--rpg-line);margin-bottom:22px; }
.ph-arena .ph8540-section-title::after { content:'';position:absolute;left:0;bottom:-3px;width:6px;height:6px;transform:rotate(45deg);background:#b29357;border:1px solid #e3cc97; }
html body .ph-arena .ph8540-kicker { color:var(--rpg-link);letter-spacing:.12em;font-size:9px; }
html body .ph-arena .ph8540-section-title h2 { color:var(--rpg-heading)!important;line-height:1.45; }
html body .ph-arena .ph8540-section-title .ph8540-badge { border-color:var(--rpg-line);background:var(--rpg-paper);color:var(--rpg-heading);border-radius:5px; }
html body .ph-arena .ph8540-section-title .ph8540-badge.is-live { color:var(--pb-green);background:var(--pb-green-soft); }
/* Collection cards share the contest frame, but retain their configured jewel hue. */
html body .ph-arena .ph8540-group-card { position:relative;isolation:isolate;border:2px solid var(--rpg-metal);border-radius:12px;background:var(--rpg-paper);box-shadow:0 0 0 1px #54442a, var(--rpg-shadow); }
html body .ph-arena .ph8540-group-banner { isolation:isolate;overflow:hidden;padding:23px;border-bottom:3px solid #b99554;background:var(--pg); }
html body .ph-arena .ph8540-group-banner::after { content:'';position:absolute;inset:0;z-index:-1;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;background:linear-gradient(100deg,color-mix(in srgb,var(--pg) 50%,#071b29) 5%,color-mix(in srgb,var(--pg) 80%,transparent) 55%,#10253588); }
.ph-arena .ph8540-group-banner .ph-rpg-backdrop { opacity:.8;object-position:75% 44%; }
html body .ph-arena .ph8540-group-emblem { position:relative;width:46px;height:52px;border:2px solid #ceb174;border-radius:7px 7px 14px 14px;color:#f2d59d;background:#102d429e;box-shadow:inset 0 0 0 3px #ffefb011,0 3px 5px #0002; }
html body .ph-arena .ph8540-group-access { color:#f0e2c7;border:1px solid #d3bc8347;border-radius:4px;padding:4px 7px;background:#10232e75; }
html body .ph-arena .ph8540-group-total { color:#edce91;font-size:11px; }
html body .ph-arena .ph8540-group-banner h3 { color:#ffedc4!important;font-size:25px!important;text-shadow:0 2px 4px #0008; }
html body .ph-arena .ph8540-group-banner p { color:#e0e3d8; }
html body .ph-arena .ph8540-group-content { background:linear-gradient(130deg,var(--rpg-paper),var(--rpg-paper-soft));gap:18px;padding:23px; }
html body .ph-arena .ph8540-child-groups>div { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:8px; }
html body .ph-arena .ph8540-child-groups a { min-height:44px;gap:7px;padding:9px 11px;border:1px solid var(--rpg-line);border-radius:5px;background:var(--rpg-paper-raised);color:var(--rpg-ink);box-shadow:inset 0 1px 0 #fff1; }
html body .ph-arena .ph8540-child-groups a>span { flex:1; }
html body .ph-arena .ph8540-child-groups a>b { color:var(--rpg-muted); }
html body .ph-arena .ph8540-child-groups a>.ph8540-icon { color:var(--rpg-link); }
html body .ph-arena .ph8540-group-metrics { padding:13px 12px;border:1px solid var(--rpg-line);border-radius:7px;background:var(--rpg-paper-raised); }
html body .ph-arena .ph8540-group-metrics>div+div { border-color:var(--rpg-line);padding-left:14px; }
html body .ph-arena .ph8540-group-metrics strong { color:var(--rpg-heading);font-size:23px; }
html body .ph-arena .ph8540-group-metrics>div:nth-child(2) strong { color:var(--pb-green); }
html body .ph-arena .ph8540-card-progress .ph8540-progress { background:var(--rpg-line); }
html body .ph-arena .ph8540-card-progress .ph8540-progress>span { background:linear-gradient(90deg,#397f72,#c3a361); }
html body .ph-arena .ph8540-card-progress strong { color:var(--rpg-heading); }
html body .ph-arena .ph8540-group-open { justify-content:center;gap:12px;min-height:42px;padding:10px 15px;border:1px solid #9e7940;border-radius:6px;background:var(--rpg-button);color:#382a17!important;box-shadow:inset 0 1px 0 #fff6,0 2px 4px #76542813; }
html body .ph-arena .ph8540-subgroup-card { position:relative;overflow:hidden;border:1px solid var(--rpg-metal);border-radius:9px;background:linear-gradient(135deg,var(--rpg-paper),var(--rpg-paper-soft));box-shadow:inset 0 0 0 3px #a8803d0a,var(--rpg-shadow); }
html body .ph-arena .ph8540-subgroup-card .ph8540-row-symbol { width:45px;height:50px;flex:none;border:1px solid #b29558;border-radius:7px 7px 13px 13px;color:#e5c681;background:linear-gradient(#254656,#162f40); }
html body .ph-arena .ph8540-subgroup-card>.ph8540-icon { color:var(--rpg-link); }
html body .ph-arena .ph8540-breadcrumb { flex-wrap:wrap;gap:8px;color:var(--rpg-muted); }
html body .ph-arena .ph8540-breadcrumb a { color:var(--rpg-link); }
/* Archives and empty states stay quieter than a contest that can be entered. */
html body .ph-arena .ph8540-archive-more { overflow:hidden;border:1px solid var(--rpg-line);border-radius:8px;background:var(--rpg-paper); }
html body .ph-arena .ph8540-archive-more>summary { color:var(--rpg-heading);background:linear-gradient(100deg,var(--rpg-paper-soft),var(--rpg-paper)); }
html body .ph-arena .ph8540-archive-more[open]>summary { border-bottom:1px solid var(--rpg-line); }
html body .ph-arena .ph8540-empty { border:1px solid var(--rpg-line);border-radius:10px;background:linear-gradient(130deg,var(--rpg-paper),var(--rpg-paper-soft));box-shadow:inset 0 0 0 4px #ac8b4707; }
html body .ph-arena .ph8540-empty>.ph8540-icon { color:var(--rpg-heading);background:var(--rpg-paper-raised);border:1px solid var(--rpg-line);border-radius:7px; }
/* Native contest overview, problem list and scoreboard inherit the same chrome. */
html body .ph8550-contest-hero.ph-arena { padding:28px; }
.ph8550-contest-hero.ph-arena .ph8550-contest-hero-top { gap:24px; }
.ph8550-contest-hero.ph-arena .ph8550-contest-facts>div { background:#0d2234b8;border-color:#af995e66;border-radius:7px;box-shadow:inset 0 1px 0 #fff1; }
.ph8550-contest-hero.ph-arena .ph8550-contest-facts .ph8540-icon { color:#e0bd78; }
.ph8550-contest-hero.ph-arena .ph8550-contest-facts span { color:#cbd4cf; }
.ph8550-contest-hero.ph-arena .ph8550-contest-facts strong { color:#f3d99f; }
.ph8550-contest-hero.ph-arena .ph8550-contest-facts .ph-v5-competing strong { color:#a7e4c7; }
.ph8550-contest-hero.ph-arena .ph8550-contest-schedule { border-color:#b79e6355;color:#c9c7b8; }
.ph8550-contest-hero.ph-arena .ph8550-contest-schedule b { color:#eee2c9; }
html body .ph8550-contest-workspace .section { border-color:var(--rpg-line)!important;border-radius:10px!important;box-shadow:var(--rpg-shadow); }
html body .ph8550-contest-workspace .section__header { border-color:var(--rpg-line);background:linear-gradient(110deg,var(--rpg-paper-soft),var(--rpg-paper))!important; }
html body .ph8550-contest-workspace .section__title { color:var(--rpg-heading)!important; }
html body .ph8550-contest-workspace .richmedia :is(h1,h2,h3,h4) { color:var(--rpg-heading)!important; }
html body .ph8550-contest-workspace .section__body.typo { color:var(--rpg-ink)!important; }
html body .ph8550-contest-workspace .section.side .menu__link:hover { background:var(--rpg-paper-soft); }
html body .ph8550-contest-workspace table:is(.data-table,.ph8550-native-table) td { color:var(--rpg-ink); }
.ph8550-contest-workspace .section.side:has(>.contest-sidebar__bg)::before,.ph8550-overview .medium-3>.section.side:first-child::before { color:var(--rpg-heading);background:var(--rpg-paper-soft); }
html body .ph8550-contest-workspace .ph-ce-contest-bar { margin:0;padding:12px 17px;border-color:var(--rpg-line);border-radius:8px;color:var(--rpg-ink);background:linear-gradient(110deg,var(--rpg-paper-soft),var(--rpg-paper));box-shadow:inset 0 0 0 3px #b99b6007; }
/* Hydro's live timer is appended outside the workspace. Keep the native clock
   running and its phone visibility rule; only move its desktop paint away from
   the fixed navbar, using the navbar's existing measured height variables. */
html body:has(.ph8550-contest-workspace) .contest-timer {
 left:auto;right:max(16px,calc((100vw - 1180px)/2));top:calc(var(--ph85191-navbar-height,56px) + var(--ph85191-ticker-height,28px) + 9px);z-index:20;
 margin:0;padding:6px 12px;border:1px solid #b59b67;border-radius:5px;background:#fffaf1f2;color:#64502f;
 box-shadow:0 2px 8px #76542815;font-family:inherit;font-size:12px;font-weight:700;line-height:1.6;font-variant-numeric:tabular-nums;white-space:nowrap;
}
html.theme--dark body:has(.ph8550-contest-workspace) .contest-timer { border-color:#837047;background:#222f3bf2;color:#edcf94;box-shadow:0 2px 8px #0003; }
@media(hover:hover) and (pointer:fine){
 html.ph8550-design-system body .ph8540-contests.ph-arena :is(.ph8540-group-card,.ph8540-subgroup-card,.ph-rpg-card):hover { border-color:#cfaf6d;box-shadow:0 0 0 1px #715632,0 8px 23px #73542020; }
 html body .ph-arena .ph8540-jump-nav>a:hover,html body .ph8550-contest-workspace .ph8550-contest-tabs>a:hover { border-color:#d0b277;background:#d7b36d18;color:#fff0c9!important; }
 html body .ph8550-contest-workspace .ph8550-contest-tabs>a[aria-current="page"]:hover { color:#382a17!important;background:var(--rpg-button); }
 html body .ph-arena .ph8540-child-groups a:hover { border-color:var(--rpg-metal);background:var(--rpg-paper-soft); }
 html body .ph-arena .ph8540-group-open:hover,html body .ph-arena .ph8540-hero .ph8540-button.is-primary:hover { background:linear-gradient(#f0d9a1,#d6b670);border-color:#b58c45; }
 html.ph-atmosphere-motion body .ph-arena .ph8540-group-card:hover { transform:translateY(-3px); }
}
html body .ph-arena :is(a,button,summary):focus-visible,html body .ph8550-contest-workspace :is(a,button,summary):focus-visible { outline:2px solid #b9934f;outline-offset:4px; }
@media(max-width:900px){html body .ph-arena .ph8540-hero{grid-template-columns:minmax(0,1fr) 250px;gap:22px;padding:25px}}
@media(max-width:760px){
 html body .ph-arena .ph8540-hero{grid-template-columns:1fr;gap:24px;padding:25px}
 html body .ph-arena .ph8540-hero-panel{display:grid;grid-template-columns:110px minmax(0,1fr);gap:5px 16px;padding:17px}
 .ph-arena .ph8540-hero-panel>.ph-arena-crest{width:110px;height:110px;grid-column:1;grid-row:1/4;align-self:center}
 html body .ph-arena .ph8540-panel-label{text-align:left;grid-column:2}
 html body .ph-arena .ph8540-stat-feature{grid-column:2;grid-template-columns:auto 1fr;gap:0 10px;margin:0}
 html body .ph-arena .ph8540-stat-feature>.ph8540-icon{display:none}
 html body .ph-arena .ph8540-stat-feature>strong{font-size:30px}
 html body .ph-arena .ph8540-stat-feature>span{grid-column:2}
 html body .ph-arena .ph8540-stat-pair{grid-column:2;padding-top:9px;margin-top:6px;gap:10px}
 html body .ph-arena .ph8540-hero-panel>p{grid-column:1/-1;margin-top:6px}
}
@media(max-width:600px){
 html body .ph-arena .ph8540-hero{padding:22px;gap:21px}
 html body .ph-arena .ph8540-hero h1{font-size:32px!important}
 html body .ph-arena .ph8540-hero-actions{gap:9px;margin-top:20px}
 html body .ph-arena .ph8540-hero-actions>.ph8540-button{flex:1 1 145px}
 html body .ph-arena .ph8540-jump-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;margin-top:-8px}
 html body .ph-arena .ph8540-jump-nav>a{justify-content:start;padding:10px;gap:7px;font-size:10px}
 html body .ph-arena .ph8540-jump-nav b{margin-left:auto}
 html body .ph-arena .ph8540-section-title{padding-bottom:14px;margin-bottom:18px}
 html body .ph-arena .ph8540-group-content,html body .ph-arena .ph8540-group-banner{padding:20px}
 html body .ph-arena .ph8540-group-card:only-child{display:flex}
 html body .ph-arena .ph8540-group-metrics>div+div{padding-left:10px}
 html body .ph8550-contest-hero.ph-arena{padding:23px 20px 19px}
 html body .ph8550-contest-workspace .ph8550-contest-tabs{margin-top:0;padding:6px;gap:5px}
 html body .ph8550-contest-workspace .ph8550-contest-tabs>a{min-height:44px;padding:9px 8px;gap:6px;font-size:11px}
}
@media(max-width:380px){
 html body .ph-arena .ph8540-hero{padding:20px 18px}
 html body .ph-arena .ph8540-hero-panel{grid-template-columns:83px minmax(0,1fr);gap:5px 10px;padding:14px}
 .ph-arena .ph8540-hero-panel>.ph-arena-crest{width:83px;height:83px}
 html body .ph-arena .ph8540-group-access{font-size:8px}
}

/* Scene tint follows the artwork, independently of contest phase or difficulty. */
.ph-arena [data-arena-scene],.ph-arena[data-arena-scene] { --scene-shadow:#092944;--scene-wash:#164252;--scene-accent:#7fc7df;--scene-metal:#b59758;--scene-high:#f4dda3;--scene-low:#55472e; }
.ph-arena [data-arena-scene="grove"],.ph-arena[data-arena-scene="grove"] { --scene-shadow:#082b2b;--scene-wash:#125842;--scene-accent:#8be2b8;--scene-metal:#a8a16b;--scene-high:#e4e1ae;--scene-low:#3e5142; }
.ph-arena [data-arena-scene="forge"],.ph-arena[data-arena-scene="forge"] { --scene-shadow:#321d20;--scene-wash:#674027;--scene-accent:#f3bc7d;--scene-metal:#be8d55;--scene-high:#f3d098;--scene-low:#613d29; }
.ph-arena [data-arena-scene="isles"],.ph-arena[data-arena-scene="isles"] { --scene-shadow:#172740;--scene-wash:#3f356d;--scene-accent:#c6b7f2;--scene-metal:#b19cca;--scene-high:#e9d9ff;--scene-low:#494059; }
.ph-arena [data-arena-scene="frost"],.ph-arena[data-arena-scene="frost"] { --scene-shadow:#102c40;--scene-wash:#275473;--scene-accent:#ade4f1;--scene-metal:#9ab7c1;--scene-high:#e4f6ff;--scene-low:#3a5566; }
.ph-arena [data-arena-scene="tide"],.ph-arena[data-arena-scene="tide"] { --scene-shadow:#0c283d;--scene-wash:#17585f;--scene-accent:#88e2e2;--scene-metal:#71bec3;--scene-high:#d0f7f4;--scene-low:#285362; }
.ph-arena [data-arena-scene="blossom"],.ph-arena[data-arena-scene="blossom"] { --scene-shadow:#341b32;--scene-wash:#673747;--scene-accent:#f2a8b9;--scene-metal:#ce8f9d;--scene-high:#ffe3db;--scene-low:#5e3448; }
.ph-arena [data-arena-scene="moon"],.ph-arena[data-arena-scene="moon"] { --scene-shadow:#161d39;--scene-wash:#393e69;--scene-accent:#c2d0ff;--scene-metal:#a1aacc;--scene-high:#e9ecff;--scene-low:#414e74; }
.ph-arena [data-arena-scene="dunes"],.ph-arena[data-arena-scene="dunes"] { --scene-shadow:#36241f;--scene-wash:#6d472d;--scene-accent:#ffd18d;--scene-metal:#d6a66a;--scene-high:#ffe9c0;--scene-low:#6e4e30; }
html body .ph-arena .ph-rpg-card[data-arena-scene] { --rpg-accent:var(--scene-accent);--rpg-shadow:var(--scene-shadow);--rpg-wash:var(--scene-wash); }
html body .ph-arena :is(.ph-rpg-card,.ph8540-group-card)[data-arena-scene] { border-color:var(--scene-metal); }
.ph-arena [data-arena-scene]>.ph-rpg-trim>i,.ph-arena[data-arena-scene]>.ph-rpg-trim>i { border-color:var(--scene-low);background:linear-gradient(135deg,var(--scene-high),var(--scene-metal) 38%,var(--scene-low) 74%,#23323c); }
.ph-arena [data-arena-scene]>.ph-rpg-trim>b,.ph-arena[data-arena-scene]>.ph-rpg-trim>b { background:linear-gradient(145deg,var(--scene-high),var(--scene-metal) 55%,var(--scene-low)); }
.ph-rpg-card[data-arena-scene="grove"] .ph-rpg-medallion,.ph-rpg-card[data-arena-scene="grove"] .ph-rpg-medallion::before { border-radius:18px 7px 18px 7px;border-color:var(--scene-metal); }
.ph-rpg-card[data-arena-scene="isles"] .ph-rpg-medallion,.ph-rpg-card[data-arena-scene="isles"] .ph-rpg-medallion::before { border-radius:50%;border-color:var(--scene-metal); }
.ph-rpg-card[data-arena-scene="forge"] .ph-rpg-medallion { border-radius:5px;clip-path:polygon(18% 0,82% 0,100% 16%,100% 84%,82% 100%,18% 100%,0 84%,0 16%);border-color:var(--scene-metal); }
.ph-rpg-card[data-arena-scene="forge"] .ph-rpg-medallion>i { bottom:3px; }
.ph-rpg-card[data-arena-scene="frost"] .ph-rpg-medallion,.ph-rpg-card[data-arena-scene="frost"] .ph-rpg-medallion::before { border-color:var(--scene-metal); }
html body .ph-arena .ph-rpg-banner::before { background:linear-gradient(90deg,color-mix(in srgb,var(--scene-shadow) 95%,transparent),color-mix(in srgb,var(--scene-wash) 64%,transparent) 53%,color-mix(in srgb,var(--scene-shadow) 24%,transparent)),linear-gradient(0deg,#03101fb8,transparent 70%); }
html body .ph-arena .ph8540-group-banner::after { background:linear-gradient(100deg,color-mix(in srgb,var(--scene-shadow) 94%,transparent) 3%,color-mix(in srgb,var(--scene-wash) 69%,transparent) 57%,#09243442); }
html body .ph-arena .ph8540-hero::before,html body .ph8550-contest-hero.ph-arena::after { background:linear-gradient(100deg,color-mix(in srgb,var(--scene-shadow) 97%,transparent) 5%,color-mix(in srgb,var(--scene-shadow) 91%,transparent) 42%,color-mix(in srgb,var(--scene-wash) 58%,transparent) 78%,#10243166),linear-gradient(0deg,#04152155,transparent); }
.ph-rpg-landscape,.ph-rpg-backdrop { object-position:62% 47%; }
.ph-arena .ph8540-group-banner .ph-rpg-backdrop { opacity:1;object-position:64% 48%; }
/* Faceted vector metal and enamel. Fine lines stay readable at 14–32px. */
.ph-arena-glyph { --glyph-metal:#cfad6a;--glyph-light:#fff0bd;--glyph-deep:#233c48;--glyph-gem:var(--scene-accent,#86c9cb);color:currentColor;overflow:visible; }
.ph-arena-glyph .ph-glyph-metal { fill:color-mix(in srgb,var(--glyph-metal) 27%,transparent);stroke:currentColor; }
.ph-arena-glyph .ph-glyph-base { fill:color-mix(in srgb,var(--glyph-deep) 65%,transparent);stroke:currentColor; }
.ph-arena-glyph .ph-glyph-gem { fill:var(--glyph-gem);stroke:currentColor;stroke-width:1; }
.ph-arena-glyph .ph-glyph-shine { fill:none;stroke:var(--glyph-light);stroke-width:1.2; }
.ph-rpg-medallion>.ph-arena-glyph { width:33px;height:33px; }
html body .ph-arena .ph8540-group-emblem>.ph-arena-glyph { width:28px;height:28px; }
.ph-arena .ph8540-jump-nav .ph-arena-glyph,.ph8550-contest-tabs .ph-arena-glyph { width:21px;height:21px; }

/* Featured contests use the arena's existing visibility and motion controls. */
[data-ph-effect] {
  --effect-rim:#ffcb71; --effect-glow:#ff982e; --effect-ink:#ffe5a8; --effect-deep:#411a10;
}
[data-ph-effect="frost"] {
  --effect-rim:#9be8ff; --effect-glow:#4dc7fa; --effect-ink:#dff8ff; --effect-deep:#0b3049;
}
[data-ph-effect="storm"] {
  --effect-rim:#d8c1ff; --effect-glow:#a67aff; --effect-ink:#f4e8ff; --effect-deep:#302050;
}
[data-ph-effect="nebula"] {
  --effect-rim:#aebdff; --effect-glow:#8176ff; --effect-ink:#eef0ff; --effect-deep:#222552;
}
[data-ph-effect="gold"] {
  --effect-rim:#ffe7a0; --effect-glow:#ffd44e; --effect-ink:#fff4ce; --effect-deep:#463309;
}
[data-ph-effect="verdant"] {
  --effect-rim:#a7f2bd; --effect-glow:#63da91; --effect-ink:#e4ffe7; --effect-deep:#183f33;
}
[data-ph-effect="tide"] {
  --effect-rim:#92f2ef; --effect-glow:#30cbbf; --effect-ink:#e2ffff; --effect-deep:#123c49;
}
[data-ph-effect="blossom"] {
  --effect-rim:#ffb4ca; --effect-glow:#f1749f; --effect-ink:#fff0f5; --effect-deep:#56253f;
}
[data-ph-effect="moon"] {
  --effect-rim:#cfd9ff; --effect-glow:#9aaef5; --effect-ink:#f4f5ff; --effect-deep:#282d55;
}
[data-ph-effect="dunes"] {
  --effect-rim:#ffd69a; --effect-glow:#f4a751; --effect-ink:#fff3db; --effect-deep:#543820;
}
[data-ph-effect="aurora"] {
  --effect-rim:#a3fff0; --effect-glow:#65e5c9; --effect-ink:#edfffb; --effect-deep:#163d51;
}
[data-ph-effect="meteor"] {
  --effect-rim:#ffdb9b; --effect-glow:#f79e64; --effect-ink:#fff3df; --effect-deep:#4b2d47;
}
[data-ph-effect="eclipse"] {
  --effect-rim:#ffcbd8; --effect-glow:#eb789a; --effect-ink:#ffedf3; --effect-deep:#4b2847;
}
[data-ph-effect="runes"] { --effect-rim:#83f3ce;--effect-glow:#3bc9ac;--effect-ink:#ebffdc;--effect-deep:#183642; }
[data-ph-effect="prism"] { --effect-rim:#cee1ff;--effect-glow:#a59bff;--effect-ink:#f7f3ff;--effect-deep:#242e59; }
[data-ph-effect="lanterns"] { --effect-rim:#ffd6aa;--effect-glow:#ef9665;--effect-ink:#fff2ce;--effect-deep:#46253e; }
.ph-effect-seal,.ph-effect-prism {
  position:absolute; inset-block-start:50%; inset-inline-start:73%; width:clamp(100px,22%,215px);
  aspect-ratio:1; translate:-50% -50%; opacity:.78;
}
.ph-effect-seal > span { position:absolute; border-radius:50%; }
.ph-effect-seal-outer {
  inset:2%; border:1px solid #a6ffdc9e;
  background:repeating-conic-gradient(from 11deg,#9cf3d2b3 0deg 2deg,transparent 2deg 14deg);
  mask-image:radial-gradient(transparent 56%,#000 57%,#000 67%,transparent 68%);
}
.ph-effect-seal-inner { inset:14%; border:2px dashed #9ef3daac; box-shadow:0 0 17px #45d7aa55,inset 0 0 18px #45d7aa50; }
.ph-effect-seal-heart { inset:33%; border:1px solid #c1f5bda3; transform:rotate(45deg); border-radius:15%!important; background:radial-gradient(#d1ffbfad,#38dbaa3e 55%,transparent 72%); }
.ph-effect-prism > span {
  position:absolute; inset:7% 16%; clip-path:polygon(50% 0,96% 72%,50% 100%,4% 72%);
  background:linear-gradient(145deg,#eeebffca,#7c9ff44d 47%,#d6adf3b3 49%,#4dbee448 71%,#dce0ffb8);
}
.ph-effect-prism > span:nth-child(2) { inset:25% 59% 3% -8%; opacity:.56; transform:rotate(-19deg); }
.ph-effect-prism > span:nth-child(3) { inset:27% -13% 3% 64%; opacity:.62; transform:rotate(17deg); }
.ph-effect-spectrum {
  position:absolute; inset:15% -8% auto 30%; height:60%; transform:rotate(-12deg);
  background:linear-gradient(174deg,transparent 32%,#72def933 39%,#d8a7f840 46%,#ffc99548 51%,transparent 63%);
  opacity:.65;
}
.ph-effect-ripples {
  position:absolute; inset:auto -9% 1% 20%; height:49%; border-radius:50%;
  background:repeating-radial-gradient(ellipse at 70% 78%,transparent 0 9px,#e7b39537 10px 11px,transparent 12px 19px);
}
.ph-effect-lanterns { position:absolute; inset:9% 4% 11% 30%; }
.ph-effect-lanterns > span {
  position:absolute; left:var(--lx,40%); top:var(--ly,40%); width:13px; height:18px; border-radius:40% 40% 45% 45%;
  background:linear-gradient(90deg,#ae5e54,#ffd791 45%,#ce7966);
  border:1px solid #ffd8aa8c; box-shadow:0 0 15px 2px #f39b795d; opacity:.78;
}
.ph-effect-lanterns > span::before,.ph-effect-lanterns > span::after { content:''; position:absolute; inset:auto 2px 1px; height:1px; background:#843d58; }
.ph-effect-lanterns > span::before { inset:1px 2px auto; }
.ph-effect-lanterns > span:nth-child(1) { --lx:13%;--ly:62%;--delay:-3s; }
.ph-effect-lanterns > span:nth-child(2) { --lx:31%;--ly:37%;--delay:-1s; }
.ph-effect-lanterns > span:nth-child(3) { --lx:54%;--ly:57%;--delay:-4s; }
.ph-effect-lanterns > span:nth-child(4) { --lx:69%;--ly:23%;--delay:-2s; }
.ph-effect-lanterns > span:nth-child(5) { --lx:87%;--ly:48%;--delay:-5s; }
@media(prefers-reduced-motion:no-preference) {
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-seal-outer { animation:ph-seal-spin 24s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-seal-inner { animation:ph-seal-spin 18s linear infinite reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-seal-heart { animation:ph-seal-breathe 4.8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-prism { animation:ph-prism-drift 6.8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-spectrum { animation:ph-spectrum-sweep 8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-lanterns > span { animation:ph-lantern-float 6s var(--delay,0s) ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-ripples { animation:ph-ripples 7s ease-in-out infinite alternate; }
}
@keyframes ph-seal-spin { to { transform:rotate(1turn); } }
@keyframes ph-seal-breathe { to { transform:rotate(55deg) scale(1.18); opacity:.64; } }
@keyframes ph-prism-drift { to { transform:translateY(-9px) rotate(7deg); } }
@keyframes ph-spectrum-sweep { to { transform:translateX(-16%) rotate(-6deg); opacity:.93; } }
@keyframes ph-lantern-float { to { transform:translate(8px,-10px) rotate(-7deg); opacity:.47; } }
@keyframes ph-ripples { to { transform:scale(1.12,1.17); opacity:.63; } }
.ph-effect-aurora { stroke:#75ffe0;stroke-width:13;stroke-linecap:round;opacity:.36; }
.ph-effect-aurora.is-second { stroke:#8fa7ff;stroke-width:8;opacity:.49; }
.ph-effect-aurora.is-third { stroke:#e6b1ff;stroke-width:3;opacity:.62; }
.ph-effect-meteor { stroke:var(--effect-rim);stroke-width:2;stroke-linecap:round;opacity:.55; }
.ph-effect-meteor circle { fill:var(--effect-ink); }
.ph-effect-eclipse { color:var(--effect-rim);stroke:currentColor;transform-origin:222px 57px;opacity:.8; }
.ph-effect-eclipse circle:first-child { fill:#23172b;stroke-width:2.4; }
.ph-effect-eclipse circle:nth-child(2) { opacity:.45;stroke-width:4; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-aurora { animation:ph-aurora-wave 7s ease-in-out infinite alternate; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-aurora.is-second { animation-duration:9s;animation-delay:-4s; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-aurora.is-third { animation-duration:11s;animation-delay:-2s; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-meteor { animation:ph-meteor-trail 5.7s ease-in infinite; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-meteor.is-second { animation-delay:-1.9s; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-meteor.is-third { animation-delay:-3.8s; }
html.ph-atmosphere-motion .ph-arena-playing .ph-effect-eclipse { animation:ph-eclipse-halo 10s ease-in-out infinite alternate; }
@keyframes ph-aurora-wave {
  from { transform:translate(-9px,8px) skewX(-3deg);opacity:.26; }
  to { transform:translate(10px,-9px) skewX(4deg);opacity:.72; }
}
@keyframes ph-meteor-trail {
  0%,52% { transform:translate(42px,-27px);opacity:0; }
  62% { opacity:.88; }
  80%,100% { transform:translate(-52px,30px);opacity:0; }
}
@keyframes ph-eclipse-halo {
  from { transform:rotate(-12deg) scale(.92);opacity:.48; }
  to { transform:rotate(23deg) scale(1.09);opacity:.94; }
}
html body .ph-arena .ph-catalog-contest.is-ph-spotlight,
html body .ph8550-contest-hero.ph-arena.is-ph-spotlight {
  border-color:color-mix(in srgb,var(--effect-rim),var(--effect-deep) 26%);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--effect-rim),var(--effect-deep) 56%),
    0 0 19px color-mix(in srgb,var(--effect-glow) 36%,transparent),0 10px 24px #14223526;
}
.is-ph-spotlight .ph-catalog-landscape { border-bottom-color:var(--effect-rim); }
[data-ph-effect="fire"] .ph-catalog-landscape .ph-rpg-landscape { object-position:50% 58%; }
[data-ph-effect="fire"] .ph-catalog-landscape::after {
  background:linear-gradient(180deg,#2b0e08aa,transparent 48%,#4c180dcc),radial-gradient(ellipse at 50% 110%,#ff9c35b0,transparent 70%);
}
.is-ph-spotlight .ph-catalog-contest-state,.is-ph-spotlight .ph-catalog-contest-emblem { position:relative;z-index:2; }
.is-ph-spotlight .ph-catalog-contest-emblem,.ph-effect-demo-emblem {
  background:linear-gradient(145deg,color-mix(in srgb,var(--effect-glow) 21%,var(--effect-deep)),var(--effect-deep));
  border-color:var(--effect-rim);color:var(--effect-rim);
  box-shadow:inset 0 0 0 2px #fff2,0 0 15px color-mix(in srgb,var(--effect-glow) 50%,transparent);
}
.is-ph-spotlight .ph-catalog-contest-emblem>svg { width:25px;height:25px; }
.ph-spotlight-badge,.ph8550-contest-badges>.ph-spotlight-badge {
  display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;border:1px solid var(--effect-rim);
  background:var(--effect-deep);color:var(--effect-ink);font-size:10px;font-weight:700;line-height:1.5;
  box-shadow:0 0 11px color-mix(in srgb,var(--effect-glow) 36%,transparent),inset 0 1px #fff1;
}
.ph-spotlight-badge>svg { flex:none;width:14px;height:14px;color:var(--effect-rim); }
.ph-catalog-landscape>.ph-spotlight-badge { position:absolute;bottom:10px;left:12px;z-index:2; }
.ph-effect-light {
  position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none;
}
.ph-effect-light::before,.ph-effect-light::after { content:'';position:absolute;pointer-events:none; }
.ph-effect-light::before {
  inset:0;
  background:radial-gradient(ellipse at 75% 63%,color-mix(in srgb,var(--effect-glow) 58%,transparent),transparent 69%);
  opacity:.3;
}
.ph-effect-light::after {
  right:0;bottom:0;width:55%;height:2px;
  background:linear-gradient(90deg,transparent,var(--effect-rim) 47%,#fff6 60%,transparent);
  box-shadow:0 0 12px color-mix(in srgb,var(--effect-glow) 55%,transparent);
  opacity:.66;
}
.ph8550-contest-hero>.ph-effect-light { mask-image:linear-gradient(90deg,transparent 15%,#000 62%); }
.ph-spotlight-fire {
  position:absolute;z-index:0;inset:auto 0 0;height:73px;pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%,#ff8b3c83,transparent 69%);
}
.ph-spotlight-fire>svg { position:absolute;inset:0;width:100%;height:100%;transform-origin:50% 100%; }
.ph-spotlight-flame-outer { fill:#ff5733;opacity:.54; }
.ph-spotlight-flame-mid { fill:#ffa032;opacity:.78; }
.ph-spotlight-flame-core { fill:#ffe1a0;opacity:.92; }
:is(.ph-spotlight-fire,.ph-effect-art)>i {
  position:absolute;left:var(--spark-x,12%);width:var(--spark-size,4px);height:var(--spark-size,4px);border-radius:50%;
  background:var(--effect-ink);box-shadow:0 0 7px 2px color-mix(in srgb,var(--effect-glow) 60%,transparent);opacity:.6;
}
.ph-spotlight-fire>i { bottom:var(--spark-y,16%); }
.ph-effect-art>i { top:var(--spark-y,16%); }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-child(2n+1) { --spark-size:2px;--spark-drift:-16px; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(2) { --spark-x:22%;--spark-y:32%;--spark-delay:-1.1s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(3) { --spark-x:37%;--spark-y:9%;--spark-delay:-2.4s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(4) { --spark-x:50%;--spark-y:36%;--spark-delay:-.55s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(5) { --spark-x:64%;--spark-y:19%;--spark-delay:-1.9s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(6) { --spark-x:73%;--spark-y:6%;--spark-delay:-.8s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(7) { --spark-x:84%;--spark-y:26%;--spark-delay:-2.7s; }
:is(.ph-spotlight-fire,.ph-effect-art)>i:nth-of-type(8) { --spark-x:94%;--spark-y:14%;--spark-delay:-1.55s; }
.ph8550-contest-hero.is-ph-spotlight>.ph-spotlight-fire {
  left:28%;height:122px;opacity:.78;mask-image:linear-gradient(to right,transparent,#000 32%);
}
.ph8550-contest-hero.is-ph-spotlight .ph8550-contest-facts,
.ph8550-contest-hero.is-ph-spotlight .ph8550-contest-schedule,
.ph8550-contest-hero.is-ph-spotlight .ph-arena-time { position:relative;z-index:1; }
.ph8550-contest-hero.is-ph-spotlight .ph8550-contest-crest { filter:drop-shadow(0 0 16px color-mix(in srgb,var(--effect-rim) 50%,transparent)); }
.ph-effect-art { position:absolute;z-index:0;inset:0;pointer-events:none;overflow:hidden;color:var(--effect-rim); }
.ph-effect-art>svg { position:absolute;inset:0;width:100%;height:100%; }
.ph8550-contest-hero>.ph-effect-art { left:29%;mask-image:linear-gradient(90deg,transparent,#000 46%);opacity:.85; }
[data-ph-effect="frost"] .ph-effect-art { background:linear-gradient(0deg,#184973a6,transparent 58%); }
.ph-effect-art>svg:has(.ph-effect-crystals) { transform-origin:50% 100%; }
.ph-effect-crystals { fill:#4086ab;fill-opacity:.76;stroke:#b8eeff;stroke-width:1.3; }
.ph-effect-facets { stroke:#ddf7ff;stroke-width:.75;opacity:.8; }
[data-ph-effect="storm"] .ph-effect-art { background:radial-gradient(ellipse at 73% 20%,#6146a75c,transparent 73%); }
.ph-effect-bolt { stroke:#ebddff;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #c38dff);opacity:.67; }
.ph-effect-charge { stroke:#f8eeff;stroke-width:2;stroke-linecap:round;stroke-dasharray:15 85;stroke-dashoffset:100;opacity:0; }
[data-ph-effect="nebula"] .ph-effect-art { background:radial-gradient(ellipse at 70% 50%,#302876b8,transparent 74%); }
.ph-effect-orbits,.ph-effect-sun { stroke:currentColor;stroke-width:1;opacity:.73; }
.ph-effect-stars { fill:var(--effect-ink);filter:drop-shadow(0 0 5px var(--effect-glow)); }
.ph-effect-comets { stroke:currentColor;stroke-linecap:round;fill:var(--effect-ink); }
.ph-effect-comets>path { fill:none;stroke-dasharray:2 2; }
[data-ph-effect="gold"] .ph-effect-art { background:radial-gradient(circle at 74% 48%,#f6bc484d,transparent 58%); }
[data-ph-effect="gold"] .ph-effect-art::after { content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 27%,#ffdc7933 45%,#ffe6ae87 50%,#ffdc7933 54%,transparent 67%);opacity:.54; }
[data-ph-effect="verdant"] .ph-effect-art { background:radial-gradient(ellipse at 75% 58%,#55c78044,transparent 68%); }
.ph-effect-branches { stroke:currentColor;stroke-width:1.5;stroke-linecap:round;transform-origin:290px 105px; }
.ph-effect-leaves { fill:#70ce9670; }
[data-ph-effect="verdant"] .ph-effect-art>i { width:7px;height:4px;border-radius:80% 0;background:var(--effect-rim); }
.ph-effect-wave,.ph-effect-sand { stroke:var(--effect-rim);stroke-width:1.2;fill:var(--effect-glow);fill-opacity:.42; }
.ph-effect-wave.is-back,.ph-effect-sand.is-back { fill-opacity:.22;opacity:.7; }
.ph-effect-foam,.ph-effect-sand-lines { stroke:var(--effect-ink);stroke-width:1.35;stroke-linecap:round;stroke-dasharray:8 4;opacity:.7; }
.ph-effect-blossom { fill:#ff96bb55;stroke:var(--effect-rim);stroke-width:1.3;transform-origin:221px 55px; }
.ph-effect-blossom>circle { fill:#fff0d1; }
[data-ph-effect="blossom"] .ph-effect-art>i { width:8px;height:5px;border-radius:80% 20% 65% 35%;background:var(--effect-rim); }
.ph-effect-moon circle { stroke:var(--effect-rim);stroke-dasharray:2 5;opacity:.66; }
.ph-effect-moon path { fill:var(--effect-ink);filter:drop-shadow(0 0 7px var(--effect-glow)); }
.ph-effect-moon-mist { stroke:var(--effect-rim);stroke-width:3;opacity:.32; }
[data-ph-effect="dunes"] .ph-effect-art>i { top:calc(var(--spark-y,16%) + 36%);width:9px;height:2px;border-radius:30%; }

@media (prefers-reduced-motion:no-preference) {
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-light::before { animation:ph-effect-aura 3.4s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-light::after { animation:ph-effect-rim 4s ease-in-out infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-spotlight-fire>svg { animation:ph-spotlight-flare 1.65s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-spotlight-flame-mid {
    transform-box:fill-box;transform-origin:center bottom;animation:ph-spotlight-flare 2.25s -.8s ease-in-out infinite alternate-reverse;
  }
  html.ph-atmosphere-motion .ph-arena-playing .ph-spotlight-fire>i { animation:ph-spotlight-ember 3s var(--spark-delay,0s) ease-out infinite; }
  html.ph-atmosphere-motion [data-ph-effect="frost"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-snow 3.6s var(--spark-delay,0s) linear infinite; }
  html.ph-atmosphere-motion [data-ph-effect="frost"].ph-arena-playing .ph-effect-art>svg { animation:ph-effect-ice 3.7s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion [data-ph-effect="storm"].ph-arena-playing .ph-effect-bolt { animation:ph-effect-current 3.1s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion [data-ph-effect="storm"].ph-arena-playing .ph-effect-charge { animation:ph-effect-charge 3.8s ease-in-out infinite; }
  html.ph-atmosphere-motion [data-ph-effect="nebula"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-twinkle 2.2s var(--spark-delay,0s) ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing :is(.ph-effect-orbits,.ph-effect-comets) { transform-origin:210px 62px;animation:ph-effect-orbit 9s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-comets { animation-duration:5.8s;animation-direction:reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-sun { transform-origin:223px 58px;animation:ph-effect-orbit 14s linear infinite; }
  html.ph-atmosphere-motion [data-ph-effect="gold"].ph-arena-playing .ph-effect-art::after { animation:ph-effect-sweep 3.8s ease-in-out infinite; }
  html.ph-atmosphere-motion [data-ph-effect="gold"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-gold-dust 3.9s var(--spark-delay,0s) ease-out infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-branches { animation:ph-effect-breeze 3.8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion [data-ph-effect="verdant"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-leaf-drift 4.1s var(--spark-delay,0s) linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-wave { animation:ph-effect-tidal-wave 2.8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-wave.is-back { animation-duration:4s;animation-direction:alternate-reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-foam { animation:ph-effect-tidal-wave 3.4s -.7s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion [data-ph-effect="tide"].ph-arena-playing .ph-effect-art>i { top:66%;animation:ph-effect-splash 2.9s var(--spark-delay,0s) ease-out infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-blossom { animation:ph-effect-orbit 15s linear infinite; }
  html.ph-atmosphere-motion [data-ph-effect="blossom"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-petal 4.3s var(--spark-delay,0s) ease-in-out infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-moon { animation:ph-effect-lunar-rise 4.8s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-moon-mist { animation:ph-effect-mist-drift 6.5s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion [data-ph-effect="moon"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-twinkle 3.1s var(--spark-delay,0s) ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing :is(.ph-effect-sand,.ph-effect-sand-lines) { animation:ph-effect-mist-drift 6s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-effect-sand.is-back { animation-direction:alternate-reverse; }
  html.ph-atmosphere-motion [data-ph-effect="dunes"].ph-arena-playing .ph-effect-art>i { animation:ph-effect-sand-drift 3.2s var(--spark-delay,0s) linear infinite; }
}
@keyframes ph-effect-aura { from { opacity:.27;transform:scale(.91) translateX(4%); } to { opacity:.71;transform:scale(1.1) translateX(-6%); } }
@keyframes ph-effect-rim { 0% { opacity:0;transform:translateX(-115%); } 24%,70% { opacity:1; } 100% { opacity:0;transform:translateX(105%); } }
@keyframes ph-spotlight-flare { from { transform:scaleY(.72) skewX(-4deg);opacity:.72; } to { transform:scaleY(1.13) skewX(4deg);opacity:1; } }
@keyframes ph-spotlight-ember { 0% { opacity:0;transform:translateY(8px) scale(.6); } 24% { opacity:1; } 100% { opacity:0;transform:translate(var(--spark-drift,21px),-96px) scale(.32); } }
@keyframes ph-effect-snow { 0% { opacity:0;transform:translateY(-14px); } 22%,64% { opacity:.88; } 100% { opacity:0;transform:translate(var(--spark-drift,23px),105px); } }
@keyframes ph-effect-ice { from { opacity:.55;transform:scaleY(.89); } to { opacity:1;transform:scaleY(1.06); } }
@keyframes ph-effect-current { from { opacity:.4; } to { opacity:.93; } }
@keyframes ph-effect-charge { 0% { opacity:0;stroke-dashoffset:100; } 29%,65% { opacity:.95; } 100% { opacity:0;stroke-dashoffset:0; } }
@keyframes ph-effect-twinkle { from { opacity:.28;transform:scale(.55); } to { opacity:1;transform:scale(1.5); } }
@keyframes ph-effect-orbit { to { transform:rotate(360deg); } }
@keyframes ph-effect-sweep { 0%,12% { opacity:0;transform:translateX(-80%); } 46% { opacity:.9; } 80%,100% { opacity:0;transform:translateX(75%); } }
@keyframes ph-effect-gold-dust { 0% { opacity:0;transform:translate(-18px,26px) scale(.5); } 42% { opacity:1; } 100% { opacity:0;transform:translate(30px,-31px) scale(.8); } }
@keyframes ph-effect-breeze { from { transform:rotate(-4deg); } to { transform:rotate(5deg); } }
@keyframes ph-effect-leaf-drift {
  0% { opacity:0;transform:translate(-30px,-15px) rotate(-32deg); }
  30%,70% { opacity:.82; }
  100% { opacity:0;transform:translate(55px,67px) rotate(170deg); }
}
@keyframes ph-effect-tidal-wave { from { transform:translate(-18px,4px); } to { transform:translate(15px,-4px); } }
@keyframes ph-effect-splash { 0% { opacity:0;transform:translate(0,18px) scale(.5); } 32% { opacity:1; } 100% { opacity:0;transform:translate(var(--spark-drift,26px),-42px) scale(.35); } }
@keyframes ph-effect-petal { 0% { opacity:0;transform:translate(-28px,-27px) rotate(-22deg); } 23%,67% { opacity:.9; } 100% { opacity:0;transform:translate(55px,88px) rotate(240deg); } }
@keyframes ph-effect-lunar-rise { from { transform:translate(-8px,6px);opacity:.67; } to { transform:translate(9px,-7px);opacity:1; } }
@keyframes ph-effect-mist-drift { from { transform:translateX(-14px); } to { transform:translateX(14px); } }
@keyframes ph-effect-sand-drift { 0% { opacity:0;transform:translate(-58px,9px); } 23%,60% { opacity:.8; } 100% { opacity:0;transform:translate(58px,-15px); } }

/* Keep artwork and reading controls in their own layers. */
html body .ph8540-browse .ph8540-training-card[data-ph-training-effect],
html[data-app] body .ph8520-training > .ph-training-cover[data-ph-training-effect] {
  border-color:color-mix(in srgb,var(--effect-rim) 66%,var(--effect-deep)) !important;
  box-shadow:0 0 17px color-mix(in srgb,var(--effect-glow) 27%,transparent),0 8px 21px #14223518 !important;
}
.ph8540-training-cover>.ph-spotlight-badge { position:absolute;top:12px;right:12px;z-index:1; }
.ph8540-training-cover :is(.ph8540-cover-label,.ph8540-cover-state) { z-index:1; }
.ph-training-effects-layer {
  position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none;
  mask-image:linear-gradient(90deg,transparent 8%,#000 67%);
}
.ph-training-effects-layer .ph-spotlight-fire { height:clamp(83px,13vw,132px); }
.ph-training-cover[data-ph-training-effect] .ph-training-cover-caption { z-index:1; }
.ph-training-cover[data-ph-training-effect]:not(.ph843-training-detail-card-with-image) { min-height:178px; }
html body :is(.ph-training-cover,.ph8540-training-cover,.ph-effect-row-meta) .ph-training-hidden-badge {
  display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #e5b877;border-radius:6px;
  background:#4b3015 !important;color:#ffebbf !important;font-size:11px;
}
html body .ph-training-cover .ph8520-overview-counts > .ph-spotlight-badge {
  border-color:var(--effect-rim);background:var(--effect-deep) !important;color:var(--effect-ink) !important;
}

.ph-effect-settings { --effect-line:var(--ph8670-edge,#dce5ee); --effect-paper:var(--ph8670-soft,#f2f6fa); }
.ph-effect-gallery { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(156px,100%),1fr));gap:12px; }
.ph-effect-demo { min-width:0;margin:0;overflow:hidden;border:1px solid var(--effect-line);border-radius:10px;background:var(--effect-paper); }
.ph-effect-demo-art { position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-height:128px;background:var(--effect-deep);border-bottom:2px solid var(--effect-rim); }
.ph-effect-demo-image { position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;opacity:.7; }
.ph-effect-demo-emblem { position:relative;display:grid;place-items:center;width:43px;height:43px;border:1px solid var(--effect-rim);border-radius:10px; }
.ph-effect-demo-emblem>svg { width:25px;height:25px; }
.ph-effect-demo figcaption { display:grid;gap:4px;padding:10px 12px 12px;line-height:1.55; }
.ph-effect-demo figcaption span,.ph-effect-row-copy small { color:var(--ph8670-muted,#566982);font-size:12px; }
.ph-scene-library>summary { display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer; }
.ph-scene-library>summary::marker { color:var(--ph8670-muted,#566982); }
.ph-scene-library>summary::after { content:'';width:8px;height:8px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-inline:5px; }
.ph-scene-library[open]>summary::after { transform:rotate(225deg); }
.ph-scene-library>summary .section__title { margin-inline-end:auto; }
.ph-scene-demo-art { background:#14293c;border-color:var(--effect-line); }
.ph-scene-demo-art>img { opacity:1; }
.ph-scene-current { display:block;margin-top:4px; }
.ph-effect-list,.ph-effect-row { scroll-margin-top:112px; }
.ph-effect-filter,.ph-effect-row-form,.ph-effect-pages { display:flex;align-items:end;gap:10px;flex-wrap:wrap; }
.ph-effect-filter>label:first-child { flex:1 1 220px; }
.ph-effect-filter label,.ph-effect-row-form label { display:grid;gap:5px;min-width:0; }
.ph-effect-settings :is(.ph-effect-filter,.ph-effect-row-form) :is(.textbox,.select,.button) { margin:0; }
.ph-effect-rows { display:grid;gap:9px;padding-block:0; }
.ph-effect-row { display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding:14px;border:1px solid var(--effect-line);border-radius:9px;background:var(--effect-paper); }
.ph-effect-row-copy { flex:1 1 290px;min-width:0; }
.ph-effect-row-copy h3 { margin:5px 0;line-height:1.5;overflow-wrap:anywhere;font-size:15px; }
.ph-effect-row-meta { display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px; }
.ph-effect-row-form label { min-width:130px; }
.ph-effect-pages { align-items:center;justify-content:end;font-size:12px; }
.ph-effect-pages>span { margin-inline-end:auto; }
.ph-effect-pages>a { margin:0; }
.ph-deadline-modes { margin-bottom:14px; }
.ph-deadline-toolbar { display:flex;align-items:end;gap:10px;flex-wrap:wrap; }
.ph-deadline-toolbar label { display:grid;gap:5px; }
.ph-deadline-toolbar input[name="days"] { width:110px;margin:0; }
.ph-deadline-toolbar small { flex:1 0 100%;line-height:1.7; }
.ph-deadline-presets { display:flex;gap:6px;flex-wrap:wrap; }
.ph-deadline-presets[hidden],.ph-deadline-select-all[hidden] { display:none!important; }
.ph-deadline-list { container:ph-deadlines / inline-size; }
.ph-deadline-select-all { display:flex;align-items:center;gap:9px;margin:0;padding:10px 16px;font-size:12px;cursor:pointer; }
.ph-deadline-list input[type="checkbox"] { margin:0; }
.ph-deadline-table { width:100%;border-collapse:collapse;table-layout:auto;font-size:13px; }
.ph-deadline-table :is(th,td) { padding:12px 11px;text-align:start;line-height:1.55;vertical-align:middle;border-bottom:1px solid var(--ph8670-edge,#dce5ee); }
.ph-deadline-table th { background:var(--ph8670-soft,#edf3f9); }
.ph-deadline-table th:not(:nth-child(2)),.ph-deadline-table td[data-label] { white-space:nowrap; }
.ph-deadline-table .ph-deadline-pick { width:1%;text-align:center; }
.ph-deadline-name,.ph-deadline-comparison td:first-child { white-space:normal;overflow-wrap:anywhere; }
.ph-deadline-name a { font-weight:700; }
@container ph-deadlines (max-width: 620px) {
 .ph-deadline-table,.ph-deadline-table tbody { display:block; }
 .ph-deadline-table thead { position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap; }
 .ph-deadline-table tbody tr { display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 10px;padding:12px 16px;border-bottom:1px solid var(--ph8670-edge,#dce5ee); }
 .ph-deadline-table tbody td { display:block;padding:0;border:0; }
 .ph-deadline-table .ph-deadline-pick { width:auto;align-self:start;padding-top:3px; }
 .ph-deadline-table td[data-label] { grid-column:2;white-space:normal;font-size:12px; }
 .ph-deadline-table td[data-label]::before { content:attr(data-label) " · ";font-weight:600;color:var(--ph8670-muted,#586b81); }
 .ph-deadline-table .ph-deadline-empty { grid-column:1/-1; }
}

/* The catalog, archive, and workspace all let the title grow with its content. */
html body :is(.ph-catalog-contest-content > h3,.ph-rpg-archive .ph8540-row-copy h3,.ph8550-contest-hero-top h1,.ph-cp .ph-cp-contest-title) {
 white-space:normal;
 overflow-wrap:anywhere;
 text-wrap:pretty;
}
.ph8550-contest-hero.ph-arena .ph8550-contest-crest { align-self:flex-start; }
@media (max-width:600px) {
 html body .ph8550-contest-hero.ph-arena .ph8550-contest-crest { display:none; }
 .ph8550-contest-hero-top > div:first-child { width:100%; }
}
.ph-rpg-medallion { background:radial-gradient(ellipse at 40% 20%,color-mix(in srgb,var(--rpg-accent) 19%,transparent),#102a3be8 75%);box-shadow:inset 0 0 0 3px #fff0b812,inset 0 -4px 10px #0004,0 0 0 1px #3e3020,0 4px 9px #0004; }
.ph-rpg-medallion::after { content:'';position:absolute;left:8px;right:8px;top:3px;height:1px;background:linear-gradient(90deg,transparent,#fff0bd,transparent);pointer-events:none; }
.ph-arena-crest.is-forged .ph-arena-orbit { inset:0;border-color:#d3b47650; }
.ph-arena-crest.is-forged .ph-arena-orbit.is-inner { inset:11px;border-color:#8ecacc40; }
.ph-arena-crest.is-forged .ph-arena-leaves { fill:#b38d49;stroke:#f1d08f;stroke-width:1; }
.ph-arena-crest.is-forged .ph-arena-crest-floor { background:radial-gradient(ellipse,#82bfc747,transparent 70%); }
/* Illuminated buttons: static bevel + opt-in sheen, glyph turn, short press rune. */
html body .ph-arena :is(.ph8540-button,.ph8540-group-open,.ph8540-jump-nav>a,.ph-arena-controls,.ph8540-text-link),html body .ph8550-contest-workspace .ph8550-contest-tabs>a { position:relative;isolation:isolate;overflow:hidden; }
html body .ph-arena .ph8540-button.is-primary,html body .ph-arena .ph8540-group-open { box-shadow:inset 0 1px 0 #fff4cdb3,inset 0 -2px 0 #6c4a2852,0 2px 5px #68431824; }
.ph-arena :is(.ph8540-button.is-primary,.ph8540-group-open,.ph8540-jump-nav>a,.ph-arena-controls)::after,.ph8550-contest-tabs>a::before { content:'';position:absolute;inset:-100% -55%;z-index:-1;opacity:0;pointer-events:none;background:linear-gradient(105deg,transparent 42%,#fff1 47%,#fff7 50%,#fff1 53%,transparent 58%);transform:translateX(-45%); }
.ph-arena-impact { position:absolute;left:50%;top:50%;z-index:6;width:58px;height:58px;border:1px solid #ffe1a0;border-radius:50%;pointer-events:none;box-shadow:inset 0 0 0 5px #f6d58a15,0 0 13px #f6d58a25; }
.ph-arena-impact::before,.ph-arena-impact::after { content:'';position:absolute;inset:7px;border:1px solid #ffe9b555;transform:rotate(45deg);pointer-events:none; }
.ph-arena-impact::after { inset:14px;transform:rotate(15deg);border-color:#c9e7e766; }
.ph-arena-playing .ph-rpg-medallion>i { animation:ph-arena-jewel 4.2s ease-in-out infinite; }
@keyframes ph-arena-jewel { 0%,100%{opacity:.7;transform:translateX(-50%) rotate(45deg) scale(.9)}50%{opacity:1;transform:translateX(-50%) rotate(45deg) scale(1.1)} }
@media(hover:hover) and (pointer:fine){
 html.ph8550-design-system body .ph8540-contests.ph-arena :is(.ph-rpg-card,.ph8540-group-card)[data-arena-scene]:hover{border-color:var(--scene-high);box-shadow:0 0 0 1px var(--scene-low),0 8px 23px color-mix(in srgb,var(--scene-metal) 18%,transparent)}
 html.ph-atmosphere-motion body .ph-arena :is(.ph8540-button.is-primary,.ph8540-group-open,.ph8540-jump-nav>a,.ph-arena-controls):hover::after,html.ph-atmosphere-motion body .ph8550-contest-tabs>a:hover::before { animation:ph-arena-glint .7s ease-out; }
 html.ph-atmosphere-motion body .ph-arena :is(.ph8540-button,.ph8540-group-open,.ph8540-jump-nav>a):hover>.ph-arena-glyph,html.ph-atmosphere-motion body .ph8550-contest-tabs>a:hover>.ph-arena-glyph { transform:translateY(-1px) rotate(-4deg); }
 html.ph-atmosphere-motion body .ph-arena .ph-rpg-card:hover .ph-rpg-medallion>.ph-arena-glyph { transform:translateY(-2px); }
 html.ph-atmosphere-motion body .ph-arena .ph-arena-glyph { transition:transform .2s cubic-bezier(.2,.8,.25,1); }
 html.ph8550-design-system body .ph-arena .ph8540-jump-nav>a:hover,html.ph8550-design-system body .ph8550-contest-workspace .ph8550-contest-tabs>a:not([aria-current]):hover { box-shadow:inset 0 0 12px #eac87b12,0 0 0 1px #d2b16b35; }
}
@media(max-width:600px){
 .ph-rpg-medallion>.ph-arena-glyph{width:29px;height:29px}
 .ph-arena .ph8540-jump-nav .ph-arena-glyph,.ph8550-contest-tabs .ph-arena-glyph{width:19px;height:19px}
}

@media(prefers-reduced-motion:reduce){
 .ph-arena *, .ph-arena *::before,.ph-arena *::after { animation:none!important;transition:none!important; }
 .ph-arena .ph8540-live-card::after { display:none; }
}


/* Illustrated arena scenes and multi-layer effects shared by contest and training. */
.ph-arena [data-arena-scene="astral"], .ph-arena[data-arena-scene="astral"] {
  --scene-shadow:#171834; --scene-wash:#3c3061; --scene-accent:#b9bcff;
  --scene-metal:#a99ac9; --scene-high:#e6ddff; --scene-low:#4b4266;
}
.ph-arena [data-arena-scene="thunder"], .ph-arena[data-arena-scene="thunder"] {
  --scene-shadow:#202034; --scene-wash:#49405d; --scene-accent:#d0b5f5;
  --scene-metal:#a99dbb; --scene-high:#f0e2ff; --scene-low:#524759;
}
.ph-arena [data-arena-scene="falls"], .ph-arena[data-arena-scene="falls"] {
  --scene-shadow:#0c3037; --scene-wash:#23585e; --scene-accent:#a9e9e5;
  --scene-metal:#77adad; --scene-high:#d5f8ee; --scene-low:#295a61;
}
.ph-arena [data-arena-scene="clockwork"], .ph-arena[data-arena-scene="clockwork"] {
  --scene-shadow:#33231d; --scene-wash:#5b4233; --scene-accent:#f1c592;
  --scene-metal:#bb9568; --scene-high:#ffe2ab; --scene-low:#6a4937;
}
.ph-arena [data-arena-scene="bamboo"], .ph-arena[data-arena-scene="bamboo"] {
  --scene-shadow:#102e2a; --scene-wash:#315647; --scene-accent:#bae3b4;
  --scene-metal:#8eb697; --scene-high:#edffd6; --scene-low:#3d624b;
}
.ph-arena [data-arena-scene="maple"], .ph-arena[data-arena-scene="maple"] {
  --scene-shadow:#3b201e; --scene-wash:#63372e; --scene-accent:#ffc59b;
  --scene-metal:#be8b74; --scene-high:#ffe2bc; --scene-low:#754536;
}

[data-ph-effect="constellation"] { --effect-rim:#bfc5ff; --effect-glow:#7f8eff; --effect-ink:#f1ecff; --effect-deep:#26264b; }
[data-ph-effect="tempest"] { --effect-rim:#d4bcff; --effect-glow:#a18ade; --effect-ink:#f1ecff; --effect-deep:#302644; }
[data-ph-effect="cascade"] { --effect-rim:#b3fff4; --effect-glow:#54d9d0; --effect-ink:#e1fffb; --effect-deep:#173f4a; }
[data-ph-effect="clockwork"] { --effect-rim:#f9d1a2; --effect-glow:#e5a55e; --effect-ink:#fff3d4; --effect-deep:#442c20; }
[data-ph-effect="bamboo"] { --effect-rim:#d2f7ba; --effect-glow:#83c999; --effect-ink:#f1ffdc; --effect-deep:#1e3e37; }
[data-ph-effect="maple"] { --effect-rim:#ffd0a8; --effect-glow:#e18a5c; --effect-ink:#ffefda; --effect-deep:#4b2a27; }

.ph-realm-catalog-backdrop,.ph-realm-training-backdrop {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:62% 46%; pointer-events:none;
}
.ph-realm-catalog-backdrop { z-index:-2; opacity:.91; }
.ph-realm-training-hero > .ph-realm-catalog-backdrop { opacity:.98; }
:is(.ph-catalog-hero,.ph-realm-training-hero)::after {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(95deg,#111d31f5 3%,#131f35dd 36%,#14243958 70%,#10203368),
    linear-gradient(0deg,#0b1d2c50,transparent 55%);
}
.ph-realm-training-hero::after {
  background:linear-gradient(95deg,#102824f5 1%,#122e2bec 28%,#122e2bb0 43%,#142e274b 59%,#142e2718 78%,#142e2744),
    linear-gradient(0deg,#101f2355,transparent 65%);
}
:is(.ph-catalog-hero,.ph-realm-training-hero) > .ph-effect-art {
  left:30%; mask-image:linear-gradient(90deg,transparent,#000 62%); opacity:.66;
}
:is(.ph-catalog-hero-copy,.ph-catalog-hero-metrics,.ph-realm-training-hero > .ph8540-hero-copy,.ph-realm-training-hero > .ph8540-hero-panel) {
  position:relative; z-index:1;
}
.ph-realm-training-backdrop { opacity:.86; }
.ph8540-training-cover:has(> .ph-realm-training-backdrop)::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg,#101b33a3,transparent 58%,#101b3354);
}
.ph8540-training-cover > .ph-spotlight-badge { top:auto; bottom:10px; }
.ph-effect-demo[data-ph-effect] .ph-effect-demo-image { opacity:.82; }

.ph-realm-sky,.ph-realm-astrolabe,.ph-realm-storm-bank,.ph-realm-rain,.ph-realm-storm-light,
.ph-realm-falls,.ph-realm-spray,.ph-realm-clock,.ph-realm-brass-light,
.ph-realm-bamboo,.ph-realm-forest-light,.ph-realm-maple-air,.ph-realm-particles {
  position:absolute; pointer-events:none;
}

.ph-realm-sky {
  inset:-16% -5% -14% 28%; opacity:.78;
  background:radial-gradient(ellipse at 61% 25%,#9c8af455,transparent 53%),
    radial-gradient(ellipse at 66% 66%,#4565b64f,transparent 57%);
}
.ph-realm-astrolabe {
  width:clamp(104px,34%,246px); aspect-ratio:1; right:8%; top:50%;
  translate:0 -50%; rotate:-24deg; opacity:.86;
}
.ph-realm-orbit {
  position:absolute; inset:5%; border-radius:50%; border:1px solid #cfd9ff89;
  box-shadow:inset 0 0 0 5px #aaadff15,0 0 11px #95a5ff44;
}
.ph-realm-orbit.is-inner { inset:17% 1%; rotate:72deg; border-style:dashed; border-color:#e8d8ff70; }
.ph-realm-orbit::before,.ph-realm-orbit::after {
  content:""; position:absolute; width:6px; height:6px; border-radius:50%;
  background:#f6f0ff; box-shadow:0 0 10px 3px #9ba9ff8c;
}
.ph-realm-orbit::before { left:17%; top:12%; }
.ph-realm-orbit::after { right:14%; bottom:10%; width:4px; height:4px; }
.ph-realm-pole {
  position:absolute; inset:42%; rotate:45deg; border:1px solid #f0eaffae;
  background:radial-gradient(#faf4ffb0,#acb4ff4b 34%,#adbaff00 69%);
  box-shadow:0 0 18px #aaa1f77d;
}

.ph-realm-storm-bank {
  inset:-15% -9% 31% 19%; opacity:.66;
  background:radial-gradient(ellipse at 72% 15%,#a89dd375,transparent 48%),
    radial-gradient(ellipse at 38% 58%,#211d4d96,transparent 65%);
}
.ph-realm-rain {
  --realm-rain-x:-33px; --realm-rain-y:57px;
  inset:-65% -12% -65% 13%;
  background:linear-gradient(114deg,transparent 44%,#dbc9ff78 47%,#dbc9ff78 49%,transparent 52%) 0 0 / calc(-1 * var(--realm-rain-x)) var(--realm-rain-y);
  mask-image:radial-gradient(ellipse at 68% 50%,#000,transparent 72%); opacity:.55;
}
.ph-realm-rain.is-near {
  --realm-rain-x:-47px; --realm-rain-y:76px;
  inset-inline-start:38%; opacity:.41;
}
.ph-realm-storm-light {
  inset:0 0 0 29%; opacity:.19;
  background:radial-gradient(ellipse at 68% 16%,#edddffca,transparent 55%);
}

.ph-realm-falls {
  inset:-58% 6% -44% 46%; opacity:.65;
  background:linear-gradient(90deg,transparent,#b9fff277 48%,#c9fff462 54%,transparent),
    repeating-linear-gradient(177deg,transparent 0 23px,#d4fff658 32px,transparent 55px);
  mask-image:linear-gradient(90deg,transparent,#000 24%,#000 54%,transparent);
  transform:skewX(-9deg);
}
.ph-realm-falls.is-near { inset-inline:68% -6%; opacity:.43; }
.ph-realm-spray {
  inset:43% -8% -10% 26%; opacity:.76;
  background:radial-gradient(ellipse 44% 23% at 62% 54%,#c0fff2a6,transparent),
    radial-gradient(ellipse 40% 17% at 51% 67%,#abede685,transparent);
}

.ph-realm-clock {
  width:clamp(94px,29%,224px); aspect-ratio:1; top:50%; right:10%;
  translate:0 -50%; border:1px solid #ecc89181; border-radius:50%;
  box-shadow:inset 0 0 0 6px #d9ad6b21,0 0 16px #d7974d40; opacity:.83;
}
.ph-realm-gear {
  --realm-gear-tooth:10deg; --realm-gear-step:20deg;
  position:absolute; inset:11%; border-radius:50%;
  background:
    radial-gradient(circle,transparent 0 36%,#f0c68080 38% 44%,transparent 46% 56%,#e9ad6fab 58% 65%,transparent 67%),
    repeating-conic-gradient(from 2deg,#e9b980bd 0 var(--realm-gear-tooth),transparent var(--realm-gear-tooth) var(--realm-gear-step));
  mask-image:radial-gradient(circle,transparent 0 22%,#000 24%);
}
.ph-realm-gear.is-pinion {
  --realm-gear-tooth:18deg; --realm-gear-step:36deg;
  inset:auto -18% 4% auto; width:46%; aspect-ratio:1; rotate:12deg; opacity:.86;
}
.ph-realm-clock-hand {
  position:absolute; left:49%; top:14%; width:2px; height:36%;
  background:linear-gradient(#fff2cc,#bb744d); transform-origin:50% 100%;
  box-shadow:0 0 9px #e6b075;
}
.ph-realm-brass-light {
  inset:0 -10% 0 35%; opacity:.64;
  background:linear-gradient(111deg,transparent 30%,#f7c28555 49%,transparent 67%);
}

.ph-realm-bamboo {
  inset:-13% -7% -19% 34%; transform-origin:70% 105%; opacity:.64;
  background:repeating-linear-gradient(104deg,transparent 0 17%,#d1f4b663 17.4% 18%,#33685172 18.5% 20%,transparent 20.3% 27%);
  mask-image:linear-gradient(180deg,#000 21%,#0007 65%,transparent);
}
.ph-realm-bamboo.is-near { inset-inline:59% -15%; opacity:.36; }
.ph-realm-forest-light {
  inset:-10% -9% -10% 32%; opacity:.66;
  background:linear-gradient(119deg,transparent 18%,#d2f6bd50 37%,transparent 49%,#cdf8d23c 60%,transparent 72%),
    radial-gradient(ellipse at 58% 86%,#92eab565,transparent 58%);
}
.ph-realm-maple-air {
  inset:-12% -4% -16% 30%; opacity:.77;
  background:radial-gradient(ellipse at 67% 22%,#ffd08d60,transparent 59%),
    linear-gradient(109deg,transparent 32%,#f28e5360 48%,transparent 67%);
}

.ph-realm-particles { inset:0 0 0 24%; }
.ph-realm-particles > i {
  --realm-x:19%; --realm-y:21%; --realm-delay:-.7s;
  position:absolute; left:var(--realm-x); top:var(--realm-y);
  width:4px; height:4px; border-radius:50%; background:var(--effect-ink);
  box-shadow:0 0 8px var(--effect-glow); opacity:.57;
}
.ph-realm-particles > i:nth-child(2) { --realm-x:28%; --realm-y:51%; --realm-delay:-2.1s; }
.ph-realm-particles > i:nth-child(3) { --realm-x:41%; --realm-y:28%; --realm-delay:-3.3s; }
.ph-realm-particles > i:nth-child(4) { --realm-x:51%; --realm-y:64%; --realm-delay:-1.4s; }
.ph-realm-particles > i:nth-child(5) { --realm-x:66%; --realm-y:37%; --realm-delay:-4.3s; }
.ph-realm-particles > i:nth-child(6) { --realm-x:74%; --realm-y:12%; --realm-delay:-2.8s; }
.ph-realm-particles > i:nth-child(7) { --realm-x:85%; --realm-y:57%; --realm-delay:-.3s; }
.ph-realm-particles > i:nth-child(8) { --realm-x:93%; --realm-y:31%; --realm-delay:-3.5s; }
[data-ph-effect="cascade"] .ph-realm-particles { inset-block-start:30%; }
[data-ph-effect="cascade"] .ph-realm-particles > i { --realm-motion:ph-realm-droplet; --realm-time:3.4s; background:#d5fff7; }
[data-ph-effect="bamboo"] .ph-realm-particles > i { --realm-motion:ph-realm-firefly; --realm-time:6.2s; }
[data-ph-effect="maple"] .ph-realm-particles > i {
  --realm-motion:ph-realm-maple-leaf; --realm-time:4.7s;
  --realm-leaf-x:-90px; --realm-leaf-y:81px;
  width:12px; height:10px; background:linear-gradient(145deg,#ffd394,#c75635 60%,#983b25);
  box-shadow:none; border-radius:0;
  clip-path:polygon(50% 0,61% 34%,84% 16%,81% 44%,100% 40%,88% 65%,59% 76%,57% 100%,47% 100%,45% 77%,14% 65%,0 40%,22% 45%,17% 16%,40% 34%);
}
[data-ph-effect="maple"] .ph-realm-particles > i:nth-child(even) {
  --realm-time:6.2s; --realm-leaf-x:-54px; --realm-leaf-y:59px;
  width:8px; height:7px;
}

@media (prefers-reduced-motion:no-preference) {
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-orbit { animation:ph-realm-turn 15s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-orbit.is-inner { animation:ph-realm-turn 9s linear infinite reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-gear { animation:ph-realm-turn 16s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-gear.is-pinion { animation:ph-realm-turn 9s linear infinite reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-clock-hand { animation:ph-realm-turn 12s steps(12,end) infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-sky { animation:ph-realm-drift 10s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-storm-bank { animation:ph-realm-drift 6s ease-in-out infinite alternate-reverse; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-rain { animation:ph-realm-rainflow .9s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-rain.is-near { animation-duration:.66s; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-storm-light { animation:ph-realm-storm-glow 10s ease-in-out infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-falls { animation:ph-realm-water 1.4s linear infinite; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-falls.is-near { animation-duration:1.05s; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-spray { animation:ph-realm-drift 3.5s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-bamboo { animation:ph-realm-bend 5s ease-in-out infinite alternate; }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-bamboo.is-near { animation:ph-realm-bend 3.4s ease-in-out infinite alternate-reverse; }
  html.ph-atmosphere-motion .ph-arena-playing :is(.ph-realm-forest-light,.ph-realm-brass-light,.ph-realm-maple-air,.ph-realm-pole) {
    animation:ph-realm-drift 6s ease-in-out infinite alternate;
  }
  html.ph-atmosphere-motion .ph-arena-playing .ph-realm-particles > i {
    animation:var(--realm-motion,ph-realm-star) var(--realm-time,4.1s) var(--realm-delay) ease-in-out infinite;
  }
}
@keyframes ph-realm-turn { to { transform:rotate(360deg); } }
@keyframes ph-realm-drift {
  from { transform:translate3d(7%,4%,0) scale(.97); opacity:.35; }
  to { transform:translate3d(-9%,-4%,0) scale(1.12); opacity:.83; }
}
@keyframes ph-realm-bend {
  from { transform:rotate(-7deg); }
  to { transform:rotate(5deg) skewX(-4deg); }
}
@keyframes ph-realm-rainflow {
  to { transform:translate3d(var(--realm-rain-x),var(--realm-rain-y),0); }
}
@keyframes ph-realm-storm-glow {
  0%,100% { opacity:.15; transform:translateX(8%); }
  38% { opacity:.50; }
  64% { opacity:.29; transform:translateX(-7%); }
}
@keyframes ph-realm-water { to { transform:translateY(55px) skewX(-9deg); } }
@keyframes ph-realm-star {
  0%,100% { opacity:.28; transform:scale(.55); }
  49% { opacity:1; transform:scale(1.3); }
}
@keyframes ph-realm-droplet {
  0% { opacity:0; transform:translate3d(8px,36px,0) scale(.42); }
  31% { opacity:.93; }
  100% { opacity:0; transform:translate3d(-42px,-27px,0) scale(.74); }
}
@keyframes ph-realm-firefly {
  0%,100% { opacity:0; transform:translate3d(18px,9px,0) scale(.58); }
  31% { opacity:.94; }
  73% { opacity:.41; transform:translate3d(-31px,-22px,0) scale(1.25); }
}
@keyframes ph-realm-maple-leaf {
  0% { opacity:0; transform:translate3d(19px,-24px,0) rotate(-30deg) rotateY(0); }
  22%,61% { opacity:.9; }
  49% { transform:translate3d(-28px,19px,0) rotate(64deg) rotateY(140deg); }
  100% { opacity:0; transform:translate3d(var(--realm-leaf-x),var(--realm-leaf-y),0) rotate(230deg) rotateY(430deg); }
}
@media (max-width:760px) {
  :is(.ph-catalog-hero,.ph-realm-training-hero) > .ph-effect-art { left:14%; opacity:.52; }
  :is(.ph-catalog-hero,.ph-realm-training-hero)::after {
    background:linear-gradient(90deg,#111e2fe8,#17283488),linear-gradient(0deg,#0d2034c9,transparent 75%);
  }
  .ph-realm-particles > i:nth-child(n+6) { display:none; }
}


/* Premium realms v1: layered vector emblems. Existing arena visibility budget
   owns all animation; no extra timer, canvas, pointer tracking or image request. */
[data-ph-effect="dragon"] { --effect-rim:#f8d58e;--effect-glow:#dbaa50;--effect-ink:#fff2ce;--effect-deep:#223a40; }
[data-ph-effect="phoenix"] { --effect-rim:#ffd3a2;--effect-glow:#f28b5b;--effect-ink:#fff0d8;--effect-deep:#492d39; }
[data-ph-effect="lotus"] { --effect-rim:#adf2d6;--effect-glow:#61cbb4;--effect-ink:#ecfff9;--effect-deep:#183d44; }
[data-ph-effect="void"] { --effect-rim:#d7c5ff;--effect-glow:#a78bf3;--effect-ink:#f4eaff;--effect-deep:#2b2852; }
[data-ph-effect="starlight"] { --effect-rim:#b7e0ff;--effect-glow:#77b9ea;--effect-ink:#f0f7ff;--effect-deep:#213c58; }
[data-ph-effect="jade"] { --effect-rim:#b5f5db;--effect-glow:#6cd3a9;--effect-ink:#f0ffdf;--effect-deep:#1f423c; }
:is([data-ph-effect="dragon"],[data-ph-effect="phoenix"],[data-ph-effect="lotus"],[data-ph-effect="void"],[data-ph-effect="starlight"],[data-ph-effect="jade"]) .ph-effect-art {
 background:radial-gradient(ellipse at 74% 50%,color-mix(in srgb,var(--effect-glow) 16%,transparent),transparent 66%);
}
.ph-premium-art { color:var(--effect-rim);opacity:.9; }
.ph-premium-orbit { transform-box:view-box;transform-origin:260px 82px;stroke:var(--effect-rim);stroke-width:.7;opacity:.38; }
.ph-premium-orbit.is-inner { opacity:.43;stroke-width:.9; }
.ph-premium-orbit circle[r="3"],.ph-premium-orbit circle[r="2"] { fill:var(--effect-ink);stroke:none; }
.ph-premium-ink { stroke:var(--effect-ink);stroke-width:1;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.8; }
.ph-premium-dragon,.ph-premium-phoenix-body,.ph-premium-lotus,.ph-premium-jade-crystal { transform-box:view-box;transform-origin:260px 82px; }
.ph-premium-dragon-shadow { stroke:var(--effect-glow);stroke-width:15;opacity:.2;stroke-linecap:round; }
.ph-premium-dragon-body { stroke:var(--effect-rim);stroke-width:5.5;stroke-linecap:round;stroke-dasharray:80 7 3 5;opacity:.92; }
.ph-premium-dragon-head { fill:var(--effect-rim);stroke:var(--effect-ink);stroke-width:.7; }
.ph-premium-dragon-whisker { stroke:var(--effect-ink);stroke-width:1.1;stroke-linecap:round;opacity:.8; }
.ph-premium-eye { fill:var(--effect-deep); }
.ph-premium-wing { transform-box:view-box;transform-origin:260px 92px;fill:color-mix(in srgb,var(--effect-glow) 40%,transparent);stroke:var(--effect-rim);stroke-width:1.2; }
.ph-premium-phoenix-body { fill:var(--effect-rim);stroke:var(--effect-ink);stroke-width:.7; }
.ph-premium-lotus { fill:color-mix(in srgb,var(--effect-glow) 30%,transparent);stroke:var(--effect-rim);stroke-width:1; }
.ph-premium-lotus.is-back { opacity:.65; }
.ph-premium-lotus.is-front>path:last-child { fill:color-mix(in srgb,var(--effect-ink) 25%,transparent);stroke:var(--effect-ink); }
.ph-premium-water { stroke:var(--effect-ink);stroke-width:.6;opacity:.4;transform-box:view-box;transform-origin:260px 124px; }
.ph-premium-portal { stroke:var(--effect-rim);stroke-width:1.25;transform-box:view-box;transform-origin:260px 82px; }
.ph-premium-portal.is-back { stroke:var(--effect-glow);stroke-width:2;opacity:.65; }
.ph-premium-portal.is-front>path { stroke:var(--effect-ink);stroke-width:.75;fill:color-mix(in srgb,var(--effect-glow) 15%,transparent); }
.ph-premium-portal-heart { fill:var(--effect-deep);stroke:var(--effect-ink);stroke-width:.7; }
.ph-premium-constellations>path { stroke:var(--effect-rim);stroke-width:.8;opacity:.45; }
.ph-premium-constellations .ph-premium-current { stroke:var(--effect-ink);stroke-width:1.8;stroke-dasharray:11 89;opacity:.9; }
.ph-premium-constellations circle,.ph-premium-star,.ph-premium-dust circle { fill:var(--effect-ink); }
.ph-premium-star { opacity:.8;transform-box:view-box;transform-origin:266px 99px; }
.ph-premium-jade-shell { stroke:var(--effect-rim);stroke-width:.9;fill:color-mix(in srgb,var(--effect-deep) 40%,transparent); }
.ph-premium-jade-crystal { fill:color-mix(in srgb,var(--effect-glow) 42%,transparent);stroke:var(--effect-ink);stroke-width:1; }
.ph-premium-jade-crystal>path:last-child { opacity:.7; }
.ph-premium-dust { opacity:.65;transform-box:view-box;transform-origin:center; }
.ph-premium-sheen { position:absolute;inset:-20%;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 40%,color-mix(in srgb,var(--effect-ink) 12%,transparent) 49%,transparent 57%);transform:translateX(-15%); }
.ph-effect-demo:has(.ph-premium-art) { border-color:color-mix(in srgb,var(--effect-rim) 45%,#4a6078); }
.ph-premium-gallery-label { display:inline-flex!important;width:max-content;padding:2px 7px;border:1px solid #dbc087;border-radius:4px;background:#fff7e7;color:#896124!important;font-size:.65rem!important;font-weight:700;letter-spacing:.05em; }
@keyframes ph-premium-turn { to { transform:rotate(360deg); } }
@keyframes ph-premium-hover { from { transform:translateY(0); } to { transform:translateY(-3px); } }
@keyframes ph-premium-wing-left { from { transform:rotate(-2deg); } to { transform:rotate(5deg); } }
@keyframes ph-premium-wing-right { from { transform:rotate(2deg); } to { transform:rotate(-5deg); } }
@keyframes ph-premium-flow { to { stroke-dashoffset:-100; } }
@keyframes ph-premium-water { from { transform:scale(.93);opacity:.25; } to { transform:scale(1.04);opacity:.55; } }
@keyframes ph-premium-sheen { 0%,67% {opacity:0;transform:translateX(-15%)} 82% {opacity:.75} 100% {opacity:0;transform:translateX(15%)} }
@keyframes ph-premium-breathe { from { opacity:.35; } to { opacity:.85; } }
@media(prefers-reduced-motion:no-preference) {
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-orbit.is-outer { animation:ph-premium-turn 48s linear infinite; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-orbit.is-inner { animation:ph-premium-turn 32s linear infinite reverse; }
 html.ph-atmosphere-motion .ph-arena-playing :is(.ph-premium-dragon,.ph-premium-phoenix-body,.ph-premium-jade-crystal) { animation:ph-premium-hover 4.5s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-dragon-body { animation:ph-premium-flow 16s linear infinite; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-wing.is-left { animation:ph-premium-wing-left 3.7s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-wing.is-right { animation:ph-premium-wing-right 3.7s -.2s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-lotus.is-front { animation:ph-premium-hover 4.8s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-lotus.is-back { animation:ph-premium-hover 5.4s -1.5s ease-in-out infinite alternate-reverse; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-water { animation:ph-premium-water 4s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-portal.is-back { animation:ph-premium-turn 35s linear infinite; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-portal.is-front { animation:ph-premium-turn 24s linear infinite reverse; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-current { animation:ph-premium-flow 5s linear infinite; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-star { animation:ph-premium-breathe 3s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-dust { animation:ph-premium-hover 6s ease-in-out infinite alternate; }
 html.ph-atmosphere-motion .ph-arena-playing .ph-premium-sheen { animation:ph-premium-sheen 11s ease-in-out infinite; }
}
/* These cards are the exact visibility-budget targets. Nested inactive cards
   must not inherit animation from an active ancestor. */
.ph-premium-art * { animation-play-state:paused!important; }
.ph-arena-playing .ph-premium-art * { animation-play-state:running!important; }
html:not(.ph-atmosphere-motion) .ph-premium-art *,html.ph-arena-suspended .ph-premium-art * { animation-play-state:paused!important; }
@media(prefers-reduced-motion:reduce) { .ph-premium-art *,.ph-premium-sheen { animation:none!important; } }
@media(max-width:760px) { .ph-premium-art { opacity:.75; }.ph-premium-orbit.is-inner { display:none; }.ph-premium-sheen { display:none; } }
