/* Aventura azul — acabamento escolhido em 15/11/2026. Estrutura e componentes herdados de archive.css. */
:root{
  --paper:#101e31;--surface:#20364e;--raised:#2c4b66;--art:#172b44;
  --ink:#fff8e7;--muted:#c1d6e7;--line:#567998;--accent:#ffd375;--on-accent:#302014;--focus:#fff0b7;
  --neon:#51e5ff;--neon-soft:#51e5ff50;--neon-faint:#51e5ff19;
  --button-top:#ffe6a5;--button-bottom:#e9a637;--button-edge:#84521f;
  --frame-light:#a9e7ff;--frame-dark:#293d5d;--card-top:#324f70;--card-bottom:#17283f;
  --scene:url('/assets/backgrounds/rooc-adventure-banner.webp');--scene-full:url('/assets/backgrounds/rooc-adventure-world.webp');
}
body{background:linear-gradient(180deg,#0b1c3638 0,#0c1c35a8 370px,#101e31e8 950px,#101e31 1700px),var(--scene-full) center top/1920px auto no-repeat,var(--paper);background-attachment:scroll,scroll,scroll}





.wrap{position:relative}.header{background:linear-gradient(180deg,#112439f2,#162840ec);border-bottom:2px solid #7898b3;box-shadow:0 6px 22px #03102155,0 1px 0 #b5e6ff3d inset}
.brand-mark{color:var(--neon);filter:drop-shadow(0 0 5px var(--neon-soft))}
.brand-word{color:#fff4d1;text-shadow:0 2px 0 #090e19}.brand-domain{color:var(--accent)}
.header .nav-link.active::after{height:3px;box-shadow:0 0 10px var(--neon-soft);background:var(--neon)}
.header .nav-link.active{color:var(--neon)}
.header .login-button{background:linear-gradient(#34526f,#1c334e);border-color:#88b0ce;box-shadow:0 3px 0 #071727,inset 0 1px #c1eaff45;border-radius:8px}
.hero{height:170px;padding:26px 24px;margin-top:20px;border:1px solid #8ca8ba;border-radius:12px;background-image:linear-gradient(90deg,#102238f5 0,#102238df 40%,#10223820 75%),var(--scene);background-position:center;background-size:cover;box-shadow:0 12px 26px #04132455,inset 0 1px #e5f8ff52}
.hero h1{font-size:32px;color:#fff4d7;text-shadow:0 2px 0 #071323,0 0 18px #151d42}
.hero p{color:#e4f2ff;font-size:14px;text-shadow:0 1px 3px #071323}.hero-signature{display:none}
.market-layout{gap:28px}.market-sidebar{border:1px solid #66849e;border-radius:12px;padding:20px 14px;background:linear-gradient(#20374fed,#12263bed);box-shadow:0 12px 22px #050d1e66,inset 0 1px #c4efff30;position:sticky;top:18px}
.market-sidebar .server-bar{margin-bottom:22px}.server-intro strong{color:#fff0bd}.server-intro small{color:#c6d9e5}
.server-tab{background:linear-gradient(#304b65,#1b304b);border:1px solid #6d8ca8;box-shadow:0 2px 0 #071325,inset 0 1px #e5f5ff26;border-radius:7px}
.server-tab[aria-pressed=true]{background:linear-gradient(#ffe9ac,#edb956);border-color:#ffeab6;color:#382516;box-shadow:0 3px 0 #7c5122,inset 0 1px #fff6de}
.market-navigation-heading .section-label{font-size:12px;color:#d1dfeb}.market-navigation .saved-link{border-color:#7d99b6;background:#13273d}
.market-navigation .category-button{border-radius:7px}.market-navigation .category-button:hover:not([aria-pressed=true]){border-color:var(--neon);box-shadow:0 0 12px var(--neon-faint)}
.market-navigation .category-button[aria-pressed=true]{background:linear-gradient(#85e7ff,#439cde);border-color:#c0f4ff;color:#10243d;box-shadow:0 3px 0 #1b4a7e,inset 0 1px #e5ffff}
.market-navigation .category-button[aria-pressed=true] span{color:#10243d}
.results-heading{padding:4px 0 10px;border-bottom:1px solid #7ba2bb80}.results-heading .section-label{color:#c0e7ff}.results h2{color:#fff0c1;text-shadow:0 2px #0a1525;font-size:30px}.results-total{padding:5px 10px;border:1px solid #7ea2bd;background:#172d44;border-radius:6px;color:#e3f3ff}
.intent-filter button{background:linear-gradient(#2d4966,#192e48);border-color:#8cabc5;border-radius:7px;box-shadow:0 2px 0 #071425;color:#dbefff}
.intent-filter button[aria-pressed=true]{color:#382817;background:linear-gradient(#fff0bd,#e5b456);border-color:#ffedbb;box-shadow:0 3px 0 #785123}
.intent-filter>span{color:#dae7f2}.sort-label select,.listing-toolbar .icon-button{background:#203c57;border-color:#87a8c4;color:#f1f5ff;box-shadow:0 2px 0 #061323}
.listing-grid{gap:24px;padding:4px 0 12px}
.listing-card{position:relative;background:linear-gradient(155deg,var(--card-top),var(--card-bottom) 62%);border:2px solid #779ab7;border-radius:13px;box-shadow:0 9px 0 -5px #07152b,0 16px 25px #02091680,inset 0 1px 0 #e2faff60;transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s,border-color .22s;isolation:isolate;overflow:visible}
.listing-card::before{content:'';position:absolute;z-index:3;inset:5px;border:1px solid #a9deff38;border-radius:8px;pointer-events:none}
.listing-card::after{content:'';position:absolute;inset:-2px;z-index:-1;border-radius:14px;box-shadow:0 0 0 transparent;transition:box-shadow .22s;pointer-events:none}
.listing-card:hover,.listing-card:focus-within{border-color:var(--neon);transform:translateY(-6px);box-shadow:0 16px 28px #01081dbb,0 0 0 1px var(--neon),0 0 24px var(--neon-soft),inset 0 1px #e8ffff90}
.listing-card:hover::after,.listing-card:focus-within::after{box-shadow:0 0 30px var(--neon-soft)}
.card-art,.card-art.cartas-mvp,.card-art.contas,.card-art.skins{position:relative;height:330px;padding:45px 20px 22px;background:radial-gradient(ellipse at 50% 48%,#68adf83b,transparent 64%),linear-gradient(150deg,#1d3855,#11243d);border-bottom:1px solid #86bbd857;border-radius:11px 11px 0 0;overflow:hidden}
.card-art::before{content:'';display:block;position:absolute;inset:45px 26px 25px;border:1px solid #9fd5ff20;border-radius:50%;background:radial-gradient(ellipse,#8ddcff10,transparent 65%);width:auto;height:auto;transform:none;pointer-events:none}
.card-art::after{content:'';display:block;position:absolute;inset:-60% -100%;width:70%;height:220%;background:linear-gradient(90deg,transparent,#e1faff20,transparent);transform:rotate(25deg) translateX(-130%);transition:transform .75s;pointer-events:none}
.listing-card:hover .card-art::after{transform:rotate(25deg) translateX(260%)}
.card-art>.game-card{position:relative;z-index:1;filter:drop-shadow(0 12px 9px #0008);transition:transform .24s ease,filter .24s}
.listing-card:hover .card-art>.game-card{transform:translateY(-3px) scale(1.025);filter:drop-shadow(0 8px 12px var(--neon-soft))}
.category-tag{z-index:2;top:12px;left:12px;padding:5px 10px;background:linear-gradient(#294c6c,#17314b);color:#d5f5ff;border:1px solid #90c5e7;border-radius:6px;font-size:12px;box-shadow:0 2px 0 #0b1932;text-shadow:0 1px #071525}
.favorite{background:linear-gradient(#345571,#1b334f);border:1px solid #a0c6dc;border-radius:10px;color:#e2f7ff;box-shadow:0 3px 0 #0c1a2e}
.favorite:hover,.favorite[aria-pressed=true]{background:#244966;border-color:var(--neon);color:var(--neon);box-shadow:0 0 14px var(--neon-soft)}
.card-body{padding:16px 18px;color:#f8f4df}.card-context{font-size:12px;color:#c9deed}.card-context>span:first-child{color:var(--neon)}
.card-title{font-size:17px;font-weight:800;color:#fff6df;text-shadow:0 2px #0b1629;line-height:1.3;letter-spacing:-.01em}.card-title:hover{color:var(--neon)}
.card-subtitle,.card-trade{color:#c4d9e8;font-size:13px}.card-terms{border-color:#789db55e;padding-top:14px;gap:12px}.card-terms strong{font-size:21px;font-weight:800;color:#ffe29b;text-shadow:0 2px #0b172a;font-variant-numeric:tabular-nums}
.primary,.contact-button,.card-terms button.card-offer-button{position:relative;min-height:44px;border:1px solid #fff0b9;border-bottom:3px solid var(--button-edge);border-radius:8px;background:linear-gradient(180deg,var(--button-top),var(--button-bottom));color:#38220f;box-shadow:0 3px 0 #0a152b,inset 0 1px 0 #fff8da;font-weight:800;text-shadow:0 1px #fff4d175;transition:transform .16s,box-shadow .16s,filter .16s}
.primary:hover,.contact-button:hover,.card-terms button.card-offer-button:hover{background:linear-gradient(180deg,#fff4cb,var(--button-bottom));border-color:#fff0b9;color:#38220f;transform:translateY(-2px);box-shadow:0 5px 0 #0a152b,0 0 18px #ffd2664d}
.primary:active,.card-terms button.card-offer-button:active{transform:translateY(2px);box-shadow:0 1px 0 #0a152b}
.card-share,.card-image-count{background:#172e46;border-color:#7599b8;color:#d3e7f3;border-radius:6px}.card-share:hover{background:#284b67;border-color:var(--neon);color:#fff}
.card-author{border-color:#83adca4a;background:#102439aa;border-radius:0 0 11px 11px;color:#c4d9eb}.avatar{background:linear-gradient(#426e91,#2a4869);border:1px solid #80b5d4;color:#fff0be;box-shadow:0 2px 0 #0b1829}.discord-mini{color:#b5d4ee}
.community-strip{background:#182e47e8;border-color:#6c96b4}.community-strip strong{color:#ffebbb}.community-strip p{color:#d5e4f1}.note-icon{background:#294967;border-color:#84b5d4;color:var(--neon)}
.board-bottom{border-color:#7fa4bd6b;color:#d8e4ed}.callout,.footer{border-color:#85a4bd80}.callout h2{color:#fff0c9}.callout p,.footer p,.footer-year,.footer-brand small{color:#cedce8}.footer-brand{color:#fff0cc}

.chat-launcher{background:linear-gradient(var(--button-top),var(--button-bottom));border-color:#ffe9b0;border-bottom:3px solid var(--button-edge);color:#38220f;box-shadow:0 5px 18px #0008;border-radius:10px}
dialog:not(#chat-dialog),#accessory-picker{background:linear-gradient(150deg,var(--card-top),var(--card-bottom));border:2px solid var(--frame-light);box-shadow:0 22px 80px #000b,inset 0 1px #fff5}
.modal-title{color:#fff0c3;text-shadow:0 2px #071525}.detail-art,.card-art.detail-art,.detail-art.has-image{background:radial-gradient(ellipse,#4d83b83d,transparent 65%),#142a43;border:1px solid #789cb759;border-radius:9px}
.detail-meta span,.form-note,.contact-box{background:var(--surface);border-color:var(--line)}
.results-heading{padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--paper) 94%,transparent)}

.intent-filter>span{padding:4px 7px;background:color-mix(in srgb,var(--paper) 94%,transparent);border-radius:4px}
@media(max-width:1150px){.hero h1{font-size:28px}.card-body{padding:15px}.card-title{font-size:16px}.card-terms strong{font-size:20px}}
@media(max-width:680px){

  body{background-size:auto,auto 850px,auto;background-position:center top;background-attachment:scroll}
  .header{border-radius:0;box-shadow:0 6px 20px #0004}.hero{display:none}.market-sidebar{position:static;top:auto;padding:16px 12px;margin-bottom:20px;border-radius:10px;border-width:1px;background:var(--surface);box-shadow:0 7px 16px #0005}
  .market-sidebar .server-bar{margin-bottom:16px}.market-navigation{margin-bottom:0}.results-heading{padding-bottom:12px}.results h2{font-size:25px}.results-total{font-size:12px;padding:4px 7px}.listing-grid{gap:14px;padding-top:6px}
  .card-art,.card-art.cartas-mvp,.card-art.contas,.card-art.skins{height:245px;padding:46px 8px 18px}
  .category-tag{font-size:11px;padding:4px 6px;left:8px;top:12px;max-width:calc(100% - 56px)}.favorite{width:38px;height:38px;right:7px;top:8px}.card-art::before{inset:50px 15px 20px}.card-body{padding:12px}.card-title{font-size:15px}.card-context{font-size:12px}.card-subtitle{font-size:12px}.card-terms{gap:10px}.card-terms strong{font-size:18px}.card-terms button.card-offer-button{font-size:13px}.card-author{font-size:12px;padding:11px}
  .listing-card:hover,.listing-card:focus-within{transform:translateY(-3px)}
  .list-view .card-art{height:100%;min-height:260px}.list-view .listing-card::before{inset:4px}.list-view .card-art{border-radius:10px 0 0 0}.list-view .card-terms strong{font-size:17px}
}
@media(max-width:380px){.card-art,.card-art.cartas-mvp,.card-art.contas,.card-art.skins{height:340px;padding:46px 20px 20px}.list-view .card-art{height:100%;min-height:260px;padding:65px 8px 18px}}
@media(prefers-reduced-motion:reduce){.listing-card,.card-art>.game-card,.listing-card::after,.card-art::after,.primary{transition:none}.listing-card:hover,.listing-card:focus-within{transform:none}.listing-card:hover .card-art>.game-card{transform:none}.card-art::after{display:none}}

/* Slate Navy Profundo — página principal, alinhada aos cards de collection.css. */
body{background:#0c141e;color:#f8fafc}
.header{background:#0c141ef2;border-bottom:1px solid #ffffff1a;box-shadow:none}
.brand-word{color:#f8fafc;text-shadow:none}
.header .nav-link{color:#cbd5e1;font-weight:500;transition:color .2s}
.header .nav-link:hover,.header .nav-link.active{color:#fbbf24}
.header .nav-link.active::after{background:#fbbf24;box-shadow:none;height:2px}
.header .login-button{background:#1e293bcc;border:1px solid #ffffff1a;border-radius:12px;color:#e2e8f0;padding:6px 14px;box-shadow:none;gap:8px}
.header .login-button:hover{background:#334155cc;border-color:#ffffff33}
.header .login-button.is-connected::before{content:'';width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 3px #34d39933;animation:account-status 2.4s ease-in-out infinite}
@keyframes account-status{50%{box-shadow:0 0 0 5px #34d39912}}
.header .primary,.callout .primary{background:linear-gradient(105deg,#f59e0b,#f59e0b 45%,#d97706);border:1px solid #f59e0b;color:#020617;border-radius:12px;padding:9px 16px;font-weight:800;text-shadow:none;box-shadow:0 6px 20px #f59e0b26;transition:transform .2s,background .2s,box-shadow .2s}
.header .primary:hover,.callout .primary:hover{background:linear-gradient(105deg,#fbbf24,#f59e0b);color:#020617;border-color:#fbbf24;transform:translateY(-2px);box-shadow:0 8px 24px #f59e0b33}
.development-banner{width:fit-content;max-width:100%;margin:16px auto 0;padding:6px 12px;border:1px solid #f59e0b33;border-radius:999px;background:#f59e0b1a;color:#fcd34d;text-align:center;font-size:12px;line-height:1.6;box-shadow:none}
.hero{height:auto;min-height:170px;background-color:#131c27;background-image:linear-gradient(90deg,#131c27 0%,#131c27ed 36%,#131c271a 72%,#131c2766 100%),var(--scene);border:1px solid #ffffff1a;border-radius:16px;overflow:hidden;box-shadow:0 12px 28px #0006}
.hero h1{max-width:650px;color:#fcd34d;background:linear-gradient(100deg,#fef3c7,#fcd34d,#f59e0b);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:30px;font-weight:700;letter-spacing:.025em;text-shadow:none}
.hero p{color:#cbd5e1;font-size:14px;max-width:510px;line-height:1.65;text-shadow:none}
.market-sidebar{background:#131c27;border:1px solid #ffffff1a;border-radius:16px;padding:16px;box-shadow:0 8px 24px #0005}
.server-intro strong{color:#e2e8f0}.server-intro small{color:#a3b2c7}
.server-intro .icon-box{background:#182332;border-color:#ffffff1a;color:#fcd34d}
.server-tab{background:#182332;border:1px solid #ffffff0d;border-radius:12px;color:#cbd5e1;padding:8px 12px;font-size:14px;font-weight:500;box-shadow:none;transition:background .2s,border-color .2s,color .2s}
.server-tab:hover{background:#1f2d40;border-color:#ffffff26;color:#fff}
.server-tab[aria-pressed=true]{background:linear-gradient(100deg,#f59e0b33,#d9770633);border-color:#f59e0b66;color:#fcd34d;font-weight:650;box-shadow:0 1px 3px #0003}
.market-navigation-heading .section-label{color:#a3b2c7}
.market-navigation .saved-link{background:#182332;border:1px solid #ffffff1a;border-radius:12px;color:#cbd5e1}
.market-navigation .saved-link:hover,.market-navigation .saved-link[aria-pressed=true]{background:#f59e0b1a;border-color:#f59e0b66;color:#fcd34d}
.market-navigation .category-button{border:1px solid transparent;border-radius:12px;color:#cbd5e1;padding:10px 12px;font-weight:500;transition:background .2s,color .2s}
.market-navigation .category-button:hover:not([aria-pressed=true]){background:#ffffff0d;border-color:transparent;color:#fff;box-shadow:none}
.market-navigation .category-button[aria-pressed=true]{background:#0ea5e926;border-color:#0ea5e94d;color:#7dd3fc;box-shadow:none}
.market-navigation .category-button:not([data-category=""]) > .icon {
  color: #94a3b8;
  transition: color .2s;
}
.market-navigation .category-button:not([data-category=""]):is(:hover, :focus-visible) > .icon {
  color: #e2e8f0;
}
.market-navigation .category-button:not([data-category=""])[aria-pressed=true] > .icon {
  color: #fbbf24;
  filter: drop-shadow(0 0 8px #fbbf244d);
}
.market-navigation .category-button span,.market-navigation .category-button[aria-pressed=true] span,.saved-link #saved-count{background:#1e293bcc;color:#a3b2c7;border:1px solid #ffffff0d;border-radius:999px;padding:2px 7px;font:12px ui-monospace,monospace}

@media(width > 680px){
  .market-sidebar .server-tab{padding-inline:4px;font-size:12px;white-space:normal}
  .market-navigation .category-button,.market-navigation .saved-link{
    padding-inline:7px;gap:6px;white-space:normal;overflow-wrap:anywhere
  }
  .market-navigation .category-button span,.market-navigation #saved-count{
    flex:none;white-space:nowrap
  }
}
.results-heading{background:#131c27;border:1px solid #ffffff1a;border-radius:12px}
.results-heading .section-label{color:#a3b2c7}.results h2{color:#e2e8f0;text-shadow:none}.results h2>span{color:#fbbf24}
.results-total{background:#182332;border-color:#ffffff1a;border-radius:999px;color:#cbd5e1}
.intent-filter{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;padding:4px;background:#101722;border:1px solid #ffffff1a;border-radius:12px}
.intent-filter button{background:transparent;border:1px solid transparent;border-radius:8px;padding:6px 16px;color:#a3b2c7;box-shadow:none;font-size:14px;transition:color .2s,background .2s}
.intent-filter button:hover{background:#ffffff0d;color:#e2e8f0}
.intent-filter button[aria-pressed=true]{background:#1e2a3a;color:#fcd34d;font-weight:650;border-color:#ffffff1a;box-shadow:0 1px 3px #0003}
.intent-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.intent-note{display:flex;align-items:center;gap:6px;padding:6px 12px;background:transparent;border:0;border-left:1px solid #33415599;border-radius:0;color:#94a3b8;font-size:12px;user-select:none}
.sort-label select,.listing-toolbar .icon-button{background:#131c27;border:1px solid #ffffff1a;color:#e2e8f0;border-radius:12px;box-shadow:none;font-size:14px}
.sort-label select{padding:8px 14px}.sort-label select:hover,.listing-toolbar .icon-button:hover{background:#182332;border-color:#ffffff33;color:#fff}
#demo-toggle{color:#cbd5e1;white-space:nowrap}
.board-bottom{border-color:#ffffff1a;color:#a3b2c7}
.community-strip{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(100deg,#131c27,#162131,#1a1d36);border:1px solid #6366f133;border-radius:16px;padding:20px;box-shadow:0 8px 24px #0004}
.community-strip::before{content:'';position:absolute;z-index:-1;right:-40px;top:-40px;width:192px;height:192px;border-radius:50%;background:#6366f11a;filter:blur(48px);pointer-events:none}
.community-strip .note-icon{background:#5865f233;border:1px solid #5865f266;border-radius:12px;color:#94a3ff;padding:12px}
.community-strip strong{color:#fbbf24;font-size:16px}.community-strip p{color:#cbd5e1;font-size:14px}
.community-strip .text-button{color:#cbd5e1;font-size:14px;font-weight:500;transition:color .2s,transform .2s}
.community-strip .text-button:hover{color:#fff;transform:translateX(2px)}
.callout{border-color:#ffffff1a}.callout h2{color:#fde68a;font-size:26px;letter-spacing:.025em;text-transform:uppercase}.callout p{color:#cbd5e1}.callout .primary{padding:10px 20px}
.footer {
  background: #0a1018;
  border-top: 1px solid #ffffff1a;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px clamp(16px, 3vw, 44px);
  padding-top: 42px;
  padding-bottom: 92px;
}
.footer-brand { color: #e2e8f0; }
.footer-links { display: grid; justify-items: start; }
.footer-links h2 {
  margin: 0 0 6px;
  color: #fbbf24;
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer .footer-links button {
  min-height: 36px;
  margin: 0;
  padding: 5px 0;
  color: #cbd5e1;
  font-size: 14px;
  text-align: left;
}
.footer .footer-links button:hover { color: #fbbf24; }
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  border-top: 1px solid #ffffff1a;
  padding-top: 16px;
}
.footer p, .footer-year, .footer-brand small { color: #94a3b8; font-size: 12px; line-height: 1.65; }
.footer-year { text-align: left; align-self: start; }

#modal:has(.guide-dialog) {
  width: min(800px, calc(100% - 24px));
  max-height: 90dvh;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #394a60;
  border-radius: 16px;
  background: #0c141e;
  color: #e2e8f0;
}
.guide-dialog .modal-title {
  margin: 0 40px 22px 0;
  color: #fde68a;
  font-size: clamp(23px, 4vw, 30px);
}
.guide-section {
  --guide-accent: #93c5fd;
  border: 1px solid #30435a;
  border-radius: 12px;
  background: #131c27;
}
.guide-section + .guide-section {
  --guide-accent: #fcd34d;
  margin-top: 18px;
  border-color: #524430;
}
.guide-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #ffffff1a;
  color: var(--guide-accent);
  font: 700 15px/1.4 var(--serif);
}
.guide-entries { display: grid; gap: 8px; padding: 10px; }
.guide-entries details {
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  background: #18202b;
}
.guide-entries summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.45;
}
.guide-entries summary::-webkit-details-marker { display: none; }
.guide-entries summary:hover, .guide-entries summary .icon { color: var(--guide-accent); }
.guide-entries summary:focus-visible { outline: 2px solid var(--guide-accent); outline-offset: -3px; }
.guide-entries details[open] summary .icon { transform: rotate(45deg); }
.guide-entries p {
  margin: 0 12px;
  padding: 10px 0 13px;
  border-top: 1px solid #ffffff1a;
  color: #cbd5e1;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .footer { padding-top: 28px; row-gap: 22px; }
  .footer-brand, .footer > section { grid-column: 1 / -1; }
}
.floating-shortcuts {
  position: fixed;
  right: max(clamp(16px, 3vw, 24px), env(safe-area-inset-right));
  bottom: max(clamp(16px, 3vw, 24px), env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  justify-items: stretch;
  gap: 8px;
}
.floating-shortcuts button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #435168;
  border-radius: 999px;
  background: #131c27;
  color: #d0d9e5;
  font-weight: 600;
  box-shadow: 0 4px 16px #0006;
}
.floating-shortcuts button:is(:hover, :focus-visible) {
  background: #233247;
  border-color: #94a3b8;
}
.floating-shortcuts button:focus-visible { outline-color: #fcd34d; }
.floating-shortcuts .icon { width: 17px; height: 17px; stroke-width: 2; }
#floating-feedback { min-height: 38px; font-size: 13px; }
.floating-shortcuts .chat-launcher {
  min-height: 50px;
  padding-inline: 18px;
  gap: 10px;
  border-color: #f59e0b80;
  color: #fcd34d;
  font-size: 16px;
}
.floating-shortcuts .chat-launcher:is(:hover, :focus-visible) { border-color: #fbbf24; }
.floating-shortcuts .chat-launcher .icon { width: 22px; height: 22px; }
@media (pointer: coarse) {
  #floating-feedback { min-height: 44px; }
}
@media(max-width:680px){
  .market-sidebar{padding:16px 12px;background:#131c27;border-radius:16px}
  .intent-filter{flex:0 1 auto;max-width:100%}.intent-filter button{padding:6px 10px;font-size:13px}
  .sort-label select{font-size:12px;padding:8px;max-width:125px}
  .community-strip{padding:16px}.callout h2{font-size:22px}
  .development-banner{border-radius:12px}.header .login-button{padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){
  .header .login-button.is-connected::before{animation:none}
  .header .primary,.callout .primary,.chat-launcher,.community-strip .text-button{transition:none}
  .header .primary:hover,.callout .primary:hover,.chat-launcher:hover,.chat-launcher:active,.community-strip .text-button:hover{transform:none}
}

#bottom-new{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* Publicação e edição */
#modal:has(#listing-form, #close-listing-form) {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(42rem, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(16px, 4vw, 28px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  background: #131c27;
  color: #e2e8f0;
  color-scheme: dark;
  box-shadow: 0 24px 70px #000c;
}
#modal:has(#listing-form, #close-listing-form)::backdrop {
  background: #0c141ed9;
  backdrop-filter: blur(12px);
}
#modal:has(#listing-form, #close-listing-form) .modal-kicker {
  color: #fbbf24;
  font: 600 11px/1.4 ui-monospace, monospace;
  letter-spacing: .14em;
}
#modal:has(#listing-form, #close-listing-form) .modal-title {
  color: #fde68a;
  background: linear-gradient(90deg, #fef3c7, #fcd34d, #f59e0b);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 6px 40px 14px 0;
}

#listing-form .listing-basics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#listing-form .field { min-width: 0; margin: 12px 0; color: #e2e8f0; font-size: 13px; }
#listing-form .field small { color: #94a3b8; }
:is(#listing-form, #close-listing-form) :is(.field input, select, textarea) {
  min-width: 0;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  padding: 10px 12px;
  background: #0f1722;
  color: #e2e8f0;
  font-size: 14px;
}
:is(#listing-form, #close-listing-form) :is(.field input, select, textarea):focus { border-color: #f59e0b99; }
#listing-form :is(input:disabled, input[readonly], select:disabled) { color: #a5b4c6; }
.listing-server-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid #f59e0b33;
  border-radius: 12px;
  background: #f59e0b1a;
  color: #fde68a;
  font-size: 12px;
  line-height: 1.5;
}
.listing-server-notice .icon { flex: 0 0 16px; }
#listing-form :is(.price-editor, .offer-editor) { min-width: 0; }
#listing-form :is(.price-editor, .offer-editor) legend { color: #e2e8f0; font-size: 13px; }
#listing-form .price-editor { margin: 14px 0; border-color: #ffffff1a; background: #18202b; }
#listing-form .form-note { background: #18202b; color: #a5b4c6; }
#listing-form .currency-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 3px;
  padding: 4px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #0f1722;
}
#listing-form .currency-toggle::before { display: none; }
#listing-form .currency-toggle label > span {
  display: block;
  padding: 6px clamp(8px, 2vw, 15px);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
}
#listing-form .currency-toggle input:checked + span {
  background: #1e2a3a;
  border-color: #ffffff1a;
  color: #fcd34d;
}
#listing-form .offer-toggle {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  border-radius: 6px;
  background: #0b121b;
}
#listing-form .offer-toggle label {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  padding: 4px;
  border-radius: 4px;
}
#listing-form .offer-toggle label > span {
  padding: 0;
  border: 0;
  font-size: 14px;
}
#listing-form .offer-toggle label:has(input:checked) { background: #f2bf63; }
#listing-form .offer-toggle input:checked + span { background: transparent; color: #302005; }
#listing-form .offer-toggle label:has(input:focus-visible) { outline: 2px solid #fbbf24; }
#listing-form #custom-price { font: 700 18px/1.4 ui-monospace, monospace; }
#listing-form .field:has(#custom-price:disabled) { pointer-events: none; }
#listing-form #custom-price:disabled { caret-color: transparent; }
#listing-form .listing-negotiable { display: flex; align-items: center; gap: 8px; font-size: 13px; }
#listing-form .listing-negotiable input { accent-color: #f59e0b; }

#listing-form .listing-item-picker:has(.selected-item:not([hidden])) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #18202b;
}
#listing-form .listing-item-picker .selected-item:not([hidden]) {
  flex: 1 1 150px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#listing-form .listing-item-picker .selected-item > :is(img, .game-card, .skin-visual) {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  border-radius: 8px;
  background: #0006;
}
#listing-form .listing-item-picker .selected-item strong { color: #fde68a; overflow-wrap: anywhere; }
#listing-form .listing-item-picker .listing-item-chip {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #1e2a3a;
  color: #cbd5e1;
}
#listing-form .accessory-picker-trigger,
#listing-form .listing-actions .secondary {
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #ffffff0d;
  color: #cbd5e1;
}
#listing-form .listing-item-picker:has(.selected-item:not([hidden])) .accessory-picker-trigger {
  width: auto;
  padding: 6px 12px;
  font-size: 12px;
}
#listing-form .skin-set-fields { min-width: 0; }
#listing-form #skin-set-original[hidden] { display: none; }
#skin-set-selection:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0;
}
#listing-form #skin-set-summary { margin: 0; padding: 0; border: 0; background: transparent; }
#listing-form #skin-select-all {
  min-height: 36px;
  padding: 6px 10px;
  border-color: #ffffff26;
  background: #1e2a3a;
  color: #fcd34d;
}
#listing-form #skin-select-all:not(:disabled):hover { background: #29384b; }
#skin-set-parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 8px;
}
#listing-form .skin-set-part {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #18202b;
}
#listing-form .skin-set-part:has(input:checked) {
  border-color: #f2bf63;
  background: #272725;
}
#listing-form .skin-set-part:focus-within { outline: 2px solid #fbbf24; }
.skin-part-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
}
.skin-part-tile:has(input:disabled) { cursor: default; }
.skin-part-tile input { margin: 0; accent-color: #f2bf63; }
.skin-part-slot { color: #a5b4c6; font-size: 12px; }
.skin-part-art, .skin-part-tile strong { grid-column: 1 / -1; text-align: center; }
.skin-part-art {
  display: grid;
  place-items: center;
  height: 68px;
  padding: 5px;
  border-radius: 8px;
  background: #0f1722;
}
.skin-part-art > :is(img, svg) { width: 100%; height: 58px; object-fit: contain; }
.skin-part-tile strong { font-size: 13px; overflow-wrap: anywhere; }
#listing-form .skin-set-part select { width: calc(100% - 20px); margin: 0 10px 10px; }
#listing-form .skin-set-part select:disabled { opacity: .6; }
#listing-form .listing-dropzone {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px dashed #ffffff33;
  border-radius: 12px;
  background: #ffffff05;
  color: #a5b4c6;
  text-align: center;
  font-size: 12px;
}
#listing-form .listing-dropzone strong { color: #e2e8f0; }
#listing-form .listing-dropzone input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
#listing-form .listing-dropzone:hover,
#listing-form .accessory-picker-trigger:hover,
#listing-form .listing-actions .secondary:hover { background: #ffffff1a; }
#listing-form .listing-dropzone:focus-within,
#modal:has(#listing-form) button:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }

#modal:has(#feedback-form) {
  width: min(42rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid #ffffff22;
  border-radius: 1rem;
  background: #0c141e;
  color: #eef2f7;
}
#modal:has(#feedback-form)::backdrop { background: #03070cdb; backdrop-filter: blur(5px); }
#modal:has(#feedback-form) #modal-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 1.5rem - 2px);
}
#feedback-form { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
#modal:has(#feedback-form) :focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.feedback-header {
  padding: 1.25rem 3.5rem 1rem 1.25rem;
  border-bottom: 1px solid #ffffff12;
  background: radial-gradient(ellipse at top right, #fbbf2410, transparent 65%);
}
.feedback-header .modal-kicker { color: #fbbf24; }
.feedback-header .modal-title { margin: .3rem 0 0; color: #f8fafc; }

#modal:has(.share-modal) {
  width: min(512px, calc(100% - 24px));
  background: #0c141e;
  color: #f8fafc;
  border: 1px solid #354358;
  border-radius: 16px;
}
#modal:has(.share-modal)::backdrop { background: #03070cdb; backdrop-filter: blur(5px); }
#modal:has(.share-modal) #modal-content { padding: clamp(16px, 4vw, 26px); }
#modal:has(.share-modal) :focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.share-modal .modal-title { margin: 0 40px 16px 0; color: #f8fafc; font-size: clamp(18px, 4vw, 25px); }
#share-status { margin: 0; font-size: 12px; }
#share-status:not(:empty) { margin-bottom: 14px; padding: 8px 12px; border: 1px solid; border-radius: 8px; }
#share-status[data-state="success"] { color: #a7f3d0; background: #102923; border-color: #275446; }
#share-status[data-state="error"] { color: #fde68a; background: #30251a; border-color: #66512b; }
.share-label { display: block; margin: 0 0 6px; color: #c4d1e2; font-size: 12px; font-weight: 700; }
.share-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px;
  background: #131c27;
  border: 1px solid #263448;
  border-radius: 10px;
}
.share-product {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: #0c141e;
  color: #fde68a;
}
.share-product > :is(.listing-image, .game-card, .account-class-visual, .skin-visual) { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.share-product .account-class-visual .account-class-portrait { width: 100%; height: 100%; padding: 0; }
.share-product .account-class-badge { display: none; }
.share-product .skin-visual { padding: 0; gap: 2px; }
.share-product .skin-visual .icon { max-width: 100%; max-height: 100%; }
.share-product .art-icon { width: 30px; height: 30px; }
.share-summary { min-width: 0; overflow-wrap: anywhere; }
.share-summary > strong { color: #f8fafc; font-size: 14px; }
.share-summary p { margin: 3px 0 0; color: #d2dbe8; font-size: 12px; }
.share-summary b { color: #fde68a; }
.share-message-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
.share-message-heading .share-label { margin: 0; }
#share-copy-text { min-height: 32px; color: #fde68a; }
.share-modal textarea {
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  resize: vertical;
  background: #18202b;
  border: 1px solid #354358;
  border-radius: 8px;
  color: #f8fafc;
  font: 12px/1.55 ui-monospace, monospace;
}
.share-modal textarea { field-sizing: content; min-height: calc(4lh + 20px); }
#share-text { display: block; margin-bottom: 16px; resize: none; }
.share-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.share-actions > :is(a, button) {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.share-actions > :is(a, button):hover { filter: brightness(1.2); }
.share-actions > a { color: #a7f3d0; background: #163b2e; border-color: #2c634d; }
#share-discord { color: #d6dcff; background: #30385f; border-color: #4d588b; }
#share-device { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 5px; color: #e2e8f0; background: #18202b; border-color: #354358; }
#share-device .icon { width: 14px; height: 14px; }
#share-manual { margin-top: 12px; color: #c4d1e2; }
.feedback-body { display: grid; align-content: start; gap: 1rem; padding: 1rem 1.25rem; overflow-y: auto; }
.feedback-types { border: 0; padding: 0; margin: 0; min-width: 0; }
.feedback-types legend, .feedback-row label, .feedback-row h3 {
  margin: 0;
  color: #e2e8f0;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.feedback-types legend { margin-bottom: .5rem; }
.feedback-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.feedback-card {
  --feedback-accent: #fbbf24;
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .25rem;
  padding: .7rem;
  border: 1px solid #ffffff1a;
  border-radius: .75rem;
  background: #131c27;
  cursor: pointer;
}
.feedback-card[data-kind="bug"] { --feedback-accent: #fda4af; }
.feedback-card[data-kind="report"] { --feedback-accent: #67e8f9; }
.feedback-card:hover, .feedback-dropzone:hover { border-color: #ffffff55; }
.feedback-card:has(input:checked) {
  border-color: var(--feedback-accent);
  background: color-mix(in srgb, var(--feedback-accent) 10%, #131c27);
}
.feedback-card:has(input:focus-visible) { outline: 2px solid #fbbf24; outline-offset: 2px; }
.feedback-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-card-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .45rem;
  color: #b6c3d4;
  background: #ffffff0d;
}
.feedback-card:has(input:checked) .feedback-card-icon { color: var(--feedback-accent); }
.feedback-card strong, .feedback-dropzone strong { font-size: .85rem; }
.feedback-body small { display: block; color: #b6c3d4; font-size: .75rem; line-height: 1.4; }
.feedback-row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .45rem; }
.feedback-row > span { color: #f4ca69; font-size: .75rem; text-align: right; white-space: nowrap; }
.feedback-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-bottom: .45rem; color: #b6c3d4; font-size: .75rem; }
.feedback-tags button, .feedback-browse {
  padding: .3rem .55rem;
  border: 1px solid #ffffff1a;
  border-radius: .4rem;
  color: #e2e8f0;
  background: #ffffff0d;
}
.feedback-tags button:hover { background: #ffffff1c; }
.feedback-tags button:disabled { opacity: .5; }
#feedback-message {
  display: block;
  width: 100%;
  padding: .65rem .75rem;
  resize: vertical;
  border: 1px solid #ffffff24;
  border-radius: .65rem;
  background: #131c27;
  color: #eef2f7;
}
#feedback-message::placeholder { color: #a0aec1; }
.feedback-dropzone {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .65rem;
  border: 1px dashed #ffffff40;
  border-radius: .75rem;
  text-align: left;
  background: #131c27;
  color: #eef2f7;
}
.feedback-dropzone .feedback-card-icon { color: #fbbf24; }
.feedback-dropzone.is-dragging { border-color: #67e8f9; background: #173346; }
.feedback-browse { font-size: .75rem; text-align: center; }
#feedback-image-previews:not(:empty) { margin-top: .6rem; }
#feedback-error { margin: 0; color: #fda4af; }
.feedback-identity {
  padding: .6rem .75rem;
  border: 1px solid #ffffff12;
  border-radius: .65rem;
  background: #091018;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.feedback-identity strong::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .45rem; border-radius: 50%; background: #34d399; }
.feedback-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  padding: .75rem 1.25rem;
  border-top: 1px solid #ffffff12;
  background: #080d14;
  color: #b6c3d4;
  font-size: .75rem;
}
.feedback-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.feedback-actions .primary { background: linear-gradient(110deg, #fbbf24, #d99016); color: #101419; }
.feedback-actions .primary:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 480px) {
  .feedback-cards { grid-template-columns: 1fr; }
  .feedback-card { grid-template-columns: auto 1fr; align-items: center; column-gap: .6rem; }
  .feedback-card-icon { grid-row: span 2; }
  .feedback-dropzone { grid-template-columns: auto 1fr; }
  .feedback-browse { grid-column: 2; justify-self: start; }
}

#listing-form .listing-actions {
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ffffff1a;
}
#listing-form .listing-actions button { padding: 10px 16px; font-size: 14px; font-weight: 700; }
#listing-form .listing-actions .primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #07111c;
  box-shadow: 0 6px 20px #f59e0b33;
  transition: transform .15s, background .15s;
}
#listing-form .listing-actions .primary:not(:disabled):hover { background: linear-gradient(90deg, #fbbf24, #f59e0b); transform: scale(1.02); }
#listing-form .listing-actions .primary:not(:disabled):active { transform: scale(.95); }

@media (max-width: 639px) {
  #listing-form .listing-basics { grid-template-columns: 1fr; gap: 0; }
  #listing-form .currency-toggle { display: flex; width: 100%; }
  #listing-form .currency-toggle:not(.offer-toggle) label { flex: 1 0 auto; }
}

.money-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
}
.money-fields[hidden] { display: none; }
.money-fields > .field { min-width: 0; }
.currency-picker { position: relative; }
.currency-picker[open] { z-index: 2; }
.currency-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  background: #1e2732;
  color: #e2e8f0;
  cursor: pointer;
}
.currency-picker summary::after {
  content: '';
  flex: 0 0 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.currency-picker[open] summary::after { transform: translateY(2px) rotate(225deg); }
.currency-picker summary:focus-visible,
.currency-results button:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.currency-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: max(100%, 240px);
  padding: 8px;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  background: #131c27;
  box-shadow: 0 8px 20px #0008;
}
.currency-opens-above .currency-options { top: auto; bottom: calc(100% + 4px); }
.currency-results {
  max-height: min(200px, 30dvh, var(--currency-space, 200px));
  overflow: auto;
  overscroll-behavior: contain;
}
.currency-results button {
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #e2e8f0;
  text-align: left;
}
.currency-results button:hover,
.currency-results button[aria-pressed="true"] { background: #233043; color: #fcd34d; }
.currency-flag { width: 18px; height: 12px; border-radius: 2px; vertical-align: -1px; }
@media (max-width: 460px) {
  .money-fields { grid-template-columns: 1fr; }
  .currency-options { width: 100%; }
}

.listing-view-toggle {
  display: inline-flex;
  flex: none;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  background: #131c27;
}
.listing-view-toggle button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a5b5ca;
  cursor: pointer;
}
.listing-view-toggle button:first-child { border-radius: 9px 0 0 9px; }
.listing-view-toggle button:last-child { border-radius: 0 9px 9px 0; }
.listing-view-toggle button + button { border-inline-start: 1px solid #ffffff1a; }
.listing-view-toggle button:hover { background: #202d40; color: #f1f5f9; }
.listing-view-toggle button[aria-pressed=true] { background: #dca64c; color: #231905; }
.listing-view-toggle button:focus-visible { position: relative; z-index: 1; outline: 2px solid #fcd58a; outline-offset: 2px; }
.listing-view-toggle .icon { width: 17px; height: 17px; }

.language-picker {
  position: relative;
  flex: none;
}
.language-picker:focus-within,
.language-picker:has(.language-options:not([hidden])) { z-index: 50; }
.language-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  background: #141d28;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  user-select: none;
  transition: background .2s, border-color .2s, color .2s;
}
.language-trigger:hover,
.language-trigger[aria-expanded=true] {
  background: #1a2533;
  border-color: #fbbf2466;
  color: #fff;
}
.language-trigger .icon { width: 16px; height: 16px; color: #94a3b8; }
.language-trigger .language-chevron { width: 14px; height: 14px; transition: transform .2s; }
.language-trigger[aria-expanded=true] .language-chevron { color: #fbbf24; transform: rotate(180deg); }
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 192px;
  padding: 6px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #0d1520f2;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px #000e;
  transform-origin: top right;
  animation: language-options-in .15s ease-out;
}
@keyframes language-options-in {
  from { opacity: 0; transform: scale(.95); }
}
.language-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.language-options button + button { margin-top: 2px; }
.language-options button:hover { background: #ffffff0d; color: #f1f5f9; }
.language-options button[aria-pressed=true] {
  padding-left: 10px;
  border-left: 2px solid #fbbf24;
  background: #f59e0b26;
  color: #fcd34d;
  font-weight: 600;
}
.language-options .language-code { font: 10px ui-monospace, monospace; }
.language-options .language-check { display: none; width: 16px; height: 16px; color: #fbbf24; }
.language-options [aria-pressed=true] .language-code { display: none; }
.language-options [aria-pressed=true] .language-check { display: block; }
.language-picker button:focus-visible {
  outline: 2px solid #fcd58a;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .language-options { animation: none; }
  .language-picker button, .language-trigger .language-chevron { transition: none; }
}

@media (max-width: 420px) {
  .header .language-picker { order: -1; margin-left: auto; }
  .header .brand { order: -2; }
}

/* Mini-dashboard do proprietário. */
.my-listings .results-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 16px;
  background: radial-gradient(ellipse at top right, rgb(245 158 11 / 7%), transparent 52%), #101722;
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
}
.my-listings .results-heading .section-label {
  color: #f5c657;
  font: 600 11px ui-monospace, monospace;
  letter-spacing: .09em;
}
.my-listings .results-heading h2 { font-size: clamp(24px, 3vw, 36px); color: #f8fafc; }
#mine-description { max-width: 48ch; margin: 8px 0 0; color: #a3b2c7; font-size: 14px; line-height: 1.5; }
.my-listings .results-total, .my-listings .intent-control, .my-listings .board-bottom { display: none; }
.mine-dashboard { display: grid; gap: 10px; }
.mine-dashboard[hidden], .mine-tabs[hidden], #mine-clear[hidden] { display: none; }
.mine-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.mine-metric { padding: 12px; border: 1px solid var(--mine-status-color); border-radius: 4px; background: #18202b; }
.mine-metric dt { color: #b4a38b; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.mine-metric dd { margin: 4px 0 0; color: #ffb54a; font-size: 16px; font-weight: 700; }
.mine-create { justify-self: end; white-space: nowrap; }
.my-listings .listing-toolbar {
  margin: 0 0 8px;
  padding: 10px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #0e1622;
  box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
}
.mine-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid #ffffff0d; border-radius: 10px; background: #0a1019; }
.mine-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #a3b2c7;
  font: 600 12px var(--sans);
  cursor: pointer;
}
.mine-tabs button:hover { background: #ffffff0d; color: #f8fafc; }
.mine-tabs button[aria-pressed="true"] { border-color: #fbbf2466; background: #fbbf2433; color: #fcd34d; }
.mine-tabs button:focus-visible { outline: 2px solid #fcd34d; outline-offset: 2px; }
:is([data-mine-status], [data-metric-status]) { --mine-status-color: #94a3b8; }
:is([data-mine-status="active"], [data-metric-status="active"]) { --mine-status-color: #34d399; }
:is([data-mine-status="expired"], [data-metric-status="expired"]) { --mine-status-color: #fbbf24; }
.mine-status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--mine-status-color); }
.mine-tab-count { font: 11px ui-monospace, monospace; }
.my-listings .listing-toolbar select { background: #141d29; border-color: #ffffff1a; border-radius: 8px; color: #e2e8f0; font-size: 12px; }
@media (max-width: 1000px) {
  .my-listings .results-heading { grid-template-columns: minmax(0, 1fr); }
  .my-listings .listing-toolbar .listing-controls { justify-content: start; margin-left: 0; }
}
@media (max-width: 540px) {
  .mine-metrics, .mine-create, .mine-tabs { width: 100%; }
  .mine-tabs button { flex: 1 1 auto; }
  .mine-metric { padding-inline: 8px; }
  .my-listings .listing-toolbar select { max-width: 100%; }
}

.close-outcomes { min-inline-size: 0; margin: 16px 0 12px; padding: 0; border: 0; }
.close-outcomes legend { margin-bottom: 8px; color: #e2e8f0; font-weight: 600; }
.close-outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.close-outcome { position: relative; display: flex; cursor: pointer; }
.close-outcome-card {
  display: grid;
  align-content: start;
  flex: 1;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  background: #141d29;
  color: #f8fafc;
}
.close-outcome-card small { color: #a3b2c7; overflow-wrap: anywhere; }
.close-outcome:hover .close-outcome-card { border-color: #ffffff55; }
.close-outcome input[value="sold"] { --outcome-accent: #fbbf24; }
.close-outcome input[value="traded"] { --outcome-accent: #22d3ee; }
.close-outcome input[value="cancelled"] { --outcome-accent: #94a3b8; }
.close-outcome input:checked + .close-outcome-card {
  border-color: var(--outcome-accent);
  background: color-mix(in srgb, var(--outcome-accent) 12%, #141d29);
}
.close-outcome input:focus-visible + .close-outcome-card { outline: 2px solid #f8fafc; outline-offset: 2px; }
.close-outcome-panel { padding: 10px 12px; border: 1px solid #ffffff18; border-radius: 12px; background: #0f1722; }
.close-outcome-panel .switch-option { margin: 0; color: #e2e8f0; }
.close-outcome-panel .field { margin: 0; color: #e2e8f0; }
.close-outcome-panel .money-fields { margin-top: 6px; padding-top: 10px; border-top: 1px solid #ffffff18; }
#sale-price-privacy { margin: 10px 0 0; }
.owner-card-note { overflow-wrap: anywhere; }

#modal:has(.discord-login) {
  width: min(576px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #ffffff20;
  border-radius: 18px;
  background: radial-gradient(ellipse at top right, #fbbf2411, transparent 48%), #0c141e;
  color: #f8fafc;
  box-shadow: 0 24px 80px #000a;
  overflow-y: auto;
}
#modal:has(.discord-login)::backdrop { background: #03070cdb; backdrop-filter: blur(8px); }
#modal:has(.discord-login) #modal-content { padding: clamp(16px, 4vw, 26px); }
#modal:has(.discord-login) .modal-close {
  border-radius: 10px;
  background: #ffffff0d;
  color: #cbd5e1;
}
#modal:has(.discord-login) .modal-close:hover { background: #ffffff1a; color: #fff; }
#modal:has(.discord-login) :focus-visible { outline: 2px solid #fbbf24; outline-offset: 3px; }
.discord-login-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 42px;
  color: #fcd34d;
  font: 700 .75rem/1.3 monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.discord-login .modal-title {
  margin: 12px 0 8px;
  color: #f8fafc;
  font: 700 clamp(1.4rem, 4.5vw, 1.9rem)/1.2 Cinzel, serif;
  letter-spacing: normal;
}
.discord-login .modal-title span { color: #fbbf24; }
.discord-login-intro,
.discord-login-pillars p,
.discord-login-unavailable { margin: 0; color: #cbd5e1; font-size: .8125rem; line-height: 1.5; }
.discord-login-pillars {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 12px;
  padding: 0;
}
.discord-login-pillars li {
  padding: 12px;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  background: #131c27;
}
.discord-login-pillars strong { display: block; margin: 6px 0 3px; font-size: .875rem; }
.discord-login-icon {
  --pillar-color: #fcd34d;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--pillar-color) 25%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--pillar-color) 10%, transparent);
  color: var(--pillar-color);
}
.discord-login-pillars li:nth-child(2) .discord-login-icon { --pillar-color: #67e8f9; }
.discord-login-pillars li:nth-child(3) .discord-login-icon { --pillar-color: #fda4af; }
.discord-login-auth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 12px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  background: #091018;
  color: #cbd5e1;
  font: .75rem/1.4 monospace;
}
.discord-login-auth span { display: inline-flex; align-items: center; gap: 6px; }
.discord-login-auth .icon { color: #fbbf24; }
.discord-login-badge { color: #6ee7b7; font-weight: 700; }
.discord-login-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.discord-login-actions { display: grid; gap: 8px; margin-top: 14px; text-align: center; }
.discord-login .discord-login-cta {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(100deg, #fbbf24, #f59e0b);
  color: #0c141e;
  text-decoration: none;
}
.discord-login .discord-login-cta:hover { background: linear-gradient(100deg, #fcd34d, #fbbf24); }
.discord-login-cta .icon { flex: none; }
.discord-login-guest {
  justify-self: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  font-size: .8125rem;
}
.discord-login-guest:hover { color: #fff; text-decoration: underline; }
@media (min-width: 640px) {
  .discord-login-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .close-outcome-grid { grid-template-columns: minmax(0, 1fr); }
  .close-outcome-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
  .close-outcome-card small { grid-column: 2; }
}
