<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* --- å…¨ä½“ãƒ©ãƒƒãƒ‘ãƒ¼ --- */
.exam-vote-wrapper{
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin: 0 auto 32px;
  max-width: 720px;
    font-weight: bold;
}

/* --- é¸æŠžè‚¢ãƒ©ãƒ™ãƒ« --- */
label.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 14px 16px;
  background-color: #f9f9f9;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ddd;
    font-weight: bold;
}

label.opt:hover {
  background-color: #eef5ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

label.opt.voted {
  background-color: #e8f5e9;
  border-color: #66bb6a;
}

/* --- ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ --- */
label.opt input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

label.opt input[type="radio"]:checked {
  background-color: #4caf50;
  border-color: #4caf50;
}

label.opt input[type="radio"]::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: block;
}

/* --- æŠ•ç¥¨åˆ†å¸ƒã®ãƒ©ãƒ™ãƒ«ã¨ãƒãƒ¼ --- */
.vote-label {
  font-size: 0.85em;
  color: #555;
  white-space: nowrap;
}

.bar {
  height: 8px;
  background-color: #4caf50;
  border-radius: 4px;
  transition: width 0.6s ease-in-out;
}

.result-block {
  flex-grow: 1;
  margin-left: 16px;
}

/* --- æŠ•ç¥¨ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ãƒœã‚¿ãƒ³ --- */
.vote-actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.vote-btn,
.show-result {
  flex: 1 1 48%;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.vote-btn {
  background-color: #007acc;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 122, 204, 0.2);
}

.vote-btn.voted-btn {
  background-color: #4caf50;
  color: #fff;
  cursor: default;
  box-shadow: none;
  position: relative;
}

.vote-btn.voted-btn::after {
  content: 'âœ…';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.vote-btn:hover:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

.show-result {
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.show-result:hover {
  background-color: #e2e6ea;
  transform: translateY(-2px);
}

/* --- ç„¡åŠ¹åŒ–ãƒœã‚¿ãƒ³ --- */
.vote-btn:disabled,
.show-result:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
  opacity: 0.7;
}

/* --- ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ --- */
.vote-msg, .score-result-msg  {
  margin-top: 12px;
  font-size: 0.9em;
  font-weight: 500;
  color: #555;
}

/* --- æ­£ç­”çŽ‡è¡¨ç¤º --- */
.correct-info {
  margin-top: 10px;
  padding: 8px 12px;
  border-left: 4px solid #4caf50;
  background-color: #f0fdf4;
  color: #2e7d32;
  font-size: 0.95em;
  border-radius: 6px;
  font-weight: bold;
}

/* --- ãƒ©ãƒ³ã‚¯é›†è¨ˆ --- */
.rank-summary,
.rank-summary-fixed {
  margin-top: 24px;
  padding: 12px 16px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.rank-summary-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.rank-summary h4,
.rank-summary-fixed h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.rank-summary ul,
.rank-summary-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1em;
}

.rank-summary li,
.rank-summary-body li {
  font-weight: bold;
}

/* --- ã¨ãã‚‹ --- */
.rank-summary-header {
  cursor: pointer;
  padding: 10px 16px;
  font-weight: bold;
  background: #e0e0e0;
  border-bottom: 1px solid #ccc;
}

/* è¨­å• */
.single-vote-form {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.score-chart:empty,
.score-summary:empty {
  display: none;
}

.voted-btn {
  background-color: #ccc;
  cursor: not-allowed;
}

/* --- å¾—ç‚¹æŠ•ç¨¿ãƒ•ã‚©ãƒ¼ãƒ&nbsp;ï¼ˆscoreï¼‰ --- */
.exam-score-wrapper select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  margin-top: 10px;
  transition: border-color 0.3s;
}

.exam-score-wrapper select:focus {
  outline: none;
  border-color: #007acc;
  box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
}

/* --- ã‚°ãƒ©ãƒ•é&nbsp;˜åŸŸ --- */
.score-chart {
  margin-top: 24px;
  background-color: #fafafa;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  height: 300px; /* â† é«˜ã•ã‚’å¿…ãšæŒ‡å®š */
  max-height: 300px; /* ä»»æ„ã§åˆ¶é™ */
}

@media (max-width: 600px) {
  .score-chart {
      margin-top: 24px;
  background-color: #fafafa;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
    height: 250px !important; /* â†ã‚¹ãƒžãƒ›ç”¨ã«ä½Žã‚ */
      max-height: 250px; /* ä»»æ„ã§åˆ¶é™ */
  }
}

/* --- çµæžœã‚µãƒžãƒªãƒ¼ --- */
.score-summary {
  font-weight: bold;
  margin-top: 12px;
  text-align: center;
  color: #333;
  font-size: 1rem;
}

/* --- ãƒ—ãƒ«ãƒ€ã‚¦ãƒ³ï¼ˆselectï¼‰ --- */
.exam-score-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.exam-score-wrapper select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s ease;
  margin-bottom: 20px; /* â† é€ä¿¡ãƒœã‚¿ãƒ³ã¨ã®é–“éš” */
}

.exam-score-wrapper select:focus {
  border-color: #007acc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

/* --- æ±Žç”¨é€ä¿¡ãƒœã‚¿ãƒ³ --- */
.submit-score-vote {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background-color: #007acc;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-score-vote:hover {
  background-color: #005fa3;
  box-shadow: 0 4px 10px rgba(0, 122, 204, 0.15);
}

.submit-score-vote:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}

/* --- é€ä¿¡æ¸ˆã¿è¡¨ç¤º --- */
.submit-score-vote.voted-btn {
  background-color: #4caf50;
  position: relative;
}

.submit-score-vote.voted-btn::after {
  content: 'âœ“';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

/* --- ç·&nbsp;åˆ‡å¾Œã®ãƒœã‚¿ãƒ³ï¼ˆå›žç­”ä¸å¯ï¼‰ --- */
.vote-btn.deadline-passed {
  background-color: #9e9e9e;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  position: relative;
}

.vote-btn.deadline-passed::after {
  content: 'â° ç·&nbsp;åˆ‡';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  color: #fff;
}

/* ç·&nbsp;åˆ‡å¾Œãƒ¡ãƒƒã‚»ãƒ¼ã‚¸è¡¨ç¤ºï¼ˆã‚ªãƒ—ã‚·ãƒ§ãƒ³ï¼‰ */
.deadline-notice {
  text-align: center;
  color: #d32f2f;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 12px;
}
</pre></body></html>