.hud-inbox {
  position:relative; display:grid; place-items:center; flex:none; width:44px; height:44px;
  color:#f4dfae; border:1px solid #918158; border-radius:5px; background:#253c30;
}
.hud-inbox .icon {width:23px;height:23px}
.hud-inbox span {position:absolute;right:-4px;top:-2px;min-width:16px;padding:0 3px;border-radius:9px;background:#eee1b7;color:#354133;font:700 10px/16px var(--sans)}
.gate-news {display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-top:17px;border-top:1px solid #cfc2a4;padding-top:8px}
.gate-news button,.ops-text-button,.ops-back {color:var(--forest);font-weight:650;text-decoration:underline;text-underline-offset:3px;min-height:42px}
.gate-news button {display:inline-flex;align-items:center;gap:5px;font-size:.85rem}
.discord-login {width:100%;min-height:44px;margin-top:9px}
.discord-login[hidden] {display:none}
.discord-account {max-width:580px}
.discord-account>p {margin:12px 0}
.ops-page,.ops-public {width:100%;min-width:0;max-width:1150px;margin:0 auto;overflow-wrap:anywhere}
.ops-page {padding-top:5px}
.ops-tools,.ops-admin-head,.ops-list-heading,.ops-pagination,.ops-actions,.ops-card-title,.ops-meta,.ops-rewards {display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.ops-tools,.ops-admin-head,.ops-list-heading {justify-content:space-between}
.ops-admin-head {margin-bottom:10px;color:#526349}
.ops-admin-head>span,.ops-card-title {display:flex;align-items:center;gap:9px;font-weight:650}
.ops-list-heading {margin:18px 0 12px}
.ops-list-heading h2,.ops-card-title h2,.ops-article h2,.ops-review h3 {font:700 clamp(1.18rem,2vw,1.55rem)/1.4 var(--serif);letter-spacing:-.04em}
.ops-card-title>.icon {width:28px;height:28px;color:#8e7545}
.ops-list-heading>span,.ops-meta,.ops-aside,.ops-table small,.ops-summary dt,.ops-pagination span {color:var(--muted);font-size:.84rem}
.ops-search {display:flex;flex:1;align-items:center;gap:8px;max-width:500px}
.ops-search label {margin:0;white-space:nowrap}
.ops-search input {min-width:0}
.ops-search button,.ops-tools>button {flex:none}
.ops-tabs {display:flex;flex-wrap:wrap;gap:4px;margin:15px 0;border-bottom:1px solid #cbbf9f;padding-bottom:1px}
.ops-tabs button {min-height:44px;padding:5px 14px;color:#5b6253;border-bottom:3px solid transparent;font-weight:650}
.ops-tabs button[aria-pressed=true] {border-color:#8e7441;color:#254333;background:#e9ead9}
.ops-list,.ops-card,.ops-article,.ops-table-wrap {background:var(--panel);border:1px solid #cfc2a8;border-radius:6px}
.ops-list {overflow:hidden}
.ops-row {display:flex;width:100%;gap:16px;min-height:74px;padding:13px 18px;align-items:center;text-align:left;border-bottom:1px solid var(--line);color:var(--ink)}
.ops-row:last-child {border-bottom:0}
.ops-row:hover,.ops-row:focus-visible {background:#f1efdf}
.ops-row:focus-visible {outline-offset:-3px}
.ops-row-icon {display:grid;align-items:center;justify-content:center;width:37px;height:37px;border:1px solid #d9d1bc;border-radius:5px;color:#807854;background:#f3efe1;flex:none}
.ops-row-icon.unread {background:#e7ecde;border-color:#b8c8ae;color:#3b6347}
.ops-row-copy {min-width:0;flex:1}
.ops-row-copy strong {display:block;margin-top:3px;line-height:1.45;overflow-wrap:anywhere}
.ops-meta {gap:4px 8px;font-weight:500}
.ops-aside {display:flex;align-items:center;gap:10px}
.ops-row>.icon,.ops-aside .icon {width:16px}
.ops-empty {padding:24px 18px;background:#f8f5e9;border:1px dashed #c9bda2;border-radius:5px;color:var(--muted);margin:10px 0}
.ops-pagination {justify-content:center;margin-top:12px}
.ops-article,.ops-card {padding:clamp(16px,3vw,32px)}
.ops-article h2 {margin:12px 0}
.ops-markdown,.ops-plaintext {line-height:1.75;overflow-wrap:anywhere;margin:15px 0}
.ops-markdown p,.ops-markdown ul,.ops-markdown h3 {margin:8px 0}
.ops-markdown h3 {font:700 1.1rem/1.5 var(--serif);color:#374a37}
.ops-markdown ul {padding-left:1.4em}
.ops-markdown code {white-space:pre-wrap;background:#efeada;padding:1px 4px;border-radius:3px}
.ops-plaintext {white-space:pre-wrap;color:var(--ink)}
.ops-coupon {max-width:610px}
.ops-coupon input {font-variant-numeric:tabular-nums;letter-spacing:.08em}
.ops-coupon .muted,.ops-form .muted,.ops-review .muted {font-size:.83rem;margin:5px 0 10px}
.ops-actions {margin-top:12px}
.ops-actions button,.ops-form button,.ops-review button,.ops-dialog>.primary {min-height:44px}
.ops-feedback {margin-top:10px;font-size:.92rem;color:#345d3e;white-space:pre-line}
.ops-feedback:empty {display:none}
.ops-feedback.is-error,.ops-deadline {color:#874538}
.ops-inset,.ops-review {padding:15px 17px;border:1px solid #d3c6a9;background:#f5f0df;border-radius:5px;margin:14px 0}
.ops-inset p,.ops-dialog .ops-deadline {margin:7px 0}
.ops-rewards {gap:6px 14px;margin:7px 0}
.ops-rewards span {display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:.89rem}
.ops-rewards .store-art,.ops-rewards .icon {width:21px;height:21px}
.ops-page h3,.ops-dialog h3 {margin:14px 0 7px}
.ops-table-wrap {overflow:hidden}
.ops-table {width:100%;border-collapse:collapse;font-size:.91rem}
.ops-table th,.ops-table td {text-align:left;vertical-align:top;padding:11px 13px;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}
.ops-table tbody tr:last-child td {border-bottom:0}
.ops-table th {color:#5c5c47;background:#efeada;font-weight:650;font-size:.82rem}
.ops-table tbody tr:nth-child(even) {background:#faf7ee}
.ops-table small {display:block;margin:4px 0;max-width:55ch}
.ops-table .ops-actions {margin:0;gap:4px}
.ops-table .soft {padding:5px 9px;min-height:37px;font-size:.82rem}
.ops-table td:first-child {width:28%}
dialog:has(.ops-dialog) {width:660px;max-width:min(660px,calc(100vw - 22px));max-height:calc(100dvh - 28px)}
.ops-dialog {min-width:0;padding:clamp(16px,3.5vw,29px);overflow-wrap:anywhere}
.ops-dialog>h2 {padding-right:25px}
.ops-dialog .dialog-close {min-width:44px;min-height:44px}
.ops-form fieldset {min-width:0;border:1px solid var(--line);border-radius:4px;margin:14px 0;padding:10px 13px}
.ops-form fieldset.ops-inputs {margin:0;padding:0;border:0}
.ops-form legend {padding:0 4px;color:#5f644d;font-weight:650;font-size:.87rem}
.ops-form label {display:block;min-width:0;margin:10px 0 7px}
.ops-form label>input,.ops-form label>select,.ops-form label>textarea {margin-top:4px}
.ops-form textarea {display:block;resize:vertical;min-height:130px;width:100%;padding:9px 12px;font:inherit;font-weight:400;color:var(--ink);background:#fffefa;border:1px solid #c8cbbc;border-radius:4px}
.ops-form .ops-check {display:flex;gap:9px;align-items:center;min-height:40px;margin:2px 0}
.ops-check input {margin:0;width:18px;height:18px;min-height:0;accent-color:var(--forest)}
.ops-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.ops-fields.ops-goods {grid-template-columns:repeat(3,minmax(0,1fr))}
.ops-summary {margin:12px 0;font-size:.9rem}
.ops-summary>div {display:grid;grid-template-columns:minmax(75px,28%) minmax(0,1fr);gap:10px;padding:6px 0;border-bottom:1px solid var(--line)}
.ops-summary dd {margin:0}
.ops-stat-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px;margin:12px 0 20px}
.ops-stat-grid>div {padding:12px 14px;border:1px solid var(--line);background:var(--panel);border-radius:5px}
.ops-stat-grid dt {font-size:.84rem;color:var(--muted)}
.ops-stat-grid dd {margin:4px 0 0;font-size:1.15rem;font-weight:650}
.ops-issued-code {margin-bottom:16px;font:650 1.15rem var(--sans);letter-spacing:.06em}
.ops-revision {border-top:1px solid var(--line)}
@media(max-width:760px){
  .hud-inbox {width:30px;height:44px;border:0;background:transparent}
  .hud-inbox .icon {width:20px;height:20px}
  .hud-inbox span {right:0;top:2px;min-width:14px;line-height:14px}
  .hud .stock small {white-space:nowrap}
  .ops-table,.ops-table tbody,.ops-table tr {display:block}
  .ops-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ops-table tr {padding:9px 13px;border-bottom:1px solid #cabd9f}
  .ops-table tr:last-child {border:0}
  .ops-table td,.ops-table td:first-child {width:100%;padding:4px 0;border:0;display:grid;grid-template-columns:80px minmax(0,1fr);gap:0 5px}
  .ops-table td::before {content:attr(data-label);color:var(--muted);font-size:.79rem}
  .ops-table td>small {grid-column:2;margin:2px 0}
  .ops-table td .soft {min-height:42px}
  .ops-search {flex-basis:100%}
  .ops-tools {justify-content:flex-end}
  .ops-tabs {gap:0}
  .ops-tabs button {padding:5px 10px}
  .ops-row {gap:9px;padding:11px 10px}
  .ops-row-icon {width:30px;height:30px}
  .ops-aside {flex-direction:column;gap:2px;align-items:flex-end}
  .ops-fields:not(.ops-goods) {grid-template-columns:1fr;gap:0}
  .ops-fields.ops-goods {grid-template-columns:repeat(2,minmax(0,1fr))}
}
