:root{--coral:#d88fa3;--coral-bg:rgba(216,143,163,0.08);--deep:#2d6f95;--text:#2c2c2a;--muted:#7a8a99;--line:rgba(34,54,70,0.1);--paper:rgba(255,255,255,0.7);--card:rgba(255,255,255,0.65)}
    body.night{--text:#d8d8d8;--muted:#8899aa;--line:rgba(255,255,255,0.08);--paper:rgba(30,30,44,0.85);--card:rgba(30,30,44,0.8)}
    body{background:radial-gradient(circle at 16% 14%,rgba(216,143,163,0.12),transparent 28%),radial-gradient(circle at 84% 18%,rgba(167,125,61,0.1),transparent 24%),linear-gradient(180deg,#f4efe9,#e8eef2 120%)}
    .pg{widfonth:min(1100px,calc(100%-32px));margin:0 auto;padding:32px 0 88px}
    h1{font-family:"Noto Serif SC",serif;font-size:clamp(32px,5vw,52px);color:var(--deep);margin:0 0 4px}
    .sub{color:var(--muted);font-size:14px;margin:0 0 32px}
    .nav-back{margin-bottom:20px}
    .nav-back a{font-size:13px;color:var(--muted);text-decoration:none}
    .nav-back a:hover{color:var(--coral)}
    .stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:36px}
    .stat-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 4px 20px rgba(34,54,70,0.06);backdrop-filter:blur(10px)}
    .stat-card .label{font-size:11px;color:var(--muted);letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
    .stat-card .val{font-family:"Noto Serif SC",serif;font-size:32px;font-weight:700;color:var(--coral)}
    .stat-card .sub{font-size:12px;color:var(--muted);margin:4px 0 0}
    @media(max-width:700px){.stat-cards{grid-template-columns:repeat(2,1fr)}}
    .section-title{font-family:"Noto Serif SC",serif;font-size:22px;color:var(--deep);margin:36px 0 16px;padding-bottom:8px;border-bottom:1px solid var(--line)}
    .tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
    .tab{padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--muted);cursor:pointer;font-family:inherit;font-size:13px;backdrop-filter:blur(8px)}
    .tab.active{background:var(--coral);border-color:var(--coral);color:white}
    .tab:hover:not(.active){border-color:var(--coral);color:var(--coral)}
    table{width:100%;border-collapse:collapse;background:var(--card);border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(34,54,70,0.06)}
    td,th{padding:12px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:13px}
    th{background:var(--coral-bg);color:var(--coral);font-weight:500;font-size:11px;letter-spacing:0.5px}
    tr:hover{background:var(--coral-bg)}
    .user-click{cursor:pointer;color:var(--deep);font-weight:500}
    .user-click:hover{color:var(--coral)}
    .rank{font-family:"Space Mono",monospace;font-size:16px;color:var(--coral)}
    .bar-cell{position:relative}
    .bar{position:absolute;left:0;top:0;height:100%;background:var(--coral);opacity:0.08;border-radius:0 4px 4px 0}
    .detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:16px}
    @media(max-width:700px){.detail-grid{grid-template-columns:1fr}}
    .detail-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 4px 20px rgba(34,54,70,0.06);backdrop-filter:blur(10px)}
    .detail-card h3{font-size:15px;color:var(--deep);margin:0 0 12px}
    .tag-cloud{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;min-height:200px}
    .tag{display:inline-block;cursor:default;transition:transform 0.15s}
    .tag:hover{transform:scale(1.1)}
    .emoji-list{display:flex;flex-wrap:wrap;gap:8px}
    .emoji-item{font-size:14px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:6px 10px}
    .bar-chart{display:flex;align-items:flex-end;gap:2px;height:120px;padding:0 8px}
    .bar-chart .b{flex:1;background:var(--coral);border-radius:3px 3px 0 0;min-width:3px;opacity:0.7;position:relative}
    .bar-chart .b:hover{opacity:1}
    .bar-chart-labels{display:flex;gap:2px;padding:0 8px;font-size:9px;color:var(--muted)}
    .bar-chart-labels span{flex:1;text-align:center}
    .loading{text-align:center;padding:60px;color:var(--muted);font-size:14px}
    .hidden{display:none!important}
    select,input[type=range]{padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--text);font-family:inherit;font-size:13px}
    .filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
    .csv-btn{padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--muted);cursor:pointer;font-family:inherit;font-size:12px;text-decoration:none}
    .csv-btn:hover{border-color:var(--coral);color:var(--coral)}

.analysis-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; max-width: 1100px; margin: 0 auto; }
.analysis-brand { font-size: 16px; color: var(--deep); text-decoration: none; }
.analysis-back { font-size: 13px; color: var(--muted); text-decoration: none; }
.leaderboard-count { font-size: 12px; color: var(--muted); }
.user-select-wrap { margin-bottom: 16px; }
.analysis-user-select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--deep); font-family: inherit; font-size: 14px; }
.muted-inline { color: var(--muted); }
.metric-value { font-weight: 700; color: var(--coral); }
.tag-serif { font-family: "Noto Serif SC", serif; }
.w-0 { width: 0%; }
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }
.h-0 { height: 0%; }
.h-1 { height: 1%; }
.h-2 { height: 2%; }
.h-3 { height: 3%; }
.h-4 { height: 4%; }
.h-5 { height: 5%; }
.h-6 { height: 6%; }
.h-7 { height: 7%; }
.h-8 { height: 8%; }
.h-9 { height: 9%; }
.h-10 { height: 10%; }
.h-11 { height: 11%; }
.h-12 { height: 12%; }
.h-13 { height: 13%; }
.h-14 { height: 14%; }
.h-15 { height: 15%; }
.h-16 { height: 16%; }
.h-17 { height: 17%; }
.h-18 { height: 18%; }
.h-19 { height: 19%; }
.h-20 { height: 20%; }
.h-21 { height: 21%; }
.h-22 { height: 22%; }
.h-23 { height: 23%; }
.h-24 { height: 24%; }
.h-25 { height: 25%; }
.h-26 { height: 26%; }
.h-27 { height: 27%; }
.h-28 { height: 28%; }
.h-29 { height: 29%; }
.h-30 { height: 30%; }
.h-31 { height: 31%; }
.h-32 { height: 32%; }
.h-33 { height: 33%; }
.h-34 { height: 34%; }
.h-35 { height: 35%; }
.h-36 { height: 36%; }
.h-37 { height: 37%; }
.h-38 { height: 38%; }
.h-39 { height: 39%; }
.h-40 { height: 40%; }
.h-41 { height: 41%; }
.h-42 { height: 42%; }
.h-43 { height: 43%; }
.h-44 { height: 44%; }
.h-45 { height: 45%; }
.h-46 { height: 46%; }
.h-47 { height: 47%; }
.h-48 { height: 48%; }
.h-49 { height: 49%; }
.h-50 { height: 50%; }
.h-51 { height: 51%; }
.h-52 { height: 52%; }
.h-53 { height: 53%; }
.h-54 { height: 54%; }
.h-55 { height: 55%; }
.h-56 { height: 56%; }
.h-57 { height: 57%; }
.h-58 { height: 58%; }
.h-59 { height: 59%; }
.h-60 { height: 60%; }
.h-61 { height: 61%; }
.h-62 { height: 62%; }
.h-63 { height: 63%; }
.h-64 { height: 64%; }
.h-65 { height: 65%; }
.h-66 { height: 66%; }
.h-67 { height: 67%; }
.h-68 { height: 68%; }
.h-69 { height: 69%; }
.h-70 { height: 70%; }
.h-71 { height: 71%; }
.h-72 { height: 72%; }
.h-73 { height: 73%; }
.h-74 { height: 74%; }
.h-75 { height: 75%; }
.h-76 { height: 76%; }
.h-77 { height: 77%; }
.h-78 { height: 78%; }
.h-79 { height: 79%; }
.h-80 { height: 80%; }
.h-81 { height: 81%; }
.h-82 { height: 82%; }
.h-83 { height: 83%; }
.h-84 { height: 84%; }
.h-85 { height: 85%; }
.h-86 { height: 86%; }
.h-87 { height: 87%; }
.h-88 { height: 88%; }
.h-89 { height: 89%; }
.h-90 { height: 90%; }
.h-91 { height: 91%; }
.h-92 { height: 92%; }
.h-93 { height: 93%; }
.h-94 { height: 94%; }
.h-95 { height: 95%; }
.h-96 { height: 96%; }
.h-97 { height: 97%; }
.h-98 { height: 98%; }
.h-99 { height: 99%; }
.h-100 { height: 100%; }
.tag-cloud-0 { font-size: 12.0px; color: hsl(340, 45%, 35.0%); opacity: 0.35; }
.tag-cloud-1 { font-size: 15.6px; color: hsl(343, 45%, 37.5%); opacity: 0.41; }
.tag-cloud-2 { font-size: 19.2px; color: hsl(346, 45%, 40.0%); opacity: 0.48; }
.tag-cloud-3 { font-size: 22.8px; color: hsl(349, 45%, 42.5%); opacity: 0.54; }
.tag-cloud-4 { font-size: 26.4px; color: hsl(352, 45%, 45.0%); opacity: 0.61; }
.tag-cloud-5 { font-size: 30.0px; color: hsl(355, 45%, 47.5%); opacity: 0.68; }
.tag-cloud-6 { font-size: 33.6px; color: hsl(358, 45%, 50.0%); opacity: 0.74; }
.tag-cloud-7 { font-size: 37.2px; color: hsl(361, 45%, 52.5%); opacity: 0.80; }
.tag-cloud-8 { font-size: 40.8px; color: hsl(364, 45%, 55.0%); opacity: 0.87; }
.tag-cloud-9 { font-size: 44.4px; color: hsl(367, 45%, 57.5%); opacity: 0.93; }
.tag-cloud-10 { font-size: 48.0px; color: hsl(370, 45%, 60.0%); opacity: 1.00; }
.tag-word-0 { font-size: 12.0px; color: var(--coral); opacity: 0.40; }
.tag-word-1 { font-size: 13.5px; color: var(--coral); opacity: 0.46; }
.tag-word-2 { font-size: 15.0px; color: var(--coral); opacity: 0.52; }
.tag-word-3 { font-size: 16.5px; color: var(--coral); opacity: 0.58; }
.tag-word-4 { font-size: 18.0px; color: var(--coral); opacity: 0.64; }
.tag-word-5 { font-size: 19.5px; color: var(--coral); opacity: 0.70; }
.tag-word-6 { font-size: 21.0px; color: var(--coral); opacity: 0.76; }
.tag-word-7 { font-size: 22.5px; color: var(--coral); opacity: 0.82; }
.tag-word-8 { font-size: 24.0px; color: var(--coral); opacity: 0.88; }
.tag-word-9 { font-size: 25.5px; color: var(--coral); opacity: 0.94; }
.tag-word-10 { font-size: 27.0px; color: var(--coral); opacity: 1.00; }

.page-analysis .detail-grid { min-width: 0; }
.page-analysis .detail-card { min-width: 0; overflow: hidden; }
.page-analysis .detail-card table { min-width: 0; table-layout: fixed; word-break: break-word; }
