/* game-uae.ru/preorders — использует токены сайта из style.css (--accent, --line, --card, --muted). */
.po{padding-top:28px;padding-bottom:60px}
.po-title{font-family:Manrope,Inter,sans-serif;font-size:30px;line-height:1.2;margin:0 0 8px;overflow-wrap:anywhere}
.po-muted{color:var(--muted);font-size:14px;margin:0 0 16px}
.po-login{background:var(--accent-50);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;margin:0 0 16px}
.po-error{color:var(--danger);font-size:14px}
.po-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 18px;border:0;border-radius:var(--radius-sm);background:var(--accent);color:#fff;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap;text-decoration:none}
.po-btn:hover{background:var(--accent-3);color:#fff}.po-btn:disabled{opacity:.6;cursor:default}
.po-btn.ghost{background:#fff;color:var(--accent);border:1px solid var(--accent-100)}
.po-link{background:none;border:0;color:var(--muted);font-size:14px;cursor:pointer;padding:8px 0}.po-link.danger{color:var(--danger)}
.po-all{display:flex;align-items:center;gap:16px;margin:0 0 20px;padding:16px 18px;background:var(--card);border:1px solid var(--accent-100);border-radius:var(--radius)}
.po-all.on{border-color:#cfe4d6;background:#f3faf5}.po-all>div{flex:1;min-width:0}.po-all strong{display:block;font-size:15px}.po-all small{display:block;color:var(--muted);font-size:13px;margin-top:2px;overflow-wrap:anywhere}
.po-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.po-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);cursor:pointer;text-align:left;font:inherit}
.po-tabs button span{font-weight:600;font-size:14px}.po-tabs button b{font-weight:600;color:var(--muted);font-size:12px;margin-left:4px}.po-tabs button small{color:var(--muted);font-size:12px}
.po-tabs button.on{border-color:var(--accent);background:var(--accent-50)}.po-tabs button.on span{color:var(--accent-3)}
.po-filters{display:flex;gap:10px;margin-bottom:18px}.po-filters input,.po-filters select{min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);font:inherit;font-size:14px}
.po-filters input{flex:1;min-width:0}
.po-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.po-tile{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:inherit;box-shadow:var(--shadow-1);transition:box-shadow .15s,border-color .15s}
.po-tile:hover{border-color:var(--accent-100);box-shadow:var(--shadow-2);color:inherit}.po-tile:hover .po-name{color:var(--accent)}
.po-cover{display:flex;align-items:center;justify-content:center;height:200px;margin:10px 10px 0;padding:12px;background:#f4f5f9;border-radius:var(--radius-sm)}
.po-cover img,.po-game-cover img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.po-cover-empty{font-size:40px;opacity:.5}
.po-tile-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px;flex:1}
.po-date{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.po-date small{white-space:nowrap;color:var(--success);font-weight:600}
.po-name{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.po-chips{display:flex;flex-wrap:wrap;gap:5px}.po-chips span{font-size:11px;font-weight:600;padding:3px 7px;border:1px solid var(--line);border-radius:6px;background:#f8f9fb}
.po-state{font-size:12px;font-weight:600;margin-top:auto}.po-state.open{color:var(--success)}.po-state.soon{color:var(--accent)}.po-state.closed{color:var(--muted)}
.po-empty{padding:40px 16px;text-align:center;color:var(--muted)}
.po-back{display:inline-block;margin-bottom:16px;font-size:14px}
.po-game{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;margin-bottom:24px}
.po-game-cover{display:flex;align-items:center;justify-content:center;height:300px;padding:16px;background:#f4f5f9;border-radius:var(--radius)}
.po-eyebrow{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);font-weight:700;margin-bottom:6px}
.po-release{font-size:15px;margin:0 0 6px}
.po-variants{display:flex;flex-direction:column;gap:10px}
.po-variant{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.po-v-name{font-weight:600;font-size:15px}.po-v-name small{display:block;font-weight:400;color:var(--muted);font-size:13px;margin-top:2px}
.po-v-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.po-v-note{flex-basis:100%;text-align:right;color:var(--muted);font-size:12px}
.po-qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;height:42px}
.po-qty button{width:38px;height:100%;border:0;background:#f8f9fb;font-size:18px;cursor:pointer}.po-qty input{width:64px;height:100%;border:0;text-align:center;font:inherit;font-size:16px;-moz-appearance:textfield}
.po-qty input::-webkit-outer-spin-button,.po-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.po-dialog{border:0;border-radius:var(--radius-lg);padding:22px;width:min(480px,calc(100% - 32px));box-shadow:var(--shadow-3)}.po-dialog::backdrop{background:rgba(15,23,42,.45)}
.po-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.po-dialog-head h2{font-size:20px;margin:0}.po-x{border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--muted)}
.po-dialog fieldset{border:0;padding:0;margin:14px 0}.po-dialog legend{font-weight:600;font-size:14px;margin-bottom:8px}
.po-choice{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:8px;font-size:14px;cursor:pointer}
.po-choice:has(input:checked){border-color:var(--accent);background:var(--accent-50)}
.po-contact{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;margin:0 0 10px 2px}.po-contact[hidden]{display:none}
.po-contact input{min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);font:inherit;font-size:15px;font-weight:400}
.po-dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}
.po-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink-800);color:#fff;padding:12px 18px;border-radius:var(--radius-sm);font-size:14px;z-index:1000;max-width:calc(100% - 32px)}
@media (max-width:760px){
  .po-title{font-size:24px}.po-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.po-filters{flex-direction:column}
  .po-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.po-cover{height:150px;margin:8px 8px 0}.po-tile-body{padding:10px}.po-name{font-size:13px}
  .po-all{flex-direction:column;align-items:stretch}.po-game{grid-template-columns:1fr;gap:16px}.po-game-cover{height:220px}
  .po-variant{flex-direction:column;align-items:stretch}.po-v-action{justify-content:flex-start}.po-v-note{text-align:left}.po-qty input{font-size:16px}
}

/* Плитка с действиями: ссылка на карточку сверху, заявка/подписка снизу. */
.po-tile{display:flex;flex-direction:column}.po-tile-link{display:flex;flex-direction:column;flex:1;color:inherit}.po-tile-link:hover{color:inherit}.po-tile-link:hover .po-name{color:var(--accent)}
.po-tile-actions{display:flex;flex-direction:column;gap:8px;padding:10px 14px 14px;border-top:1px solid var(--line-2);background:#fafbfd}
.po-mini{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px}
.po-mini>span{font-size:12px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-mini>span small{display:block;font-weight:400;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis}
.po-qty.small{height:34px}.po-qty.small button{width:28px;font-size:16px}.po-qty.small input{width:42px;font-size:14px}
.po-save{height:34px;min-width:38px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:var(--accent);color:#fff;font-weight:700;font-size:12px;cursor:pointer}.po-save:disabled{opacity:.6}
.po-btn.small{min-height:36px;padding:7px 12px;font-size:13px;width:100%}
.po-tile-more{font-size:13px;font-weight:600}
.po-state.past{color:var(--muted)}
.po-gone{background:#fff7ed;border:1px solid #fed7aa;border-radius:var(--radius-sm);padding:12px 14px;font-size:14px;margin:0 0 16px}
@media (max-width:760px){.po-tile-actions{padding:8px 10px 10px}.po-mini{grid-template-columns:minmax(0,1fr) auto;}.po-mini .po-save{grid-column:1/-1;width:100%}.po-filters select{width:100%}}
