/* ---------------------------------------------------
   KRISTALLKUGEL – Eingabebox beim Schreiben
   --------------------------------------------------- */

/* Standard: überall aus */
.ability-roll-box {
  display: none;
}

/* Sichtbar in Forum 9 + Unterforen (Beispiel: 12, 17, 23, 42) */
.forum-fid-9 .ability-roll-box,
.forum-fid-53 .ability-roll-box,
.forum-fid-54 .ability-roll-box,
.forum-fid-55 .ability-roll-box,
.forum-fid-11 .ability-roll-box,
.forum-fid-12 .ability-roll-box,
.forum-fid-32 .ability-roll-box,
.forum-fid-33 .ability-roll-box,
.forum-fid-57 .ability-roll-box,
.forum-fid-15 .ability-roll-box,
.forum-fid-29 .ability-roll-box,
.forum-fid-34 .ability-roll-box,
.forum-fid-35 .ability-roll-box,
.forum-fid-14 .ability-roll-box,
.forum-fid-68 .ability-roll-box,
.forum-fid-19 .ability-roll-box,
.forum-fid-23 .ability-roll-box {
  display: block;
}

.ability-roll-box {
    margin: 10px 0 15px 0;
    padding: 12px 14px;
    border-left: 7px solid var(--color2);
    width: 620px;
}

/* Vorschau beim Schreiben */
.ability-preview {
  margin-top: 10px;
}

.ability-preview-inner {
    background: var(--t3);
    padding: 10px 12px;
    color: var(--color4);
}

.ability-result-box {
    background: var(--t3);
    padding: 12px 15px 25px;
    margin: 5px 0 15px;
    line-height: 1.5;
    text-align: center;
    border-bottom: 2px solid;
  font-family: var(--Dosis);
margin-bottom: 45px;
}

.ability-roll-title { 
font-size: 16px;
    font-weight: 500;
    color: var(--color4);
    margin-bottom: -10px;
}



.ar-title {
  display: block;
  font-size: 22px;
  color: var(--color4);
  margin-bottom: 6px;
  font-weight:300;
  letter-spacing: 1px;
}

/*.ar-label {
  font-style: normal;
  font-weight: bold;
  color: #555;
}*/

.ar-action {
  color: var(--color4);
  font-size: 16px;
  
}

.ar-action::before {
  content:"» ";
  font-size: 23px;
  font-weight: 700;
}

.ar-action::after {
  content:" «";
  font-size: 23px;
  font-weight: 700;
}

.ar-outcome {
  display: inline-block;
padding: 5px;
  position: relative;
  color:var(--color4);
}

/* 1 */
.ar-roll-1 {  }
.ar-roll-1::before {
content: "\f714"; /*Totenkopf*/
  font-family: "Font Awesome 7 Pro";
	    font-size: 25px;
    margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #8B0000, #FF0000); /* dunkles bis helles Rot */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2 */
.ar-roll-2 { }
.ar-roll-2::before {
content: "\f00d"; /*X Kreuz*/
  font-family: "Font Awesome 7 Pro";
	    font-size: 25px;
    margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #FF4500, #FFA500); /* Orange Verlauf */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3 */
.ar-roll-3 { }
.ar-roll-3::before {
content: "\e47d"; /*wolkenverhangen*/
    font-family: "Font Awesome 7 Pro";
    font-size: 25px;
    margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #FFD700, #FFFF00); /* Goldgelb bis Gelb */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 4 */
.ar-roll-4 {  }
.ar-roll-4::before {
content: "\f00c"; /*Checkmark*/
  font-family: "Font Awesome 7 Pro";
	    font-size: 25px;
    margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #006400, #00FF7F); /* Dunkelgrün bis Hellgrün */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 5 */
.ar-roll-5 { }
.ar-roll-5::before {
content: "\f762"; /*Sterne*/
  font-family: "Font Awesome 7 Pro";
	    font-size: 25px;
    margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #1E90FF, #00BFFF); /* Blau Verlauf */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 6 */
.ar-roll-6 {  }
.ar-roll-6::before {
  content: "\f521"; /* Krone */
  font-family: "Font Awesome 7 Pro";
  font-size: 25px;
  margin: 10px 15px 10px -10px;
  background: linear-gradient(45deg, #FFD700, #FFF8DC, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ability-result-box.ar-spoiler {
    cursor: pointer;
    user-select: none;
}

.ar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.ar-hint {
    font-size: 12px;
    opacity: 0.6;
}

.ar-chevron {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ar-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 14px;
}

.ar-spoiler.ar-open .ar-body {
    max-height: 200px;
    padding: 10px 14px;
}

.ar-spoiler.ar-open .ar-chevron {
    transform: rotate(180deg);
}

#ability-roll-widget {
    margin: 10px 0;
}

.ar-widget-title {
    margin-bottom: 6px;
}

.ar-widget-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ability-desc {
    width: 500px;
}