/*
Theme Name: Patrick Spins Official
Theme URI: https://example.com/
Author: Patrick Spins Official
Author URI: https://example.com/
Description: Patrick Spins Official WordPress theme with casino UX components and reviews.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patrick-spins
Tags: one-column, custom-menu, featured-images, accessibility-ready, responsive-layout
*/

:root{
  --pspn-bg:#071a2a;
  --pspn-bg2:#0b263d;
  --pspn-text:#f4f7fb;
  --pspn-login:#c9ff3b;
  --pspn-signup:#ff6b4a;
  --pspn-font-scale:1.0;
  --pspn-muted:#a9c2d8;
  --pspn-card:#082033;
  --pspn-border:rgba(255,255,255,.12);
  --pspn-radius:22px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:linear-gradient(180deg,var(--pspn-bg), #040d15 60%, #040d15);
  color:var(--pspn-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: calc(16px * var(--pspn-font-scale));
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.pspn-wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.pspn-site-header{
  position:sticky;top:0;z-index:999;
  background:linear-gradient(180deg, rgba(2,24,39,.92), rgba(2,24,39,.78));
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--pspn-border);
}
.pspn-topbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 0;
}
.pspn-brand{
  display:flex;align-items:center;gap:10px;min-width:0;
}
.pspn-brand-mark{
  width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,#2aa8ff,#5d7bff);
  box-shadow: 0 10px 30px rgba(42,168,255,.18);
}
.pspn-brand-name{
  font-weight:700;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.pspn-authbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.pspn-authbar button{
  border:0;cursor:pointer;font-weight:700;
  padding:10px 18px;border-radius:16px;
  min-width:108px;
  transition: transform .08s ease, filter .15s ease;
}
.pspn-authbar button:active{transform:scale(.98)}
/* Style by role so class names can be fully customized */
.pspn-authbar button[data-pspn-role="login"]{
  background: var(--pspn-login);
  color:#031b2a;
}
.pspn-authbar button[data-pspn-role="signup"]{
  background: var(--pspn-signup);
  color:#031b2a;
}


.pspn-primary-nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:0;
}

.pspn-menu-toggle{
  display:none;
  border:1px solid var(--pspn-border);
  background:transparent;
  color:var(--pspn-text);
  border-radius:14px;
  padding:8px 12px;
  cursor:pointer;
}

.pspn-primary-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}

.pspn-primary-menu a{
  display:inline-block;
  padding:8px 10px;
  border-radius:12px;
  color:var(--pspn-text);
}
.pspn-primary-menu a:hover{
  background:rgba(255,255,255,.06);
  text-decoration:none;
}

/* Logo sizing: keep requested attributes for performance, scale visually */
.pspn-logo img.custom-logo{
  height:auto;
  max-height:46px;
  width:auto;
  display:block;
}

.pspn-main{padding:22px 0 38px}
.pspn-card{
  background: linear-gradient(180deg, rgba(6,34,53,.9), rgba(4,26,41,.92));
  border:1px solid var(--pspn-border);
  border-radius:22px;
  padding:16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.pspn-content img{max-width:100%;height:auto;border-radius:16px}

.pspn-footer{
  border-top:1px solid var(--pspn-border);
  padding:26px 0 34px;
  color:var(--pspn-muted);
}
.pspn-footer a{color:var(--pspn-muted)}
.pspn-footer .pspn-footer-row{
  display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:space-between;
}
.pspn-footer-menu a{padding:6px 8px;border-radius:10px}
.pspn-footer-menu a:hover{background:rgba(255,255,255,.06);text-decoration:none}









/* Gutenberg table wrapper support */
.pspn-content .wp-block-table{margin:16px 0 22px;}
.pspn-content .wp-block-table table{width:100%;}

/* ===== Footer widgets ===== */
.pspn-footer-widgets{
  margin: 0 0 18px;
}
.pspn-footer-widgets-grid{
  display:flex;
  flex-direction: column; /* keep current mobile stack */
  gap: 16px;
}
@media (min-width: 821px){
  .pspn-footer-widgets-grid{
    flex-direction: row; /* row on desktop */
    align-items:flex-start;
    gap: 22px;
  }
}
.pspn-footer-widget-col{
  flex: 1 1 0;
  min-width: 0;
}

/* Default WP widget styling in footer */
.pspn-footer .widget{
  margin:0;
  padding: 14px 16px;
  border:1px solid var(--pspn-border);
  background: rgba(255,255,255,.02);
  border-radius: var(--pspn-radius);
}
.pspn-footer .widget-title{
  margin: 0 0 10px;
  font-weight: 900;
  color: var(--pspn-text);
  font-size: 1.05em;
}
.pspn-footer .widget ul{
  list-style:none;
  margin:0;
  padding:0;
}
.pspn-footer .widget li{
  margin: 8px 0;
}
.pspn-footer .widget a{
  color: var(--pspn-muted);
  text-decoration:none;
}
.pspn-footer .widget a:hover{
  text-decoration:underline;
  color: var(--pspn-text);
}

/* ===== Mobile menu (standard UX) ===== */
.pspn-menu-toggle{
  display:none;
  width:44px;
  height:40px;
  border:0;
  background:transparent;
  color:var(--pspn-text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  padding:0;
}
.pspn-burger-svg{display:block}

.pspn-primary-nav{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
.pspn-primary-menu{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:center}
.pspn-primary-menu a{display:inline-block;padding:8px 10px;border-radius:12px;color:var(--pspn-text)}
.pspn-primary-menu a:hover{background:rgba(255,255,255,.06);text-decoration:none}

.pspn-offcanvas, .pspn-overlay{display:none}
html.pspn-noscroll, body.pspn-noscroll{overflow:hidden}

@media (max-width: 820px){
  .pspn-topbar{flex-wrap:wrap;align-items:center;position:relative}

  /* burger left, logo center */
  .pspn-menu-toggle{display:inline-flex;order:1}
  .pspn-brand{order:2;flex:1;display:flex;justify-content:center}

  /* hide desktop menu */
  .pspn-primary-nav{display:none}

  /* buttons below */
  .pspn-authbar{order:3;width:100%;justify-content:center;margin-top:12px;gap:14px}
  .pspn-authbar button{
    min-width:140px;
    padding:12px 16px;
    border-radius:999px;
    font-weight:700;
    letter-spacing:.2px;
  }
  .pspn-authbar button[data-pspn-role="login"]{
    background: var(--pspn-login);
    color: #0b0613;
    border:0;
  }
  .pspn-authbar button[data-pspn-role="signup"]{
    background: var(--pspn-signup);
    color: #0b0613;
    border:0;
  }

  /* overlay + slide-in panel over content */
  .pspn-offcanvas, .pspn-overlay{display:block}
  .pspn-overlay{
    position:fixed;inset:0;
    background:rgba(0,0,0,.55);
    z-index:1990;
  }
  .pspn-overlay[hidden]{display:none}

  .pspn-offcanvas{
    position:fixed;
    top:0;left:0;
    height:100vh;
    width:min(360px, 86vw);
    background: rgba(2, 20, 32, .98);
    border-right:1px solid var(--pspn-border);
    box-shadow: 18px 0 50px rgba(0,0,0,.45);
    transform: translateX(-102%);
    transition: transform .22s ease;
    z-index:2000;
    padding:16px 16px 18px;
  }
  .pspn-offcanvas.is-open{transform:translateX(0)}

  .pspn-offcanvas-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
  .pspn-offcanvas-brand{display:flex;align-items:center;gap:10px;min-width:0}
  .pspn-offcanvas-brand img.custom-logo{max-height:34px;width:auto;height:auto;display:block}
  .pspn-offcanvas-title{font-weight:800;letter-spacing:.4px}

  .pspn-offcanvas-close{
    width:44px;height:44px;border-radius:999px;border:0;
    background: var(--pspn-login);
    color:#101418;
    cursor:pointer;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:20px;line-height:1;
  }

  .pspn-offcanvas-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
  .pspn-offcanvas-actions button{
    width:100%;
    padding:14px 16px;
    border-radius:999px;
    font-weight:800;
  }
  .pspn-offcanvas-actions button[data-pspn-role="login"]{
    background: var(--pspn-login);
    color:#0a0f14;
    border:0;
  }
  .pspn-offcanvas-actions button[data-pspn-role="signup"]{
    background: var(--pspn-signup);
    color:#0a0f14;
    border:0;
  }

  .pspn-offcanvas-menu{
    list-style:none !important;
    margin:0;padding:0;
    display:flex;flex-direction:column;
    gap:10px;
  }
  .pspn-offcanvas-menu a{
    display:block;width:100%;
    padding:14px 16px;
    border-radius:18px;
    background: rgba(255,255,255,.12);
    color: var(--pspn-text);
    font-weight:700;
  }
  .pspn-offcanvas-menu a:hover{text-decoration:none;background:rgba(255,255,255,.16)}
}



/* Offcanvas UX adjustments: logo full width on top, close button overlay */
@media (max-width: 820px){
  .pspn-offcanvas{padding-top:18px; position:fixed;}
  .pspn-offcanvas-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:1;
  }

  .pspn-offcanvas-brand{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:8px 0 16px;
    padding:0 44px; /* keep space so close button never overlaps logo */
  }
  .pspn-offcanvas-brand img.custom-logo{
    width:100%;
    max-width: 260px; /* wide but not stretched */
    height:auto;
    max-height:44px;
    object-fit:contain;
  }
  .pspn-offcanvas-title{
    width:100%;
    text-align:center;
    font-weight:900;
    letter-spacing:.6px;
    font-size:18px;
  }

  .pspn-offcanvas-actions{
    margin-top:0;
    margin-bottom:18px;
  }

  /* Menu items as clean sequential pills */
  .pspn-offcanvas-menu{
    gap:12px;
  }
  .pspn-offcanvas-menu a{
    border-radius: 22px;
    background: rgba(255,255,255,.12);
  }
}



/* Desktop dropdown submenu (standard) */
.pspn-primary-menu li{position:relative}
.pspn-primary-menu .sub-menu{
  list-style:none;
  margin:0;
  padding:10px;
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background: rgba(2, 20, 32, .98);
  border:1px solid var(--pspn-border);
  border-radius:14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  z-index:50;
}
.pspn-primary-menu li:hover > .sub-menu,
.pspn-primary-menu li:focus-within > .sub-menu{display:block}
.pspn-primary-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
}
.pspn-primary-menu .sub-menu a:hover{background:rgba(255,255,255,.08)}

/* Offcanvas nested submenu: show as indented list under parent */
@media (max-width: 820px){
  .pspn-offcanvas-menu .sub-menu{
    list-style:none;
    margin:10px 0 0;
    padding:0 0 0 14px;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .pspn-offcanvas-menu .sub-menu a{
    background: rgba(255,255,255,.10);
    border-radius:18px;
    padding:12px 14px;
    font-weight:650;
  }
}



/* Mobile submenu dropdown (off-canvas) */
@media (max-width: 820px){
  #pspn-offcanvas-menu li{position:relative}
  #pspn-offcanvas-menu > li > a{padding-right:62px}

  #pspn-offcanvas-menu button[data-pspn-subtoggle]{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:0;
    border-radius:999px;
    background: rgba(255,255,255,.18);
    color: var(--pspn-text);
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  #pspn-offcanvas-menu button[data-pspn-subtoggle] svg{
    transition: transform .18s ease;
  }
  #pspn-offcanvas-menu button[data-pspn-subtoggle][aria-expanded="true"] svg{
    transform: rotate(180deg);
  }

  /* hidden handled by [hidden] attribute, but keep spacing */
  #pspn-offcanvas-menu .sub-menu{
    list-style:none;
    margin:10px 0 0;
    padding:0 0 0 14px;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  #pspn-offcanvas-menu .sub-menu[hidden]{display:none}

  #pspn-offcanvas-menu .sub-menu a{
    background: rgba(255,255,255,.10);
    border-radius:18px;
    padding:12px 14px;
    font-weight:650;
  }
}


/* Banner defaults (theme-neutral) */
.pspn-banner-wrap{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--pspn-border, rgba(255,255,255,.12));
  background: rgba(0,0,0,.15);
}
.pspn-banner-img{display:block;width:100%;height:auto}
.pspn-banner-layer{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  pointer-events:none;
}
.pspn-banner-box{
  pointer-events:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:18px;
  background: rgba(2,20,32,.72);
  backdrop-filter: blur(6px);
  text-align:center;
}
.pspn-banner-text{font-weight:800;letter-spacing:.2px}
.pspn-banner-cta{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  background: var(--pspn-signup, #ffd05a);
  color:#0a0f14;
}


/* =========================
   Universal tables (Patrick Spins)
   ========================= */

/* Prevent accidental horizontal page scroll while keeping inner scrollers usable */
html, body{overflow-x:hidden}

/* Each table is wrapped by JS into a horizontal scroller on mobile */
[data-pspn-table-scroll="1"]{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius: var(--pspn-radius);
  border: 1px solid var(--pspn-border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  margin: 18px 0 26px;
}

/* Optional subtle scroll hint */
[data-pspn-table-scroll="1"]::after{
  content:"";
  display:block;
  height:0;
}

/* Table base */
.pspn-content article table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px; /* forces horizontal scroll on mobile for wide tables */
  color: var(--pspn-text);
  font-size: 0.98em;
}

@media (min-width: 821px){
  .pspn-content article table{min-width:100%;}
}

.pspn-content article caption{
  caption-side: top;
  text-align:left;
  padding: 10px 12px 12px;
  color: var(--pspn-muted);
  font-weight: 700;
}

.pspn-content article th,
.pspn-content article td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--pspn-border);
  border-right: 1px solid var(--pspn-border);
  vertical-align: top;
  white-space: normal;
}

.pspn-content article tr > *:last-child{
  border-right: 0;
}

/* Header row */
.pspn-content article thead th{
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,47,72,.92), rgba(6,34,53,.92));
  color: var(--pspn-text);
  font-weight: 900;
  letter-spacing: .2px;
  border-bottom: 1px solid var(--pspn-border);
}

/* Rounded corners for header */
.pspn-content article thead th:first-child{
  border-top-left-radius: calc(var(--pspn-radius) - 6px);
}
.pspn-content article thead th:last-child{
  border-top-right-radius: calc(var(--pspn-radius) - 6px);
}

/* Rows */
.pspn-content article tbody tr:nth-child(odd){
  background: rgba(255,255,255,.015);
}
.pspn-content article tbody tr:nth-child(even){
  background: rgba(255,255,255,.03);
}
.pspn-content article tbody tr:hover{
  background: rgba(109,178,255,.10);
}

/* Links inside tables */
.pspn-content article table a{
  color: var(--pspn-login);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pspn-content article table a:hover{
  opacity: .92;
}

/* Mobile density */
@media (max-width: 480px){
  .pspn-content article table{font-size: 0.95em;}
  .pspn-content article th,
  .pspn-content article td{padding: 10px 12px;}
}


/* =========================
   TOC (Quick navigation)
   ========================= */

[data-pspn-toc="1"]{
  border: 1px solid var(--pspn-border);
  background: var(--pspn-card);
  border-radius: var(--pspn-radius);
  padding: 14px 16px;
  margin: 14px 0 22px;
}

[data-pspn-toc-title="1"]{
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--pspn-text);
}

[data-pspn-toc="1"] ol{
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-pspn-toc="1"] li{
  margin: 8px 0;
  padding: 0;
}

[data-pspn-toc="1"] li[data-level="3"]{
  padding-left: 14px;
  opacity: .95;
}

[data-pspn-toc="1"] a{
  display: inline-block;
  color: var(--pspn-text);
  opacity: .92;
  text-decoration: none;
}

[data-pspn-toc="1"] a:hover{
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 820px){
  .pspn-offcanvas[hidden]{display:none !important;}
}


/* --- TOC (collapsible) --- */
[data-pspn-toc-header="1"]{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}
[data-pspn-toc-toggle="1"]{
  width:100%;
  text-align:left;
  border:1px solid var(--pspn-border);
  background: rgba(255,255,255,.04);
  color: var(--pspn-text);
  padding: 10px 12px;
  border-radius: var(--pspn-radius);
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
[data-pspn-toc-toggle="1"]::after{
  content: "▾";
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity:.85;
}
[data-pspn-toc-toggle="1"][aria-expanded="false"]::after{
  content: "▸";
}


/* =========================
   Reviews page (Trustpilot-like)
   ========================= */
.pspn-reviews{margin:18px 0 28px}
.pspn-reviews-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:14px 16px;
  border:1px solid var(--pspn-border);
  background: rgba(255,255,255,.04);
  border-radius: var(--pspn-radius);
}
.pspn-reviews-score{display:flex;align-items:center;gap:12px}
.pspn-score{
  font-size:32px;
  font-weight:900;
  letter-spacing:.2px;
  color: var(--pspn-login);
  line-height:1;
}
.pspn-stars{font-size:18px;letter-spacing:1px}
.pspn-count{opacity:.9;color:var(--pspn-muted);font-weight:700}
.pspn-reviews-note{opacity:.9;color:var(--pspn-muted)}
.pspn-review-alert{
  margin:14px 0;
  padding:12px 14px;
  border-radius: var(--pspn-radius);
  border:1px solid rgba(201,255,59,.35);
  background: rgba(201,255,59,.12);
  color: var(--pspn-text);
  font-weight:700;
}

.pspn-review-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  .pspn-review-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 600px){
  .pspn-review-grid{grid-template-columns: 1fr;}
}

.pspn-review-card{
  border:1px solid var(--pspn-border);
  background: var(--pspn-card);
  border-radius: var(--pspn-radius);
  padding:14px 14px 12px;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}
.pspn-review-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.pspn-review-stars{letter-spacing:1px;color:var(--pspn-login);font-weight:900}
.pspn-review-date{opacity:.9;color:var(--pspn-muted);font-size:12px}
.pspn-review-title{margin:0 0 10px;font-size:16px}
.pspn-review-text{opacity:.95;line-height:1.45}
.pspn-review-by{margin-top:12px;font-weight:800;color:var(--pspn-muted);font-size:13px}

.pspn-review-empty{
  padding:14px 16px;
  border:1px dashed var(--pspn-border);
  border-radius: var(--pspn-radius);
  background: rgba(255,255,255,.03);
}

.pspn-review-form-wrap{
  margin-top:22px;
  border:1px solid var(--pspn-border);
  border-radius: var(--pspn-radius);
  background: rgba(255,255,255,.03);
  padding:14px 16px;
}
.pspn-form-title{margin:0 0 12px}
.pspn-review-form{display:grid;grid-template-columns: repeat(2, minmax(0,1fr));gap:12px}
.pspn-review-form .pspn-form-row{display:flex;flex-direction:column;gap:6px}
.pspn-review-form label{font-weight:800;color:var(--pspn-muted)}
.pspn-review-form input,
.pspn-review-form select,
.pspn-review-form textarea{
  width:100%;
  border:1px solid var(--pspn-border);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  color: var(--pspn-text);
  padding:10px 12px;
  outline:none;
}
.pspn-review-form textarea{grid-column:1/-1;resize:vertical;min-height:120px}
.pspn-form-actions{grid-column:1/-1;display:flex;justify-content:flex-start;margin-top:2px}
.pspn-form-btn{
  border:0;
  border-radius: 999px;
  padding:12px 18px;
  font-weight:900;
  background: var(--pspn-signup);
  color:#041018;
  cursor:pointer;
}
.pspn-form-btn:hover{filter:brightness(1.05)}
@media (max-width: 600px){
  .pspn-review-form{grid-template-columns:1fr}
}



/* =========================
   Reviews page (pro UI, Trustpilot-like)
   Uses data-attributes to survive class hashing
   ========================= */
[data-pspn-reviews="1"]{
  margin: 18px 0 32px;
}

[data-pspn-reviews-head="1"]{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:16px 18px;
  border:1px solid var(--pspn-border);
  background: rgba(255,255,255,.04);
  border-radius: var(--pspn-radius);
}

[data-pspn-scorebox="1"]{
  display:flex;
  align-items:center;
  gap:14px;
}

[data-pspn-score="1"]{
  font-size:38px;
  font-weight:900;
  line-height:1;
  color: var(--pspn-login);
  letter-spacing:.2px;
}

[data-pspn-stars="1"]{
  font-size:18px;
  letter-spacing:1px;
  color: var(--pspn-login);
  font-weight:900;
}

[data-pspn-count="1"]{
  color: var(--pspn-muted);
  font-weight:800;
  opacity:.95;
}

[data-pspn-note="1"]{
  color: var(--pspn-muted);
  opacity:.95;
  max-width: 520px;
  line-height:1.35;
}

[data-pspn-alert="1"]{
  margin:14px 0 10px;
  padding:12px 14px;
  border-radius: var(--pspn-radius);
  border:1px solid rgba(201,255,59,.35);
  background: rgba(201,255,59,.12);
  color: var(--pspn-text);
  font-weight:800;
}

[data-pspn-grid="1"]{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  [data-pspn-grid="1"]{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  [data-pspn-grid="1"]{ grid-template-columns: 1fr; }
}

[data-pspn-card="1"]{
  border:1px solid var(--pspn-border);
  background: var(--pspn-card);
  border-radius: var(--pspn-radius);
  padding:14px 14px 12px;
  box-shadow: 0 14px 26px rgba(0,0,0,.22);
}

[data-pspn-card-top="1"]{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

[data-pspn-card-stars="1"]{
  letter-spacing:1px;
  color: var(--pspn-login);
  font-weight:900;
  font-size:14px;
}

[data-pspn-card-date="1"]{
  color: var(--pspn-muted);
  opacity:.95;
  font-size:12px;
}

[data-pspn-card-title="1"]{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.1px;
}

[data-pspn-card-text="1"]{
  opacity:.96;
  line-height:1.48;
}
[data-pspn-card-text="1"] p{ margin: 0 0 10px; }
[data-pspn-card-text="1"] p:last-child{ margin-bottom:0; }

[data-pspn-card-by="1"]{
  margin-top:12px;
  font-weight:900;
  color: var(--pspn-muted);
  font-size:13px;
}

[data-pspn-empty="1"]{
  padding:14px 16px;
  border:1px dashed var(--pspn-border);
  border-radius: var(--pspn-radius);
  background: rgba(255,255,255,.03);
}

/* Form */
[data-pspn-formwrap="1"]{
  margin-top:22px;
  border:1px solid var(--pspn-border);
  border-radius: var(--pspn-radius);
  background: rgba(255,255,255,.03);
  padding:16px 18px;
}
[data-pspn-formtitle="1"]{ margin:0 0 12px; }

[data-pspn-form="1"]{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}

[data-pspn-field="1"]{
  display:flex;
  flex-direction:column;
  gap:6px;
}
[data-pspn-field="1"] label{
  font-weight:900;
  color: var(--pspn-muted);
  font-size:13px;
}
[data-pspn-field="1"] input,
[data-pspn-field="1"] select,
[data-pspn-field="1"] textarea{
  width:100%;
  border:1px solid var(--pspn-border);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  color: var(--pspn-text);
  padding:10px 12px;
  outline:none;
}

[data-pspn-field="1"][data-pspn-wide="1"]{
  grid-column: 1 / -1;
}
[data-pspn-field="1"][data-pspn-wide="1"] textarea{
  resize:vertical;
  min-height:120px;
}

[data-pspn-actions="1"]{
  grid-column: 1 / -1;
  display:flex;
  justify-content:flex-start;
  margin-top:2px;
}
[data-pspn-btn="1"]{
  border:0;
  border-radius: 999px;
  padding:12px 18px;
  font-weight:900;
  background: var(--pspn-signup);
  color:#041018;
  cursor:pointer;
}
[data-pspn-btn="1"]:hover{ filter:brightness(1.05); }

@media (max-width: 600px){
  [data-pspn-form="1"]{ grid-template-columns: 1fr; }
}
