/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-yellow-300:oklch(90.5% .182 98.111);--color-green-300:oklch(87.1% .15 154.449);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-app-red:#b71c1c;--color-app-dark-red:#8a1515;--color-app-dark-grey:#2a2a2a}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-2{top:calc(var(--spacing)*2)}.top-20{top:calc(var(--spacing)*20)}.right-2{right:calc(var(--spacing)*2)}.z-100{z-index:100}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.flex{display:flex}.hidden{display:none}.w-5{width:calc(var(--spacing)*5)}.w-10{width:calc(var(--spacing)*10)}.w-100{width:calc(var(--spacing)*100)}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-3{gap:calc(var(--spacing)*3)}.rounded{border-radius:.25rem}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-solid{--tw-border-style:solid;border-style:solid}.border-green-300{border-color:var(--color-green-300)}.border-red-300{border-color:var(--color-red-300)}.border-yellow-300{border-color:var(--color-yellow-300)}.bg-app-dark-grey{background-color:var(--color-app-dark-grey)}.bg-app-red{background-color:var(--color-app-red)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-10{padding-inline:calc(var(--spacing)*10)}.py-1{padding-block:calc(var(--spacing)*1)}.py-5{padding-block:calc(var(--spacing)*5)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-ellipsis{text-overflow:ellipsis}.text-gray-500{color:var(--color-gray-500)}.text-green-300{color:var(--color-green-300)}.text-red-300{color:var(--color-red-300)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.uppercase{text-transform:uppercase}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media(hover:hover){.hover\:bg-app-dark-red:hover{background-color:var(--color-app-dark-red)}}.disabled\:cursor-default:disabled{cursor:default}.disabled\:bg-gray-600:disabled{background-color:var(--color-gray-600)}}:root{--gold:#d4af37;--red:#b71c1c;--dark-grey:#1e1e1e;--light-grey:#2a2a2a;--text:#ccc;--blue:#007bff;--dark-blue:#0056b3;--black:#121212}body{color:#e0e0e0;background-color:#121212;min-height:100vh;font-family:Georgia,serif}.player-tokens{flex-wrap:wrap;gap:10px;margin-top:15px;display:flex}.token{text-transform:capitalize;border-radius:5px;padding:8px 12px;font-size:14px;font-weight:700;transition:transform .2s;box-shadow:0 2px 4px #0000004d}.token:hover{transform:translateY(-2px)}.token.common{color:#f8f9fa;background-color:#6c757d}.token.uncommon{color:#f8f9fa;background-color:#28a745}.token.rare{color:#f8f9fa;background-color:#007bff}.token.very-rare{color:#f8f9fa;background-color:#6610f2}.token.legendary{color:#121212;background-color:#d4af37}.dialog-overlay{z-index:999;background-color:#000000b3;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.dialog-box{color:#f5f5f5;text-align:center;background-color:#2a2a2a;border:2px solid #3c3c3c;border-radius:12px;width:80%;max-width:400px;padding:30px;box-shadow:0 4px 8px #000c}.dialog-box h2{color:#d4af37;margin-top:0}.dialog-actions{justify-content:space-around;margin-top:20px;display:flex}.dialog-actions button{color:#f5f5f5;cursor:pointer;text-transform:uppercase;background-color:#b71c1c;border:none;border-radius:8px;padding:12px 20px;font-size:16px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;box-shadow:0 2px 4px #0009}.dialog-actions button:hover{background-color:#8a1515;transform:translateY(-2px);box-shadow:0 4px 8px #000c}.dialog-actions button:active{background-color:#5a0e0e;transform:translateY(0)}.dialog-actions button:nth-child(2){background-color:#444}.dialog-actions button:nth-child(2):hover{background-color:#333}.page-title{color:#d4af37;margin:0 0 10px;font-size:28px}.app-button{background-color:var(--red);color:#f5f5f5;cursor:pointer;text-transform:uppercase;border:none;border-radius:8px;padding:12px 20px;font-size:14px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;box-shadow:0 2px 4px #0009}.app-button.small{padding:10px 15px;font-size:12px}.app-button:hover{background-color:#8a1515;transform:translateY(-2px);box-shadow:0 4px 8px #000c}.app-button:active{background-color:#5a0e0e;transform:translateY(0)}.app-button:disabled{cursor:not-allowed;box-shadow:none;background-color:#444}.app-button.secondary-button{background-color:var(--blue)}.app-button.secondary-button:hover{background-color:var(--dark-blue)}@media(max-width:768px){.app-button{width:100%;margin:10px 0}}.centered{text-align:center;justify-content:center;align-items:center;width:100%;margin:20px 0;display:flex}.loading-text{color:#d4af37;text-align:center;margin:20px 0;font-size:18px;font-weight:700}.text-ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.character-card{background-color:#2a2a2a;padding:15px 20px;border:1px solid #3c3c3c;border-radius:10px;margin-bottom:15px;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 4px #00000080}.character-card:hover{transform:translateY(-5px);box-shadow:0 6px 12px #000c}.character-card h3{margin:0;font-size:20px;color:#d4af37}.character-card p{margin-right:12px;font-size:16px;color:#ccc;display:inline}.form-container{max-width:800px;margin:0 auto;padding:20px;background-color:#1e1e1e;border-radius:12px;box-shadow:0 4px 8px #0003;color:#f5f5f5;font-family:Arial,sans-serif}.form-container h1{text-align:center;color:#d4af37;margin-bottom:20px}.dm-selection{margin-bottom:20px;padding:15px;border:1px solid #3c3c3c;border-radius:10px;background-color:#2a2a2a}.dm-selection label{display:block;font-weight:700;margin-bottom:5px;color:#d4af37}.dm-selection select{width:100%;padding:10px;margin-bottom:10px;border:1px solid #3c3c3c;border-radius:5px;background-color:#1e1e1e;color:#f5f5f5;font-size:16px}.players-section{margin-top:20px}.players-section h2{text-align:center;color:#d4af37;margin-bottom:15px}.player-entry{margin-bottom:20px;padding:15px;border:1px solid #3c3c3c;border-radius:10px;background-color:#2a2a2a}.player-entry label{display:block;font-weight:700;margin-bottom:5px;color:#ccc}.player-entry select{width:100%;padding:10px;margin-bottom:10px;border:1px solid #3c3c3c;border-radius:5px;background-color:#1e1e1e;color:#f5f5f5;font-size:16px}.session-button{display:block;margin:20px auto}.token-exchange-container h1{margin-top:0;font-size:28px;color:#d4af37;text-align:center;padding-bottom:10px}.exchange-form{margin-top:30px;display:flex;flex-wrap:wrap;gap:20px;background-color:#2a2a2a;padding:20px;border-radius:12px;border:1px solid #3c3c3c;box-shadow:0 4px 6px #00000080}.form-group{display:flex;flex-direction:column;min-width:180px}.form-group label{margin-bottom:5px;font-weight:700;font-size:16px;color:#ccc}.form-group select,.form-group input{padding:8px;border-radius:5px;border:1px solid #3c3c3c;background-color:#121212;color:#f5f5f5}.exchange-buttons{display:flex;align-items:flex-end;gap:10px}.exchange-result p{margin:5px 0}.exchange-error{margin-top:20px;padding:15px;background-color:#b71c1c;color:#fff;border-radius:8px;font-weight:700;text-align:center}.exchange-note{margin-top:20px;padding:20px;background-color:#2a2a2a;border-radius:12px;border:1px solid #3c3c3c;color:#ccc;box-shadow:0 4px 6px #00000080}.exchange-note p{margin:5px 0}.loading-text{font-size:18px;font-weight:700;color:#d4af37;text-align:center;margin:20px 0}.exchange-result{margin-top:20px;padding:20px;background-color:#2a2a2a;border-radius:12px;border:1px solid #3c3c3c;color:#ccc;box-shadow:0 4px 6px #00000080}.exchange-result p{margin-bottom:10px;font-size:16px;font-weight:700;color:#d4af37}.future-tokens{display:flex;gap:10px;margin-top:10px}.future-token{padding:8px 12px;border-radius:5px;font-size:14px;font-weight:700;box-shadow:0 2px 4px #0000004d;transition:transform .2s ease}.future-token:hover{transform:translateY(-2px)}.future-token.common{background-color:#6c757d;color:#f8f9fa}.future-token.uncommon{background-color:#28a745;color:#f8f9fa}.future-token.rare{background-color:#007bff;color:#f8f9fa}.future-token.veryrare{background-color:#6610f2;color:#f8f9fa}.future-token.legendary{background-color:#d4af37;color:#121212}@media(max-width:768px){.exchange-form{flex-direction:column}}.buttons-row{align-items:flex-end;display:flex;gap:10px}.inventory-item-summary-header{display:inline-flex;align-items:center;gap:10px;width:100%}.inventory-item{background-color:#2a2a2a;padding:15px 20px;border:1px solid #3c3c3c;border-radius:10px;margin-bottom:15px;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 4px #00000080}.inventory-item:hover{transform:translateY(-5px);box-shadow:0 6px 12px #000c}.inventory-item h3{margin:0;font-size:20px;color:#d4af37}.inventory-item-summary-header-buttons{display:flex;gap:10px;margin-left:auto}.inventory-item button{background-color:var(--red);color:#fff;border:none;padding:5px 10px;border-radius:5px;cursor:pointer}.inventory-item p{margin-right:12px;font-size:16px;color:#ccc;display:inline}.player-section{display:flex;align-items:center;margin-bottom:30px;border-radius:12px}.player-avatar{width:150px;height:150px;border-radius:50%;margin-right:20px;border:4px solid #b71c1c;box-shadow:0 2px 4px #0009}.player-summary p{margin:5px 0;font-size:18px;color:#ccc}.character-section,.inventory-section{margin-top:20px}.character-section h2,.inventory-section h2{margin-bottom:20px;font-size:24px;color:#d4af37;border-bottom:2px solid #b71c1c;padding-bottom:10px}.character-section ul,.inventory-section ul{list-style:none;padding:0}.character-section li,.inventory-section li{margin-bottom:15px}.info-tabs{position:relative;margin-top:20px}.tabs{display:flex;justify-content:center}.tab-title{display:inline-block;padding:10px 20px;margin:0 10px;font-size:18px;font-weight:700;color:#ccc;cursor:pointer;transition:color .3s;position:relative}.tab-title.active{color:#d4af37}.tab-indicator{position:absolute;height:4px;width:50%;background-color:#d4af37;transition:left .3s ease}.tab-content{margin-top:20px}.tab-title:hover{color:#f5f5f5}@media(max-width:768px){.player-section{flex-direction:column;text-align:center}.player-avatar{margin-right:0;margin-bottom:10px}}.filter-wrapper{width:100%;display:flex;align-items:center;gap:20px;padding-bottom:10px}.filter{flex:1;padding:5px;position:relative;background-color:var(--dark-grey)}.filter input{flex:1;color:var(--text);background-color:transparent;border:none;outline:none;padding:5px 0}.filter-dropdown{display:none;position:absolute;left:0;z-index:2;background-color:var(--light-grey);width:100%;font-size:12px;border-top:1px solid var(--gold);color:var(--text);padding:5px 10px 0;box-sizing:border-box}.filter-dropdown.active{display:block}.filter-dropdown .category .category-title{cursor:pointer;color:var(--gold);padding-bottom:3px;border-bottom:1px solid var(--black)}.filter-dropdown .category .values{height:0;display:none;flex-direction:column;width:100%;gap:3px;padding:5px}.filter-dropdown .category .values.active{height:initial;display:flex}.filter-dropdown .category .values .value{cursor:pointer}.filter-dropdown .category .values .value.active{color:#f6e7a8}.filter-search{display:flex;gap:5px;white-space:nowrap;cursor:pointer}.filter-search .filter-text{color:var(--gold)}.input-wrapper{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.category-badges{display:flex;align-items:center;gap:3px;font-size:12px;color:var(--text);flex-wrap:wrap}.category-badge,.value-badge{padding:2px 10px;border-radius:5px;text-wrap:nowrap}.category-badge{background-color:var(--black)}.value-badge{display:flex;gap:5px;align-items:center;background-color:var(--light-grey);padding-right:5px}.value-badge-icon{cursor:pointer;width:10px}.app-table-wrapper{overflow-x:auto}.app-table{border-collapse:collapse;font-size:14px;border:none;box-sizing:border-box;width:100%}.app-table th,.app-table td{text-wrap:nowrap;padding:10px 20px}.app-table th{padding-bottom:10px;border-bottom:1px solid var(--gold);background-color:#1e1e1e}.app-table td{border-bottom:.5px solid #444}.app-table td:nth-child(2n){background-color:#333}.app-table td:nth-child(odd){background-color:#1e1e1e}.app-table tbody tr:hover td{background-color:#444}.sortable-th{cursor:pointer;position:relative;padding-left:20px;padding-right:20px}.sortable-th svg{position:absolute;right:0;bottom:0;width:14px;height:14px;margin-left:5px}.token-info{display:flex;align-items:center;gap:3px}.token-info .token-badge{display:flex;align-items:center}.token-info .token-badge svg{width:20px;height:20px}.token-info .token-badge.common svg{color:#6c757d}.token-info .token-badge.uncommon svg{color:#28a745}.token-info .token-badge.rare svg{color:#007bff}.token-info .token-badge.very-rare svg{color:#6610f2}.token-info .token-badge.legendary svg{color:#d4af37}.token-display{display:flex;align-items:center;gap:10px}.shop-info{padding-top:10px;display:flex;justify-content:space-between;gap:20px}.shop-info .shop-note{font-size:10px;color:#bbb}.item-token-price,.item-actions{display:flex;justify-content:center;align-items:center}.app-header{display:flex;align-items:center;gap:60px;padding:2px 20px 0;background-color:var(--dark-grey);box-sizing:border-box;position:sticky;top:0;z-index:1000}@media(max-width:1200px){.app-header{gap:20px}}.app-header .logo-link{display:flex;gap:20px;align-items:center;text-decoration:none}.app-header .logo img{width:50px}@media(max-width:1000px){.app-header .logo img{width:40px}}.app-header .title{font-size:28px;color:var(--gold)}@media(max-width:1200px){.app-header .title{display:none}}main{padding:20px;max-width:1200px;margin:auto}nav{position:relative;flex:1;display:flex;flex-direction:row-reverse}nav ul{width:100%;display:flex;justify-content:space-between;align-items:center;list-style-type:none;margin:0;padding:0;background-color:var(--dark-grey)}nav .user-links{display:flex;gap:20px}nav a{display:inline-block;color:var(--text);text-decoration:none;padding:15px;border-bottom:2px solid transparent}nav a:hover:not(.active-link){border-bottom:2px solid var(--gold)}nav a.active-link{color:var(--gold)}.logout-button{cursor:pointer;color:var(--text);background-color:transparent;border:none}.logout-button:hover{color:#fff}.burger-menu-icon{display:none;width:30px;cursor:pointer}@media(max-width:1000px){nav ul{display:none;width:200px;position:absolute;top:30px;right:-20px;flex-direction:column;text-align:left;align-items:start;gap:10px}nav ul.active{display:flex}nav .user-links{width:100%;padding-bottom:20px;border-bottom:1px solid var(--light-grey);flex-direction:column}nav a{width:100%;padding:5px 10px}nav a:hover:not(.active-link){border-bottom:2px solid transparent}.user-actions{width:100%}.logout-button{width:100%;text-align:left;padding:15px;font-size:16px}.burger-menu-icon{display:inline-block}}
