/* Shared public chrome; the landing stylesheet owns the original breakpoints. */
.tips-page .site-header .brand-logo{width:190px}
.tips-page .site-header .menu-toggle{display:none;align-items:center;justify-content:center;gap:7px;width:auto;height:auto;min-height:36px;padding:6px 10px;border:1px solid #111;border-radius:10px;background:transparent;box-shadow:none;color:#111;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;white-space:nowrap;flex-shrink:0}
.tips-page .site-header .menu-toggle span{display:block;font-size:14px;font-weight:600;line-height:20px;transform:translateY(-1px)}.tips-page .site-header .menu-toggle svg{position:static;width:20px;height:20px;flex-shrink:0}
.tips-page .site-header .menu-toggle::before,.tips-page .site-header .menu-toggle::after{left:auto;right:10px;top:50%;width:20px}
.tips-page .site-header .menu-toggle:focus-visible{outline:2px solid #079fe8;outline-offset:3px}
.tips-page a[href]{cursor:pointer}
.pet-nav-icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1180px){.tips-page .site-header .brand-logo{width:155px}.tips-page .site-header .menu-toggle{display:inline-flex}.tips-page .site-header .header-inner{gap:12px}}
.pet-user-page{display:flex;flex-direction:column;min-height:100dvh;font:16px/1.55 Inter,"Segoe UI",Arial,sans-serif;color:#10234a}
.pet-user-page>.pa-wrap{width:var(--tips-layout-rail);max-width:1440px;margin:30px auto;padding:0;flex:1}
.pet-user-page>.site-footer{margin-top:8px;background:#fff}
.pet-user-page .site-header .main-nav>a{color:#536680;text-decoration:none}
.pet-user-page .site-header .main-nav>a:hover{color:var(--blue)}
.pet-user-page .site-header .header-actions .button{color:#fff;text-decoration:none}
.pet-user-page .site-footer nav a,.pet-user-page .site-footer .footer-legal a{color:#65758b;text-decoration:none}
.pet-user-page .site-header .mobile-menu-primary{color:#fff}
.pa-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.pa-admin-badge{display:inline-flex;align-items:center;gap:3px;min-width:26px;margin-left:6px;padding:2px 6px;border-radius:20px;background:#d93043;color:#fff;font-size:11px;line-height:16px;font-weight:700}
.pa-admin-badge[hidden]{display:none}
.pa-admin-badge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
@media(max-width:640px){.pet-user-page>.pa-wrap{margin:20px auto}}
/* FAQ follows the two-column cards of the reference, without JS-only visibility. */
.tips-page .pet-upload-visual:has(.pa-upload-preview){overflow:hidden;height:142px;min-height:0}
.tips-page .pet-upload-visual>.pa-upload-preview{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain;border-radius:inherit}
.tips-page .pet-upload-visual{position:relative}
.tips-page .pet-upload-visual>.pa-upload-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;height:38px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:rgba(16,35,74,.5);color:#fff;box-shadow:none;cursor:pointer;appearance:none;z-index:2}
.tips-page .pet-upload-visual>.pa-upload-play>svg{position:static;display:block;width:22px;height:22px;margin:0;transform:none}
.tips-page .pet-upload-visual>.pa-upload-play:focus-visible{outline:2px solid #009ee7;outline-offset:3px}
.pa-upload-state.is-processing{color:#365575}
.pa-body .pa-frame>.pa-play{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;height:38px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:rgba(16,35,74,.5);color:#fff;box-shadow:none;cursor:pointer;appearance:none}
.pa-body .pa-frame>.pa-play>svg{position:static;display:block;width:22px;height:22px;margin:0;transform:none}
.pa-body .pa-frame>.pa-play:focus-visible{outline:2px solid #009ee7;outline-offset:3px}
/* Same compact play control as the cabinet, for templates and public works. */
.tips-page .pet-template-media>.pet-template-preview{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;height:38px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:rgba(16,35,74,.5);color:#fff;box-shadow:none;cursor:pointer;appearance:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.tips-page .pet-template-media>.pet-template-preview::before{content:"";display:block;position:static;width:22px;height:22px;margin:0;border:0;transform:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5v14l11-7z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5v14l11-7z'/%3E%3C/svg%3E") center/contain no-repeat}
.tips-page .pet-template-media>.pet-template-preview:focus-visible{outline:2px solid #009ee7;outline-offset:3px}
.pa-payment-wait{display:flex;align-items:center;gap:12px}
.pa-order-section{margin:0 0 28px}.pa-order-section>h2{margin:0 0 16px;font-size:24px;line-height:1.25;color:#10234a}
.pa-result-gallery{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:#83c9ee #edf6ff}
.pa-result-gallery:focus-visible{outline:2px solid #009ee7;outline-offset:3px;border-radius:16px}
.pa-result-gallery .pa-result-card{flex:0 0 200px;min-width:0;max-width:200px;scroll-snap-align:start;padding:9px;border-radius:18px;margin:0;box-shadow:0 3px 10px #233e670d}
.pa-result-card .pa-frame{width:100%;border-radius:12px}.pa-result-card h3{font-size:12px;line-height:1.4;overflow-wrap:anywhere;margin:10px 0 6px}.pa-result-card>.pa-tag{align-self:flex-start;font-size:11px}
.pa-result-card .pa-actions{display:grid;gap:7px;padding-top:12px;margin-top:0;align-content:start}.pa-body .pa-result-card .pa-actions>*{width:100%;min-height:38px;padding:8px 5px;font-size:12px;line-height:1.3;text-align:center;box-sizing:border-box}
@media(max-width:640px){.pa-result-gallery .pa-result-card{flex-basis:172px;max-width:172px}.pa-result-gallery{gap:12px}}
.pa-payment-wait:before{content:"";flex:0 0 24px;width:24px;height:24px;border:3px solid #c9eafa;border-top-color:#009fe7;border-radius:50%;animation:pa-upload-spin .85s linear infinite}
.pa-body .pa-ref button.is-copied{background:#087b44;color:#fff;opacity:1;box-shadow:none}
#pa-bonus .pa-ref{margin-top:22px;margin-bottom:6px}
@media(prefers-reduced-motion:reduce){.pa-payment-wait:before{animation:none}}
.pa-upload-state.is-processing:before{content:"";display:inline-block;width:15px;height:15px;margin:0 7px -3px 0;border:2px solid #c9eafa;border-top-color:#009fe7;border-radius:50%;animation:pa-upload-spin .85s linear infinite}
.tips-page .pet-upload-visual.is-processing:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 25%,#ffffffaa 48%,transparent 72%);background-size:220% 100%;animation:pa-upload-shimmer 1.8s linear infinite;pointer-events:none}
@keyframes pa-upload-spin{to{transform:rotate(360deg)}}
@keyframes pa-upload-shimmer{from{background-position:200% 0}to{background-position:-20% 0}}
@media(prefers-reduced-motion:reduce){.pa-upload-state.is-processing:before,.tips-page .pet-upload-visual.is-processing:after{animation:none}}
@media(max-width:1180px){.tips-page .pet-checkout-form input:not([type=checkbox]):not([type=radio]),.tips-page .pet-checkout-form select,.tips-page .pet-checkout-form textarea,.pa-dialog input,.pa-dialog select,.pa-dialog textarea,.pa-form input,.pa-form select,.pa-form textarea{font-size:16px!important}}
@media(max-width:520px){.tips-page .pet-upload-visual:has(.pa-upload-preview){height:126px}}
.pet-upload-next-step{grid-column:1/-1;justify-self:center;display:flex;align-items:center;width:100%;max-width:980px;box-sizing:border-box;gap:12px;padding:17px 20px;border:1px solid #eda448;border-radius:18px;background:linear-gradient(115deg,#fff3d5,#fff0e4);color:#683711;text-align:center;box-shadow:0 5px 16px #b7681010}
.pet-upload-next-step[hidden]{display:none}.pet-upload-next-step>svg{flex:0 0 24px;width:24px;height:24px;margin-top:1px;stroke:#b86510;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pet-upload-next-step>p{margin:0;font-size:15px;line-height:1.6}.pet-upload-next-step a{color:#814008;font-weight:700;text-decoration:underline;text-underline-offset:3px}.pet-upload-next-step a:focus-visible{outline:2px solid #814008;outline-offset:3px;border-radius:2px}
@media(max-width:640px){.pet-upload-next-step{padding:14px 12px;gap:9px;border-radius:15px}.pet-upload-next-step>p{font-size:14px}.pet-upload-next-step>svg{flex-basis:21px;width:21px;height:21px}}
.tips-page .pet-faq-section{padding:32px 0 36px;background:linear-gradient(180deg,#f7fffc,#f5fbff);margin:0}
.pet-faq-heading{text-align:center;max-width:880px;margin:0 auto 24px}.pet-faq-heading .pet-faq-kicker{color:#08a66a;font-size:14px;margin:0 0 8px;font-weight:400}
.pet-faq-heading h2{margin:0;color:#10234a;font-size:36px;line-height:1.15;letter-spacing:-.035em}.pet-faq-heading>p:last-child{color:#60728f;font-size:15px;line-height:1.6;margin:12px 0 0}
.pet-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.pet-faq-grid details{min-width:0;overflow:hidden;border:1px solid #d9ebf6;border-radius:18px;background:radial-gradient(circle at 96% 8%,#7761ed0d,transparent 45%),linear-gradient(145deg,#fff,#f5faff);box-shadow:0 7px 22px #2467890b}
.pet-faq-grid summary{position:relative;list-style:none;cursor:pointer;padding:19px 55px 19px 21px;color:#10234a;font-size:15px;font-weight:700;line-height:1.45}
.pet-faq-grid summary::-webkit-details-marker{display:none}.pet-faq-grid summary::after{content:"";position:absolute;right:17px;top:50%;width:25px;height:25px;border-radius:50%;background-color:#049ce8;background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:center;background-repeat:no-repeat;background-size:10px 1.5px,1.5px 10px;transform:translateY(-50%)}
.pet-faq-grid details[open] summary::after{background-image:linear-gradient(#fff,#fff);background-size:10px 1.5px}.pet-faq-grid summary:focus-visible{outline:2px solid #049ce8;outline-offset:-4px;border-radius:16px}
.pet-faq-answer{padding:0 21px 20px;color:#60728f;font-size:14px;line-height:1.65}.pet-faq-answer p{margin:0}.pet-faq-answer a{display:inline-block;margin-top:10px;color:#0085ca;text-decoration:underline;text-underline-offset:3px}
.pet-faq-action{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:25px}.pet-faq-action>span{font-size:14px;color:#60728f}
@media(max-width:760px){.tips-page .pet-faq-section{padding:24px 0}.pet-faq-grid{grid-template-columns:1fr;gap:12px}.pet-faq-heading{margin-bottom:20px}.pet-faq-heading h2{font-size:27px}.pet-faq-heading>p:last-child{font-size:14px}.pet-faq-grid summary{padding:16px 49px 16px 16px;font-size:14px}.pet-faq-answer{padding:0 16px 17px}.pet-faq-action{flex-direction:column;gap:10px}.pet-faq-action .button{width:min(100%,340px)}}

/* Gallery regions can regain focus after a player closes. Keep focus rings on controls, not the whole strip. */
.pa-result-gallery:focus,
.tips-page :is(#templates,#works) .pet-template-grid:focus,
.tips-page :is(#templates,#works) .pet-template-grid:focus:focus-visible { outline:none; }
