/* Trading Goblin's Figma specifications, 16 October 2026. Fonts are self-hosted. */
@font-face{font-family:'Averia Serif Libre';src:url('assets/fonts/AveriaSerifLibre-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Averia Serif Libre';src:url('assets/fonts/AveriaSerifLibre-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/Poppins-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--forest:#004D26;--deep:#004D26;--lime:#e0efcf;--paper:#F3FBE4;--secondary:#008001;--ink:#203a29;--muted:#48604b;--line:#c8d8b7;font-family:Poppins,'Segoe UI',sans-serif;background:var(--paper)}
body{font-family:Poppins,'Segoe UI',sans-serif;font-weight:400;color:var(--ink);background:var(--paper)}
h1,h2,h3,h4,h5,h6,.page-content .dialog-heading h1,.dialog-heading h2,.month-controls h2,.page-heading h1,.compact-heading h1,.form-section-title,.event-form-section .form-section-title,.participants h3,.participants h4,.organizer-group>h2,.participant-table caption{font-family:'Averia Serif Libre',Georgia,serif;font-weight:700;color:var(--forest)}
button,input,select,textarea,.brand small,.organizer-group>h2>span{font-family:Poppins,'Segoe UI',sans-serif}
.eyebrow{color:#314a32;letter-spacing:1.3px;font-weight:500}.primary,.account-button,.shop-link{background:var(--forest);color:#fff;border-color:var(--forest)}
.primary:hover,.account-button:hover,.shop-link:hover{background:var(--secondary);color:#fff;border-color:var(--secondary)}
.primary,.secondary,.account-button,.shop-link,.today-button,.calendar-views,.calendar-views button,.game-filter{border-radius:999px}
.secondary{border-color:#9eb58a;background:#fff;color:var(--forest)}.secondary:hover{background:#e7f2d9;border-color:var(--forest)}
.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;padding:20px max(28px,calc((100% - 1440px)/2));background:white;border-bottom:1px solid #ccdbbb;position:relative}
.site-header nav{grid-column:1;grid-row:1;justify-self:start;display:flex;flex-wrap:wrap;gap:8px 18px;align-self:center;align-items:center;min-width:0}
.site-header nav button{font-size:13px;font-weight:500;min-height:44px;color:#36513d;padding:7px 0}.site-header nav button.active{font-weight:600;color:var(--forest)}.site-header nav button.active:after{background:var(--forest);bottom:0}
.site-header>.brand{grid-column:2;grid-row:1;justify-self:center;display:block}.site-header .shop-logo{width:142px;height:auto;display:block}
.site-header .header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:12px;min-width:0;max-width:100%}
.site-header .shop-link,.site-header .account-button{font-family:Poppins,sans-serif;border-radius:999px;background:var(--forest);color:white;padding:11px 22px;min-height:44px;display:inline-flex;justify-content:center;align-items:center;font-size:13px;font-weight:500;line-height:1.5;border:1px solid var(--forest);white-space:nowrap;margin:0}
.site-header .account-button{max-width:180px;overflow:hidden;text-overflow:ellipsis;display:block}.site-header .shop-link:hover,.site-header .account-button:hover{background:var(--secondary);border-color:var(--secondary)}
.site-header .menu-toggle{display:none}.site-header [hidden]{display:none!important}
.game-filter{background:var(--filter-bg);border:1px solid var(--filter-ink);color:var(--filter-ink);font-size:12px;font-weight:500;padding:9px 15px;min-height:42px;gap:0}
.game-filter{font-family:'Averia Serif Libre',Georgia,serif}
.game-filter .dot{display:none}.game-filter:hover{box-shadow:0 0 0 2px var(--filter-ink);background:var(--filter-bg);color:var(--filter-ink)}
.game-filter[data-filter="all"]{--filter-bg:#FFDFE7;--filter-ink:#861430}
.game-filter[data-filter="mtg"]{--filter-bg:#FFF1E9;--filter-ink:#774629}
.game-filter[data-filter="op"]{--filter-bg:#E1F0FF;--filter-ink:#3D566D}
.game-filter[data-filter="fab"]{--filter-bg:#FFE6EB;--filter-ink:#7B2A3B}
.game-filter[data-filter="rift"]{--filter-bg:#ECFFFB;--filter-ink:#395751}
.game-filter[data-filter="swu"]{--filter-bg:#EBE1FF;--filter-ink:#463665}
.game-filter.active,.game-filter.active:hover{background:var(--forest);border-color:var(--forest);color:#fff;box-shadow:none}
.calendar-views button.active{background:var(--forest);color:#fff}.calendar-toolbar{background:#fbfdf6}.calendar-summary{background:#fbfdf6}.calendar td.today .day-number{background:var(--forest);color:#fff}
.event-form-section{background:#f5faec;border-color:#c0d3ab}.event-form-section:nth-child(even){background:#edf5e0;border-color:#bdcfa7}.event-form-section .form-section-title>span:first-child{background:var(--forest)}
.page-content .participants{background:#f3f9e9;box-shadow:inset 0 0 0 1px #bfd1ad}.participants .add-participant{background:#e9f3d9;border-color:#b8cea2}.participant-table th{background:#edf5e1}.participant-badge.confirmed{color:var(--forest);background:#e0eed1}
.event-advanced{background:#f4f9ec}.organizer-event{border-color:#c8d8b7;border-left-color:var(--game-color)}
@media(max-width:1100px){
 .site-header{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:16px 24px}
 .site-header .menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--forest);grid-column:1;grid-row:1;border:1px solid #b8cda6;border-radius:50%;background:#f3f9e9}
 .menu-toggle svg{width:22px;height:22px}.site-header>.brand{grid-column:2;grid-row:1}.site-header .header-actions{grid-column:3;grid-row:1}.site-header nav{display:none;grid-column:1/-1;grid-row:2;width:100%;padding:14px 0 0;border-top:1px solid #d4e1c7;gap:4px}
 .site-header.menu-open nav{display:flex;flex-direction:column;align-items:stretch}.site-header nav button{text-align:left;padding:12px 16px;border-radius:8px}.site-header nav button.active{background:#e9f3dc}.site-header nav button.active:after{display:none}
}
@media(max-width:600px){
 .site-header{padding:14px 16px;gap:8px;grid-template-columns:40px minmax(0,1fr) auto}.site-header .menu-toggle{width:40px;height:44px}.site-header .shop-logo{width:100px;max-width:100%}.site-header .header-actions{gap:6px;max-width:154px}
 .site-header .shop-link,.site-header .account-button{font-size:11px;min-height:42px;padding:9px 11px}.site-header .account-button{max-width:80px}.site-header .shop-link{flex-shrink:0}.game-filter{font-size:11px;padding:8px 12px;min-height:42px}.filter-bar{gap:8px}
}
@media(prefers-reduced-motion:no-preference){.game-filter,.primary,.secondary,.shop-link,.account-button{transition:background-color .15s,color .15s,border-color .15s}}
.month-controls .month-picker-trigger{font-family:'Averia Serif Libre',Georgia,serif;font-size:inherit;font-weight:700;line-height:1.3;color:var(--forest);padding:6px 10px 6px 0;display:inline-flex;gap:12px;align-items:center;text-align:left;border-radius:8px;min-height:44px}
.month-picker-trigger:hover{background:#e6f0d8}.month-picker-trigger>span{font-family:Poppins,sans-serif;font-size:20px;color:var(--forest)}
dialog:has(.month-picker-grid){width:min(480px,calc(100vw - 32px));padding:24px;max-height:90dvh}dialog:has(.month-picker-grid) .dialog-heading h2{margin-top:8px;font-size:28px}.month-picker-year{margin-bottom:18px}.month-picker-year select{width:100%;background:white}
.month-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.month-choice{border:1px solid #b7cba4;border-radius:12px;padding:13px 6px;min-height:48px;background:#f3f9e9;font-family:Poppins,sans-serif;font-size:14px;color:var(--forest);font-weight:500}.month-choice:hover{background:#dfedcd;border-color:var(--forest)}.month-choice.selected{background:var(--forest);color:white;border-color:var(--forest)}
@media(max-width:400px){dialog:has(.month-picker-grid){padding:20px 16px}.month-picker-grid{gap:8px}.month-choice{font-size:12px;padding:12px 4px}.month-controls .month-picker-trigger{gap:8px}}
/* Confirmed typography: navigation, titles and short UI labels use Averia;
   explanatory copy and editable values retain Poppins. */
button,.site-header nav button,.site-header .shop-link,.site-header .account-button,
.calendar-views button,.today-button,.month-choice,.month-controls .month-picker-trigger,
.game-filter,.chip-title,.chip-top strong,.chip-bottom,.tag,.status,.day-number,
.list-date,.list-time,.registration-day,.registration-day small,.calendar-summary,
.eyebrow,.detail-facts small,.detail-facts strong,.participant-table strong,
.participant-badge,.participant-list-count,.organizer-date,.organizer-group>h2>span,
summary,.field-help summary,.event-advanced>summary,.game-profile summary,
.page-content .tournament-round summary,label,.field label,legend,th{
 font-family:'Averia Serif Libre',Georgia,serif;
}
p,input,select,textarea,.field small,.form-note,.detail-description,.inline-error{
 font-family:Poppins,'Segoe UI',sans-serif;
}
