/* One compact grid for publication cards and their detail sheet. */
.ph-card-unit[data-card-url],.ph-card-unit[data-card-url] .ph-card{cursor:pointer}
.ph-card-unit[data-card-url] .ph-card:focus-visible{outline:2px solid #ff181f;outline-offset:-3px}
.ph-grid:not(.ph-grid-top) .ph-card:not(.ph-card-audio){display:flex;gap:0;padding:6px;border-radius:30px}
.ph-grid:not(.ph-grid-top) .ph-card:not(.ph-card-audio) .ph-card-visual{width:100%;height:auto;aspect-ratio:1;border-radius:24px}
.ph-grid .ph-card-visual img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ph-grid:not(.ph-grid-top) .ph-card:not(.ph-card-audio) .ph-card-info{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;padding:8px 3px 0}
.ph-grid .ph-card h3{font-size:18px;line-height:1.15;margin:0;padding-top:2px;min-width:0}
.ph-grid .ph-card .ph-author{display:block;min-width:0;margin:0;font-size:11px;color:#aaa}
.ph-grid .ph-card .ph-card-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:0;margin:4px 0 0;min-height:40px;align-items:center}
.ph-grid .ph-card .ph-card-actions>*{width:100%;min-width:0;min-height:40px;display:flex;align-items:center;justify-content:center;gap:3px;padding:0;margin:0}
.ph-grid .ph-card .ph-counter svg{width:13px;height:13px}.ph-grid .ph-card .ph-counter span{font-size:10px;line-height:1;padding-top:2px}
.ph-grid .ph-card .ph-bookmark{border-radius:50%;background:#ffffff06}.ph-grid .ph-card .ph-bookmark svg{width:17px;height:17px}
.ph-grid .ph-card .ph-preview{width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:0}
.ph-grid .ph-card-combo .ph-preview{left:8px;bottom:8px;top:auto;transform:none}
.ph-grid-top .ph-card:not(.ph-card-audio){display:grid;grid-template-columns:38% minmax(0,1fr);gap:10px;padding:8px;border-radius:32px}
.ph-grid-top .ph-card:not(.ph-card-audio) .ph-card-visual{width:100%;height:auto;aspect-ratio:1;border-radius:25px}
.ph-grid-top .ph-card:not(.ph-card-audio) .ph-card-info{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:0}
.ph-grid-top .ph-card h3{font-size:21px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ph-grid .ph-card-audio{display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 8px;padding:9px;border-radius:28px}
.ph-grid .ph-card-audio .ph-card-visual{width:40px;height:40px;grid-column:1;grid-row:1/3;border-radius:50%}
.ph-grid .ph-card-audio .ph-card-info{display:contents}.ph-grid .ph-card-audio h3{grid-column:2;grid-row:1;font-size:16px}
.ph-grid .ph-card-audio .ph-author{grid-column:2;grid-row:2;font-size:10px}
.ph-grid .ph-card-audio .ph-card-actions{grid-column:1/-1;grid-row:3;margin-top:3px}
.ph-grid-top .ph-card-audio h3{font-size:21px;white-space:nowrap;display:block}
.ph-grid-top .ph-card-audio .ph-author{font-size:11px}
body #ph-dialog{padding:0;overflow:hidden;max-width:480px;height:min(680px,84dvh);border-radius:34px}
body #ph-dialog[open]{display:flex;flex-direction:column}
body #ph-dialog .ph-dialog-close{position:absolute;top:12px;right:12px;float:none;margin:0;width:40px;height:40px;min-height:40px;padding:9px;z-index:6;border-radius:50%;background:#ffffff0d;border:1px solid #ffffff24}
#ph-dialog-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 16px 18px;opacity:1;filter:blur(0);transition:opacity .5s ease,filter .6s ease}
#ph-dialog[data-loading=true] #ph-dialog-content{opacity:0;filter:blur(5px);pointer-events:none}
.ph-dialog-loading{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;opacity:0;transition:opacity .3s ease}
#ph-dialog[data-loading=true] .ph-dialog-loading{opacity:1}
.ph-loading-line{display:block;width:88px;height:18px;border-radius:999px;background:#ffffff08;backdrop-filter:blur(15px);position:relative}
.ph-loading-line::after{content:"";position:absolute;left:11px;right:11px;top:8px;height:2px;border-radius:999px;background:linear-gradient(90deg,#ffffff18 30%,#ffffffaa 50%,#ffffff18 70%);background-size:220% 100%;animation:st-loading-line 1.5s ease-in-out infinite}
:is(#ph-dialog,.ph-content-sheet) .ph-detail{display:flex;flex-direction:column;gap:12px;min-width:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-overview{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-heading{padding-right:44px;min-width:0;min-height:38px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail .ph-eyebrow{font-size:10px;margin-bottom:4px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail h1{font-size:25px;line-height:1.1;margin:0;overflow-wrap:anywhere}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-heading .ph-author{display:inline-flex;align-items:center;min-height:32px;font-size:12px;margin:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-media{grid-column:auto;grid-row:auto;margin:0;padding:0;border:0;background:none;border-radius:26px;overflow:visible}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-media>img,:is(#ph-dialog,.ph-content-sheet) .ph-detail-media>video{display:block;width:100%;height:clamp(170px,30dvh,280px);max-height:none;object-fit:cover;border-radius:26px;background:none}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-player{margin:8px 0 0;border:1px solid #ffffff20;padding:5px 7px;border-radius:999px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-media>.ph-wave{height:70px;padding:12px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social{display:grid;grid-template-columns:44px 44px minmax(0,1fr) 44px;align-items:center;gap:6px;margin:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social :is(.ph-button,.ph-icon){min-width:0;width:44px;height:44px;min-height:44px;padding:0;gap:3px;font-size:12px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social .ph-detail-numbers{min-width:0;font-size:11px;line-height:1.35;text-align:center}
:is(#ph-dialog,.ph-content-sheet) .ph-description{margin:0;font-size:14px;line-height:1.35}
:is(#ph-dialog,.ph-content-sheet) .ph-install-box{margin:0;padding:0;border:0;background:none}
:is(#ph-dialog,.ph-content-sheet) .ph-install-open{min-height:46px;font-size:15px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-bottom{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0;align-items:center}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-bottom .ph-button{min-height:42px;padding:10px 15px 8px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-bottom .ph-text-button{font-size:12px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail>*,:is(#ph-dialog,.ph-content-sheet) .ph-detail-overview>*{animation:none!important}
@media(max-width:350px){.ph-grid .ph-card h3{font-size:16px}.ph-grid .ph-card-audio h3{font-size:15px}.ph-grid-top .ph-card h3{font-size:20px}.ph-grid .ph-card .ph-card-actions{gap:0}.ph-grid .ph-card .ph-counter{gap:2px}.ph-grid .ph-card .ph-counter span{font-size:9px}}
@media(prefers-reduced-motion:reduce){#ph-dialog-content,.ph-dialog-loading{transition:none}.ph-loading-line::after{animation:none}}

/* Fit the detail sheet to its contents and preserve the entire original image. */
body #ph-dialog{height:auto;max-height:84dvh;transition:height .45s cubic-bezier(.22,.68,.22,1)}
:is(#ph-dialog,.ph-content-sheet) .ph-detail{gap:9px;flex-shrink:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-overview{grid-template-rows:none;margin:0;gap:8px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-overview>*{grid-column:1;grid-row:auto}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-media{display:flex;flex-direction:column;align-items:center;min-height:0;max-height:none;overflow:visible;flex:none;gap:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-media>img,:is(#ph-dialog,.ph-content-sheet) .ph-detail-media>video{width:auto;height:auto;max-width:100%;max-height:38dvh;min-height:0;object-fit:contain;border-radius:24px;flex:none;margin:0 auto}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-player{box-sizing:border-box;width:100%;flex:none;gap:10px;margin-top:8px;padding:4px 10px 4px 4px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-player button{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;margin:0;transform:none}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-player svg{width:21px;height:21px;margin:0;display:block}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-player input{min-width:0;width:0;flex:1;margin:0}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social{display:flex;gap:8px;justify-content:space-between;flex-wrap:nowrap;align-items:center}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social :is(.ph-button,.ph-icon,.ph-metric){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;width:auto;min-height:40px;height:40px;padding:0 3px;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;flex:none}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social svg{display:block;width:20px;height:20px;flex:none;stroke-width:2.2}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-social span{padding-top:2px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-bottom{gap:8px}
:is(#ph-dialog,.ph-content-sheet) .ph-detail-bottom .ph-report-icon{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#ffffff05;color:#aaa}
.ph-report-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-grid .ph-card .ph-card-actions :is(.ph-counter,.ph-bookmark){background:none;border:0;border-radius:0;box-shadow:none}
.ph-grid .ph-card .ph-card-actions svg{stroke-width:2.2}
.ph-grid .ph-card-audio .ph-card-visual{position:relative;align-self:center;justify-self:start;overflow:visible}
.ph-grid .ph-card-audio .ph-preview{position:absolute;inset:0;left:0;top:0;transform:none;margin:0;width:40px;height:40px;padding:0;display:grid;place-items:center}
.ph-grid .ph-card-audio .ph-preview svg{width:20px;height:20px;display:block;margin:0;transform:none}
@media(prefers-reduced-motion:reduce){body #ph-dialog{transition:none}}

/* Explicit native file activation: no transparent input underneath the preview. */
#ph-upload-form .ph-native-file{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#ph-upload-form button.ph-file-drop{width:100%;height:100%;border:0;border-radius:inherit;background:none;color:inherit;font:inherit;appearance:none;z-index:1;touch-action:manipulation}
#ph-upload-form .ph-file-drop>*{pointer-events:none}
#ph-upload-form .ph-file-field.has-file button.ph-file-drop{height:65px}
#ph-upload-form .ph-upload-preview{z-index:2}
#ph-upload-form .ph-file-drop:focus-visible{outline:2px solid #ff181f;outline-offset:-4px}

/* File controls cannot overlap a neighbouring media slot. */
#ph-upload-form .ph-native-file{pointer-events:none}
#ph-upload-form .ph-file-drop{padding:12px!important;text-align:center;align-items:center}
#ph-upload-form .ph-file-drop strong{width:100%;text-align:center;white-space:normal;overflow-wrap:anywhere}
#ph-upload-form .ph-file-drop [data-filename]{display:block;max-width:100%;width:100%;text-align:center}
#ph-upload-form .ph-file-field{transition:background .3s,border-color .3s}
#ph-upload-form .ph-file-field:not([hidden]){animation:ph-upload-reveal .35s ease both}
#ph-upload-form .ph-progress{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:14px;padding:12px 16px;border-radius:999px;background:#ffffff08;backdrop-filter:blur(18px);font-size:15px;color:#ddd;animation:ph-upload-reveal .35s ease both}
.ph-progress-ring{position:relative;width:52px;height:52px;flex:none;display:grid;place-items:center}
.ph-progress-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke:#ffffff18;stroke-width:3}
.ph-progress-ring .ph-ring-value{stroke:#ff181f;stroke-dasharray:100;stroke-dashoffset:100;stroke-linecap:round;transition:stroke-dashoffset .25s ease}
.ph-progress-ring b{font-size:13px;line-height:1;padding-top:3px}
@keyframes ph-upload-reveal{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:blur(0)}}
.ph-detail:not([data-status="published"]) .ph-detail-overview{display:block!important}
.ph-detail:not([data-status="published"]) .ph-detail-heading{grid-column:1/-1;grid-row:auto;margin:0;padding:0;text-align:center;width:100%;min-width:0}
.ph-detail:not([data-status="published"]) .ph-detail-heading h1{overflow-wrap:anywhere}
.ph-filters,.ph-profile-filter{position:relative;z-index:25}
.ph-sort-custom{isolation:isolate}.ph-sort-custom:after{display:none}
.ph-sort-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:146px;height:44px;padding:3px 14px 0;border:1px solid #ffffff28;border-radius:999px;background:var(--st-glass,#16161699);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:#eee;font:inherit;font-size:16px;cursor:pointer}
.ph-sort-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.5;transition:transform .35s ease;flex:none}
.ph-sort-menu{position:absolute;right:0;top:calc(100% + 7px);width:190px;max-width:calc(100vw - 32px);padding:5px;border:1px solid #ffffff28;border-radius:26px;background:#171717df;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 12px 30px #0005;opacity:0;visibility:hidden;transform:translateY(-5px);filter:blur(4px);pointer-events:none;transition:opacity .3s ease,filter .3s ease,transform .3s ease,visibility 0s .3s}
.ph-sort-menu button{display:block;width:100%;padding:12px 14px 9px;border:0;border-radius:999px;color:#ddd;background:transparent;font:inherit;font-size:16px;text-align:left;cursor:pointer;transition:background .2s,color .2s}
.ph-sort-menu button[aria-checked=true]{background:#ff181f25;color:#ff555b}.ph-sort-menu button:hover{background:#ffffff12}.ph-sort-menu button:focus-visible{outline:2px solid #ff181f;outline-offset:-2px}
.ph-sort-custom.is-open .ph-sort-menu{opacity:1;visibility:visible;transform:none;filter:blur(0);pointer-events:auto;transition-delay:0s}.ph-sort-custom.is-open .ph-sort-toggle svg{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.ph-sort-menu,.ph-sort-toggle svg{transition:none}}
@media(prefers-reduced-motion:reduce){#ph-upload-form .ph-file-field,#ph-upload-form .ph-progress{animation:none}.ph-progress-ring .ph-ring-value{transition:none}}

body .ph-sort-custom{height:44px;border:0;isolation:auto}
body .ph-sort-custom::before{content:"";position:absolute;inset:0 0 auto;height:44px;border:1px solid #ffffff30;border-radius:24px;background:rgba(0,0,0,.62);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-sizing:border-box;transition:height .32s ease,box-shadow .32s ease;pointer-events:none}
body .ph-sort-custom.is-open::before{height:236px;box-shadow:0 12px 30px #0004}
body .ph-sort-toggle{position:relative;z-index:1;background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;width:158px}
body .ph-sort-menu{top:44px;right:0;width:158px;padding:6px;border:0;border-radius:0 0 24px 24px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;filter:none!important;transform:translateY(-4px);transition:opacity .24s ease,transform .32s ease,visibility 0s .32s}
body .ph-sort-menu button{height:44px;padding:3px 10px 0;margin-bottom:2px;font-size:15px}
body .ph-sort-menu button[aria-checked=true]{color:#fff;background:#ffffff18}
body .ph-sort-menu button[aria-checked=true]::after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#ff181f;margin-left:7px}
#ph-upload-form .ph-file-slots{height:auto;min-height:156px;align-items:stretch;flex-wrap:wrap}
#ph-upload-form .ph-file-field{height:auto;min-height:156px;flex-basis:140px;display:flex;flex-direction:column}
#ph-upload-form .ph-file-field.has-file{min-height:0}
#ph-upload-form .ph-file-field.has-file button.ph-file-drop{position:relative;inset:auto;height:68px;min-height:68px;flex:none}
#ph-upload-form .ph-file-field.has-file .ph-upload-preview{position:relative;inset:auto;display:block;width:calc(100% - 16px);margin:0 8px 8px;height:auto;max-height:300px;object-fit:contain;border-radius:22px;background:transparent}
#ph-upload-form .ph-file-field.has-file audio.ph-upload-preview{height:44px}
.ph-combo-mode{display:flex;gap:5px;padding:5px;margin:0 0 12px;border:1px solid #ffffff28;border-radius:999px;background:var(--st-glass);backdrop-filter:blur(24px)}
.ph-combo-mode label{flex:1;min-width:0;cursor:pointer}.ph-combo-mode input{position:absolute;opacity:0;pointer-events:none}.ph-combo-mode span{display:block;padding:11px 8px 8px;border-radius:999px;text-align:center;font-size:16px;transition:background .25s,color .25s}.ph-combo-mode input:checked+span{background:#ffffff15;color:#ff5359}.ph-combo-mode input:focus-visible+span{outline:2px solid #ff181f}
body .ph-detail-page:has([data-status="pending"]),body .ph-detail-page:has([data-status="processing"]){padding:18px;border-radius:32px}
body .ph-processing{padding:20px 10px!important;display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:none;min-height:0}
body .ph-processing h2{font-size:22px;margin:0}body .ph-processing p{max-width:290px;font-size:14px;line-height:1.4;margin:0;color:#aaa}
.ph-processing-ring{width:44px;height:44px;flex:none;border:3px solid #ffffff15;border-top-color:#ff181f;border-radius:50%;animation:ph-spin 1.1s linear infinite}
@keyframes ph-spin{to{transform:rotate(360deg)}}
.ph-video-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;min-width:0}.ph-video-pair>div{min-width:0}.ph-video-pair small{display:block;text-align:center;color:#aaa;font-size:12px;margin:3px 0 8px}.ph-video-pair video{display:block;width:100%;height:200px;object-fit:contain;border-radius:24px;background:#0003}
@media(prefers-reduced-motion:reduce){body .ph-sort-custom::before,body .ph-sort-menu{transition:none}.ph-processing-ring{animation:none}}

body .ph-detail-page .ph-detail-image .ph-detail-overview{display:flex;flex-direction:column;gap:12px}
body .ph-detail-page .ph-detail-image .ph-detail-heading{padding:0;width:100%;min-width:0}
body .ph-detail-page .ph-detail-image .ph-detail-media{width:100%;grid-row:auto;grid-column:auto}
body .ph-detail-page .ph-detail-image .ph-detail-media>img,body :is(#ph-dialog,.ph-content-sheet) .ph-detail-media.ph-kind-image>img,body :is(#ph-dialog,.ph-content-sheet) .ph-detail-media.ph-kind-combo>img{width:100%;height:auto;max-height:55dvh;object-fit:contain;display:block;border-radius:24px}


body .ph-sort-custom.is-open::before{height:var(--menu-height,240px)}
.ph-combo-filter.ph-sort{margin:4px 0 12px;width:100%;z-index:2;padding:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}

body .ph-detail-page.ph-content-sheet{position:relative;box-sizing:border-box;width:100%;max-width:480px;margin:12px auto 0;padding:20px 16px 18px;border-radius:34px;border:1px solid var(--st-glass-line);background:var(--st-glass-dialog)!important;backdrop-filter:blur(var(--st-blur)) saturate(135%)!important;-webkit-backdrop-filter:blur(var(--st-blur)) saturate(135%)!important;box-shadow:0 20px 70px #0005,inset 0 1px 0 #ffffff08}
.ph-content-sheet .ph-sheet-close{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;z-index:6;border-radius:50%;background:#ffffff0d;border:1px solid #ffffff24;color:#ddd}.ph-sheet-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
body .ph-content-sheet .ph-detail-heading{padding-right:44px!important;text-align:left!important}

body .ph-combo-filter .ph-sort-toggle,body .ph-combo-filter .ph-sort-menu,body .ph-combo-filter select{width:100%;max-width:100%}

/* Keep the hub background and its shading on one stable viewport surface. */
.ph-site-background{position:fixed;inset:0 0 auto;height:100vh;height:100lvh;overflow:hidden;background:#000;z-index:0;pointer-events:none;isolation:isolate;contain:paint;transform:translateZ(0)}
body .ph-site-background :is(.bg-video,.bg-fallback){position:absolute;inset:-6px;top:-6px;left:-6px;width:calc(100% + 12px);height:calc(100% + 12px);min-width:0;min-height:0;max-width:none;object-fit:cover;transform:none}
html body .ph-site-background .bg-fallback{filter:blur(12px)}
html body .ph-site-background .bg-fallback:is(.sm-ready,.sm-error){filter:blur(3px)}
html body .ph-site-background .bg-video{filter:blur(14px)}
html body .ph-site-background .bg-video.is-playing{filter:blur(3px)}
body .ph-site-background .bg-overlay{display:block;position:absolute;inset:0;width:100%;height:100%;background:rgba(0,0,0,.3);z-index:2;pointer-events:none}
body #ph-upload-form .ph-upload-combo{width:100%;margin:0 0 12px;z-index:5}
body #ph-upload-form .ph-upload-combo :is(.ph-sort-toggle,.ph-sort-menu){width:100%;max-width:none}

/* Sorting opens above the combo type picker without changing their layout. */
#ph-feed-meta > .ph-section-heading{position:relative;z-index:3}
#ph-feed-meta > .ph-combo-filter{position:relative;z-index:2}

/* Combo options and previews share the site's compact glass surfaces. */
.ph-combo-options{display:grid;gap:8px;margin:10px 0}.ph-combo-options[hidden]{display:none}
.ph-combo-options label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border:1px solid #ffffff18;border-radius:999px;background:var(--st-glass,rgba(0,0,0,.4));font-size:15px;cursor:pointer}
.ph-combo-options label[hidden]{display:none}.ph-combo-options input{position:absolute;opacity:0;width:1px;height:1px}.ph-combo-options i{width:42px;height:26px;background:#ffffff20;border-radius:999px;flex:none;position:relative;transition:background .3s}.ph-combo-options i:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .3s}.ph-combo-options input:checked+i{background:#ff181f}.ph-combo-options input:checked+i:after{transform:translateX(16px)}.ph-combo-options input:focus-visible+i{outline:2px solid #ff181f;outline-offset:3px}
.ph-image-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.ph-image-pair figure{position:relative;margin:0;min-width:0}.ph-image-pair small{position:absolute;top:8px;left:8px;background:#0008;border-radius:999px;width:24px;height:24px;display:grid;place-items:center;z-index:1}
.ph-image-pair img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:24px}.ph-tap-preview{width:100%;display:grid;gap:6px}.ph-tap-preview small{font-size:12px;color:#aaa}.ph-tap-preview audio{width:100%;height:40px}
