/* ========================================================================== Westreiche – Charakterverwalter Fantasy-Theme in Nachtblau, Schwarz und Gold (analog zauberturm.de) ========================================================================== */ :root { --night: #0a0d16; --night-2: #0f1526; --night-3: #17203a; --night-4: #212c4c; --gold: #c9a227; --gold-bright: #e8c766; --gold-dim: #7a6320; --parchment: #efe3c8; --parchment-dim: #b9ab8e; --ember: #b3542d; --blood: #8d2f2f; --moss: #3f7f5f; --shadow: 0 18px 40px rgba(0, 0, 0, 0.55); --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif; --font-body: "EB Garamond", Georgia, "Iowan Old Style", "Palatino Linotype", serif; --radius: 10px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; color: var(--parchment); font-family: var(--font-body); font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.16rem); line-height: 1.65; background-color: var(--night); background-image: radial-gradient(ellipse at 50% -12%, rgba(201, 162, 39, 0.18), transparent 62%), radial-gradient(ellipse at 8% 18%, rgba(47, 82, 160, 0.20), transparent 55%), radial-gradient(ellipse at 92% 72%, rgba(120, 60, 30, 0.14), transparent 58%); background-attachment: fixed; } /* Sternenstaub */ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.32; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: screen; z-index: 0; animation: star-drift 90s linear infinite; } @keyframes star-drift { from { background-position: 0 0; } to { background-position: 240px 480px; } } /* Glutfunken im Hintergrund */ .embers { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; } .embers span { position: absolute; bottom: -12vh; width: 3px; height: 3px; border-radius: 50%; background: radial-gradient(circle, var(--gold-bright), rgba(232, 199, 102, 0)); box-shadow: 0 0 8px rgba(232, 199, 102, 0.8); animation: ember-rise linear infinite; opacity: 0; } .embers span:nth-child(1) { left: 6%; animation-duration: 17s; animation-delay: 1s; } .embers span:nth-child(2) { left: 18%; animation-duration: 23s; animation-delay: 5s; } .embers span:nth-child(3) { left: 31%; animation-duration: 19s; animation-delay: 9s; } .embers span:nth-child(4) { left: 44%; animation-duration: 27s; animation-delay: 3s; } .embers span:nth-child(5) { left: 57%; animation-duration: 21s; animation-delay: 12s; } .embers span:nth-child(6) { left: 68%; animation-duration: 25s; animation-delay: 7s; } .embers span:nth-child(7) { left: 79%; animation-duration: 18s; animation-delay: 14s; } .embers span:nth-child(8) { left: 91%; animation-duration: 24s; animation-delay: 10s; } @keyframes ember-rise { 0% { transform: translateY(0) scale(0.7); opacity: 0; } 12% { opacity: 0.9; } 70% { opacity: 0.5; } 100% { transform: translateY(-118vh) scale(1.15); opacity: 0; } } ::selection { background: rgba(201, 162, 39, 0.35); color: #fff8e2; } a { color: var(--gold-bright); text-decoration: none; } a:hover { color: #fff3c9; text-decoration: underline; text-underline-offset: 3px; } h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; color: var(--gold-bright); line-height: 1.22; margin: 0 0 0.5em; } h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); } h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); } h3 { font-size: 1.1rem; color: var(--parchment); } p { margin: 0 0 0.9em; } small, .muted { color: var(--parchment-dim); } .skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--night); padding: 0.6rem 1rem; z-index: 50; } .skip-link:focus { left: 1rem; top: 1rem; } /* ------------------------------------------------------------------ Layout */ .shell { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 1.15rem 4rem; } .topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: linear-gradient(180deg, rgba(10, 13, 22, 0.94), rgba(10, 13, 22, 0.72)); border-bottom: 1px solid rgba(201, 162, 39, 0.28); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); } .topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0.6rem 1.15rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; } .brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); } .brand:hover { text-decoration: none; } .brand-crest { width: 34px; height: 38px; flex: 0 0 auto; filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.45)); animation: crest-glow 6s ease-in-out infinite; } @keyframes crest-glow { 0%, 100% { filter: drop-shadow(0 0 5px rgba(201, 162, 39, 0.35)); } 50% { filter: drop-shadow(0 0 14px rgba(232, 199, 102, 0.75)); } } .brand small { display: block; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.22em; color: var(--parchment-dim); text-transform: uppercase; } .nav { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-left: auto; align-items: center; } .nav a, .nav button { position: relative; padding: 0.42rem 0.7rem; border-radius: 6px; color: var(--parchment); font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; border: 0; background: none; cursor: pointer; } .nav a::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.22rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 0.35s ease; } .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); } .nav a[aria-current="page"] { color: var(--gold-bright); } .nav form { margin: 0; } main { padding-top: 2rem; } .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; } .page-head .lede { color: var(--parchment-dim); max-width: 60ch; margin: 0; } /* ------------------------------------------------------------------- Karten */ .panel { position: relative; background: linear-gradient(160deg, rgba(23, 32, 58, 0.92), rgba(10, 13, 22, 0.92)); border: 1px solid rgba(201, 162, 39, 0.3); border-radius: var(--radius); padding: 1.3rem 1.35rem; box-shadow: var(--shadow); margin-bottom: 1.6rem; animation: panel-in 0.55s ease both; } @keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } .panel::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(201, 162, 39, 0.12); border-radius: calc(var(--radius) - 3px); pointer-events: none; } .panel > * { position: relative; z-index: 1; } .panel h2:first-child { margin-top: 0; } .divider { height: 1px; border: 0; margin: 1.2rem 0; background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55), transparent); } /* Charakterkarten */ .card-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); } .hero-card { position: relative; display: block; padding: 1.1rem 1.2rem 1.15rem; border-radius: var(--radius); border: 1px solid rgba(201, 162, 39, 0.32); background: radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.16), transparent 55%), linear-gradient(165deg, rgba(23, 32, 58, 0.96), rgba(10, 13, 22, 0.96)); color: var(--parchment); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45); transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; overflow: hidden; animation: panel-in 0.5s ease both; } .hero-card::before { content: ""; position: absolute; inset: -60% -20%; background: conic-gradient(from 0deg, transparent 0deg, rgba(201, 162, 39, 0.16) 40deg, transparent 90deg); opacity: 0; transition: opacity 0.5s ease; animation: rune-spin 14s linear infinite; } @keyframes rune-spin { to { transform: rotate(360deg); } } .hero-card:hover, .hero-card:focus-visible { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 199, 102, 0.25); text-decoration: none; } .hero-card:hover::before { opacity: 1; } .hero-card > * { position: relative; z-index: 1; } .hero-card .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-bright); letter-spacing: 0.05em; } .hero-card .meta { font-size: 0.86rem; color: var(--parchment-dim); letter-spacing: 0.06em; } .hero-card .hp-bar { margin-top: 0.85rem; height: 7px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); overflow: hidden; border: 1px solid rgba(201, 162, 39, 0.25); } .hero-card .hp-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--moss), var(--gold-bright)); transition: width 0.6s ease; } .hero-card .hp-bar.critical span { background: linear-gradient(90deg, var(--blood), var(--ember)); } .hero-card .hp-bar.unconscious span { background: var(--night-4); } .badge { display: inline-block; padding: 0.12rem 0.55rem; border-radius: 99px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid rgba(201, 162, 39, 0.45); color: var(--gold-bright); background: rgba(201, 162, 39, 0.08); } .badge.badge-dead { border-color: rgba(141, 47, 47, 0.7); color: #e39a9a; background: rgba(141, 47, 47, 0.16); } .badge.badge-retired { border-color: rgba(185, 171, 142, 0.5); color: var(--parchment-dim); background: rgba(185, 171, 142, 0.1); } .badge.badge-admin { border-color: rgba(232, 199, 102, 0.8); color: #fff2c8; } /* ---------------------------------------------------------------- Formulare */ .btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1.05rem; border-radius: 8px; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(201, 162, 39, 0.5); color: var(--gold-bright); background: linear-gradient(180deg, rgba(201, 162, 39, 0.14), rgba(201, 162, 39, 0.04)); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease; } .btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 199, 102, 0.35); background: linear-gradient(180deg, rgba(201, 162, 39, 0.24), rgba(201, 162, 39, 0.08)); } .btn-primary { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1a1405; border-color: #f0d98d; font-weight: 600; } .btn-primary:hover { background: linear-gradient(180deg, #f6e2a4, var(--gold-bright)); } .btn-ghost { border-color: rgba(185, 171, 142, 0.35); color: var(--parchment); background: none; } .btn-danger { border-color: rgba(141, 47, 47, 0.7); color: #f0b3b3; background: rgba(141, 47, 47, 0.14); } .btn-small { padding: 0.3rem 0.6rem; font-size: 0.72rem; } .form-grid { display: grid; gap: 0.9rem; } .grid-2 { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .grid-3 { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } .grid-4 { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } .field { display: grid; gap: 0.3rem; } .field > span { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--parchment-dim); } input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], select, textarea { width: 100%; padding: 0.5rem 0.65rem; border-radius: 7px; border: 1px solid rgba(201, 162, 39, 0.3); background: rgba(6, 9, 16, 0.75); color: var(--parchment); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.25s ease, box-shadow 0.25s ease; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18); } textarea { min-height: 6.5rem; resize: vertical; } select option { background: var(--night-2); } input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; } /* Zahlenfelder ohne hoch/runter-Pfeile (werden am Tisch nicht gebraucht) */ input[type="number"] { -moz-appearance: textfield; appearance: textfield; } input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .visually-quiet { font-size: 0.6rem; letter-spacing: 0.12em; opacity: 0.65; } .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-top: 1.1rem; } .alert { padding: 0.6rem 0.9rem; border-radius: 8px; border: 1px solid; margin: 0 0 1rem; animation: panel-in 0.35s ease both; } .alert-error { border-color: rgba(141, 47, 47, 0.75); background: rgba(141, 47, 47, 0.16); color: #f4c4c4; } .alert-success { border-color: rgba(63, 127, 95, 0.7); background: rgba(63, 127, 95, 0.16); color: #c9eed8; } .alert-info { border-color: rgba(201, 162, 39, 0.55); background: rgba(201, 162, 39, 0.1); color: #f2e4bd; } /* ------------------------------------------------------------------ Tabellen */ table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; } table.data th { text-align: left; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment-dim); border-bottom: 1px solid rgba(201, 162, 39, 0.35); padding: 0.4rem 0.5rem; } table.data td { padding: 0.45rem 0.5rem; border-bottom: 1px solid rgba(201, 162, 39, 0.12); vertical-align: top; } table.data tr:hover td { background: rgba(201, 162, 39, 0.05); } table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; } .inline-form { display: flex; gap: 0.45rem; align-items: flex-end; flex-wrap: wrap; } .inline-form .field { min-width: 120px; } .inline-form .field.grow { flex: 1 1 180px; } /* ------------------------------------------------------------- Charakterbogen */ .sheet-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; } .monogram { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(201, 162, 39, 0.6); border-radius: 50%; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-bright); box-shadow: inset 0 0 22px rgba(201, 162, 39, 0.18), 0 0 26px rgba(201, 162, 39, 0.16); animation: crest-glow 7s ease-in-out infinite; } .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 0.6rem; } .stat { position: relative; padding: 0.55rem 0.5rem; text-align: center; border-radius: 8px; border: 1px solid rgba(201, 162, 39, 0.35); background: rgba(6, 9, 16, 0.55); } .stat .k { display: block; font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--parchment-dim); } .stat .v { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); } .stat .b { display: block; font-size: 0.72rem; color: var(--ember); } .tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; border-bottom: 1px solid rgba(201, 162, 39, 0.28); margin-bottom: 1.1rem; } .tabs a { padding: 0.45rem 0.8rem; font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--parchment-dim); border-bottom: 2px solid transparent; } .tabs a:hover { color: var(--gold-bright); text-decoration: none; border-bottom-color: rgba(201, 162, 39, 0.5); } .pill-list { display: flex; flex-wrap: wrap; gap: 0.35rem; } .pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 99px; border: 1px solid rgba(201, 162, 39, 0.35); background: rgba(201, 162, 39, 0.08); font-size: 0.85rem; } .pill form { margin: 0; } .pill button { border: 0; background: none; color: var(--parchment-dim); font-size: 0.78rem; cursor: pointer; padding: 0 0.15rem; } .pill button:hover { color: #ffd7d7; } .grade-block { margin-bottom: 0.9rem; } .grade-block h4 { margin: 0 0 0.35rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); } /* ------------------------------------------------------------------ Login */ .auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.1rem; } .auth-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 2rem 1.9rem 1.8rem; border-radius: 14px; border: 1px solid rgba(201, 162, 39, 0.45); background: linear-gradient(165deg, rgba(23, 32, 58, 0.96), rgba(6, 9, 16, 0.98)); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), inset 0 0 40px rgba(201, 162, 39, 0.06); animation: panel-in 0.6s ease both; } .auth-card::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 162, 39, 0.16); border-radius: 10px; pointer-events: none; } .brand-kicker { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.3rem; } .auth-card h1 { margin-bottom: 1rem; } .auth-card .btn-primary { justify-content: center; width: 100%; } .auth-links { margin-top: 1.1rem; font-size: 0.86rem; color: var(--parchment-dim); } .auth-stars { position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.55), transparent), radial-gradient(1.5px 1.5px at 70% 15%, rgba(232, 199, 102, 0.6), transparent), radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.4), transparent), radial-gradient(1.5px 1.5px at 85% 60%, rgba(255, 255, 255, 0.35), transparent), radial-gradient(1px 1px at 12% 85%, rgba(232, 199, 102, 0.5), transparent); animation: twinkle 8s ease-in-out infinite alternate; } @keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } } .empty-state { text-align: center; padding: 3rem 1rem; color: var(--parchment-dim); } .empty-state .rune { display: block; margin: 0 auto 0.8rem; width: 54px; height: 54px; border: 1px solid rgba(201, 162, 39, 0.45); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-bright); animation: rune-pulse 3.4s ease-in-out infinite; } @keyframes rune-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.3); } 50% { box-shadow: 0 0 22px 4px rgba(201, 162, 39, 0.18); } } .footer { position: relative; z-index: 1; text-align: center; padding: 2.4rem 1rem 2rem; font-size: 0.82rem; color: var(--parchment-dim); border-top: 1px solid rgba(201, 162, 39, 0.18); } .footer a { color: var(--gold); } .copy-box { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; padding: 0.6rem 0.7rem; border-radius: 8px; border: 1px dashed rgba(201, 162, 39, 0.5); background: rgba(201, 162, 39, 0.06); word-break: break-all; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.82rem; } .imprint { font-size: 0.86rem; color: var(--parchment-dim); } @media (max-width: 620px) { .sheet-head { grid-template-columns: 1fr; } .monogram { width: 64px; height: 64px; font-size: 1.7rem; } .topbar-inner { gap: 0.5rem; } .nav { margin-left: 0; width: 100%; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; } .embers { display: none; } } @media print { .topbar, .nav, .footer, .embers, .actions, .tabs { display: none !important; } body { background: #fff; color: #111; } .panel { box-shadow: none; border-color: #bbb; background: #fff; } } /* --------------------------------------------------------------- Porträts */ .portrait-frame { width: clamp(150px, 26vw, 210px); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; border-radius: 8px; border: 1px solid rgba(201, 162, 39, 0.65); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(201, 162, 39, 0.08); filter: saturate(1.05) contrast(1.03); animation: portrait-in 0.7s ease both; } @keyframes portrait-in { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: none; } } .hero-thumb { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 1px solid rgba(201, 162, 39, 0.6); box-shadow: 0 0 14px rgba(201, 162, 39, 0.22); flex: 0 0 auto; } .portrait-editor { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; } .portrait-thumb { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; border-radius: 6px; border: 1px solid rgba(201, 162, 39, 0.5); } input[type="file"] { padding: 0.45rem; border-radius: 7px; border: 1px dashed rgba(201, 162, 39, 0.45); background: rgba(6, 9, 16, 0.6); color: var(--parchment-dim); font-size: 0.9rem; } @media (max-width: 620px) { .portrait-editor { grid-template-columns: 1fr; } } /* Fertigkeitengruppen wie auf dem Charakterbogen */ .skill-group { margin: 1.4rem 0 0.4rem; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(201, 162, 39, 0.35); padding-bottom: 0.3rem; } .skill-group:first-of-type { margin-top: 0.6rem; } .skill-table td.skill-name { min-width: 12rem; white-space: nowrap; } .skill-table th.num, .skill-table td.num { width: 4.5rem; } /* --- Boni: positiv grün, null grau, negativ rot ------------------------- */ .bonus-pos { color: #79d29a; } .bonus-zero { color: var(--parchment-dim); } .bonus-neg { color: #e0756a; } .stat .b.bonus-pos { color: #79d29a; } .stat .b.bonus-zero { color: var(--parchment-dim); } .stat .b.bonus-neg { color: #e0756a; } /* --- Selektor-Schirm für Fertigkeiten und Zauber ------------------------ */ .selector-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } dialog.selector { width: min(46rem, 94vw); max-height: 86vh; padding: 0; border: 1px solid rgba(201, 162, 39, 0.45); border-radius: var(--radius); background: linear-gradient(160deg, var(--night-2), var(--night)); color: var(--parchment); box-shadow: var(--shadow); } dialog.selector::backdrop { background: rgba(4, 6, 12, 0.72); backdrop-filter: blur(2px); } .selector-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid rgba(201, 162, 39, 0.28); background: rgba(6, 9, 16, 0.6); position: sticky; top: 0; z-index: 2; } .selector-head h2 { margin: 0; font-size: 1.05rem; color: var(--gold-bright); } .selector-body { padding: 0.9rem 1.1rem 1.2rem; overflow-y: auto; max-height: calc(86vh - 4rem); } .selector-filters { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 0.8rem; } @media (min-width: 40rem) { .selector-filters { grid-template-columns: 1fr auto auto; align-items: end; } } .selector-filters .field { margin: 0; } .selector-group { margin: 0.9rem 0 0.35rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); } .selector-groups .selector-group:first-child { margin-top: 0; } .selector-item { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; width: 100%; padding: 0.42rem 0.6rem; margin: 0 0 0.25rem; font: inherit; text-align: left; color: var(--parchment); background: rgba(23, 32, 58, 0.55); border: 1px solid rgba(201, 162, 39, 0.18); border-radius: 7px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; } .selector-item:hover, .selector-item:focus-visible { border-color: var(--gold); background: rgba(201, 162, 39, 0.16); transform: translateX(2px); outline: none; } .selector-item .meta { font-size: 0.75rem; color: var(--parchment-dim); white-space: nowrap; } .selector-item[hidden] { display: none; } .selector-empty { color: var(--parchment-dim); font-style: italic; } .selector-custom { margin-top: 1rem; border-top: 1px solid rgba(201, 162, 39, 0.28); padding-top: 0.7rem; } .selector-custom summary { cursor: pointer; color: var(--gold); font-size: 0.9rem; } .selector-custom .inline-form { margin-top: 0.6rem; } /* --- Zauberdetails im Bogen -------------------------------------------- */ .pill.pill-detail { font: inherit; font-size: 0.85rem; color: var(--parchment); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; } .pill.pill-detail:hover, .pill.pill-detail:focus-visible { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); outline: none; } .spell-detail .selector-body { max-height: calc(86vh - 4rem); } .detail-list { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: 0.3rem 0.9rem; margin: 0 0 1rem; } .detail-list dt { color: var(--gold-dim); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; } .detail-list dd { margin: 0; } .spell-body { white-space: pre-line; line-height: 1.55; color: var(--parchment); } .spell-body:not(:empty) { margin-top: 0.2rem; }