.notice-image{display:block;width:100%;height:auto;max-height:50dvh;object-fit:contain;border-radius:12px;margin:0 0 16px}
.spt-list-panel .spt-heading h2{margin:0;font-size:22px}
#support-center:not(.spt-admin) .spt-list-panel{background:#0b1524;border-color:#243b54;padding:18px}
.spt-list-panel>.spt-heading+p{color:var(--spt-muted);font-size:13px;margin:12px 0 20px}
.spt-list-panel .spt-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding-bottom:20px;border-bottom:1px solid var(--spt-border)}
.spt-list-panel .spt-filters label{min-width:0;margin:0;font-size:12px;color:var(--spt-muted)}
.spt-list-panel .spt-filters input,.spt-list-panel .spt-filters select{height:44px;padding:9px 10px;margin-top:6px;font-size:14px}
.spt-list-panel .spt-filters button{height:44px;margin:0;padding:8px 16px}
.spt-list-panel .spt-error:empty,.spt-list-panel .spt-sync:empty{display:none}
.spt-list-count{margin:18px 0 10px;font-size:12px;color:var(--spt-muted)}
.spt-list-count strong{color:var(--spt-text);margin:0 3px}
.spt-ticket-list{display:grid;gap:10px}
.spt-list-panel .spt-ticket{display:grid;gap:10px;border:1px solid var(--spt-border);border-radius:12px;padding:16px;background:var(--spt-bg);transition:border-color .15s,background .15s}
.spt-list-panel .spt-ticket:hover{border-color:#42bde6;background:#15283b}
.spt-admin .spt-list-panel .spt-ticket:hover{background:#f1f7fd}
.spt-ticket-top,.spt-ticket-title{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
.spt-list-panel .spt-ticket strong{font-size:16px;line-height:1.5;min-width:0}
.spt-list-panel .spt-badge{font-size:11px;padding:3px 9px;border-radius:6px;line-height:1.6}
.spt-status-open{color:#f4cd86;background:#b77b151a;border-color:#a47b3b}
.spt-status-answered{color:#6ee7ce;background:#13b89a1a;border-color:#247c70}
.spt-status-closed{color:var(--spt-muted);background:#7b8c9e12}
.spt-ticket-arrow{color:#5fcfee;font-size:24px;line-height:1;flex:none}
.spt-list-panel .spt-ticket small{font-size:11px}
.spt-ticket-date{letter-spacing:.15px}
.spt-empty{text-align:center;padding:32px 12px;color:var(--spt-muted);border:1px dashed var(--spt-border);border-radius:12px}
.spt-list-panel [data-more]{margin-top:14px;width:100%}
#support-center:not(.spt-admin) .spt-list-panel .spt-primary{background:linear-gradient(110deg,#2475ff,#27bfe8);color:#fff;border-color:#299cf5}
@media(max-width:600px){#support-center:not(.spt-admin) .spt-list-panel{padding:12px}.spt-list-panel .spt-filters{grid-template-columns:minmax(0,1fr) auto;gap:7px}.spt-list-panel .spt-filters button{padding:8px 10px}.spt-list-panel .spt-ticket{padding:13px}.spt-list-panel .spt-heading{gap:8px}.spt-list-panel .spt-heading h2{font-size:20px}}
.notice-popup{width:min(540px,calc(100vw - 32px));max-height:90dvh;padding:24px;border-radius:20px;box-sizing:border-box}.notice-popup h2{font-size:26px;margin:20px 0}.notice-popup-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:52dvh;overflow:auto;font-size:17px;line-height:1.7}.notice-popup .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.notice-popup .dialog-actions button{flex:1}.notice-popup::backdrop{background:#000a}
#support-center{--spt-bg:#121e2b;--spt-text:#e7edf5;--spt-border:#33495b;--spt-muted:#9db0c1;color:var(--spt-text)}
#support-center.spt-admin{--spt-bg:#fff;--spt-text:#24344a;--spt-border:#c6d1dd;--spt-muted:#54687e}
.spt-panel{background:var(--spt-bg);border:1px solid var(--spt-border);border-radius:16px;padding:24px;margin:0 0 20px}.spt-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.spt-heading h2{font-size:26px;overflow-wrap:anywhere}.spt-badge{font-size:14px;font-weight:700;border:1px solid var(--spt-border);border-radius:20px;padding:5px 12px;white-space:nowrap}.spt-panel label{display:block;font-weight:700;margin:16px 0}.spt-panel input,.spt-panel textarea,.spt-panel select{display:block;width:100%;padding:13px;margin-top:8px;border:1px solid var(--spt-border);border-radius:8px;background:var(--spt-bg);color:var(--spt-text);box-sizing:border-box;font:inherit}.spt-panel textarea{resize:vertical}.spt-btn{padding:12px 20px;border:1px solid var(--spt-border);border-radius:10px;background:var(--spt-bg);color:var(--spt-text);font:inherit;font-weight:700;cursor:pointer}.spt-primary{background:#e0c38b;color:#101925;border-color:#e0c38b}.spt-link{background:none;border:0;color:var(--spt-text);font:inherit;text-decoration:underline;cursor:pointer;padding:8px 0}.spt-ticket{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left;background:var(--spt-bg);color:var(--spt-text);padding:18px;width:100%;border:0;border-bottom:1px solid var(--spt-border);font:inherit;cursor:pointer}.spt-ticket strong{font-size:20px;overflow-wrap:anywhere}.spt-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.spt-filters label{flex:1;min-width:140px}.spt-filters button{margin-bottom:16px}.spt-messages{display:flex;flex-direction:column;gap:14px;max-height:55dvh;min-height:180px;overflow:auto;padding:16px 0}.spt-message{border:1px solid var(--spt-border);border-radius:14px;padding:14px 18px;max-width:90%;width:fit-content}.spt-customer{align-self:flex-end;background:#dfc48e;color:#152130}.spt-staff{align-self:flex-start;background:var(--spt-bg)}.spt-system{align-self:center;border-style:dashed;color:var(--spt-muted);font-size:14px}.spt-meta{font-size:12px;margin-bottom:6px;opacity:.85}.spt-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.6}.spt-error{color:#dc5454;white-space:pre-wrap}.spt-sync,.spt-ticket small{font-size:13px;color:var(--spt-muted)}#support-center [hidden]{display:none!important}.spt-btn:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.spt-panel{padding:16px}.spt-message{max-width:95%}.spt-heading h2{font-size:24px}.notice-popup{padding:20px}.notice-popup h2{font-size:24px}}

.spt-list-panel .spt-filters>label:first-child{grid-column:1 / -1}
.spt-list-panel .spt-filters .spt-search-label{grid-column:1;grid-row:2}
.spt-list-panel .spt-filters>button{grid-column:2;grid-row:2;align-self:end}
#support-center .spt-sync:empty{display:none}

.notice-rich{white-space:normal;overflow-wrap:anywhere;line-height:1.75}.notice-rich.preline{white-space:pre-wrap}.notice-rich p{margin:0 0 12px}.notice-rich ul,.notice-rich ol{padding-left:24px}.notice-popup-body:has(.notice-rich){white-space:normal}
