/* Two distinct homepage destinations, before Expert Showcase. */
#ph-home-creative-hub{display:grid;gap:20px;width:min(1270px,calc(100% - 40px));margin:28px auto 6px;padding:0;color:#f1fff5}
#ph-home-creative-hub *{box-sizing:border-box}
#ph-home-creative-hub .ph-home-creative-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:30px;margin:0;padding:34px 37px;border:1px solid #397657;border-radius:23px;overflow:hidden;isolation:isolate;min-width:0;box-shadow:0 16px 36px #00000024}
#ph-home-creative-hub .ph-home-prompt-card{background:radial-gradient(ellipse at 93% 13%,#239f6840,transparent 63%),linear-gradient(125deg,#0a3124,#103f30 58%,#0c2d22)}
#ph-home-creative-hub .ph-home-editor-card{background:radial-gradient(ellipse at 95% 20%,#247a6145,transparent 65%),linear-gradient(125deg,#0b281f,#103c30)}
#ph-home-creative-hub .ph-home-creative-eyebrow,#ph-home-creative-hub .ph-ag-eyebrow{display:block;margin:0;color:#79dab1;font:750 10px/1.6 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}
#ph-home-creative-hub h2,#ph-home-creative-hub h3{font:780 clamp(27px,3.5vw,43px)/1.12 Inter,system-ui,sans-serif!important;letter-spacing:-.045em!important;color:#f3fff6!important;margin:12px 0 15px!important;max-width:570px}
#ph-home-creative-hub p{font:400 13px/1.8 Inter,system-ui,sans-serif;color:#c1d9ca;margin:0;max-width:550px}
#ph-home-creative-hub .ph-home-creative-tags{display:flex;flex-wrap:wrap;gap:7px;margin:19px 0 0}
#ph-home-creative-hub .ph-home-creative-tags>span{padding:5px 9px;border:1px solid #54896c80;border-radius:7px;color:#c0e6cf;background:#0b2a1e80;font:600 9px/1.3 Inter,system-ui,sans-serif}
#ph-home-creative-hub .ph-home-creative-actions,#ph-home-creative-hub .ph-studio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:23px}
#ph-home-creative-hub .ph-home-creative-actions a,#ph-home-creative-hub .ph-studio-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:10px;padding:10px 15px;font:700 11px/1.35 Inter,system-ui,sans-serif;text-decoration:none;transition:background .18s,box-shadow .18s,transform .18s}
#ph-home-creative-hub .ph-home-creative-primary,#ph-home-creative-hub .ph-studio-actions .ph-studio-open{background:linear-gradient(135deg,#27d798,#15b67d)!important;color:#052b1d!important;border:1px solid #5becb4!important;box-shadow:0 4px 17px #0be89223!important;text-shadow:none!important}
#ph-home-creative-hub .ph-home-creative-secondary,#ph-home-creative-hub .ph-studio-actions a:not(.ph-studio-open){background:#0b2b20!important;color:#d4f3df!important;border:1px solid #4b8063!important;box-shadow:none!important}
#ph-home-creative-hub .ph-home-creative-actions svg{width:18px;height:18px;flex:none}
#ph-home-creative-hub a:focus-visible{outline:3px solid #a0ffd0;outline-offset:4px}
#ph-home-creative-hub .ph-home-prompt-art{position:relative;height:294px;min-width:0;isolation:isolate}
#ph-home-creative-hub .ph-home-art-halo{position:absolute;inset:2% -10%;background:radial-gradient(ellipse,#52e6a950,transparent 65%);filter:blur(18px);pointer-events:none}
#ph-home-creative-hub .ph-home-art-sheet{position:absolute;display:block;width:61%;height:63%;left:19%;top:15%;border:4px solid #e1ffeddd;border-radius:13px;overflow:hidden;background:#cee8d5;box-shadow:0 16px 25px #001c1770}
#ph-home-creative-hub .ph-home-art-sheet img{display:block;width:100%;height:100%!important;object-fit:cover}
#ph-home-creative-hub .ph-home-art-sheet:nth-of-type(2){transform:translate(-35%,-2%) rotate(-12deg);z-index:1}
#ph-home-creative-hub .ph-home-art-sheet:nth-of-type(3){transform:translate(34%,-1%) rotate(12deg);z-index:2}
#ph-home-creative-hub .ph-home-art-sheet:nth-of-type(4){transform:translate(0,22%) rotate(-3deg);z-index:3}
#ph-home-creative-hub .ph-home-art-caption{position:absolute;z-index:4;left:50%;bottom:5px;transform:translateX(-50%);white-space:nowrap;border:1px solid #70bb9090;background:#0b3627de;backdrop-filter:blur(8px);color:#c8f8dd;padding:7px 10px;border-radius:8px;font:750 8px/1.3 Inter,system-ui,sans-serif;letter-spacing:.12em}
#ph-home-creative-hub .ph-studio-preview{width:100%;max-width:none;background:radial-gradient(ellipse at 50% 25%,#73e6bf33,transparent 69%);border:1px solid #538f7180;border-radius:16px;box-shadow:inset 0 0 35px #5dd8a709;padding:16px;overflow:hidden;transform:none}
#ph-home-creative-hub .ph-home-editor-art{display:block;width:100%;height:195px!important;object-fit:contain;filter:drop-shadow(0 9px 14px #001a1455);margin:0 0 14px}
#ph-home-creative-hub .ph-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;padding:0}
#ph-home-creative-hub .ph-preview-grid a{display:flex;align-items:center;justify-content:center;gap:5px;background:#0b3025;border:1px solid #487d618c;border-radius:7px;color:#d2eddb;padding:8px 5px;min-height:35px;font:600 9px/1.3 Inter,system-ui,sans-serif;text-decoration:none;min-width:0;text-align:center}
#ph-home-creative-hub .ph-preview-grid .ph-category-icon{display:none}
@media(hover:hover) and (pointer:fine){#ph-home-creative-hub .ph-home-creative-actions a:hover,#ph-home-creative-hub .ph-studio-actions a:hover{transform:translateY(-2px);filter:brightness(1.08)}#ph-home-creative-hub .ph-preview-grid a:hover{background:#164b37;border-color:#79c899}}
@media(max-width:850px){#ph-home-creative-hub .ph-home-creative-card{padding:27px;gap:20px}#ph-home-creative-hub .ph-home-prompt-art{height:260px}#ph-home-creative-hub .ph-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#ph-home-creative-hub .ph-home-editor-art{height:174px!important}#ph-home-creative-hub h2,#ph-home-creative-hub h3{font-size:31px!important}}
@media(max-width:650px){#ph-home-creative-hub{width:calc(100% - 24px);gap:15px;margin:21px auto 5px}#ph-home-creative-hub .ph-home-creative-card{grid-template-columns:minmax(0,1fr);gap:22px;padding:25px 22px;border-radius:19px}#ph-home-creative-hub h2,#ph-home-creative-hub h3{font-size:32px!important;max-width:450px}#ph-home-creative-hub p{font-size:12px}#ph-home-creative-hub .ph-home-prompt-art{height:250px;width:100%;max-width:450px;margin:auto}#ph-home-creative-hub .ph-home-editor-art{height:180px!important}#ph-home-creative-hub .ph-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:400px){#ph-home-creative-hub .ph-home-creative-card{padding:22px 18px;gap:18px}#ph-home-creative-hub h2,#ph-home-creative-hub h3{font-size:29px!important}#ph-home-creative-hub .ph-home-creative-actions,#ph-home-creative-hub .ph-studio-actions{align-items:stretch;flex-direction:column;gap:8px}#ph-home-creative-hub .ph-home-creative-actions a,#ph-home-creative-hub .ph-studio-actions a{width:100%}#ph-home-creative-hub .ph-home-prompt-art{height:210px}#ph-home-creative-hub .ph-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#ph-home-creative-hub .ph-home-editor-art{height:150px!important}#ph-home-creative-hub .ph-home-art-caption{font-size:7px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){#ph-home-creative-hub *{transition:none!important;animation:none!important}}

/* Keep shortcut labels readable against the dark homepage card. */
#ph-home-creative-hub .ph-preview-grid a{color:#e8fff1!important;background:#103e2e!important;border-color:#629576!important;min-height:40px;font-size:12px!important;line-height:1.4!important;font-weight:650!important}
#ph-home-creative-hub .ph-preview-grid a>span:not(.ph-category-icon){color:#e8fff1!important;font-size:12px!important;line-height:1.4!important;font-weight:650!important}
@media(max-width:650px){#ph-home-creative-hub .ph-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:400px){#ph-home-creative-hub .ph-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Native Studio category icons replace the rectangular shortcut buttons. */
#ph-home-creative-hub .ph-studio-icon-categories{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 6px}
#ph-home-creative-hub .ph-studio-icon-categories a{flex-direction:column;gap:5px;padding:2px!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0;font-size:10px!important}
#ph-home-creative-hub .ph-studio-icon-categories .ph-category-icon{display:grid;place-items:center;width:42px;height:42px;filter:drop-shadow(0 3px 8px #39dba92b)}
#ph-home-creative-hub .ph-studio-icon-categories .ph-category-icon svg{display:block;width:40px;height:40px}
#ph-home-creative-hub .ph-studio-icon-categories a>span:not(.ph-category-icon){font-size:10px!important;line-height:1.3!important}
#ph-home-creative-hub .ph-studio-icon-categories a:hover .ph-category-icon{filter:drop-shadow(0 0 9px #6de6b477)}
@media(max-width:650px){#ph-home-creative-hub .ph-studio-icon-categories{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Compact creative cards: shared full-width category rows, distinct preview styles. */
#ph-home-creative-hub .ph-home-creative-card{padding:26px 30px;gap:18px 28px}
#ph-home-creative-hub .ph-home-prompt-art{height:210px}
#ph-home-creative-hub .ph-studio-preview{border:0;background:none;box-shadow:none;padding:0}
#ph-home-creative-hub .ph-home-editor-art{height:200px!important;margin:0}
#ph-home-creative-hub .ph-studio-icon-categories{grid-column:1/-1;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px 8px;padding-top:13px;border-top:1px solid #548e713b}
#ph-home-creative-hub .ph-prompt-image-categories{grid-column:1/-1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:0;padding-top:14px;border-top:1px solid #548e713b}
#ph-home-creative-hub .ph-prompt-image-categories a{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;text-decoration:none;color:#ddf8e9;min-width:0}
#ph-home-creative-hub .ph-prompt-image-categories img{display:block;width:100%;max-width:96px;aspect-ratio:4/3;height:auto;object-fit:cover;border:1px solid #7ac3a16b;border-radius:10px;box-shadow:0 4px 12px #001c1744;transition:transform .2s}
#ph-home-creative-hub .ph-prompt-image-categories span{font:600 10px/1.35 Inter,system-ui,sans-serif}
#ph-home-creative-hub .ph-prompt-image-categories a:hover img{transform:translateY(-3px)}
#ph-home-creative-hub .ph-home-art-sheet,#ph-home-creative-hub .ph-home-editor-art{animation:phCreativeFloat 9s ease-in-out infinite}
#ph-home-creative-hub .ph-home-art-sheet:nth-of-type(3){animation-delay:-3s;animation-duration:11s}
#ph-home-creative-hub .ph-home-art-sheet:nth-of-type(4){animation-delay:-6s;animation-duration:10s}
@keyframes phCreativeFloat{0%,100%{translate:0 -4px}50%{translate:0 5px}}
@media(max-width:850px){#ph-home-creative-hub .ph-prompt-image-categories{grid-template-columns:repeat(4,minmax(0,1fr))}#ph-home-creative-hub .ph-studio-icon-categories{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){#ph-home-creative-hub .ph-home-creative-card{padding:23px 20px;gap:18px}#ph-home-creative-hub .ph-home-prompt-art{height:190px}#ph-home-creative-hub .ph-home-editor-art{height:160px!important}#ph-home-creative-hub .ph-prompt-image-categories,#ph-home-creative-hub .ph-studio-icon-categories{grid-column:1}}
@media(prefers-reduced-motion:reduce){#ph-home-creative-hub .ph-home-art-sheet,#ph-home-creative-hub .ph-home-editor-art{animation:none!important;translate:none!important}}
