/* 議員你給我聽好了 — shared by 2D and 3D pages (warm daylight palette) */
[hidden]{display:none!important}
:root{--voice:#5b5fc7;--voice-soft:#eceefd}
.pet-banner{position:fixed;left:50%;top:calc(14px + env(safe-area-inset-top,0px));transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-radius:999px;background:var(--voice);color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 28px rgba(40,40,90,.3);max-width:calc(100% - 32px)}
.pet-banner button{border:0;border-radius:999px;padding:6px 12px;background:rgba(255,255,255,.2);color:#fff;font:inherit;font-size:13px;cursor:pointer}
.pet-modal{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:16px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px));background:rgba(43,38,34,.35)}
.pet-form{width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fbf8f2;border-radius:20px;padding:20px 22px;box-shadow:0 20px 50px rgba(43,38,34,.3);display:flex;flex-direction:column;gap:12px;color:#2b2622;font-family:"Noto Sans TC","PingFang TC",sans-serif}
.pet-k{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.14em;color:var(--voice)}
.pet-form h3{margin:0;font-size:20px;font-weight:900}
.pet-f{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#6f655a}
.pet-f em{font-style:normal;float:right;color:#a0968a}
.pet-f select,.pet-f textarea,.pet-f input{font:inherit;font-size:15px;color:#2b2622;background:#fff;border:1px solid #e4dccf;border-radius:12px;padding:10px 12px;width:100%}
.pet-f textarea{resize:vertical;min-height:96px;line-height:1.6}
.pet-f :focus-visible,.pet-agree input:focus-visible{outline:2px solid var(--voice);outline-offset:1px}
.pet-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pet-agree{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;color:#4b433b}
.pet-agree input{margin-top:3px}
.pet-note{margin:0;font-size:12px;line-height:1.6;color:#857a6e}
.pet-err{margin:0;min-height:1em;font-size:13px;color:#b3261e}
.pet-actions{display:flex;justify-content:flex-end;gap:8px}
.pet-btn{border:0;border-radius:12px;padding:10px 18px;background:var(--voice);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.pet-btn.ghost{background:#f3eee4;color:#2b2622}
.pet-btn:disabled{opacity:.6;cursor:wait}
.pet-card{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:55;width:min(360px,calc(100% - 32px));background:#fff;border-radius:18px;border-top:4px solid var(--voice);padding:14px 16px;box-shadow:0 14px 36px rgba(43,38,34,.22);color:#2b2622;font-family:"Noto Sans TC","PingFang TC",sans-serif}
.pet-x{position:absolute;top:6px;right:8px;border:0;background:none;font-size:22px;color:#857a6e;cursor:pointer;padding:4px 8px}
.pet-c-body{margin:6px 28px 6px 0;font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.pet-c-meta{font-size:12px;color:#857a6e}
.pet-c-reply{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--voice-soft);font-size:13.5px;line-height:1.6;display:flex;flex-direction:column;gap:2px}
.pet-c-reply b{color:var(--voice);font-size:12px}
.pet-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:80;padding:12px 18px;border-radius:14px;background:#2b2622;color:#fff;font-size:14px;box-shadow:0 10px 28px rgba(0,0,0,.25);max-width:calc(100% - 32px)}
.pet-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;width:100%;text-align:left;padding:10px 10px;border:0;border-bottom:1px solid #e4dccf;background:none;cursor:pointer;border-radius:12px;font:inherit;color:inherit}
.pet-row:hover{background:#f3eee4}
.pet-cat{font-size:11px;font-weight:700;color:var(--voice);background:var(--voice-soft);border-radius:999px;padding:3px 8px;white-space:nowrap;margin-top:2px}
.pet-t b{display:block;font-size:14px;font-weight:500;line-height:1.55;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pet-t small{display:block;margin-top:2px;font-size:11.5px;color:#857a6e}
.pet-empty{margin:8px 10px;font-size:13px;color:#857a6e;line-height:1.6}
.pet-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 10px 6px}
.pet-cta p{margin:0;font-size:12.5px;color:#857a6e;line-height:1.5}
.pet-cta .pet-btn{flex:none}
.picking,.picking *{cursor:crosshair!important}
@media (max-width:860px){.pet-card{left:8px;right:8px;width:auto;bottom:8px}}

.pet-pdpa{border:1px solid #e4dccf;border-radius:12px;background:#fff;padding:0 12px;font-size:12.5px;line-height:1.65;color:#4b433b}
.pet-pdpa summary{cursor:pointer;padding:9px 0;font-weight:700;color:#2b2622;font-size:13px}
.pet-pdpa[open] summary{border-bottom:1px solid #e4dccf;margin-bottom:6px}
.pet-pdpa p{margin:6px 0}
.pet-pdpa ol{margin:4px 0 8px;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.pet-pdpa b{color:#2b2622}
